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/
* hno really needs to get JTAG level debugging running.
<hno> too much annoying low-level initialization crap going wrong.
<hno> but now sleep.
tuliom has joined #arm-netbook
Almamuerta has quit [Quit: Page closed]
tuliom has quit [Quit: Konversation terminated!]
<Turl> hipboi_: is there any chance allwinner is reworking the Cedar stuff to become OMX compatible? I won't bother porting the ICS Cedar code to JB if they are
Almamuerta has joined #arm-netbook
zzz_kiev has joined #arm-netbook
zzz_kiev has left #arm-netbook [#arm-netbook]
<xenoxaos> 2d
<Turl> mnemoc: preempt rcu + interactive seem to cause huge system failure on kernel :|
<Turl> my last_kmsg is too corrupted to be of any use but I distinguish lots of pointer dereference errors
gimli has joined #arm-netbook
Quarx has joined #arm-netbook
nibb__ has joined #arm-netbook
nibb_ has quit [Read error: Connection reset by peer]
piezo has quit [Ping timeout: 248 seconds]
gimli has quit [Ping timeout: 272 seconds]
piezo has joined #arm-netbook
P4R4N01D has joined #arm-netbook
gimli has joined #arm-netbook
<mnemoc> rm: ping
<rm> hey
<rm> I can't get it to boot again :/
<mnemoc> have a minute to test a change in atag_mem support?
<rm> I can no longer get it to boot with or without ignore atag
<mnemoc> uh
<rm> and with mem=
<rm> perhaps the problem is something else
<mnemoc> uhm
<rm> I decided further attempts are a waste of time without a serial console
<rm> it looks like the kernel gets stuck with "unable to mount root fs" or something similar
<rm> because numlock toggles fine on the keyboard
<rm> and Alt+SysRq+B works
<mnemoc> nice
<rm> but it doesn't fire up the DisplayLink
<rm> and doesn't try to DHCP
<rm> and the root FS doesn't seem to have been mounted
ibrah has joined #arm-netbook
<rm> no updates in logs
<rm> and tbh the whole endeavor no longer looks to be a simple way to just get it booting somehow :D
<rm> so perhaps I should reflash it with android and experiment with booting from SD more instead
<rm> e.g. maybe try a newer u-boot for SD
<rm> also if we assume the SD slot might be bad, I should've tried forcing "root=/dev/sda2" and use an USB flash disk
<rm> but the whole thing is a huge waste of time
<rm> without a serial console
<mnemoc> the nightly/ think has precompile uboot and uboot-spl
ibrah has quit [Ping timeout: 264 seconds]
ibrah has joined #arm-netbook
ibrah has quit [Client Quit]
<orly_owl> so hdmi works on mk802? with libre drivers/kernel modules?
<mnemoc> yes
<orly_owl> plays videos?
<orly_owl> im guessing no 3d support
<mnemoc> on linux mali support is still work in progress, and gl tests run
<mnemoc> for the vpu we still only have armel libraries
<orly_owl> yeah mali is very much wip it seems
<orly_owl> and a10 is armhf iirc
<phh> mnemoc: armel libs work ?
<phh> orly_owl: armel/armhf isn't cpu-dependant
<phh> it's only some build-time option
<orly_owl> hrm
<orly_owl> oh i see
<orly_owl> i thought it was hw arch
<mnemoc> it's a userspace ABI thing
<mnemoc> phh: afaik the newer sample code works, but i'm not aware of any working integration on normal apps yet
<mnemoc> hopefully xmbc people will add libva bindings soon
<orly_owl> ABI = Application binary interface?
<orly_owl> how far is mali from gpu decoding video
<mnemoc> mali400 does not decode video. it's a 3D unit
<orly_owl> oh right
<orly_owl> so a10 does video
<mnemoc> a10 is a SoC. the cedarv decodes/encodes video
<orly_owl> woops ok
<specing> armel?
<specing> arm little endian?
<specing> or did you mean to say armsf?
<mnemoc> specing: whatever flags ubuntu calls armel
<mnemoc> it's armv5 and sf, not sure what else in involved in that nick name
<orly_owl> i guess that's an article https://en.wikipedia.org/wiki/Android_mini_pc_mk802
<mnemoc> wikipedia has very weird "notability" rules
<orly_owl> i suspect no mods have seen that article yet
<orly_owl> or something
tuliom has joined #arm-netbook
<specing> mnemoc: there are armel and armeb ;)
<Vayun> armel is also a name of Debian ARM port, see here http://wiki.debian.org/ArmEabiPort/
nibb__ has quit [Read error: Connection reset by peer]
nibb__ has joined #arm-netbook
<mnemoc> I know "el" stands for little endian, but when I said armel or armhf I'm refering to ubuntu archictures, not gcc flags
<specing> Vayun: guess why it is named that way
<mnemoc> the cedarx we have was compiled natively, without any flag, in a ubuntu 11.10 armel machine
<Vayun> mostly because it uses EABI and is Little Endian
puterucu has joined #arm-netbook
puterucu has quit [Quit: Page closed]
orly_owl has quit [Ping timeout: 255 seconds]
orly_owl has joined #arm-netbook
Vayun has quit [Remote host closed the connection]
turl|| has joined #arm-netbook
Vayun has joined #arm-netbook
<Turl> mnemoc: it's not that
<Turl> but like something corrupting random memory or something
<Turl> the log was corrupted due to lack of power to RAM when I checked it out but it didn't seem to crash on any specific place
<mnemoc> uh
<Turl> maybe some of the ugly AW code doesn't like preemption
<Turl> I went back to the non preempt rcu and it seemed okay
<mnemoc> according to that ticket we seem to need to disable preempt and no_hz
<Turl> mnemoc: $ grep HZ ~/zatab/linux-allwinner/arch/arm/configs/zatab_defconfig
<Turl> CONFIG_NO_HZ=y
<Turl> CONFIG_HZ=100
<Turl> so I guess NO_HZ is okay?
tuliom has quit [Quit: Konversation terminated!]
turl|| has quit [Quit: Page closed]
rzk has joined #arm-netbook
rz2k has quit [Ping timeout: 245 seconds]
nibb has joined #arm-netbook
nibb__ has quit [Read error: Connection reset by peer]
NAiL has quit [Remote host closed the connection]
ka6sox is now known as ka6sox-away
QingPei has joined #arm-netbook
TheLarch has quit [Quit: puff of smoke]
L84Supper has joined #arm-netbook
penguin42 has joined #arm-netbook
QingPei has left #arm-netbook [#arm-netbook]
NAiL has joined #arm-netbook
<CIA-122> rhombus-tech: Michael master * rc8df384ce81a /allwinner_a10/orders/michaelsoares.mdwn:
<CIA-122> rhombus-tech: Michael master * rff3b7da8de33 /allwinner_a10/orders/michaelsoares.mdwn:
Quarx has quit []
Almamuerta has quit [Quit: Page closed]
<rm> haha got a serial console on my mk802
<rm> NOW we're talking...
Almamuerta has joined #arm-netbook
<mnemoc> kudos rm! :)
Almamuerta has quit [Ping timeout: 245 seconds]
<rm> well, didn't solder it
<mnemoc> rm: please improve the related info in our wiki article about it :)
<rm> just have to hold 2 wires really firm :p
<rm> and instantly 2 bizzare things:
<rm> despite my linux.ini, what's booting is the stock 3.0.8
<rm> and the second thing,
<rm> _nothing_ on serial console when powered on with an SD card inserted
<mnemoc> then your uart is not uart0
<specing> hehe
<mnemoc> or different pins than usual
* specing points rm to serial_spammer.c
<mnemoc> yes :(
<Turl> I found it funny :P
* mnemoc doesn't like to disturb the gurus
<rm> okay, wft.
<rm> wtf, even
<rm> - mount nanda
<rm> - write, sync, umount, sync
<rm> wait 10 seconds
<rm> pull the power
<rm> replug, nanda has old contents
<Turl> lol
<Turl> why do you pull the power tho?
<Turl> run a normal shutdown
<rm> how
<rm> busybox poweroff / halt do not work
<Turl> shutdown/halt?
<Turl> 'reboot' ?
<rm> I don't think I have any of those
<rm> it's Android
<Turl> long press power button -> turn off?
<rm> mk802 can haz no button
<Turl> ah, #blamethestick
<RaYmAn> 0.06Installcdcd
<Turl> but yeah there's reboot on the toolbox
<Turl> RaYmAn: ?
<Turl> wrong window? :P
<RaYmAn> wrong keyboard :/
<rm> ahaha
<Turl> what's this wrong keyboard thing?
<RaYmAn> lol
<Turl> you have two pcs side by side?
<RaYmAn> I'm battling installing linux on my mac mini
<Turl> no bootcamp thingy?
<RaYmAn> I can't seem to find any way to actually install bootcamp stuff on this device
<RaYmAn> it's a mac mini server (late 2009) - and it seems to be stupidly hard to get working :(
<Turl> "Use Boot Camp Assistant (located in the Utilities folder) to create a partition for Microsoft Windows. Boot Camp Assistant works only with an Intel-based Mac that has a single hard disk partition."
<RaYmAn> yeah, that kind of requires actually having boot camp assistant.
<RaYmAn> I've been trying to convince this damn pc to boot linux all day :P
<Turl> it should be there
<Turl> what macos does that thing have?
<Turl> lion?
<RaYmAn> snow leopard server
<Turl> is that pre or post leopard?
<RaYmAn> leopard -> snow leopard -> lion -> mountain lion
<Turl> and is it x86?
<RaYmAn> ofc
<RaYmAn> Core2Duo
<Turl> mid 2010 mac mini for amd64
<RaYmAn> great - but it's still not there :P
P4R4N01D has quit [Quit: Konversation terminated!]
gimli has quit [Ping timeout: 272 seconds]
<Turl> RaYmAn: apparently the *server* SO has no snow leopard
<Turl> eh, derp
<Turl> has no bootcamp*
<RaYmAn> yeah, that seems to be my conclusion as well
<RaYmAn> I really prefer to boot linux with UEFI anyways
<Turl> read #7
<RaYmAn> but that's easier said than done
<RaYmAn> another tricky point is that the mac mini server has no cd/dvd drive.
DonkeyHotei has quit [Quit: This is a /quit message.]
<Turl> does mac have PXE?
<RaYmAn> not afaik
<Turl> USB? :P
<RaYmAn> yes, kinda
<RaYmAn> :P
<Turl> boot netboot.me image on there
<Turl> then install $distro
<RaYmAn> right
<Turl> or chroot install distro then move it
<RaYmAn> I'd do that, except I have yet to succeed in booting ANY linux kernel
<rm> if mac had PXE, it'd absolutely have to be iPXE
<Turl> rm ahaha
<rm> and............ http://ipxe.org/ iPXE is the leading open source network boot firmware.
<RaYmAn> Turl: I did all this stuff first on my MBP and it worked just fine :/ but on the mac mini it fails horribly
<Turl> that refit thing might help
<RaYmAn> first thing I installed
<RaYmAn> :P
<Turl> rm sue iPXE!11
<RaYmAn> as well as the unofficial successor refind
<Turl> RaYmAn: I have another idea to get it done too
<Turl> RaYmAn: 1) list mac mini on ebay 2) get 700US$ 3) buy ~200US$ low power miniATX x86(_64) PC 4) install distro 5) ... 6) PROFIT!
<RaYmAn> yeah, that's my backup solution :P
<rm> ~200US$ low power miniATX<- Mele A2000!!!
<RaYmAn> ouch, no way :P
<Turl> rm mele is not x86 though
<RaYmAn> I want something more powerful than that :P
<rm> x86 is outdated
<Turl> and a cortex a8, however cool it might be, can't just compete with even a small atom
<RaYmAn> my mac mini is Core2Duo 2.5ghz with 4gb ram. Show me an arm server that has that at a reasonable price and I'll consider it .P
<mnemoc> no atom can decode video like an A10 :)
<RaYmAn> I need this entirely for serverstuff though
<RaYmAn> multi-purpose router/fw, fileserver, plex mediaserver, nzb downloader and similar.
<Turl> mnemoc: well they tend to have crapVR gpus :P but the ones with intel ones (any?) can decode high bitrate h264 and mpeg
<rm> A2000 can reasonably do all of that
<rm> but you better have if you have a managed switch
<rm> but you better have a managed switch *
<Turl> rm the hw filter stuff is disabled apparently
<Turl> saw a comment re. it on a recent commit
<rm> my guess is the driver was copypasted from that Davicom driver
<Turl> and I doubt transcoding on plex on a cortex a8 is going to be good
<rm> but the actual device is very different
<rm> and no one bothered to convert the multicast filter setup routine
<rm> they commented it out for laterz
<rm> (if it even works/present)
<RaYmAn> I also doubt an a2000 can handle doing NAT on a 50/50mbit line :)
<rm> but it's no problem to have it disabled, just need to change that other thing
<rm> well
<rm> routers have anemic MIPS CPUs
<rm> and do NAT in software
<Turl> RaYmAn: ar71xx can do ~30-40Mbit NAT
<rm> at 266-400 Mhz
<rm> and here you have the 1GHz A10
<Turl> can't compare though, different arch
<RaYmAn> Turl: sure.. but not while doing all the ohter stuff at the same time.
<Turl> RaYmAn: my router runs mpd if anything :P
<Turl> it *sucks* big time playing shit with floating point decoders
<Turl> (like, it stutters horribly, pegs the cpu, unusable)
j1nx_ has joined #arm-netbook
<Turl> hey j1nx_
<rm> my 'working' mk802 currently runs Tinc VPN with my IPv6 tunnel, also couple of OpenVPN daemons
<j1nx_> Hey Turl
<Turl> rm I run OpenVPN on a 3USD server and connect with my msm7201A :D
<j1nx_> Stupid question, but really don't have the time anymore to investigate. What do we need to change in the u-boot sources to have 1 GB?
<Turl> talk about slow arm :P
<Turl> j1nx_: totally offtopic, but do you know the guy you gave my address to?
<mnemoc> j1nx_: the simpler is just to pass a couple of mem=
<j1nx_> by name and email correspondence. He sponsored me a OE stick
<mnemoc> wasn't it from tom?
<j1nx_> mnemoc: Still on 3.0.36 (before your mem changes) and again no time anymore to compile a new one ;)
<j1nx_> mnemoc: Nope
<mnemoc> j1nx_: same answer, mem= wins
<j1nx_> mnemoc: you kidding me?
<j1nx_> so if i just pass "mem=1024" to the kernel params, it works?
<mnemoc> j1nx_: mem=448M@0x40000000 mem=512M@0x6000000
<mnemoc> confirm the number of 0s
<j1nx_> mnemoc: talkin about 1 or 2 banks
<mnemoc> 2, you need the gap for mali
<mnemoc> but i'm assuming uboot's dram initialization is initializing it all correctly
<mnemoc> only failing to pass the whole info
<j1nx_> So to send 1 Gb mem, but including the mali reservation. What would be the parameters?
<mnemoc> I told you above, just double check the number of zeros in the address
<mnemoc> 7 zeros
<j1nx_> mnemoc: Oh you pass them both. ;) Sorry man, I just had a full day of holiday packing behind me (pff)
<j1nx_> not thta sharp anymore
<mnemoc> j1nx_: :)
<Turl> does mele have bluetooth?
<mnemoc> no
<mnemoc> but there are $1 BT dongles
<Turl> I've bitten twice with "$1 BT dongles"
<Turl> bought two, neither work on linux :<
<j1nx_> Linux campat is not very good with those
<Turl> what's more, they cause kernel panics and crap :(
<j1nx_> Turl: Why do you needed the info about the OvalElephant guy?
<rm> sooooo
<rm> when a bootable SD card is inserted into the nonbooting MK802, I get this:
<rm> U-Boot SPL 2011.09-rc1-00055-g4d29a5d-dirty (Mar 01 2012 - 16:05:47)
<rm> MMC: SUNXI SD/MMC: 1073741824
<rm> and these repeat a lot of times
<rm> and that's all
<Turl> j1nx_: just curious, as he mailed me
<j1nx_> no u-boot at sector 32
<rm> it should be there
<j1nx_> Turl: Something about Android? He asked me for a specialst, you were the only one I could thing of :D
<Turl> yep, about android
<rm> ah, nope that's not all
<rm> I'll post to the mailing list
<Turl> rm btw you're the one with PGP signed messages right?
<Turl> rm are you using enigmail?
<rm> mnemoc, curl -6 linux-sunxi.org
<rm> curl: (7) couldn't connect to host
<rm> Turl, "the one with PGP signed messages" O.o
<rm> yes
Mazon has quit [Read error: Connection reset by peer]
<rm> but no
<rm> I am using Claws-Mail
<Turl> rm anyway, I always disable PGP for the ML because it's awesomely spammy to sign inline, and noticed you attach the signature, is that the "PGP/MIME" thing?
<hno> Yes. PGP/MIME looks like attachment to non-PGP aware mail clients.
<rm> mnemoc, the web server does not listen on IPv6
<rm> port 80 = connection refused
<mnemoc> rm: good point. 1m
Mazon has joined #arm-netbook
<L84Supper> http://imagebin.org/222424 had a few minutes to finally crack the case of the A10 netbook
<L84Supper> UMPC-1021
<hno> L84Supper, anything interesting on the inside?
<L84Supper> lots of space for more battery
mpthompson has joined #arm-netbook
<L84Supper> actually enough room for another AMD APU maniboard
<L84Supper> or SSD
<Turl> L84Supper: is that wifi card really floating inside the case like that?
<L84Supper> yes, held in place by double sided foam tape
<L84Supper> hand solder job as well
<hno> I see the board is prepared for eMMC Na
<L84Supper> maybe P5 is serial
<hno> Have JTAG test points. And looks like UART might be on P5 but not 100% sure.
<hno> CON1 is most likely resistive touch panel connector if you want to upgrade
<L84Supper> it's really awful with Android on it
<L84Supper> heh, upgrade my making anew mainboard
<L84Supper> but it's still an awful case
<mnemoc> rm: try now
<hno> No, that's not eMMC.. what is that chip next to the SDRAM?
<hno> Lots of ESD protection which have not been mounted.
<hno> But what is U15 next to the SDRAM? Can't read the markings.
<rm> works
<hno> Why do they need an EC?
<mnemoc> IR remote?
<mnemoc> i mean, to power it up remotely
<hno> IR power up in a laptop?
<mnemoc> ah, sorry
<mnemoc> missed the context
<rm> L84Supper, is this a 10" or a 7" laptop?
<L84Supper> who knows, they get kids designing these things
<hno> how is the keyboard connected?
<L84Supper> terribly
<L84Supper> this things built like a proto that you just want to show someone for proof of concept
<hno> "8-Bit Microcontroller-Microcomputer - Tone Generator,Voice ROM"
<L84Supper> then you go make the real one
<L84Supper> yeah, it has a bunch of GPIO
<L84Supper> I'll look at the board later, see what they did
<hno> I don't get why one would want an EC in an A10 design, unless it's also the keyboard controller. But the A10 can also act as keyboard controller.
<L84Supper> I'll find out later
<L84Supper> maybe they didn't place the ESD parts down since it's so awful you really don't want to even use it
<L84Supper> I can't say enough nice things about this netbook
<L84Supper> the case is very shiny
<L84Supper> you really know when you press the trackpad buttons, it like pressing a 1983 IBM keyboard
<L84Supper> plenty of airflow inside
<L84Supper> spare room for 2x the battery
<L84Supper> wifi module easily replaced
<L84Supper> they easily could have made this unit much better
* rm enjoys the newfound sanity of debugging with a serial console
<mnemoc> j1nx_: did the mem= thing work?
<mnemoc> rm: wiki wiki :)
<L84Supper> the board has a USB on the go connector but they didn't make an opening in the case for it
nibb has quit [Read error: Connection reset by peer]
nibb has joined #arm-netbook
<rm> the uboot SPL does not see my SD card
<rzk> rm: blind guess: try slighlty press on both ddr3's and see if anything changed
<rm> I don't have seven hands
<mnemoc> rm: what spl?
<rm> I already have to hold the serial console wires in midair :DDD
<rzk> solder them? :3
<rm> mnemoc, both 'old' and today's
<L84Supper> looks like the EC is for keyboard scan
<hno> L84Supper, also seem to have a recovery button (sw3)
<rm> mnemoc, yes, I already tried the SPL from there
<mnemoc> rm: same problem?
<rm> verified by md5sum
<rm> yes, it gives the first example of output
<rm> spl: mmc device not found!!
<mnemoc> rm: compare the pins in your stock script.bin with the classic one
<mnemoc> smells like you are wired differently
<hno> SPL do not use script.bin
<hno> neither do the full u-boot.
<mnemoc> hno: I know, but any different gpio will be reflected in the script.bin
<hno> yes. Maybe SD card present pin is wired differently.
<hno> but I don't think SPL or even u-boot checks that pin.
<hno> The device do have internal NAND, right?
<rm> yes
<hno> The A10 have quite many SD controllers. But I think the other one that it can boot from shares pins with NAND so if it booted SPL from SD and have NAND then is should be MMC0.
<RaYmAn> YEAH, FRIGGING FINALLY </offtopic> :)
<rm> android.fex is the problematic one
<Turl> RaYmAn: ?
<rm> but I am not sure if this one is from the actual device from the factory,
<rm> or it came from the Rikomagic REV.2 firmware
<RaYmAn> Turl: installed booted =P lol
<j1nx_> mnemoc: mem did not work
<Turl> RaYmAn: :P
<L84Supper> ah ha, that expains the keyboard problem they are having on the umpc-1021
<j1nx_> only the first 448 passed went ok. If you pass the second 512, your X11 screen becaomes completely scrmabled as soon as it starts??
<L84Supper> they asked us the help fix the camera and the keyboard
<L84Supper> they probably have some bad firmware for keyboard scan in that HT82840
<RaYmAn> Turl: grub2-efi installed on usb stick, booted by refit, with installed .iso loopmounted by grub2 :S
<L84Supper> they must have gotten the keyboard circuit and firmware from some other project
<hno> is the keyboard working at all?
<Turl> RaYmAn: :)
j1nx_ has quit [Quit: There's nothing dirtier then a giant ball of oil]
nibb has quit [Read error: Connection reset by peer]
hp_ has quit [Read error: Connection reset by peer]
<L84Supper> hno: it mostly works, I forget what they said the problem is
nibb has joined #arm-netbook
hp_ has joined #arm-netbook
<L84Supper> hno: the anodrid setup on this is so clumsy to use, nobody has worked with it for more than a few minutes
<L84Supper> hno: you have to use the trackpad to gesture
<L84Supper> we haven't found the accell settings for it yet either
<CIA-122> rhombus-tech: lkcl master * r210c92ecd98d /: Merge branch 'master' of ssh://git.hands.com/rhombus
<CIA-122> rhombus-tech: lkcl master * r5fed47ad5a3d /allwinner_a10/orders.mdwn: pinout alterations, add FPC45
<CIA-122> rhombus-tech: lkcl master * r7a174c22cce0 /allwinner_a10/orders.mdwn: pinout alterations, add FPC45
<CIA-122> rhombus-tech: lkcl master * r5bbe5a0d7c76 /allwinner_a10/orders.mdwn: pinout alterations, add FPC45
<CIA-122> rhombus-tech: lkcl master * rf1f019e6bd73 /allwinner_a10/orders.mdwn: pinout alterations, add FPC45
<hno> pinout alterations in orders.mdwn?
<hno> lkcl, what are you doing?
<CIA-122> rhombus-tech: lkcl master * re2ec3b46efd9 /allwinner_a10/news/a10.gpio-rework.png: gpio rework
<Turl> merging passthrough card maybe
Mazon has quit [Read error: Connection reset by peer]
<hno> rm, what is the two fex files you diffed?
gimli has joined #arm-netbook
<L84Supper> really weird, the Holtek mcu is from 2001
<hno> 1998 in the datasheet
<L84Supper> no longer in production
Mazon has joined #arm-netbook
<L84Supper> a board using leftover parts, nice
<rm> hno, android.fex is from the device, and rm_working_mk802.fex is from another mk802 which boots fine with it
<L84Supper> at least people can't copy it then
<hno> L84Supper, not sure why one would want to copy that design.
<L84Supper> it's pure genius!
<L84Supper> if only the netbook worked
<rm> it doesn't?
<rm> and I just wanted to say "it works what are you complaining" :P
<hno> rm, any mmc0_para section?
<CIA-122> rhombus-tech: lkcl master * r73fe46ad94c0 /allwinner_a10/news.html: gpio rework
<rm> yes, but no differences in that one :/ http://dpaste.com/777095/
<hno> all standard pins there.
<CIA-122> rhombus-tech: s1m0n3t master * r0d2f01b82741 /allwinner_a10/orders/.mdwn:
<hno> rm, so you have two devices one that boots and one that don't?
<rm> yes, an MK802 with 512 MB boots, and the new one with 1GB (and holes on the bottom side) that doesn't
<hno> The dram_para section looks very odd.
<hno> plus that JTAG is also enabled on PF which collides with SDCARD usage, but that should not have any effect on SPL.
<rm> also there was a person here
<rm> who has "a large number" of Mele A2000
<rm> and like 30% of them don't boot frm SD
<rm> from*
<rm> I am almost sure this is exactly the same problem
<hno> Odd.
<hno> We know the A10 is a little picky about what SD CARD can be used for booting, but one that works should work in all.
<rm> hm, no
<rm> he does get from SPL to u-boot
<hno> There is 1G meles?
<rm> no
<rm> I will try a different SD card then
<rm> however I tried the same card that works in the other MK802
<rm> with exactly the same OS image still on it
<rm> and it didn't work
<mnemoc> but there could be 512 meles needing a different initializatin, isn't it?
<mnemoc> dram i mean
<mnemoc> hipboi_ may now
<hno> Yes. DRAM setup is a bit messy. If the board is using significantly different DRAM then SPL would not be able to load u-boot.
<hno> and the dram_para section in script.bin from the failing board looks very odd.
<hno> maybe the livesuite DRAM probing mentioned for A13 is also applied to A10 in newer releases which would explain why it's not in script.bin. If so then we need to get boot0/boot1 from the NAND to find actual DRAM parameters.
gimli has quit [Ping timeout: 246 seconds]
<mnemoc> do we know to do that from `fel` yet or only from extracted livesuite images?
<hno> Ah, nice. The EOMA68 A10 boards will have almost full GPIO capability.
<hno> mnemoc, neither.
<hno> apparently livesuite patches boot0/boot1 on the fly when programming the flash.
<hno> no idea how phoenixcard is supposed to work with those firmwares.
<hno> phoenixcard needs working DRAM parameters for the SDCARD.
<hno> and can't probe the target board.
<mnemoc> the best way for us i think is to find the magic address to dump using `fel`
<hno> it's not a magic address.
<hno> boot0 & boot1 is in the first erase blocks of the first NAND.
<hno> but neither kernel NAND driver or u-boot NAND driver exposes raw NAND access. Only logical NAND access with block translation layer.
<mnemoc> hipboi!!!
<mnemoc> :(
<hno> Well, the raw nand access layer is obviously there in the driver, but only accessed via the translation layer.
<mnemoc> it's not the nicest driver to research...
<hno> there is also a simplified raw nand access layer with comments sayint it's for u-boot to access the boot area, but have not got those to work.
<hno> the driver is not that bad to research.
<mnemoc> nicer than the disp drivers for sure
<mnemoc> 5% battery :(
<mnemoc> good night
<hno> Uh.. __u32 reg_val = *(volatile __u32 *)(0xf1c20000 + 0x80);
<penguin42> what are the transport stream pins that are mentioned in lkcl's mail on the new A10 connector?
<rm> Jul 29 04:31:19 wr703n daemon.info dnsmasq-dhcp[2833]: DHCPOFFER(eth0) 192.168.0.37 00:10:93:53:a3:43
<rm> it's ALIIIIIIIIIIIIVE!!!~~~
<specing> ugh the C class
<rm> still no SD card booting success
<rm> but now with the serial console I managed to iron out the nanda-based kernel bootup
<specing> It is funny how most vendors pick the most memorable ip range ever
<xenoxaos> hno, back to the DRAM on different boards not allowing things to load.... if the timings in the SPL were close to the actual timings of the dram, BUT NOT quite right, would uboot load intermittently/kernel loading be completely unreliable?
<hno> Not sure.
<hno> penguin42, MPEG Transport Stream interfaces, for DVB intefacing etc.
<penguin42> hno: Hmm, so yeh I've come accross MPEG Transport streams, but I've never seen an interface on a CPU for it - what do they look like from software?
<hno> Unknown. All I know is that the A10 contains MPEG TS demultiplexers.
<hno> there is no driver in the kernel sources that I am aware of.
<penguin42> hno: Interesting, I can see why - MPEG is a pain to decode in software, it's all stupidly aligned bit strings
<hno> I think you can even make them feed VE directly, enabling decode without touching the ARM core.
<rm> looks like the RAM in the second segment does not really work
<hno> rm, what?
<rm> this kernel uses "mem=448M@0x40000000 mem=512M@0x60000000"
<rm> 'memtester 300M' seemed to work
<hno> Ok, 1G hardcoded on command line.
<rm> 'memtester 750M' and 500M lock up the machine hard
<rm> but bizzarely it continues to be pingable
<hno> ping is pretty low level.
<rm> so not that hard, I guess :)
<hno> ping continues as long as interrupts works basically.
<rm> want 500MB (524288000 bytes)
<rm> got 500MB (524288000 bytes), trying mlock ...
<rm> and that's all
<rm> can't ^C it, can't ssh again
<hno> Have you tried with just the first mem block?
<rm> yeah, I will try now
<rm> but I verified it has 2x512MB RAM chips
<rm> and 2nd "but": even the Boot0 has "RAM: 512MB"
<hno> Then it only configured 512MB in the DRAM controller.
<hno> boot0 reads DRAM configuration from a header section in boot0. In the tools I have seen this header section is populated from script.bin when the firmware image is built.
<hno> but the dram_para section in your android version seems empty?
<rm> hm, so I basically have a firmware image for a 512MB board
<hno> but a boot command line for 1G board?
tuliom has joined #arm-netbook
<rm> this is supposedly an 1G board
<rm> maybe I should find a different firmware
<hno> From where is that boot command line?
<rm> I hardcoded it into my kernel
<hno> Ok.
<hno> So you livesuite flashed it, and then replaced kernel & root?
<hno> Yes, you need a 1G firmware for a 1G board, unless the automatic probing & detection by livesuite on A13 applies to later versions for A10 as well.
<hno> Actually you need a firmware which is for your exact board type. Cross-flashing is only possible between devices with exact same DRAM configuration.
<rm> I flashed it, then replaced linux.ini and added bImage
<rm> and the bImage has "root=/dev/mmcblk0p2" hardcoded
<rm> okay, now running with a 512MB kernel, 317MB available, testing 275MB - seems fine (at least does not fail/lockup instantly)
* penguin42 watches the A10 factory video - I'm always amazed by how much manual stuff is still in all this
<specing> robots are expensive
<penguin42> and probably harder to train on anything less than vast production runs
<rm> imagine if you had to sit 10 hours a day fitting widgets into gadgets
<rm> and then feel grateful that you have your current job / living conditions
<rm> s/10/16/, maybe
<penguin42> someone has at least given them fume extractor fans
<rm> also there's no "the" video, I know at least three
<penguin42> http://armdevices.net/2012/06/18/jwd-7-allwinner-a10-tablet-factory-tour/ is the one I'm currently going through
<hno> penguin42, yes, but even in the most fancy of the factories they don't have any good lamps.
<penguin42> hno: That seems an odd economy; you'd think that would make a big difference to the number of screw ups
<penguin42> heck, the mk802 one is a bit more basic - a guy hand screen printing (literally screen with paint on) each individual one
<rm> yes, I was amazed by this
<rm> one would think a simple matter like painting a hunk of plastic into one solid color would be automated
<penguin42> yeh; or even if you were going to do it manually you could do say 5 at a time
<rm> I don't remember if it's visible that he does 1 at a time
<penguin42> nod it is
<penguin42> if you're going to want to shave pennies off stuff that just would seem so easy
<specing> A funny thing happened with the industrial revolution: first they started replacing human workers with machines, then they just move everything over to china
nibb has quit [Read error: Connection reset by peer]
<hno> penguin42, they only have one guy doing paint job, and that's likely the only task he is good at doing. Seem to keep up fine with the production rate.
nibb has joined #arm-netbook
<penguin42> hno: Shrug, I doubt he couldn't do some of the other tasks - like the nice girl who basically just wipes a screen
<penguin42> specing: The interesting question is what happens next, as the chinese get more prosperous and want to get paid more, does the production move to the next cheapest country or do they pick up some more mechanisation
<hno> rm, confusing. Seems same firmware is used on MK802 and MK802+?