hno changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
_BJFreeman has joined #linux-sunxi
BJfreeman has quit [Ping timeout: 252 seconds]
_BJFreeman is now known as BJfreeman
TheSeven has quit [Remote host closed the connection]
TheSeven has joined #linux-sunxi
derethor has quit [Quit: Leaving]
<Turl> [hawk]: can you send a patch to the list? :) a copy of the fex section would be good for reference too
_BJFreeman has joined #linux-sunxi
BJfreeman is now known as Guest56939
_BJFreeman is now known as BJfreeman
Guest56939 has quit [Ping timeout: 252 seconds]
<[hawk]> Turl: sure... tomorrow! In the meantime I also fixe the bma250 :-)
BJfreeman has quit [Ping timeout: 252 seconds]
<Turl> [hawk]: ok, thx :)
\\Mr_C\\ has quit []
tzafrir has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
rz2k has joined #linux-sunxi
_BJFreeman is now known as BJfreeman\
BJfreeman\ is now known as BJfreeman
tzafrir has quit [Ping timeout: 252 seconds]
Tsvetan2 is now known as Tsvetan
_BJFreeman has joined #linux-sunxi
BJfreeman has quit [Ping timeout: 252 seconds]
_BJFreeman is now known as BJfreeman
Soru has quit [Ping timeout: 255 seconds]
Soru has joined #linux-sunxi
<oliv3r> x86 ouch
<oliv3r> wait
n01 has joined #linux-sunxi
n01 has quit [Client Quit]
n01 has joined #linux-sunxi
<oliv3r> i have no clue how that got compiled to x86
<oliv3r> but new one is: a31-meminfo-static: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, for GNU/Ld
eebrah|away is now known as eebrah
n01 has quit [Quit: Changing server]
n01 has joined #linux-sunxi
<oliv3r> where is mnemoc; how bad is he?
n01 has quit [Ping timeout: 246 seconds]
BJfreeman has quit [Quit: had a good time]
Tsvetan has quit [Ping timeout: 246 seconds]
<oliv3r> i think very strongly, that the DRAM controller is not allwinner IP; but some other IP
<oliv3r> i don't think AW has many docs
<oliv3r> and the way it is setup ... just messy
<oliv3r> thoughts?
rellla has joined #linux-sunxi
rellla has quit [Ping timeout: 248 seconds]
rellla has joined #linux-sunxi
tkoskine has quit [Ping timeout: 268 seconds]
tkoskine has joined #linux-sunxi
<rellla> hramrach_: i'll check that later. i'm busy with my newborn these days ;) on windows it plays fine with vlc at least. mediainfo says: http://pastebin.com/a0ZyFSf0
<oliv3r> winwhat?
<oliv3r> you heretic
<rellla> oliv3r: i forgot, that this channel is called "linux"-sunxi ;) you're right. bad bad windows!
<oliv3r> you dissapoint me rellla! :(
<oliv3r> you may leave your geek-card at the door
Soru_ has joined #linux-sunxi
Soru has quit [Ping timeout: 264 seconds]
rellla2 has joined #linux-sunxi
vicenteH has joined #linux-sunxi
mturquette has quit [Ping timeout: 256 seconds]
mturquette has joined #linux-sunxi
<oliv3r> what is an 'mbus'
<oliv3r> i thought it was some random databus (i2c/can etc)
paulk-desktop has joined #linux-sunxi
<mripard_> oliv3r: reading marvell patches? :)
<oliv3r> mripard_: not at all; why?
<oliv3r> mripard_: sun[4567]i all enable the GPS clock (wtf why?) and the 'mbus' clocks
<oliv3r> which is even more strange because in the a10 manual, mbus clocks aren't even listed
<oliv3r> then there's the ACE clock, which sun5i needs (only)
<oliv3r> but I don't quite understand yet what the ACE bus exactly is or more importantly, how it relates to the SDRAM clock
<oliv3r> Turl: Turl Turl
<oliv3r> Turl: http://sprunge.us/VQeH this is your clock debug paste, why is ahb_sdram not enabled and running at 168 MHz?
<oliv3r> Turl: pll5_ddr is running at 480 MHz but also not enabled
<oliv3r> or does the AHB have it's own connection to the sdram? (for dma of the various drivers I expect)
<oliv3r> that would explain the ahb_sdram being null; but not pll5_ddr being 0 :)
notmart has joined #linux-sunxi
<oliv3r> the counts that is
<oliv3r> hno: who wrote the gross of dram.c of the SPL? it's almost identical to the a* stuff from allwinner-boot/boot0/drv/init_dram
<oliv3r> i mean comments included identical
<oliv3r> lkcl: allwinner-boot license isn't sorted properly yet (check log :)
<oliv3r> hno: once i've sent my 2 naming patches (almost done with 2nd set) and we accept those, we have to talk about some cleanup; some things are silly now (partially because we don't know certain things and just guess things) so with some testing we should be able to make things better
<rz2k> oliv3r: ace might refer to 'advanced crypto engine'
<rz2k> just guess :p
rellla2 has quit [Quit: Nettalk6 - www.ntalk.de]
<oliv3r> no, crypto engine is SS
<oliv3r> ace is an arm 'bus' thing or something
jemk has joined #linux-sunxi
<oliv3r> >-------writel(0, &timer->cpu_cfg);
<oliv3r> >-------reg_val = readl(&timer->cpu_cfg);
<oliv3r> interesting
<oliv3r> though I thought it always worked allready anyway
vicenteH has quit [Read error: Connection reset by peer]
rellla2 has joined #linux-sunxi
jemk has quit [Ping timeout: 240 seconds]
rellla2 has quit [Remote host closed the connection]
jemk has joined #linux-sunxi
leowt has joined #linux-sunxi
paulk-desktop has quit [Quit: Ex-Chat]
\\Mr_C\\ has quit []
vicenteH has joined #linux-sunxi
<ssvb> does this u-boot/kernel work for anyone on cubieboard2 - http://comments.gmane.org/gmane.comp.hardware.netbook.arm.sunxi/1448 ?
<ssvb> for me it just prints "aw_clkevt_init: sun7i_timer0_clockevent mult 6442450, max_delta_ns 170000, min_delta_ns 1000, cpumask 0xc04607e8, irq 54" to the serial console and reboots
<rz2k> try disabling both 8250 and 'winners serial driver' in character devices
<rz2k> i have olinuxino that doesnt work with anything serial related in kernel
<ssvb> rz2k: does not seem to make any difference, I'll probably try to downclock dram just in case
<oliv3r> ssvb: the cubie2 only has 240 MHz memory bandwith, won't that affect performance even more?
<ssvb> oliv3r: first I want it to boot somehow
<oliv3r> ssvb: yours doesn't boot yet?
<oliv3r> then tehre's probably something that's 480 /2 :)
<oliv3r> 240 MHz per channel, per 32bit; so 480 MHz over 64 bits?
<ssvb> where do you see 240MHz? do you read it from some HW registers?
<oliv3r> yeah
<oliv3r> i may have forgotten
<oliv3r> let me backread the log where i ping you :)
<oliv3r> ohhh i lie
<oliv3r> i remember now
<oliv3r> 240 MHz is for dual channel memory controller == a31; not a20
<ssvb> I see, but this is really weird if it is true
<oliv3r> that's where i read it
<techn_> that's a31 .. which has completely different bus
<ssvb> I'm also concerned that A20 seems to only have 256K of L2 cache, shared between two cores
<ssvb> http://www.allwinnertech.com/en/product/A31.html advertises 1MB of L2 cache
<ssvb> but http://www.allwinnertech.com/en/product/A20.html says nothing about L2
<rz2k> ssvb: lets run vfpv4 optimized x11 stuff, linpack shows x3 perfomance compared to A10 http://linux-sunxi.org/Benchmarks#Linpack_2
<rz2k> a10 was 45k, a20 is 145k..
<ssvb> cortex-a8 has non-pipelined vfp, that's a huge performance problem
<oliv3r> so we boo at a20 and pray for a40? :)
<rz2k> that x3 is not everything you can get, i bet i goofed up something in gcc settings
<techn_> sw may have real bad bugs
<ssvb> even arm11 has pipelined vfp and can beat cortex-a8 in some floating point benchmarks :)
<ssvb> it's good that cortex-a7 has fixed this performance regression
<ssvb> must be good for scalar floating point workloads
<rz2k> weird thing is
<rz2k> openssl is slower
<rz2k> than a10
jemk has quit [Quit: bye]
<rz2k> probably needs recompilation with -mcpu=cortex-a7 for real performance
<ssvb> neon simd is roughly twice worse per clock compared to cortex-a8
<rz2k> also about caches, what cahce controller a7 has?
<rz2k> because standard lx20 is not compiled in kernel in 3.3 kernels
<rz2k> (i tried enabling it, but it was broken, so probably it is not lx20)
<ssvb> for integer code a7 has very limited dual issue support, only instructions with immediate operands and branches can dual issue
<rm> ssvb, this says 512KB L2 cache, maybe you should edit this if you know it's wrong http://linux-sunxi.org/A20
<ssvb> a8 can dual issue most instructions, as long as there are no data dependencies
<rz2k> classic ARM, fix one thing, break another? :)
<ssvb> the "peak" performance (on hand optimized code) is almost twice worse per cycle, but on the average quality compiler generated code the difference might be not so big
leowt has quit [Quit: leowt]
<ssvb> also found this link - http://forums.arm.com/index.php?/topic/16787-cortex-a7-dual-issue/
<ssvb> rz2k: arm claims that a7 is several times smaller and several times more power efficient
<ssvb> cortex-a7 octacores might be good, in theory :)
<ssvb> or it would be good if they could run at a much higher clock frequency
<ssvb> rz2k: If I understand it correctly, Cortex-A7 has an integrated low latency L2 cache, shared between all cores in a cluster
naobsd has joined #linux-sunxi
<oliv3r> and allwinner decided '256kb is enough for everyone'
<oliv3r> well -Os can help here still :)
<ssvb> here is a diagram, which shows a shared L2 cache behind SCU unit - http://infocenter.arm.com/help/topic/com.arm.doc.ddi0503e/BABHDCHD.html
<ssvb> oliv3r: a preliminary benchmark seems to show that we only have 256K of L2 cache in A20, based on latency tests - https://github.com/ssvb/tinymembench/wiki/Allwinner-A20
<ssvb> but L2 latency is good, and TLB is large
vicenteH has quit [Ping timeout: 255 seconds]
piyushverma has quit [Ping timeout: 240 seconds]
<oliv3r> maybe 256k is enough? :)
<oliv3r> though with 2 cores and a mp2 hammering the memory bus; some extra cache would be good
<ssvb> Raspbery Pi is perfectly happy with 128K of high latency external L2 cache!
piyushverma has joined #linux-sunxi
<techn_> ssvb: which display resolution you are using?
<techn_> is a20 still suffering same issue with 1080p?
<ssvb> it seems to be hardcoded to 1280x720 50hz in the cubieboard2 image from nand
<ssvb> and I still can't boot my own kernel :(
lkcl has quit [Read error: Operation timed out]
rellla has quit [Remote host closed the connection]
<ssvb> hmm, "Data is only allocated to the L2 cache when evicted from the L1 memory system, not when first fetched from the system" seems to imply that Cortex-A7 uses exclusive L1 / L2 caches
<ssvb> so in fact it may be 32K + 32K + 256K total for two cores
<oliv3r> i'd feel bad for you; but i don't even have a cubie2 yet :(
<oliv3r> it's stuck somewhere in the mail
<ssvb> oliv3r: I have "liberated" mine from the customs office yesterday :)
<oliv3r> i don't even know where mine is
<oliv3r> all i know, some one ate it :(
<oliv3r> of course i broke things again in my own build :S
tinti has joined #linux-sunxi
<naobsd> ssvb: why you can't boot own kernel on cb2?
<ssvb> naobsd: something is not right, it prints a single line to the serial console and reboots
<oliv3r> i have that on olimexino
<oliv3r> but that's an android kernel i think
<oliv3r> it happens if i power it over usb otg
<naobsd> ssvb: which kernel source are you using?
<oliv3r> aw_clkevt_init: sun7i_timer0_clockevent mult 6442450, max_delta_ns 170000, min_delta_ns 1000, cpumask 0xc047e8c0, irq 54
<ssvb> oliv3r: yes, exactly the same symptoms
<oliv3r> i'm pretty sure this is the olimxino android kernel
<oliv3r> ssvb how are you powering it
<ssvb> oliv3r: using a phone charger, maybe it's indeed not a very good idea
<naobsd> ssvb: strange, it can boot on my cb2
<oliv3r> ssvb: if i power the olinxino over usb-otg; it won't boot more then that
<oliv3r> if i power it through a 12V adapter (5V is a little to light for it) -> no go
<oliv3r> let me grab a 1 amp USB adapter, that has to be enough
<naobsd> I'm using PC's USB port, probably it's 500mA... it can boot if nothing is connected to USB/SATA on cb2
<ssvb> naobsd: what kind of fex file did you use? could you please add some detailed instructions to the wiki (with all the repositories, commmit id's, etc.)?
<ssvb> naobsd: but I'll try to test some other PSU first
<oliv3r> ssvb: 1 amp USB adapter works
<naobsd> I see, which wiki page
<oliv3r> svb 500 mA isn't enough to power it, maybe 700 mA will be enough
<oliv3r> oh, 1 Amp puts it into boot loop?
<oliv3r> yeah
<oliv3r> 1 amp isn't enough either
<oliv3r> [ 4.180086] android_usb: already disabled
<oliv3r> [ 4.184687] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead
<oliv3r> [ 4.207261] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead
<oliv3r> [ 4.180086] android_usb: already disabled
<oliv3r> [ 4.184687] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead
<oliv3r> [ 4.207261] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead
<oliv3r> HELLO! BOOT0 is starting!
<oliv3r> that somehwat worries me; that it needs that much power to boot
<oliv3r> A10 runs at about 3.6W max wasn't it?
<naobsd> I just use script.bin in nanda from "Android 4.2 support rtl8192cu wifi DDR480MHz" on https://github.com/cubieboard2/manifests
Tartarus_ has joined #linux-sunxi
Tartarus_ has quit [Read error: Connection reset by peer]
<naobsd> (btw, I'm sure 500mA is not enough for actual use like as Android with USB mouse/wifi)
<naobsd> anyway I'll put more info on somewhere
leowt has joined #linux-sunxi
<naobsd> ssvb: do you need my binaries such as uImage, sunxi-spl.bin, u-boot.bin?
<oliv3r> you can charge a tablet and run it from 500mA
<oliv3r> or it appears to work :p
<oliv3r> besides, when booting olixino i have nothing connected but uart :)
eebrah is now known as eebrah|away
<naobsd> oops
<naobsd> add toolchain info...
<ssvb> oliv3r: tried another well regulated 2.5A PSU, still not good
<ssvb> naobsd: thanks, the binaries for test would be appreciated
<oliv3r> are you using USB or the power port
<oliv3r> btw, i bought a 'well regulated 2.5A PSU' for cubie, and it doesn't do more then 700mA i think
<oliv3r> i power the olixino with 12V 2Amps and no problem with that :)
<oliv3r> anything other then that so far hasn't worked
<leowt> naobsd: are you the maintainer of androtab?
<naobsd> leowt: yes
<leowt> naobsd: i have a rk8168 'crap' tablet, im cool to help share some info
<leowt> already submitted a patch to rkflashtools
<leowt> already created an issue to see if we can get a community just like linux-sunxi for rk
<oliv3r> note to self (and maybe hno) SUN7I wants dlccr[i] as 0xf << 14; 0x4 << 14 (sun45) seems to work too
<leowt> btw, what can you ppl tell about a20? it has the same heating issues as a10?
<oliv3r> what heating issue does a10 have?
<leowt> oliv3r: full freq
<leowt> crashes & etc
<leowt> a13 doesnt
<oliv3r> what freq you running it at?
<leowt> 1000
<oliv3r> must be your board specifically
<oliv3r> i run my tablet at 1000+
<leowt> if i do a kernel compile
<leowt> on a10
<leowt> with 1000+
<oliv3r> ah well that is extremly stressfull yeah :)
<leowt> it crashes
<oliv3r> it might be that 1GHz is just too much for it
<oliv3r> how do you know its a heating issue?
<leowt> well, the kernel compile thing is just to test that kind of stress
<leowt> because it is
<leowt> =P
<leowt> ~90 degrees last read
<leowt> celsium
<oliv3r> 90 is hot, but not bad
<leowt> external thermo coupler
<oliv3r> if you cool the chip
<leowt> yes but last read
<oliv3r> does it work then?
<leowt> yep
<leowt> i have a alu cooler just on top of it
<leowt> with an thermal pad
<oliv3r> and it works then?
<leowt> with a13 its cool all the time
<leowt> no cooling
<leowt> ok, it is not a good example
<oliv3r> well a13 is sun5i
<leowt> because of it apackaging
<leowt> and etc
<leowt> but, i have other socs
<leowt> bga, and of course nobody wants a possible crashing soc
<leowt> so i was asking what about a20
<leowt> does it need a cooler too?
<oliv3r> well you can only farily test it if everybody stress tests there a10
<oliv3r> like a cubieboard
<oliv3r> if all cubies fail at 1 GHz kernel compiles
<oliv3r> then 1 GHz is too much
<oliv3r> but icidentally; A20 runs at 960 MHz 'max'
<leowt> why is that?
<oliv3r> because they over estimated the A10 :p
<oliv3r> 'need' is all relative
<oliv3r> nothing 'needs' a cooler
<oliv3r> all need a cooler
<oliv3r> you can downclock it a bit and then it doesn't need one
<oliv3r> you can overclock it and then it needs one
<leowt> that is all relative
<leowt> xD
<oliv3r> and down/over is really just what the manufacture decides is 'normal operating freq'
<naobsd> leowt: making community for rk sounds good. long time I could find very few people who can play with source
<leowt> naobsd: all i have from rk is a 8168, so im glad to help. I am stuck in the kernel compile, the soc is new, supposedly the sources for rk8188 are the same for this one
<leowt> already submitted a patch to rkflashtools for 8168, i have everything
<leowt> found uart on the board too
<leowt> oliv3r: yeah but it is not cool to say the normal operating freq is 1000mhz while in reality it is not like that
<leowt> if you get what i mean
<naobsd> sorry, rk thing is little off-topic here
<leowt> naobsd: yeah, true.
<oliv3r> leowt: they probably never stress tested it that high that hard
<oliv3r> so they tried this, tried that 'oh runs at 1200 MHz' Good 1200 MHz is max freq
<leowt> haha
<oliv3r> and quickly it turned out that 1100 is really the max
<oliv3r> and appearantly it's not even 1100 under very heavy stress
<leowt> good quality cert btw
<leowt> XD
<leowt> wharever
<oliv3r> well how would you determine max freq :)
<leowt> next week i will recieve an a20 and an a31 tablet
<oliv3r> 'try and see' :)
<leowt> ill post info in the wiki
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
<oliv3r> hno: have you tested a20 patches with cubie1? I haven't checked yet when/why; but right now cubie1 detect 0 ? memory and errors out; could be I broke something though
<oliv3r> i'll check that later
<oliv3r> no time now :S
<oliv3r> sun7i obviously works
<drachensun> oliv3r: Ran the new a31 meminfo static, got this
<drachensun> root@linaro-alip:~# ./a31-meminfo-static.1
<drachensun> Floating point exception
<oliv3r> oh god
<oliv3r> there's no floats!
<drachensun> lol
<oliv3r> nor deivisions
<oliv3r> i'd share the code, but it's legally shakey atm :)
<drachensun> is the source for that online somewhere?
<drachensun> ah ok
<oliv3r> wait
<drachensun> I can't build on the device yet anyway
<oliv3r> there
<oliv3r> i don't have a device
<oliv3r> which makes it really difficult to test :)
<drachensun> I had to strip the rootfs way way way down to get an X system to fit in what the packing tool will work with
<drachensun> well the flashing tool really
<oliv3r> hehe
<oliv3r> check you rpm
<oliv3r> there are really no floats nor divisions
<oliv3r> nor multiplications i don't think
<oliv3r> ah yes there is 1 multiplication
<oliv3r> oh there's tons actually
\\Mr_C\\ has joined #linux-sunxi
<oliv3r> strange why it fails
<oliv3r> because that multiplication and division works fine on a10
<oliv3r> p.clock = (24 *
<oliv3r> ((ccm->pll5_cfg >> CCM_PLL5_FACTOR_N) & CCM_PLL5_FACTOR_N_SIZE) *
<oliv3r> );
<oliv3r> ((ccm->pll5_cfg >> CCM_PLL5_FACTOR_M) & CCM_PLL5_FACTOR_M_SIZE)
<oliv3r> ((ccm->pll5_cfg >> CCM_PLL5_FACTOR_K) & CCM_PLL5_FACTOR_K_SIZE) /
<drachensun> I think the A31 has a different floating point set than the A10
<drachensun> I'm not really sure though
<drachensun> this came up before and I think the general opinion was the A31 should be backwards compatible
<drachensun> otherwise I
<drachensun> 'm running my same A10 linaro rootfs and nothing is having a floating point problem
<oliv3r> ok very strange then
<drachensun> well I guess just hold on
<drachensun> my goal for the day is the trick the damn packing/flashing tools into allowing a partition larger that 512Mb
<drachensun> if I can do that I can just build on device
<Turl> oliv3r: ACE is audio codec engine; their counts are 0 because they're special cased on the driver to not be shutdown :)
vicenteH has joined #linux-sunxi
<Turl> oliv3r: the freq reading should be valid though
tinti has quit [Ping timeout: 252 seconds]
tinti has joined #linux-sunxi
Soru_ has quit [Ping timeout: 255 seconds]
<ssvb> naobsd: thanks a lot, using your script.bin fixed the problem
tzafrir has joined #linux-sunxi
<ssvb> oliv3r, naobsd: it is interesting that the script.bin generated from fex has md5 e2e5446fdd070ff16e1a62e512f81e47
<ssvb> I see the same script.bin in /dev/nanda
<ssvb> the script.bin from naobsd is different, and it works
<naobsd> ssvb: do you have factory image in nand? I lost it because I flashed android image
<naobsd> my script.bin is taken from android image
<ssvb> my cubieboard2 still has the factory linaro image in nand
<ssvb> I guess this explains the difference
<naobsd> hmm... [usbc0]?
<ssvb> I haven't tried to diff them
<naobsd> now I'm watching diff...
<naobsd> I wonder why I can't change fb size by screen0_output_mode on android image :(
<drachensun> unreal, I fixed my Linux flash program
<drachensun> just had to just a USB 2.0 port on the back, not a 3.0 port on the front
Soru has joined #linux-sunxi
<naobsd> confirmed. [usbc0] is wrong
<naobsd> I replaced whole [usbc0] section in cubieboard2.fex by [usbc0] in mine, it booted
<naobsd> I wonder why factory image booted
<naobsd> bootloaders in factory image may do or do not something...
<ssvb> maybe cubieboard2 factory image is using a different kernel?
<naobsd> I was toooo careless, I never save any information about factory image!
Soru has quit [Read error: Connection reset by peer]
Soru has joined #linux-sunxi
leowt has quit [Quit: leowt]
tzafrir has quit [Read error: Operation timed out]
barca23 has joined #linux-sunxi
<barca23> Hello
<barca23> I need your help
<barca23> i have installed a debian wheezi on a Mele A2000
<barca23> but i'm trying to install LIRC
<barca23> The installation was correct but when i run lirc then irw
<barca23> i receive following messages: could not get hardware features
<barca23> Do you know how i can know if my IR driver is correclty installed?
<barca23> i followed this wiki http://linux-sunxi.org/LIRC
tzafrir has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
<hramrach_> cubie2 \o/
<hramrach_> is hdmi on a20 working?
<hramrach_> it does not work on the factory image at the very least
<hno> oliv3r, I haven't yet. It's one of the things that need to be done (and working) before merging into sunxi.
<hno> drachensun, make an initrd, use nandpart to repartition the nand to your liking an dump a suitable rootfs in there...
<ssvb> hramrach_: received your cubie2 today?
n01 has joined #linux-sunxi
[7] has quit [Read error: Operation timed out]
TheSeven has joined #linux-sunxi
barca23 has quit [Ping timeout: 240 seconds]
rz2k has quit []
<drachensun> hno: I'm really hoping to get the images working for mass flashing, but yeah, thats a good idea for now
barca23 has joined #linux-sunxi
barca23 has quit [Client Quit]
eebrah has joined #linux-sunxi
eebrah is now known as Guest17394
<hramrach_> ssvb: yeah
Guest17394 is now known as eebrah
eebrah is now known as Guest52703
Guest52703 is now known as ibrah
wingrime has joined #linux-sunxi
<hramrach_> drachensun: the thing may crash when the floating point instructions are not supported by kernel. was an issue before
<hramrach_> oliv3r I do kernel compiles on cubiebord and it did not crash
<hramrach_> but today I could not wake it up after some hours of idling
<hramrach_> and right now I have a terminal typing gibberish. very odd things
<wingrime> oliv3r: here?
<hramrach_> have my 'well regulated' PSU powering two cubies now
eebrah|away is now known as eebrah_
jemk has joined #linux-sunxi
eebrah_ is now known as eebrah|away
eebrah|away is now known as eebrah_
n01 has quit [Read error: Operation timed out]
shineworld has joined #linux-sunxi
<oliv3r> hno: ok i'll look into why it may crash
<oliv3r> got cubie2 :D
<wingrime> oliv3r: do mjpeg traces)))
tzafrir has quit [Ping timeout: 246 seconds]
<oliv3r> ssvb: that was given to me by bfree; should be the one from nand
<ssvb> oliv3r: ok, it just does not seem to work with https://github.com/cubieboard2/linux-sunxi/commits/sunxi-3.3-cb2 kernel
<ssvb> don't know, maybe some other kernel is a better choice, we all are just making baby steps with this new hardware :)
shineworld has quit [Quit: Leaving]
<oliv3r> so anybody with a floating point enabled a31? :)
<drachensun> floating point is enabled in my kernel
<oliv3r> well hramrach said it was an issue before too
<drachensun> it was an in issue with a function inside the kernel crashing for a lack of floating point
<drachensun> 'illegal instruction'
eebrah_ is now known as eebrah
<oliv3r> well you've seen the code; it's not rocketsigns
ibrah has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<drachensun> yeah,I'm assuming its just a build issue, I've got gcc installing now
<drachensun> running really slow for some reason
<drachensun> but anyway, once its done I'll build on device
<wingrime> oliv3r: I added WMV9 regs to CedarReverse Page
<oliv3r> wingrime: awesome
<oliv3r> :D
<oliv3r> have you recieved your cubie2 yet?
<oliv3r> well a10 i've built with the same options and the same A10
jemk has quit [Quit: bye]
<wingrime> oliv3r: still not
<oliv3r> should be next few days
<hramrach_> **** cat7 cables
<oliv3r> 10 GBE
<oliv3r> 10 Gigabit ethernet
<hramrach_> quite useless when you want 100MBit
<hramrach_> they have this annoying plastic cross in the middle
<oliv3r> what?
<wingrime> oliv3r: can you make tables for CedarX/RE page
<oliv3r> for registers?
<oliv3r> awas hoping osmeone would make a nice template to use
<oliv3r> but i can do it monday @ work
<hramrach_> that's only cat6
<hramrach_> still annoying
<hramrach_> hmm, my 'andriod SD card' does not boot at all
wingrime has quit [Ping timeout: 264 seconds]
<drachensun> hno: nand-part requires something special in the kernel right?
<drachensun> is it going to work with the Allwinner kernel on the A31?
notmart has quit [Quit: notmart terminated!]
<hramrach_> the nand partitioning needs only a block device afaik
<drachensun> ok, in mine I see /dev/nanda /dev/nandb etc
<drachensun> I get errors on all of them
stekern has quit [Ping timeout: 256 seconds]
<hramrach_> what kind of error?
<drachensun> yeah, I'm not really sure what I'm doing with it yet either
<hramrach_> it by default reads the partition table
<drachensun> root@linaro-alip:~# ./nand* /dev/nandd
<drachensun> check partition table copy 0: BAD!
<drachensun> check partition table copy 3: BAD!
<drachensun> check partition table copy 1: BAD!
<drachensun> check partition table copy 2: BAD!
<drachensun> all partition tables are bad!
<drachensun> root@linaro-alip:~#
<hramrach_> if it's broken or different format on a31 you get this error
<hramrach_> but you need to nand-part /dev/nand
<hramrach_> not the subraptition
<drachensun> I know there has been a lot of discussion about the lack of nand source on a20/a31
<drachensun> ok, yeah, and I don't have a /dev/nand
<hramrach_> it's like you were running fdisk on /dev/sda1
<hramrach_> that would not work either
<drachensun> yeah I gotcha
<hramrach_> yes, I don't have nand either
<hramrach_> need to boot some non-broken kernel from mmc I guess
<drachensun> are you on an a20?
<hramrach_> yes, a20
<drachensun> ugh, I made an effort to merge the sun6i core into the 3.4 community kernel
<drachensun> but lots of little things dont work in subtle ways
<drachensun> I decided I'm going to have to try and come back to it, the allwinner kernel mostly works
<hramrach_> if you have aw sources it should not be overly difficult to unbreak it to show nand again
stekern has joined #linux-sunxi
Tartarus_ has joined #linux-sunxi
Tartarus_ has quit [Read error: Connection reset by peer]
<drachensun> I've got 'libnand.a' doing the bulk of the work
<drachensun> I'll poke around with it though
<hramrach_> that might be a problem then
<hramrach_> you recall those patches to make nanda into nand1?
<hramrach_> look for the code they patch out of sun[45]i
<drachensun> I remember seeing a lot of patches about the nand
<drachensun> well I guess I can always build the sunxi driver from the A10 and see what happens on the A31
<hramrach_> on a10 nand_blk_register registers the block devices
tinti has quit [Ping timeout: 264 seconds]
<drachensun> Ok, I've actually got that function
<hramrach_> 3c621c1c rips out the subpart registration so maybe compare before that
<drachensun> yeah, those functions are still indentical so its happening somewhere else
<hramrach_> try mbr2disks?
<hramrach_> it must happen in there if that function is actually called in your driver
<drachensun> I can't seem to find that commit you mention
<hramrach_> that's in linux-sunxi repo
<hramrach_> but maybe I have old state before some rebase
<drachensun> yeah, I did
<drachensun> '
<drachensun> 'git show 3c621c1c' and its not coming up
<drachensun> not sure though
<drachensun> thanks for the help, I have to go for the moment
tzafrir has joined #linux-sunxi
<hramrach_> *** git
<hramrach_> it cannot diff different filenames
<hramrach_> drachensun: http://paste.debian.net/11883/
<hramrach_> not even compile tested
<hramrach_> this is for the sunxi-3.3-cb2
naobsd has joined #linux-sunxi
derethor has joined #linux-sunxi