mnemoc changed the topic of #arm-netbook to: EOMA: Embedded Open Modular Architecture - Don't ask to ask. Just ask! - http://elinux.org/Embedded_Open_Modular_Architecture/EOMA-68 - ML arm-netbook@lists.phcomp.co.uk - Logs http://ibot.rikers.org/%23arm-netbook or http://irclog.whitequark.org/arm-netbook/ - http://rhombus-tech.net/
newbie1 has joined #arm-netbook
newbie1 is now known as hp_
Almamuerta has joined #arm-netbook
<DonkeyHotei> mnemoc: i think i figured out why DRI does not work
<DonkeyHotei> very bad
<DonkeyHotei> anyone else here have commit access to mnemoc's github?
NinjAPT has joined #arm-netbook
NinjAPT has quit [Client Quit]
<WarheadsSE> that would explain why it horks there..
<DonkeyHotei> WarheadsSE: ?
<WarheadsSE> :)
<WarheadsSE> I have my head in panda drivers atm.. so
<WarheadsSE> meh
<DonkeyHotei> what works where?
<hipboi__> DonkeyHotei: why dri does not work
<DonkeyHotei> that source line i linked
<DonkeyHotei> i don't think that macro exists
<hipboi__> yes, what's wrong with that line
<hipboi__> let me see
<lundman> whats EOMA-68, and does its passthrough have anything to do with my audio passthrough?
<DonkeyHotei> so, mali_drm.ko becomes just a big no-op
gimli has joined #arm-netbook
gimli has quit [Remote host closed the connection]
L84Supper has quit [Quit: puff of smoke]
TheLarch has joined #arm-netbook
lundman has quit [Ping timeout: 255 seconds]
DEAT_ is now known as DEAT
Brandon15811 has quit [Excess Flood]
Brandon15811 has joined #arm-netbook
ZaEarl has quit [Ping timeout: 252 seconds]
Quarx has joined #arm-netbook
<DonkeyHotei> hipboi__: did you see?
<hipboi__> DonkeyHotei: MODULE is defined by gcc -DMODULE flag
<DonkeyHotei> hmm
<DonkeyHotei> what file is that in?
<hipboi__> check out include/linux/init.h
<DonkeyHotei> ok, well, that makes the ifdef in mali_drv.c all the more silly
<DonkeyHotei> but it no longer explains the problem
<DonkeyHotei> printk(KERN_INFO "Mali DRM initialize, driver name: %s, version %d.%d\n", DRIVER_NAME, DRIVER_MAJOR, DRIVER_MINOR);
<DonkeyHotei> this line is never executed, and i want to know why
simonckenyon has joined #arm-netbook
rellla has joined #arm-netbook
j0lly has joined #arm-netbook
simonckenyon has quit [Quit: Nettalk6 - www.ntalk.de]
lerc has joined #arm-netbook
Quarx has quit []
ka6sox is now known as ka6sox-away
lkcl has quit [Ping timeout: 248 seconds]
arokux has quit [Remote host closed the connection]
lkcl has joined #arm-netbook
arokux has joined #arm-netbook
arokux has quit [Remote host closed the connection]
Brandon15811__ has joined #arm-netbook
arokux has joined #arm-netbook
<mnemoc> DonkeyHotei: pong
<mnemoc> WarheadsSE: is it possible for you to test 3.0.38+ with downgraded glibc?
<mnemoc> DonkeyHotei: btw there are 6 people with commit access
Quarx has joined #arm-netbook
<CIA-122> rhombus-tech: Goran master * rc3f01c0817f3 /allwinner_a10/orders/GoranPaunovic.mdwn:
Vayun has quit [Ping timeout: 276 seconds]
<RaYmAn> mnemoc: are there any reasons for not merging sun3i, sun4i and sun5i? I mean, other than the devices available, they seem pretty identical? - the minor differences could easily be #ifdef'ed
nibb__ has quit [Read error: Connection reset by peer]
ZaEarl has joined #arm-netbook
<mnemoc> RaYmAn: their reason is that they provide only partial sources to each manufacturer
<RaYmAn> mnemoc: I more meant as far as we are concerned :)
<RaYmAn> e.g. => 3.4 branch
<mnemoc> RaYmAn: our goal is to merge them, first step is plat-sunxi, but human resources are VERY limited
<RaYmAn> yeah, I'm aware
<RaYmAn> I'm obviously asking these questions because I do want to try and find time to pitch in =P
<mnemoc> in 3.4 I'm trying to clean the script handling, then gpio, plat-wide
<mnemoc> RaYmAn: many drivers also need to be unified, specially the disp beast
<RaYmAn> ok, I might take a stab at comparing mach-sun5i to mach-sun4i and merging sun5i specific stuff (with suitable #ifdefs).. Even if it's -> mach-sun4i, it's still a step in the right direction
<RaYmAn> yeah
<mnemoc> sun4i and sun5i are easier to merge than sun3i, which was abandoned by allwinner before 2.6.36 (our older code available)
<RaYmAn> yeah :/
<mnemoc> but looking carefully sun3i is also very similar to it's bigger brothers
<mnemoc> RaYmAn: the greatest help at the moment would be a new sunxi kms driver
<mnemoc> libv suggested using omapdrm as template^Winspiration
<RaYmAn> yeah - I suspect I'm nowhere near familiar enough with sunxi to do that
<RaYmAn> :P
<mnemoc> RaYmAn: no one is :)
<RaYmAn> I suppose :P
<mnemoc> a less agressive step would be to flatten the sun[45]i drivers
<mnemoc> because they currently use layer after layer of some OS-agnotisc fybar
<mnemoc> fubar
<mnemoc> which we need to peel off
<RaYmAn> sounds like tegra in 2.6.32 variant :P
<mnemoc> if you can remove the layers and wrapper it will be much simpler to add fbcon support
<mnemoc> and to merge sun4i and sun5i video dirvers
<mnemoc> and there is no special knowledge needed for that
<mnemoc> at the end, you'll know enough to implement the sunxi kms driver :)
<mnemoc> deal? :)
<RaYmAn> lol
<RaYmAn> sure, i'll be done in around 3 years
<RaYmAn> :P
<mnemoc> sooner someone begins, sooner we'll get it done :)
<RaYmAn> yeah - I guess I should start with actually making current source work on my a13 devices
<mnemoc> we have a sun5i branch awaiting for such work
<mnemoc> it un-removes sun[34]i, and un-removes the code Tsvetan got binary-only
<mnemoc> also turned random chinese encodings into utf8, and `dos2unix`
<RaYmAn> lol
<mnemoc> it's 3.0.8, but much cleaner and complete that the mess on their SDK
arete74 has quit [Quit: leaving]
<mnemoc> but needs to be merged into our main branch
<mnemoc> and obviusly, tested
arete74 has joined #arm-netbook
<mnemoc> that help is also VERY appreciated
<mnemoc> once we get lichee3-sunxi working, forwarding the new sun5i stuff will be trivial
<RaYmAn> hm
<mnemoc> lichee3-sunxi = reconstruction of the gpl-violating 3.0.8 tree within allwinner but for sun4i and sun5i together
<mnemoc> if you got newer code I have some scripts to do the reencoding thing
<RaYmAn> still no source :(
<RaYmAn> also, I just ntocied that does have the "power" gpio stuff :)
<mnemoc> oh, nice
<mnemoc> we really need to merge wip/lichee3-sunxi/import-sun5i :)
<RaYmAn> I guess
<mnemoc> all yours :)
<RaYmAn> I'm just wondering if it makes more sense to figure out differences, then just adapt sun4i to work?
<mnemoc> i'm more fond to "Baby steps" (easier to debug breakages), but it's up to you
<mnemoc> the reason to keep the lichee3 branch alive is because it mostly remains compatible with the close tree, and so people can use it build modules without replacing the whole world
<mnemoc> but I'm probably over-caring about that use case
<RaYmAn> ah, I guess that sorta makes sense
<RaYmAn> but I'm not sure it warrants further development in that branch =P
<mnemoc> been a different mach- it can be shared
<RaYmAn> it just seems a bit silly to have to maintain two branches that are mostly identical
<mnemoc> also as that's our starting point for sun4i support, it's easier to diff with whatever allwinner releases
<mnemoc> no development goes there, only importing releases/leaks to then forward port
<mnemoc> but as I said, I don't have an strong defense for it, and if it's an obstacle to get help, f* lichee3
<RaYmAn> My issue is probably not having a clue how different sun4i and sun5i is
<mnemoc> at lichee3 level you can diff straight away
<mnemoc> in the main branch it's harder because sun4i has been improved
<mnemoc> at 3.4 level, it's even harder
<mnemoc> because of api changes, etc
<mnemoc> and plat-sunxi work
<mnemoc> that's why I find value on the lichee3-sunxi branch
<mnemoc> while the official 2.6.36 helps us find the diffs between sun3i and sun4i
<mnemoc> lichee3 does the same for sun4i vs sun5i
lundman has joined #arm-netbook
<mnemoc> even if development happens in 3.0-v2 or 3.4
* rm compiled a kernel with no CPUFREQ and got an entirely new SD card
<rm> another evening of MK802 "hacking"
<RaYmAn> mnemoc: oh, definitely - it's useful for comparing of course :)
<mnemoc> RaYmAn: but it's also important to consider the A13 SDK doesn't only include A13 related improvements, it also includes improvemnts that affect A10 but were made after Qware's release
<mnemoc> then didn't destroy all sun4i related stuff there
<RaYmAn> is stuff actually *improved*?
<mnemoc> i think so
<mnemoc> but I don't remember the diff in detail
<lundman> sup
Almamuetya has joined #arm-netbook
<mnemoc> wb lundman
arokux has quit [Remote host closed the connection]
<orly_owl> mk802 sold for ~$50 on ebay
<rm> lies
<rm> dirty lies
<rm> select "Cortex A8" from the color options (trolololo)
<rm> => US $72.86
<orly_owl> it was an auction
lerc has quit [Read error: Connection reset by peer]
Almamuerta has quit [Quit: Page closed]
IEF has quit [Read error: Operation timed out]
IEF has joined #arm-netbook
arokux has joined #arm-netbook
Almamuerta has joined #arm-netbook
Vayun has joined #arm-netbook
<rz2k> rm: I have ly-f1 that doesnt boot from SD card anymore after couple of reflows, I can provide logs from u-boot with signs of mmc controller fail
<rz2k> just saw your message at mailing list about mk802 that doesnt boot from sd
<rm> yep
<rm> but
<rm> does SD work in android for you?
<rz2k> yes
<rm> I wonder how that's possible
<rz2k> uboot fails absolutely randomly: xx1 mmc fail, setenv is undefined, fatload is undefined and so on. sometimes uboot makes it to kernel load and then I have freeze right after "starting kernel: ok"
<rz2k> I've tried 3 sd cards
<rz2k> (android from nand works)
<rz2k> maybe I need to test memory, this ly-f1 didnt work at all until I reflowed DDR
piezo has quit [Quit: quit]
piezo has joined #arm-netbook
nibb has joined #arm-netbook
piezo has quit [Quit: quit]
piezo has joined #arm-netbook
croys has joined #arm-netbook
<rm> sooo with this one the built in android kernel only sees 512MB RAM
<rm> despite it having that "DDR3/1GB" sticker on the bottom
<rm> I tried opening it to check the RAM chips
<rm> but can't figure out how to do that
<Almamuerta> rm: is a MK802? you can use UBOOT switcher for windows https://www.miniand.com/forums/forums/2/topics/98
<rm> yes
<rm> but I find it bizzare that the stock android only sees 512MB
<rm> I think I'll open a dispute with the seller
<rz2k> do you actually have 1gb?
<rz2k> I mean, look at ddr3 name and google up datasheet
<rm> rz2k, tell me how do I open
<rm> my MK802
<rm> without breaking it :S
<rz2k> :/
<rz2k> its glued somehow?
<mnemoc> rm: it's up to boot0/boot1 decide how much ram you have, there is no detection involved
<rz2k> all tablets that I had was on standard plastic clips
<mnemoc> rm: so you need a 1GB image to see 1GB
<rm> Almamuerta, I have the old firmware
<mnemoc> :)
Almamuerta has quit [Quit: Page closed]
<WarheadsSE> mnemoc: I had a whole slew of trouble getting back to glibc 2.15
<mnemoc> WarheadsSE: :(
<WarheadsSE> nature of a rolling release ;)
<mnemoc> :)
<WarheadsSE> Either way, "He's Derp Jim"
<mnemoc> .oO(what does that expression mean?)o
<WarheadsSE> the fact that the entire DRM driver is no-op makes it kinda pointless atm.
<WarheadsSE> I'll get back to it after I finish Panda acceleration
rellla has quit [Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347]]
<CIA-122> rhombus-tech: Thierry master * r0f0f507505cf /allwinner_a10/orders/schoopy.mdwn:
<CIA-122> rhombus-tech: Thierry master * rd96c769338f2 /allwinner_a10/orders/schoopy.mdwn:
j0lly has quit [Quit: Sto andando via]
Brandon15811__ has quit [Quit: Leaving]
<DonkeyHotei> mnemoc: heh, you ponged apparently minutes after i fell asleep
<DonkeyHotei> anyway, any ideas why the module init never happens?
<mnemoc> DonkeyHotei: url?
<mnemoc> DonkeyHotei: what exactly never happens?
<DonkeyHotei> [Wed 2012-07-25 11:54:38 PM PDT] <DonkeyHotei> printk(KERN_INFO "Mali DRM initialize, driver name: %s, version %d.%d\n", DRIVER_NAME, DRIVER_MAJOR, DRIVER_MINOR);
<DonkeyHotei> [Wed 2012-07-25 11:54:53 PM PDT] <DonkeyHotei> this line is never executed, and i want to know why
<mnemoc> DonkeyHotei: confirmed, I only get drm's greeting on `modprobe mali_drm`. can you please open an issue so I don't forget to look at it tonight?
<DonkeyHotei> i do modprobe and still don't get the greeting
<mnemoc> <6>mali: use config clk_div 3
<mnemoc> <6>mali: clk_div 3
<mnemoc> Mali: mali clock set completed, clock is 320000000 Mhz
<mnemoc> Mali: Mali device driver loaded
<mnemoc> <6>[drm] Initialized drm 1.1.0 20060810
<mnemoc> please create an issue with the details
<WarheadsSE> ^ i get that
<DonkeyHotei> that line i get on boot
<DonkeyHotei> i don't get the mali drm line
<mnemoc> DonkeyHotei: yes, I agreed. please file a ticket. can't look at it right now. will do tonight... if you file the ticket
gimli has joined #arm-netbook
<DonkeyHotei> ticket on your github, you mean?
<mnemoc> yes
arete74 has quit [Quit: leaving]
arete74 has joined #arm-netbook
Almamuerta has joined #arm-netbook
<DonkeyHotei> i can't seem to do anything on github without signing up
<RaYmAn> that is decidedly correct
<RaYmAn> :P
<mnemoc> DonkeyHotei: you can remind me in 5h too
<DonkeyHotei> the name github implies the use of git is required; if they also offer svn access, i'm there
lukestuts has joined #arm-netbook
<DonkeyHotei> it should be part of this, anyway: https://github.com/amery/linux-allwinner/issues/19
<mnemoc> in 5h or a ticket
<DonkeyHotei> ^
gimli has quit [Ping timeout: 272 seconds]
gimli has joined #arm-netbook
<lukestuts> Hello arm-netbook
<DonkeyHotei> hi
<lukestuts> I am working on the Mele A2000 for a digital signage project
<lukestuts> But I have two different types of them, apparently
<lukestuts> One type will boot from SD card with no problems using linaro, the mele unofficial linux image, etc
<lukestuts> But the second type will not. I've opened them up to see if there are different PCB versions, etc, but found nothing
<lukestuts> All the ones that do not boot appear to have a V1.7 sticker on them, but some of the boards DO boot from SD card.
<lukestuts> So I've got a UART cable and some boot diagnostics over serial :)
<lukestuts> And I've been trying these files: http://dl.linux-sunxi.org/nightly/latest/
<lukestuts> The u-boot seems to work fine, it gets to
<lukestuts> Starting kernel ...
<rm> soooo
<lukestuts> But then hangs.
<rm> I am fighting here with an MK802 that doesn't boot from an SD card...
<lukestuts> At first, I thought it was a 512MB vs 1G ram thing
<lukestuts> But now I am not so sure
<lukestuts> Ah, that sounds like a similar thing
<lukestuts> We have a Large Number of A2000s here
<DonkeyHotei> they all have 512MB
<rm> I have 2 MK802, 512MB and (supposedly)1024MB
<lukestuts> Approximately 1/3 of them have this problem
<rm> 2nd one doesn't boot from SD
<rz2k> post boot0/1 output
<rm> rz2k, maybe I am too stupid or LiveSuit is too chinese for me
<lukestuts> Is boot0/1 output the output from UART?
<rz2k> yes
<rz2k> first lines before u-boot and etc kicks in
<rm> "when Boot the PVP or cannot discen whether (power ofF), colse the PVP's power"
<lukestuts> ok, shall I put it on pastebin or similar?
<rz2k> lukestuts: then, if it goes to u-boot you will see whats happening there, it should execute initial stuff like loading script.bin to exact address and etc. if this stuff fails u-boot will tell you
<rz2k> paste that to pastebin
Almamuerta_ has joined #arm-netbook
gimli has quit [Quit: Verlassend]
<rm> oh, so I had to insert it *while* in livesuit...
<lukestuts> This is the boot output when booting from nand (using A10's ICS): http://pastebin.com/Sgmm0u9V
<rz2k> rm: common tactic with livesuit: select firmware, press flash without anything attached, you will see obvious message about that nothing is attached, now press FEL button and attach device
<rz2k> in 3-6 seconds you will see prompt about mandatory format
<rz2k> dont close error message, wait 5-8 minutes
<rz2k> flashing will go background
<lukestuts> rz2k: Is there a way to use LiveSuite with the A2000?
<rz2k> lukestuts: now paste whats happening if you boot from SD
<rz2k> lukestuts: yes, all sunxi devices use livesuit/phoenix protocol called eFex to flash internal nand
<lukestuts> Will do, just reimaging my card to make sure it's the right image!
<lukestuts> So I just have to have the A2000 on the same LAN?
<lukestuts> Got to say, these are great things
<rm> it's not LAN based, you need to connect it to a (Windows) PC via USB
<lukestuts> Ah, so I need to make a USB connector for the internal USB inside the A2000?
<rm> I think one of the external ones will work
<lukestuts> USB A-A?
* rz2k pokes mnemoc
<rz2k> I dont have mele so I cant say anything about what port you need to use to connect it to livesuit
ka6sox-away is now known as ka6sox
<mnemoc> the OTG of the mele is inside, a header but no connector
<mnemoc> better use phenixcard
<lukestuts> This is the UART when booting from SD Card: http://pastebin.com/iYbWBJhv
eFfeM has joined #arm-netbook
* rz2k made some japan necroporn http://pastebin.com/uB2S5KUJ
<rz2k> thats renesas emma ev2 loading archlinux arm
<rz2k> I finally figured out why it didnt load anything
<lukestuts> So just to be be clear, the same SD card boots with no problems on 2/3 of the Mele A2000s
<rz2k> you have freeze there?
<lukestuts> Yes, it just locks
<mnemoc> lukestuts: maybe different dram?
<rz2k> in mailing list, there was a guy who had mele with bad DDR3
<lukestuts> Is there an archive that I can read?
<rz2k> he excluded 16MB from being used and that fixed it
<lukestuts> Aha found gmane
<rz2k> also, if you have a mele that you can kill for the fun, do a reball/reflow of DDRs
ka6sox is now known as ka6sox-away
<rz2k> my ly-f1 tablet had "init SDRAM fail" from boot0 or really unstable android, reflow helped for some time.
<lukestuts> rz2k: what did you do, tin foil + oven?
<rz2k> soldering station
<rz2k> 300C for 2 minutes
<rz2k> I'm sure that is not recommended stuff for nowdays hardware, thats why it finally died few days ago
gimli has joined #arm-netbook
<DonkeyHotei> my A2000 has a V1.3 sticker; not sure what the difference is to 1.7
<mnemoc> preinstalled firmware
<DonkeyHotei> i have 1.5 preinstalled
<mnemoc> uh
<mnemoc> no idea then
<DonkeyHotei> so the V1.7 ones had 1.6?
<rm> rz2k,
<rm> reflow should be irrelevant
<rm> if 100% of the models work in android
<rm> no?
<lukestuts> I'm seeing 100% boards working in Android but 1/3 failing to boot from SD CArd
<rz2k> my ly-f1 worked in android for up to 1 hour
<lukestuts> I'm also running up this freezing board that I pastebinned earlier and it's now sending Different backtraces while loading the kernel
<lukestuts> Which suggests bad ram imho
<rz2k> (apart from getting 50/50 init DRAM fail from boot0 on start)
<lukestuts> rz2k: this is pretty much exactly what i have :(
<DonkeyHotei> the guy on the mailing list with bad ram had the A1000 iirc
<mnemoc> dram init args are hardcoded in boot0, it may fail with different chips
<lukestuts> when you say reflow with a soldering station, you mean an infra-red heatlamp thing?
<rz2k> no, cheap air chinese crap
<rz2k> I got it for $40 bucks few years ago, still it didnt die or something
<mnemoc> it would be nice to check if there is correlation between between init failure and dram IC models
<rz2k> lukestuts: you can reball/reflow small BGAs with air, big ones like northbridges or CPUs will need infra-red and preheaters beneath the board
<rz2k> (infrared station is $1k + minimum)
<specing> :O
Quarx has quit []
<lukestuts> rz2k: thanks :)
<rm> lukestuts, please keep us updated if you solve this
<rm> you could be my savior if your problem turns out to be exactly the same as mine :p
<rm> or the other way round
<rm> in any case, you should subscribe to the mailing list
<lukestuts> rm: will do, I have quite a few not-booting boards!
<lukestuts> Got another not-working one - this stops at <5>Linux version 3.0.36-t1+ (tobyc@adonai) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #15 PREEMPT Tue Jul 3 17:45:51 EST 2012 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d every time over UART
<lukestuts> but boots Android from nand every time!
RITRedbeard has quit [Ping timeout: 252 seconds]
RITRedbeard has joined #arm-netbook
<DonkeyHotei> ok, i guess it's time to create an acct: https://github.com/blog/966-improved-subversion-client-support
eFfeM has quit [Quit: Leaving.]
Vayun has quit [Ping timeout: 264 seconds]
Almamuerta_ has quit [Ping timeout: 245 seconds]
Almamuerta has quit [Ping timeout: 245 seconds]
hackandfab2 has joined #arm-netbook
* hackandfab2 I've got 3.0.38 running X,wifi and eth underl armel I've not tried SATA.
* hackandfab2 under meleA2000
<hackandfab2> cat /proc/cpuinfo shows less than 60 bogomips, does someone know why?
<CIA-122> rhombus-tech: lkcl master * r21aeb00641ae /allwinner_a10/nightly_build_images.mdwn:
<mnemoc> because your current freq is 60MHz (idling, ondemand governator)
<mnemoc> look inside /sys/devices/system/cpu/cpu0/cpufreq/
<hackandfab2> ok thx
<rm> from the non-sd-booting mk802, got the dmesg from android
<hackandfab2> I'm thinking on ordering a telechips mini board (like mk802). I've seen they're distributing the sources. Has anyone tried it?
<traeak> telechips isn't OS friendly
hackandfab2 has quit [Ping timeout: 252 seconds]
hackandfab2 has joined #arm-netbook
RITRedbeard has quit [Read error: Connection reset by peer]
<rm> A10 at least boots from SD
<rm> sometimes.
<rm> so my guess is it's an u-boot level problem
<rm> related to hardware versions
ka6sox-away is now known as ka6sox
<hackandfab2> so no one has tried them?
<mnemoc> 20:28:09 < traeak> telechips isn't OS friendly
<hackandfab2> why?
<traeak> send them an email and ask them why
<traeak> their dual cortex a5 looks interesting...that's fine if you only wnt to run android...an android that would probably not get updated
<rm> I wonder if it's possible to put my own kernel to nanda
<mnemoc> rm: sure
<rm> aaaaand then have it mount the SD card as the root fs
<rm> not nand*
<mnemoc> sure too
<rz2k> you can even make up your own img for livesuit
<rm> maybe that's the (only) way to somehow boot these
<rz2k> with dual boot
<rm> lukestuts, ^
<rz2k> there is kitchen for a10 by sztupy on XDA
<rz2k> and redscorpio's unpacker/packer on 4pda
<mnemoc> DonkeyHotei: thanks
<rm> well, I think I have write access to nanda while booted in Android, no?
<rm> could be the easiest way
<DonkeyHotei> mnemoc: wow, that was fast
<mnemoc> DonkeyHotei: would you be kind and add some references to the line that's not running?
<WarheadsSE> I read arch linux arm ?
<rm> or maybe
<rm> u-boot is used in the nand too, right
<rm> if so, then maybe should try copying that one to SD
<mnemoc> nand's uboot doesn't know to read mmc
<mnemoc> mmc's uboot doesn't know to read nand
<WarheadsSE> that tidbit is annoying
<rz2k> why allwinner did that, by the way?
<WarheadsSE> why make it easy?
<rz2k> lol
<mnemoc> rz2k: support each thing consumes scarse KBs
<mnemoc> nand support is too fat to allow anything else
<WarheadsSE> que? rz2k | thats renesas emma ev2 loading archlinux arm
<hackandfab2> Ok traeak I've seen that the kernel telechips has put on their web is for android only :(
<rm> should build a kernel which would hardcode "root=/dev/mmcblk0p2", then put it to nanda, then try booting >_<
<rz2k> WarheadsSE: I'm just playing with my old tablet, Linaro somehow fails to load there (init crashes), so I've decided to run alarm there. I've used omap rootfs
<WarheadsSE> oic, whats the chip in that?
<WarheadsSE> rm, lol, that might work..
<rz2k> Renesas EMMA EV2 Dual core Cortex-A9 + powervr SGX-something
<rz2k> 512MB DDR2
<WarheadsSE> n701?
<rz2k> widely known name of this tablet is Rena3
* WarheadsSE dig
gimli_ has joined #arm-netbook
<traeak> another powervr
<traeak> heh
* hackandfab2 away
gimli has quit [Ping timeout: 272 seconds]
<WarheadsSE> eww at clock speed, but hey
<WarheadsSE> ryo kernel
<rz2k> you will be surprised, but it has really good response time in android
<rz2k> and I had no slowdowns or stuttering in alarm too
<rz2k> Smallart sells uHost stick with this SoC, by the way.
<rz2k> their A10 one is not the only one.
<WarheadsSE> Well if you ever feellike putting a guide together for it
<WarheadsSE> you know where to put it
<WarheadsSE> whats the kernel version?
<WarheadsSE> and how bastardized is it
<rz2k> there is three working kernels, 2.6.29, 2.6.37 and...
<rz2k> 3.5
<rz2k> renesas mainlined emma ev2 in 3.5
<WarheadsSE> nice jump..
<rz2k> s/2.6.37/2.6.35/
<WarheadsSE> k, but i dont have a device I can do anything with it, so I can't put a official package together :p
<WarheadsSE> ls
<rz2k> dont worry, I'm just playing with it until I will get something from this era, support for android for ev2 ended on 2.2 :/
<WarheadsSE> heh
<rz2k> only interesting thing about this SoC is that it boots 2.2 in 10 seconds (I've measured) and it is ice cold. even in 3d games I barely feel it warming up.
hackandfab2 has quit [Ping timeout: 250 seconds]
P4R4N01D has joined #arm-netbook
<DonkeyHotei> [Thu 2012-07-26 11:44:41 AM PDT] <mnemoc> DonkeyHotei: would you be kind and add some references to the line that's not running? <----- no lines are running; from what i can tell, nothing in the module is ever executed
<CIA-122> rhombus-tech: hands master * rbcc803177d24 /sandbox.mdwn: trivial edit to see if git update is now happeneing
ka6sox is now known as ka6sox-away
Turl||webchat has joined #arm-netbook
<Turl||webchat> mnemoc: ping
lerc has joined #arm-netbook
<Turl||webchat> mnemoc: latest 3.0-v2 doesn't seem to boot at all
<mnemoc> Turl||webchat: booted for me this morning...
<WarheadsSE> hmm, havent tried it yet :p
<Turl||webchat> mnemoc: hm...
<mnemoc> WarheadsSE: nothing important has changed
<mnemoc> Turl||webchat: on your 1GB device booting from nand check you have the ignore atag_mem option enabled
<Turl||webchat> mnemoc: yeah looks like off >.<
<Turl||webchat> mnemoc: it shouldn't crash though
<mnemoc> Turl||webchat: if your evil bootloader doesn't pass atag_mem info you'll be doomed
<Turl||webchat> it should be like 'if(no atag mem?) try_evil_hax_from_aw()'
<mnemoc> Turl||webchat: could, assuming we care about people without a decent bootloader :p
<Turl||webchat> I'll switch the BL if there's one that can boot boot.imgs from nand :)
<mnemoc> Turl||webchat: file an issue and I'll add the optional fallback this weekend
<mnemoc> maybe tomorrow morning
<mnemoc> Turl||webchat: but file the ticket and argue it, many people considers the evil hack should be entirely removed
<mnemoc> Turl||webchat: come one, write some motivational text
<Turl||webchat> ok :p
<Turl||webchat> mnemoc: f5
<mnemoc> :)
arokux1 has joined #arm-netbook
<Turl||webchat> mnemoc: btw, is nand always horribly slow for you too?
<Turl||webchat> even my 2yo phone has faster storage >.<
<Turl||webchat> mnemoc: yep was the mem thing, boots now
gimli_ has quit [Quit: Verlassend]
lerc has quit [Ping timeout: 255 seconds]
<Turl||webchat> mnemoc: there's some sleeps on the code hm, maybe worth looking into :)
lerc_ has joined #arm-netbook
ka6sox-away is now known as ka6sox
<lukestuts> i have found a built-in memory tester on my Mele A2000
Almamuerta has joined #arm-netbook
<mnemoc> Turl||webchat: yes, nand on a10 is horribly slow for me on all devices
<mnemoc> Turl||webchat: I believe it's just that it doesn't support parallel access
Almamuerta has quit [Quit: Page closed]
<rm> I will go crazy with this C
<rm> I give up, how do you assign a value to this char array without crashing the gcc into a Bus error?
<traeak> i suspect you don't need to hard code the "64" when assigning a hard string
<traeak> 'c' is ugly though
<rm> changing [64] to [] has zero effect
<diego_> rm: bus error is an unaligned access
<rm> at the risk of sounding banal, "I've tried everything"
<rm> spent like 30 minutes on this stupid problem, I hate C and C++ with a passion and not afraid to admit it
<traeak> nothign wrong with c++ when you know what not to use
<rm> but look at this, it's not even obvious how to assign one string to another
<diego_> rm: are you using an arm cpu?
<rm> it's a language from 1978
<traeak> with 'c' there tends to be too many hard to track globals running everywhere
<rm> diego_, yes
<mnemoc> rm: strncpy()
<rm> isn't strcpy kind of the same except without explicit length
<rm> and I've tried strcpy
<mnemoc> rm: show your try
<mnemoc> rm: but it's very likely that variable is rewritten later, and your default deleted
<diego_> rm: have you tried to read the core dump?
<mnemoc> rm: you can run code outside functions
<mnemoc> can't
<traeak> that strcpy will do bad since it seels like the target isn't initialized
<mnemoc> that won't even compile
<traeak> anyways, time to bail
Almamuetya has quit [Ping timeout: 244 seconds]
<mnemoc> rm: if you can to force a cmdline (including your root=) use CONFIG_CMDLINE and CONFIG_CMDLINE_FORCE
<rm> bus error again
<diego_> rm:
<diego_> rm: try this-> ulimit -c unlimited
<diego_> rm: run again
<diego_> rm: file core
<rm> looks like the bus error is not because of the change
<diego_> I suspect a bug in the compiler
<diego_> if it is the compiler that gave you the bus error
<rm> I had time/date set incorrectly
<rm> let's see if that was the problem
<rm> yes, after fixing the time and make clean it seems to build
<rm> and I switched to CONFIG_CMDLINE anyway, just did not know there was CONFIG_CMDLINE_FORCE
<rm> mnemoc, is "mem=" needed on 2.6.38?
<mnemoc> 2.6.38?
<rm> ewwwr
<rm> 3.0.38
<mnemoc> unless you have something defective you shouldn't need mem= at all
<mnemoc> what mem= your stock image passes?
<rm> CONFIG_CMDLINE="mem=448M@0x40000000 console=ttyS0,115200"
<rm> my stock image does not pass mem=
<mnemoc> you can ignore that one
<mnemoc> it's just the normal 512-64
<Turl||webchat> rm: can't you just use root= on cmdline?
<rm> I considered it would be nontrivial to change the command line that the NAND bootloader passes
<rm> seems easier to hardcode it in the kernel
<Turl||webchat> the 'nand bootloader' is uboot usually
<mnemoc> rm: be sure to force it, or root= from bootloader will win anyway
<rm> right
<rm> CONFIG_CMDLINE_FROM_BOOTLOADER=n , CONFIG_CMDLINE_FORCE=y
<mnemoc> :)
<rm> yay someone's SoC is even messier than 'ours'
<mnemoc> :)
<Turl||webchat> I hope you never get to see nvidia .32 kernel :D
<Turl||webchat> It'll make you want to vomit, RaYmAn here can testify too :P
<hno> rm, it is almost trivial to change the nand bootloader command line using serial or fw_setenv.
<hno> if using u-boot. If not using u-boot then the command line is in a separate file in nanda.
<hno> if using u-boot then the environment is in the "env" nand partition.
<rm> I don't have serial at the moment
<rm> and it's an MK802, afaik it doesn't have serial RX (input), no?
<lukestuts> hno: how do you change the kernel options that u-boot passes when booting from SD?
<mnemoc> boot.scr?
Turl||webchat has quit [Quit: Page closed]
marcan has quit [Ping timeout: 272 seconds]
marcan has joined #arm-netbook
nibb_ has joined #arm-netbook
nibb has quit [Read error: Connection reset by peer]
j1nx_ has joined #arm-netbook
j1nx_ has quit [Client Quit]
ka6sox is now known as ka6sox-away
xenoxaos has quit [Read error: Connection reset by peer]
xenoxaos has joined #arm-netbook
Turl||| has joined #arm-netbook