gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
kurain has quit [Quit: kurain]
kurain has joined #linux-sunxi
Guest97967 is now known as fredy
arete74 has quit [Ping timeout: 264 seconds]
naobsd has quit [Quit: naobsd]
arete74 has joined #linux-sunxi
FreezingAlt has quit [Quit: Out]
FreezingCold has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 276 seconds]
<oliv3r>
mripard_: I thought I saw somewhere a patch about platform 1c14400.usb: Driver ohci-platform requests probe deferral
<oliv3r>
being fixed; I see a lot of those + ahci deferral; is that merged anywhere yet or did I do something worng somewhere?
<mripard_>
I sent a patch to fix xhci probe deferral on marvell SoCs, but other than that, I have no idea what you're talking about
FreezingCold has joined #linux-sunxi
<mripard_>
and do you have a real problem?
<oliv3r>
mripard_: I have no usb devices :p
<oliv3r>
so yeah; usb is not working at all; i think it may have been the marvell patches that I saw however
<oliv3r>
the probe deferral's i get a re a whole lot. not just 1 or 2, and everytime i load/unload a driver i get them, so looks like ehci, ohci, sun4i-usb-phy and ahci, need something i maybe accidentally ommited
FreezingCold has quit [Ping timeout: 252 seconds]
<mripard_>
oliv3r: you know the drill
<oliv3r>
mripard_: allready working on it :p
<mripard_>
if you want some help
<oliv3r>
mripard_: i was just querying if you noticed it before
hramrach has quit [Remote host closed the connection]
gianMOD_ has joined #linux-sunxi
hramrach has joined #linux-sunxi
gianMOD has quit [Read error: Connection reset by peer]
gianMOD_ has quit [Remote host closed the connection]
<mripard_>
oliv3r: if you want some help, really, instead of generic and fuzzy questions, *always* at least give the logs of the kernel that show what you're talking about.
<mripard_>
otherwise, I can't do anything for you.
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
whitesn has joined #linux-sunxi
selfbg has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 245 seconds]
afaerber_ has quit [Quit: Verlassend]
mnemoc has quit [Ping timeout: 252 seconds]
<Turl>
oliv3r: the jump to option only has a couple of years in the kernel :)
FreezingCold has joined #linux-sunxi
gianMOD has joined #linux-sunxi
ssvb has joined #linux-sunxi
afaerber has joined #linux-sunxi
<ssvb>
Turl: is linux-sunxi.org down?
<Turl>
ssvb: yup
<ssvb>
something planned or not?
<Turl>
ssvb: unscheduled hw maint, a disk went bad
<ssvb>
oh, this sucks
Andy-D has quit [Ping timeout: 256 seconds]
<ssvb>
what about backups?
<Montjoie>
what about hw monitoring ?
<Turl>
ssvb: it's raided
<Turl>
Montjoie: yeah :)
<ssvb>
Turl: ok, but still having backups is always a good idea :)
<Turl>
ssvb: afaik we do :) just saying this shouldn't take much effort
<kivutar>
hello, I used the dram hack in u-boot to build a dual image for cubieboard2 and cubietruck, any idea on how to differenciate cubieboard2 and bananapi?
<plaes>
Turl: do you have time to rehash the DMA patchset?
<ssvb>
kivutar: that's a bit less of a hack, and can support a large set of boards (including all sort of bananas)
cubear has quit [Quit: Leaving]
<ssvb>
Turl: any approximate ETA for the linux-sunxi.org maintenance completion?
<kivutar>
oho, exactly what I needed
<kivutar>
aw, I forgot that the wiki was down
<libv>
oh wow, saklad.
<Turl>
plaes: I refreshed my tree last night, I'll test it in a minute and send it to the list if it's alright
<libv>
after seeing that email thread, i went and read up :)
<Turl>
ssvb: disk replaced, should be working once we get it booting again
melonipoika has joined #linux-sunxi
<melonipoika>
hi, is there anyone using OpenWRT ona CubieTruck?
<libv>
melonipoika: did you try looking at our wiki?
<libv>
ah
<libv>
crap
<libv>
site's down
<melonipoika>
libv i was checking the openwrt wiki
<libv>
Turl: i am lost without it
<libv>
Turl: please make my life whole again
<libv>
melonipoika: why do you have a random question anyway. don't you have a specific question with respect to using openwrt on cubietruck?
<melonipoika>
i do have a concrete question, just didn't have time to ask it
<melonipoika>
:-)
<melonipoika>
i am having issues with the first boot
<melonipoika>
not sure how to connect to it
<oliv3r>
mripard_: sorry, back now; had a meeting, but i get zero results from xargs cat
<oliv3r>
though not sure what name you wanted for -name name
<libv>
?
<melonipoika>
i have used openwrt on a linksys router before. I used telnet for the first boot up. But with the cubietruck it seems that the network interface is not working
<libv>
melonipoika: use the serial port
<libv>
and find out
<oliv3r>
ssvb: i still want to find time, to just add a 'lowest possible default config' as defualt to dram, and have proper settings stored in the header of u-boot
<melonipoika>
yep, i guess that's the only way :-) thanks
<oliv3r>
mripard_: everything looks like it's logically there
popolon has joined #linux-sunxi
<kivutar>
ssvb, I'm reading your patches on the 20141215-sunxi-bootsetup-prototype branch of u-boot, I saw some way to detect a10, a13, a20, etc
<kivutar>
in my case, the boards I'd like to support are all a20, I just need a way to load a different uEnv for cubieboard2 and bananapi
<kivutar>
because they have somehow very different fex files
<kivutar>
I don't see where this case is handled
<ssvb>
kivutar: if we can add detection for the presence/absence of nand, then the detection of cubieboard2 and bananapi can be possibly handled automatically
<oliv3r>
ssvb: unless you think it's wrong to use the sunxi header file for config
<ssvb>
kivutar: right now the idea is that the user gets a setup menu on his monitor and can make the choice himself (the list of possible choices is automatically reduced to exclude incompatible boards)
<kivutar>
yes I read that, sure that will be user friendly!
joost_dtn has joined #linux-sunxi
<ssvb>
kivutar: you can not only read about that, but already try yourself ;)
<oliv3r>
ssvb: well you can use the menu to modify the header :p
<ssvb>
oliv3r: multiple slots with dram (and other) settings in the SPL binary, and using device SID to lookup the right slot
reinforce has quit [Quit: Leaving.]
<ssvb>
oliv3r: the device SID is not found in any of the slots, then use failsafe settings and show a setup menu to the user
<kivutar>
In my case I really need an automatic and silent boot, so i'm going to find out how to detect if nand is present..
iamfrankenstein has quit [Ping timeout: 252 seconds]
<ssvb>
kivutar: cool, please let us know if you find something
<oliv3r>
ssvb: yeah i read your mail :) it was a good post; maybe a little over-engineerd :p
<oliv3r>
ssvb: i'm more aking to a u-boot binary (with header) where it uses safe defaults if the dram_para of the header is empty or corrupt; otherwise uses the header
<kivutar>
sure I will
<ssvb>
oliv3r: if you assume that data corruption can happen, then we already have a problem (for example, the failsafe dram_para can be corrupted too)
<ssvb>
oliv3r: or maybe I misunderstood something?
<oliv3r>
ssvb: yes! but i'd just add a simple crc checksum to the dram_para
<ssvb>
oliv3r: the SPL code can be corrupted too, which means game over and alles kaputt :)
<oliv3r>
well yeah; :)
<oliv3r>
but the dram_para is something people will be messing with
<oliv3r>
writing data too
<oliv3r>
but it's cleaner to just write a header, then fill an entire binary
<oliv3r>
though i'm very excited with the things you are planning!
<oliv3r>
raspberry easy-off use is not something to laugh at
fr4z has joined #linux-sunxi
<mripard_>
except that raspberry is a single board.
<oliv3r>
not exactly true
<oliv3r>
multple memory configurations
<oliv3r>
but yeah, absolutly
<oliv3r>
that makes things millions times easier
<oliv3r>
mripard_: i think all my regulators are in order btw
<a1d3s>
but i think it is horrible that it comes without sata insteed of mur cpu power
<ptolts>
anyone with a BPI-R1?
<a1d3s>
ok it have 4 usb but that make no sense to me to pay 10$ more about an banana pro
gianMOD has quit [Read error: No route to host]
gianMOD has joined #linux-sunxi
<a1d3s>
ptolts no im waiting for mine
<ptolts>
a1d3s: i think it might be junk
<ptolts>
is it possible the wifi chip cant get enough power to transmit on full?
iamfrankenstein has joined #linux-sunxi
<a1d3s>
i dont know
<ptolts>
i have it all setup and i do a speed test on a client connected to the AP, and the speed is great for a few seconds and then drops to almost nothing
<mripard_>
a1d3s: considering that most allwinner devices run on NAND/eMMC, I fail to see how the lack of a SATA port would explain that there is not more devices with an A31.
<a1d3s>
the guys from banana say that a31 doesnt support sata
<a1d3s>
ahm the a31s
<mripard_>
yeah, it's true
<mripard_>
but my point is, how many tablets out there *use* a SATA port?
<a1d3s>
they dont but the banana m1 / pro /r1 does, and m2 without is a way back
<mripard_>
I really hope allwinner doesn't run only on the bananapi sales.
<ssvb>
mripard_: one might expect to find SATA in a TV box, and there are some of these devices based on Allwinner hardware
<a1d3s>
on g+ and bananapi forum all wants sata, i didnt need it
<mripard_>
ssvb: true, but then there's the H3/H8 nowadays to address the STBs market
<a1d3s>
cubi has sata to i think and firefly boards as well
<mripard_>
and SATA brings nothing to the table compared to USB3
<a1d3s>
most of allwinner chip based sbc have sata
<a1d3s>
mripard m2 has only usb2.0
<ssvb>
a1d3s: does bananapi (and m2) have a FEL button?
<ssvb>
a1d3s: "Buttons: Reset&Power button" is not very encouraging, but maybe they just forgot to mention it
<a1d3s>
reset and power yes
<ssvb>
this sucks
<ssvb>
well, they don't have NAND, so it is understandable that adjusting boot priority is not important
<mripard_>
ssvb: beware, the A31 needs a boot button to boot on the SD card
<a1d3s>
my banana pro was shipped with wifi antena and the m2 without
<ssvb>
mripard_: yes, I know
<a1d3s>
m1 has boot button too
<ssvb>
mripard_: or do you mean that it can't fallback to SD card if there is no NAND?
<a1d3s>
and pro has boot button as well
<mripard_>
ssvb: I don't know, but if there's NAND, it won't boot on the SD card
gianMOD has quit [Read error: Connection reset by peer]
<mripard_>
the exact state boot order is on the wiki, but since it's done...
<mripard_>
s/done/down/
reinforce has joined #linux-sunxi
gianMOD has joined #linux-sunxi
<ssvb>
mripard_: it's also in the a31s user manual, section "3.3.2. BOOT DIAGRAM"
<mripard_>
oh, so it will always try to fallback to sdc0
<mripard_>
good.
<ssvb>
the FEL button is also good as a device independent input method, its status can be always polled safely :)
<a1d3s>
hm but how can i get it to work? i know that dts is needed and a uboot config
<ssvb>
do you mean the m2 board?
<a1d3s>
yes
<Turl>
status update, everything should be back in ~3h or so
<atsampson>
kivutar: the bananapi and cubieboard2 have LEDs on different GPIO pins -- if you set those pins to input with a pullup, does the LED pull it down enough to detect? (or: the LED will have a few pf of capacitance -- if you pull it up then go hi-Z and measure quickly...?)
<ssvb>
Turl: thanks!
<a1d3s>
so for now it settled only dust ;)
<ssvb>
a1d3s: well, you said it yourself, you need to create a defconfig for u-boot and a dts for the kernel :)
<ssvb>
a1d3s: do you have a fex file for it?
<a1d3s>
no
<kivutar>
atsampson, maybe, would it be easier to just count the number of pins? they differ
domidumont has quit [Remote host closed the connection]
<a1d3s>
there is only and android image on bananapi.com
<ssvb>
a1d3s: there must be a fex file in this androd image, you can start with extracting it
<a1d3s>
i test to mount it as loop0 but this not happens
<atsampson>
kivutar: well, I guess you could look for a script.bin that's already installed on the device...
<ssvb>
a1d3s: if you can boot android on it, then you can follow the New_Device_Howto (after the linux-sunxi wiki is back)
<a1d3s>
then i have to install somewhere windows to burn an sd card with this damn phonix tool
<ssvb>
a1d3s: in order to create dts, you need fex file or the device schematics
<rellla>
wiki down?
<ssvb>
a1d3s: I don't think that there are any magic shortcuts to avoid this
<kivutar>
atsampson, in my case I will have 3 script.bin on the SD, and my goal is to use some tests in u-boot to load one or another
<ssvb>
rellla: <Turl> status update, everything should be back in ~3h or so
<atsampson>
kivutar: so you could make your u-boot script have a look at the NAND to see what script.bin is already installed there -- if you find the bananapi one, you know it's a bananapi...
<rellla>
ssvb: thanks, missed that
<NiteHawk>
banana pi has no nand ;) the default boot method is via sd card
<atsampson>
hm. well, then if you're just trying to distinguish the CB2 and the bananapi, then if it has NAND it's a CB2 ;-)
<kivutar>
yes
<kivutar>
I just need to find how to check if nand is present
<NiteHawk>
isn't the gmac specific to the bananapi, too?
<ssvb>
kivutar: I think there were some NAND patches for u-boot posted somewhere, you can probably scavenge some parts of them
<atsampson>
NiteHawk: they both use GMAC, but the CB2 doesn't have a gigabit PHY... so that might also be detectable?
<NiteHawk>
that's what i meant - maybe that's another vector to test for if you want to distinguish the two
mmarker has quit [Ping timeout: 256 seconds]
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
blsd has joined #linux-sunxi
<vishnup>
ssvb: I get debug log for my A33 tablet on SD CLK pin :)
<ssvb>
vishnup: nice :)
naobsd has quit [Ping timeout: 245 seconds]
<ssvb>
vishnup: anything interesting in it?
<vishnup>
I wrote u-boot-spl.bin at address 0x2000 and
<vishnup>
exe 0x2000, It does not give me new SPL logs instead It initializes old SPL and old uboot
<vishnup>
isn't it strange?
konradoo77 has joined #linux-sunxi
<vishnup>
new SPL= u-boot sunxi branch
<vishnup>
old SPL u-boot = preprogrammed on tablet as Stock OS part
domidumont has quit [Ping timeout: 246 seconds]
pmattern is now known as pmattern_away
fr4z has quit [Ping timeout: 276 seconds]
trollinger has joined #linux-sunxi
trollinger is now known as trollinger_away
<Turl>
status update #2, ~2h to go
fr4z has joined #linux-sunxi
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
domidumont has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 240 seconds]
gianMOD has quit [Read error: No route to host]
gianMOD has joined #linux-sunxi
konradoo87 has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 256 seconds]
blsd has quit [Quit: Leaving]
DagoRed has joined #linux-sunxi
mmarker has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
interrobangd has joined #linux-sunxi
vishnup has quit [Remote host closed the connection]
_massi has quit [Quit: Leaving]
gianMOD has quit [Read error: No route to host]
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
ptolts_ has joined #linux-sunxi
dack has joined #linux-sunxi
ptolts has quit [Ping timeout: 256 seconds]
ricardocrudo has joined #linux-sunxi
ptolts_ has quit [Ping timeout: 244 seconds]
gianMOD has joined #linux-sunxi
konradoo87 has quit [Ping timeout: 255 seconds]
gianMOD has quit [Remote host closed the connection]
<montjoie[home]>
sunxi-ss is not supported anymore on 3.4 anyway
<interrobang__>
oO
<montjoie[home]>
the patch for 3.4 is old and have bug
<interrobang__>
ok, but in my case is not sunxi_ss the problem - even its loaded and using a fork of sunxi 3.4 kernel. i have a problem to run die middleware cryptodev
<ssvb>
interrobang__: somebody has to spend a bit of time debugging the issue
<ssvb>
interrobang__: you can try to report a bug to this guy and see if he can do something
<interrobang__>
thats the boy beyond my kernel i think
<ssvb>
yes, I don't think that we have ever seen him contributing any patches to the primary sunxi-3.4 kernel git repository, he seems to be doing his own thing
<interrobang__>
whats up, cant connect to linux-sunxi.org
<flok420>
interrobang__: I need something more recent, with devicetree support, so that i can enable pps
<interrobang__>
also 3.19
<flok420>
also it is cubietruck and cb2
<Turl>
ssvb: yeah, looks like the replaced disk is not the only one that was rotting
<ssvb>
flok420: what are you doing and how it fails?
<interrobang__>
yes
<Turl>
ssvb: we're rsyncing all the things away as we speak
<interrobang__>
ssvb, what type of instructions?
gianMOD has joined #linux-sunxi
<flok420>
ssvb: I can compile it, install it, created boot.cmd/scr, verified that my uImage has same meta-data as a regular one, then the bootloader says it starts the kernel and then it hangs
<ssvb>
interrobang__: step by step instructions for compiling the mainline kernel
<interrobang__>
ah
<ssvb>
flok420: what kind of bootloader are you using? and what is in your boot.cmd?
<Turl>
flok420: did you load the dt?
<flok420>
ssvb: uBoot, Turl: yes. wait i'll paste it to pastebin
<ssvb>
flok420: u-boot has many versions and forks
<interrobang__>
ssvb, do you know if a hardware cryptographic accelerator supported in newer sunxi kenel version?
<flok420>
ssvb: works! great
bengal has joined #linux-sunxi
<ssvb>
interrobang__: ask montjoie[home] about the current status of the hardware cryptographic accelerator in the mainline kernel
<flok420>
hans++
f15h has joined #linux-sunxi
akaizen_ has joined #linux-sunxi
akaizen has quit [Ping timeout: 245 seconds]
<flok420>
ssvb / Turl: it works! great! thanks guys!
<interrobang__>
congratulations
* interrobang__
want to get a MinnowBoard
<ssvb>
interrobang__: cubietruck is nicely supported, you will see it yourself when the wiki is back
<flok420>
what would be the gpio pin number in devicetree kernels for ph15?
<interrobang__>
ssvb, my plan is to start a ssh tunnel (tap) on cubietruck to tunnel my ISP (100Mbit/s) - the bottleneck is the CPU, 100% load - because AES
<interrobang__>
and i hope that hardware accele. can fix that
<interrobang__>
but Montjoie has no patch given :/
paulk-collins has quit [Read error: Connection reset by peer]
<interrobang__>
via IRC? :P
<Turl>
I think you use a ticket or something
<interrobang__>
...sms
<interrobang__>
just orderd a minoboard max
<interrobang__>
194€ :O
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 256 seconds]
domidumont has quit [Ping timeout: 246 seconds]
<ssvb>
interrobang__: hmm, have they increased the price? mine was a lot cheaper
<interrobang__>
ssvb, you have a minnowboard?
<interrobang__>
*woooow*
paulk-collins has joined #linux-sunxi
<interrobang__>
how long did you wait?
<Turl>
ssvb: you bought the normal one?
<ssvb>
interrobang__: I have actually canceled my order at tigal because I just could not wait longer :) but it was "Total amount: EUR 151,20" for "Minnowboard MAX E3825 (dual-core, 1,33 GHz)"
<ssvb>
interrobang__: including shipping and VAT
<ssvb>
considering that they have a very long waiting queue, increasing the price does not seem like a very bad idea :)
<interrobang__>
oh man
<interrobang__>
i also orderd on tigal
gianMOD has quit [Remote host closed the connection]
dack has quit [Remote host closed the connection]
* ssvb
has ordered it almost immediately after it has become available in June and waited for maybe like 4 or 5 months before giving up
<interrobang__>
O_O
<interrobang__>
omfg
<wens>
shouldn't the patches be on patchwork?
<interrobang__>
i think i will cancel my order in the future^^
<ssvb>
don't know, maybe they have ramped up production now :)
<wens>
spent 40 more minutes on thalys today :(
<wens>
high speed line between rotterdam and antwerp was closed...
<interrobang__>
wens, did you find it? the patch at once?
<wens>
5101031 New [v5,1/4] ARM: sun7i: dt: Add Security System to A20 SoC DTS
<wens>
5101061 New [v5,2/4] ARM: sunxi: dt: Add DT bindings documentation for SUNXI Security System
<wens>
5101041 New [v5,3/4] MAINTAINERS: Add myself as maintainer of Allwinner Security System
<wens>
5101051 New [v5,4/4] crypto: Add Allwinner Security System crypto accelerator
<wens>
from patchwork
<wens>
get pwclient from the patchwork link mripard posted
bengal has quit [Quit: Leaving]
<ssvb>
wens: nice, their web interface did not seem to provide access to old patches
<wens>
depends on whether it's still in the queue or not i guess
<wens>
also the default filter is "action required", not that the arm patchwork ever gets updated
<interrobang__>
i will dont use it
<interrobang__>
go to hell email based SCM
<interrobang__>
email < cvs < svn < git
<wens>
it's not scm, it's a log of patches submittd
<interrobang__>
yes, a part of scm ;)
<interrobang__>
but of course, not a SCM, its ..trash
<wens>
not everyone pushes a public branch for patches