mnemoc changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
ricardocrudo has quit [Ping timeout: 264 seconds]
naobsd has quit [Quit: naobsd]
trollinger has quit [Quit: Reicht jetzt erst mal.]
wenbin has joined #linux-sunxi
jero has quit [Quit: ZNC - http://znc.in]
jero has joined #linux-sunxi
adj_ has quit [Quit: Leaving]
naobsd has joined #linux-sunxi
FlibberTGibbet has joined #linux-sunxi
adj_ has joined #linux-sunxi
FreezingAlt has quit [Read error: Connection reset by peer]
FreezingCold has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 272 seconds]
popolon has quit [Quit: WeeChat 1.1]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 246 seconds]
mmarker has quit [Ping timeout: 244 seconds]
kurain has joined #linux-sunxi
lukas2511 has quit [Quit: leaving]
FlibberTGibbet has quit [Quit: Leaving]
mmarker has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
lukas2511 has joined #linux-sunxi
Andy-D has quit [Remote host closed the connection]
FreezingCold has quit [Remote host closed the connection]
FreezingCold has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
leviathanch has quit [Ping timeout: 265 seconds]
cajg has quit [Ping timeout: 246 seconds]
cajg has joined #linux-sunxi
FreezingAlt has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 252 seconds]
Andy-D has joined #linux-sunxi
p1u3sch1_ has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 240 seconds]
vishnup has joined #linux-sunxi
TheSeven has quit [Ping timeout: 272 seconds]
TheSeven has joined #linux-sunxi
zumbi has quit [Read error: Connection reset by peer]
FreezingAlt has quit [Remote host closed the connection]
FreezingAlt has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 272 seconds]
reinforce has joined #linux-sunxi
whitesn_ has quit [Quit: WeeChat 1.0.1]
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 244 seconds]
cnxsoft has joined #linux-sunxi
whitesn has joined #linux-sunxi
whitesn has joined #linux-sunxi
whitesn has quit [Client Quit]
gianMOD has joined #linux-sunxi
whitesn has joined #linux-sunxi
gianMOD has quit [Ping timeout: 256 seconds]
cubear has joined #linux-sunxi
gianMOD has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
domidumont has joined #linux-sunxi
hramrach has quit [Ping timeout: 250 seconds]
joost_dtn has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
<mripard_> ojn: indeed
<mripard_> ojn: I wonder what's causing this
<mripard_> I'll give it a look tonigh
gianMOD has quit [Remote host closed the connection]
whitesn has quit [Quit: WeeChat 1.0.1]
whitesn has joined #linux-sunxi
whitesn has joined #linux-sunxi
whitesn_ has joined #linux-sunxi
sehraf has joined #linux-sunxi
whitesn has quit [Client Quit]
bonbons has joined #linux-sunxi
whitesn_ has quit [Quit: ZNC - http://znc.in]
dlan has quit [Ping timeout: 265 seconds]
dlan has joined #linux-sunxi
dlan has joined #linux-sunxi
whitesn has joined #linux-sunxi
whitesn has quit [Client Quit]
_massi has joined #linux-sunxi
gianMOD has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
_massi has quit [Remote host closed the connection]
_massi has joined #linux-sunxi
FR^2 has joined #linux-sunxi
whitesn has joined #linux-sunxi
blsd has quit [Quit: Leaving]
whitesn has quit [Quit: ZNC - http://znc.in]
whitesn has joined #linux-sunxi
whitesn has quit [Client Quit]
whitesn has joined #linux-sunxi
whitesn has quit [Changing host]
whitesn has joined #linux-sunxi
naobsd has joined #linux-sunxi
whitesn has quit [Quit: ZNC - http://znc.in]
whitesn has joined #linux-sunxi
whitesn has quit [Changing host]
whitesn has joined #linux-sunxi
wickwire has joined #linux-sunxi
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.
<oliv3r> mripard_: it doesn't crash or anything
<oliv3r> mripard_: [ 4.838972] platform 1c1c000.usb: Driver ehci-platform requests probe deferral
<oliv3r> [ 4.843359] platform 1c14400.usb: Driver ohci-platform requests probe deferral
<oliv3r> it's just this
<mripard_> damn.
<oliv3r> i allready learned that the deferral part is from when the driver is 'missing' some dependancy (in whatever form) and will try again later
<mripard_> *all* the logs
<mripard_> really
wenbin has quit [Quit: Leaving]
<mripard_> not just a single line without any context
<oliv3r> what other logs are there?
<mripard_> you know that
<mripard_> I ask you that at least twice a week for something like a year
<mripard_> oliv3r: all of them
<mripard_> from the start of the kernel
<oliv3r> mripard_: http://sprunge.us/gehC
<mripard_> what's your DT?
<oliv3r> mripard_: not perfect! http://sprunge.us/NSPJ
<oliv3r> but the usb stuff should be all imported via the lim2 dts
<oliv3r> lime*
<mripard_> you have CONFIG_REGULATOR_FIXED_VOLTAGE ?
<oliv3r> Symbol: REGULATOR_FIXED_VOLTAGE [=y]
<oliv3r> still looking for it in the menu :p
<plaes> you can check from .config
<oliv3r> well i'm looking at the other things tooo
<plaes> also when you use search in menuconfig, there are numbers next to entries
<oliv3r> i do notice i have userspace regulator set to M, but that shouldn't matter
<plaes> when typing in the number, it jumps there
<oliv3r> numberS?
<oliv3r> i've never seen numbers
<oliv3r> wow
<oliv3r> i see the numbers
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<oliv3r> omg! i wish i knew this years ago
<oliv3r> that's one big timesaver!
<oliv3r> plaes: you are my hero!
<mripard_> oliv3r: is that the image you're booting?
<mripard_> are you sure?
<oliv3r> very sure
<oliv3r> any easy way to verify (sysfs/procfs)?
<plaes> uname -a
<mripard_> plaes: not the configuration
<oliv3r> it's the first rc6 kernel i'm building and running
<oliv3r> so i'm very sure its the proper config for it
<oliv3r> but i've had it since after 3.18
<mripard_> oliv3r: ls /sys/class/regulator
<oliv3r> regulator.0 regulator.10 regulator.3 regulator.5 regulator.7 regulator.9
<oliv3r> regulator.1 regulator.2 regulator.4 regulator.6 regulator.8
<oliv3r> for the subdirs of that
pmattern has joined #linux-sunxi
<mripard_> and find /sys/class/regulator -name name | xargs cat ?
kurain has quit [Quit: kurain]
zumbi has joined #linux-sunxi
naobsd has joined #linux-sunxi
tomcheng76 has quit [Ping timeout: 256 seconds]
Net147 has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
ssvb has quit [Ping timeout: 255 seconds]
dantob has joined #linux-sunxi
naobsd has joined #linux-sunxi
whitesn has quit [Quit: ZNC - http://znc.in]
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?
<ssvb> Turl: a broken PSU frying all the hard drives at once or a hacker attack can still cause data loss even with a raid
<plaes> piratebay was raided too :P
<ssvb> lol
<Turl> ssvb: yeah, that's why backups are cool :)
<Turl> plaes: :p
Net147 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- \o/]
<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_: http://sprunge.us/TQfQ but this works :)
<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: my opinion about this is in the "Relocatable SD card" section of http://lists.denx.de/pipermail/u-boot/2015-January/202306.html
<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
<mripard_> and I'm convinced that they're not. :)
<oliv3r> did you see my paste?
<oliv3r> mripard_: so you think it's somewhere in the regulator bits
Andy-D has joined #linux-sunxi
<mripard_> oliv3r: do you see the USB vbus and AHCI regulators?
<oliv3r> ahah!
<oliv3r> indeed
<oliv3r> now i know where to digg
<oliv3r> so we have the usbphy in the olimexlinuxino-lime dts, which takes the sunxi-common defined ones.
<oliv3r> in my board, i inlcude both the lime dts and the sunxi dts (as i need the sunxi-common dts for the mmc regulators)
<oliv3r> if the gpio is missconfigured, that shouldn't cause the entire regulator to fail, right?
<mripard_> in which order?
<oliv3r> first the lime, then the sunxi common one
<oliv3r> so the common one overrides whatever the lime has set
<oliv3r> i just followed the order in the lime.dts
<mripard_> that would be my guess yeah
<oliv3r> so we have sun7i.dtsi, sunxi.dtsi in the lime.dts
<mripard_> except that you include it a second time...
<oliv3r> and then i include lime.dts and then sunxi.dtsi
<oliv3r> whats the rule here? normally one is to include the header of each component they use
<oliv3r> so drop the include all together and assume its there
<mripard_> well, why do you need to include it twice?
<oliv3r> 'normally' there's include guards, and you inlcude it because you are asked to include everything you use :)
eagles0513875_ has joined #linux-sunxi
<oliv3r> mripard_: i ahve mmc1 defined in my file, which needs vmmc-supply
FlibberTGibbet has joined #linux-sunxi
<oliv3r> (i didn't wanna change the sun7i.dtsi just yet to add mmc1)
<oliv3r> but i know what the fix is; lets test it :)
FlibberTGibbet has left #linux-sunxi [#linux-sunxi]
<mripard_> oliv3r: it's already included...
<mripard_> and not in sun7i.dtsi
<oliv3r> yeah so i have access to my regulators allready
<oliv3r> in lime.dtsi it is yeah
<mripard_> so I really don't get what you're saying.
<oliv3r> normally for regular C code, you include the header of which you use stuff from
<oliv3r> even if it was included in one of the headers
<oliv3r> so if this fixes it, i'll owe you yet a nother eer :)
<libv> ear?
<libv> you dutch are all alike.
<libv> cutting off ears all the time
<oliv3r> Poor Vincent
firc76cad790 is now known as flok420
ricardocrudo has joined #linux-sunxi
<oliv3r> mripard_: poor you! a nice glass of cut of ears for you!
iamfrankenstein has joined #linux-sunxi
dantob has quit [Quit: dantob]
gianMOD has quit [Read error: No route to host]
gianMOD has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 252 seconds]
selfbg has quit [Quit: Leaving]
ricardocrudo has quit [Ping timeout: 265 seconds]
<a1d3s> <ssvb> kivutar: that's a bit less of a hack, and can support a large set of boards (including all sort of bananas) bu not on m2 :(
cnxsoft has quit [Quit: cnxsoft]
<ssvb> a1d3s: m2?
<a1d3s> yes banana m2
<a1d3s> it use an a31s
<ssvb> the patchset for u-boot v2015.04 is underway
<ssvb> I do have one a31s based device myself :)
<ssvb> I just wonder why the full-fledged a31 (with dual-channel dram) does not seem to be popular?
<a1d3s> i got it as free sample 3 weeks ago
<ssvb> did they discover some hardware fault in a31?
<ssvb> or just trying to save a few cents?
<oliv3r> mripard_: my hero!
* ssvb would consider buying bananapi m2 if it used a31
<a1d3s> i think they save cents
ptolts has joined #linux-sunxi
<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
<a1d3s> and an boot button
<ssvb> oh, this sounds good :)
<a1d3s> http://bananapi.com/index.php/component/content/article?layout=edit&id=73 on this site a little scroll down are pictures and discription
<ssvb> right, thanks
<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...
domidumont has joined #linux-sunxi
<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]
interrobangd_ has joined #linux-sunxi
pmattern_away is now known as pmattern
interrobangd has quit [Ping timeout: 265 seconds]
<interrobangd_> Hi
<interrobangd_> .. did somebody run it?
<interrobangd_> i am get a segfault on my ARM :<
<interrobangd_> but no problem on my x86
Netlynx has quit [Quit: Leaving]
interrobangd has joined #linux-sunxi
interrobang__ has joined #linux-sunxi
interrobangd_ has quit [Ping timeout: 265 seconds]
interrobangd has quit [Ping timeout: 265 seconds]
iamfrankenstein has joined #linux-sunxi
<interrobang__> Montjoie, sorry
<interrobang__> .. do you have a bit time?
wickwire has quit [Read error: Connection reset by peer]
<interrobang__> i can compile cryptodev, but dont load -> segfault
<ssvb> interrobang__: do you have, like, any logs or backtraces?
<interrobang__> many hex addresses
<interrobang__> no
<interrobang__> could be possible that die cryptodev driver dont work on ARM based devices?
<ssvb> bad luck then, absolutely nothing can be done to help you
<interrobang__> the kernel module "sunxi_ss" (for hardware acc.) is loaded
<interrobang__> ssvb, i can give dmesg and so on
<ssvb> it would help to first have the exact steps to reproduce the problem, and also the version of the kernel
leviathanch has joined #linux-sunxi
<interrobang__> no problem!
<interrobang__> ... i will do it
<interrobang__> dmesg -> http://pastebin.com/aq0Pvzav
<ssvb> interrobang__: oh, this is not the mainline kernel?
<interrobang__> i have just installed a ready image
<interrobang__> because sunxi_ss ist allready enabled ("Allwinner Security System cryptographic accelerator")
<ssvb> interrobang__: it is even not the sunxi-3.4 kernel, so if you want to keep using that kernel, you should probably also ask that guy for support
leviathanch has quit [Ping timeout: 272 seconds]
<interrobang__> on sunxi-3.4 kernel the module will work?
<ssvb> don't know, I guess nobody tried
<montjoie[home]> interrobang__: try mainline kernel
<interrobang__> hehe
<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__: and it's even not worth wasting time looking at some third-party fork - https://github.com/dan-and/linux-sunxi/commits/dan-3.4.105
<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
<interrobang__> since hours
<ssvb> Turl: any unexpected difficulties fixing linux-sunxi.org?
<interrobang__> montjoie[home], which kernel do you use on cubieboard?
<interrobang__> newer then 3.4.105?
<NiteHawk> interrobang__: linux-sunxi.org is in maintenance mode after an unexpected hardware failure. should be back online soon
<interrobang__> a bug :P
<ssvb> interrobang__: https://kernel.org/ :-)
<flok420> can't get 3.18 to work on my cb1
<ssvb> interrobang__: and the instructions are on the wiki, which is temporarily unavailable
<flok420> interrobang__: that's kernel 3.4
<interrobang__> nope
<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
<ssvb> flok420: if you are using something old, then it may have problems
<flok420> ssvb: U-Boot SPL 2012.10-04277-g7aa9f04 (Feb 16 2013 - 20:53:14)
<Turl> flok420: can you paste the kernel config?
<ssvb> flok420: you know, my calendar says that it is *2015* now :)
<flok420> yes, one moment
<flok420> ssvb: I took it from an sd-card image on the sunxi website
<ssvb> flok420: replacing u-boot to something more up to date is likely to help
<flok420> ssvb: will look into that
domidumont has quit [Ping timeout: 246 seconds]
<Turl> config looks sane, try a newer uboot and if you still have issues enable DEBUG_LL & EARLY_PRINTK
<Turl> flok420: clone the tree from denx and build your own
<flok420> ok thanks!
<interrobang__> montjoie[home], sorry, how can i get the patch? dont find any repo or download link https://lkml.org/lkml/2014/10/19/61
<interrobang__> the NEW patch
<interrobang__> (i think that is the new one, not the patch for kernel 3.4)
<interrobang__> Montjoie, montjoie[home], hey!;-) -- You can find the latest patch here (TODO) <- when?
FR^2 has quit [Quit: Connection reset by peer]
<ssvb> flok420: http://fedoraproject.org/wiki/Cubie_Board#Updating_the_u-boot is offering some blobs of unknown origin, if you run into troubles with them, then nobody would be able to help :)
<ssvb> flok420: just like Turl said, cloning the tree from denx and using one of the latest release tags is the best
<ssvb> interrobang__: maybe just try 3.19-rc6 first?
<interrobang__> if the wiki goes online
<interrobang__> "just try" sounds crazy^^ i need manny hours for compiling that
<interrobang__> arrr, i dont find the download :O
<interrobang__> want to get the patch for newer kernel :-)
<ssvb> interrobang__: how fast is your desktop pc? it's only a few minutes for me, admittedly on core-i7
<flok420> ssvb: it wants me to run make menuconfig - is there some make target creating a default config for the cb1?
<ssvb> flok420: "it" == "u-boot"?
<flok420> yes
<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 :/
FDCX_ has joined #linux-sunxi
<ssvb> interrobang__: what kind of patch?
<ssvb> interrobang__: for applying to what?
<Turl> interrobang__: you want the patches?
<interrobang__> the kernel module (instruction set for usind A20 "Security System crypto accelerator")
<Turl> check a better list archive, eg. http://www.spinics.net/lists/linux-crypto/msg12140.html
<interrobang__> the patch is inside the mailing list (email)?
melonipoika has quit [Remote host closed the connection]
<Turl> interrobang__: yes, see the 4 emails with patches on the bottom of that link
<interrobang__> crazy
<Turl> o.O
<interrobang__> somebody should be give him a github account :P
<Turl> you need to send the patches via email to get anyone to give them a serious look :)
<Turl> git send-email exists for a reason :p
<interrobang__> email is serious?
<interrobang__> git has a send-email function? crazy
_ccube has quit [Ping timeout: 272 seconds]
<ssvb> Turl: but interrobang__ has the point, is there a way to download these patches unmangled from the web? is there a patchwork set up?
lynxis has quit [Ping timeout: 265 seconds]
<interrobang__> yes
<Turl> gmane, if you don't mind the email addr getting all funny
<interrobang__> would be great ;)
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<mripard_> good luck finding something in there :)
reinforce has quit [Ping timeout: 245 seconds]
lynxis has joined #linux-sunxi
<interrobang__> no search function, great!
domidumont has joined #linux-sunxi
<ssvb> Turl: gmane is mangling e-mail addresses
<interrobang__> worse case ever
<interrobang__> after that i need a patch for the patch^^
ricardocrudo has quit [Ping timeout: 244 seconds]
<Turl> ssvb: Turl> gmane, if you don't mind the email addr getting all funny
<Turl> :)
<Turl> the ultimate solution is to subscribe to the lists :p but it's not retroactive
afaerber has quit [Quit: Verlassend]
bengal has quit [Quit: Leaving]
bengal has joined #linux-sunxi
<Turl> server update: data is ok, and we're waiting for a replacement server
<Turl> ssvb: ^
<ssvb> Turl: hmm, does this mean that it may take a long time?
<Turl> ssvb: dunno how much does hetzner take to provision a new server
f15h has quit [Quit: Leaving]
fr4z has quit [Remote host closed the connection]
<ssvb> Turl: ok, it's understandable
gianMOD has quit [Remote host closed the connection]
<interrobang__> Turl, i am @online.net - admins are on IRC
<interrobang__> so if i say change disk, they will do it now
<interrobang__> :P
<Turl> interrobang__: isn't online.net != hetzner?
<interrobang__> !isn't online.net != hetzner
<interrobang__> online.net is not hetzner
naobsd has joined #linux-sunxi
<Turl> interrobang__: you lost me then
<interrobang__> i dont understand
<Turl> our server is on hetzner
<interrobang__> yes, yours
<Turl> aah
<Turl> I got it now
<interrobang__> ;)
gianMOD has joined #linux-sunxi
<Turl> yeah, you can ask hetzner to do it too
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
<interrobang__> ok
<interrobang__> but is that now for newer kernel, 3.4+ ? http://www.spinics.net/lists/linux-crypto/msg12144.html
<wens> it's for mainline
<interrobang__> yeah
<ssvb> just forget about 3.4, you don't need it for your "ssh tunnel" workload
<interrobang__> ok ok
<interrobang__> will use 3.18+
<ssvb> 3.4 is only good for 3D graphics and hardware accelerated video decoding
<ssvb> if you need neither of these, the mainline kernel is a better choice
<interrobang__> btw.. have never compiled a kernel bevor
<interrobang__> but i will try it
souther has quit [Ping timeout: 245 seconds]
<interrobang__> HEAD ist on sunxi-3.4 https://github.com/linux-sunxi/linux-sunxi
<interrobang__> is that the mainline kernel (and branch)?
<ssvb> interrobang__: the mainline kernel is here - https://www.kernel.org/
souther has joined #linux-sunxi
<interrobang__> oh sry
<interrobang__> but i need a special kernel, the sunxi for A20 or not!?
<interrobang__> or waht it is? https://github.com/linux-sunxi/linux-sunxi
<interrobang__> *what
<interrobang__> sorry i have to ask that
<interrobang__> no wiki, no knowledge
<Turl> google cache :)
<Turl> mainline kernel == https://www.kernel.org/
<interrobang__> and that repo? https://github.com/linux-sunxi/linux-sunxi
<sehraf> interrobang__: https://github.com/torvalds/linux/
<interrobang__> what does linux-sunxi?
naobsd has quit [Quit: naobsd]
<Turl> interrobang__: https://github.com/linux-sunxi/linux-sunxi == 3.4 for sunxi
<interrobang__> does the mainline kernel run without patches on my cubietruck?
<interrobang__> what is sunxi?
<Turl> yes
<Turl> sunxi is a way to refer to the family of allwinner processors
<sehraf> interrobang__: mainline kernel runs fine (sunxi = allwinner cpus)
FreezingCold has quit [Read error: Connection reset by peer]
FreezingCold has joined #linux-sunxi
<ssvb> Turl: hmm, reading the mnemoc's e-mail, is it possible that the technician has just replaced a wrong hard drive?
<ssvb> Turl: so that the defective one remained in the raid and then died when sync'ing?
<interrobang__> in which order i have to patch (4 emails) http://www.spinics.net/lists/linux-crypto/msg12140.html
<interrobang__> 1/4 first, 4/4 last?
<ssvb> Turl: otherwise, what is the probability of two hard drives failing simultaneously?
<ssvb> interrobang__: yes
<interrobang__> ok
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
<interrobang__> bb g8
interrobang__ has quit [Quit: Leaving]
iamfrankenstein1 has quit [Ping timeout: 245 seconds]
<ssvb> Turl: was that a software raid?
<Turl> ssvb: I doubt they replaced the wrong one
<Turl> ssvb: Murphy's
<Turl> ssvb: it's bad blocks, not full death
<Turl> ssvb: and yeah, mdadm
pmattern has quit [Quit: Genug für heute.]
iamfrankenstein has joined #linux-sunxi
trollinger_away has quit [Quit: Reicht jetzt erst mal.]
FDCX_ has quit [Ping timeout: 245 seconds]
bonbons has quit [Quit: Leaving]
paulk-collins has quit [Remote host closed the connection]