IRC log for #arm-netbook on 20130525

00:04.19penguin42it's best never to trust me with your soldering
00:30.11*** join/#arm-netbook stefanro (~stefan@pD958AE05.dip0.t-ipconnect.de)
00:34.36*** join/#arm-netbook lerc (~quassel@121.75.155.67)
01:38.50*** join/#arm-netbook fragmint (~fragmint@108-77-196-171.lightspeed.tukrga.sbcglobal.net)
01:41.16*** join/#arm-netbook leowt (~leowt@a109-51-173-50.cpe.netcabo.pt)
01:45.21*** join/#arm-netbook fragmint (~fragmint@108-77-196-171.lightspeed.tukrga.sbcglobal.net)
02:05.23*** join/#arm-netbook fragmint (~fragmint@108-77-196-171.lightspeed.tukrga.sbcglobal.net)
02:10.47*** join/#arm-netbook cnxsoft (~cnxsoft@node-udg.pool-118-172.dynamic.totbb.net)
02:35.19*** join/#arm-netbook Dessimat0r (~Dessimat0@cpc1-birk8-2-0-cust884.1-3.cable.virginmedia.com)
02:52.27*** join/#arm-netbook fragmint (~fragmint@108-77-196-171.lightspeed.tukrga.sbcglobal.net)
03:27.35*** join/#arm-netbook KoH__ (~kane@trir-5d80073c.pool.mediaWays.net)
04:10.18*** join/#arm-netbook Dessimat0r (~Dessimat0@cpc1-birk8-2-0-cust884.1-3.cable.virginmedia.com)
04:58.22*** join/#arm-netbook abesis (~abesis@176.43.244.73)
06:25.14hp__anyone seen the "SmartCandy " HDMI stick..
06:25.27hp__man its small.. could be very usefull for quadcopter stuff
06:36.13*** join/#arm-netbook vgrade (~root@static.43.45.47.78.clients.your-server.de)
06:43.56*** join/#arm-netbook abesis (~abesis@78.187.167.191)
06:56.07*** join/#arm-netbook discopig (~discopig@2001:5c0:1400:a::115)
06:56.07*** join/#arm-netbook discopig (~discopig@unaffiliated/discopig)
06:57.45*** join/#arm-netbook eebrah_ (~yaaic@212.49.88.105)
06:59.25*** join/#arm-netbook hramrach_ (~hramrach@gateway/tor-sasl/hramrach)
07:57.17*** join/#arm-netbook techn_ (~quassel@a91-152-35-60.elisa-laajakaista.fi)
08:09.46*** join/#arm-netbook techn__ (~quassel@a91-152-35-60.elisa-laajakaista.fi)
08:15.51*** join/#arm-netbook abesis (~abesis@78.187.167.191)
08:24.01*** join/#arm-netbook rellla (~rellla@p4FE57EA4.dip0.t-ipconnect.de)
08:37.05*** join/#arm-netbook stamina (~stamina@140-074-128-083.dynamic.caiway.nl)
08:43.32*** join/#arm-netbook abesis (~abesis@78.187.167.191)
08:44.03*** join/#arm-netbook wingrime (~wingrime@78.109.115.103)
09:30.49*** join/#arm-netbook OmegaPhil (~kvirc@82-71-20-171.dsl.in-addr.zen.co.uk)
09:30.49*** join/#arm-netbook OmegaPhil (~kvirc@fsf/member/OmegaPhil)
11:02.22*** join/#arm-netbook rz2k (~rz2k@128-69-81-21.broadband.corbina.ru)
11:19.23*** join/#arm-netbook RaYmAn (rayman@rayman.dk)
11:19.26*** join/#arm-netbook Gujs (~Gujs@cpe-92-37-24-215.dynamic.amis.net)
11:27.41*** join/#arm-netbook penguin42 (~dg@tu006.demon.co.uk)
11:46.44*** join/#arm-netbook servili007 (~servili00@unaffiliated/servili007)
12:19.09*** join/#arm-netbook fragmint (~fragmint@108-77-196-171.lightspeed.tukrga.sbcglobal.net)
12:30.20*** join/#arm-netbook tinti (~tinti@pdpc/supporter/student/tinti)
12:49.19penguin42hmm this sheet for a level converters suggested use is on a CT scanner, only later does it go down to handsets
13:21.18*** join/#arm-netbook muts (~muts@backtrack/leader/muts)
13:43.52*** join/#arm-netbook techn_ (~quassel@a91-152-35-60.elisa-laajakaista.fi)
13:53.48*** join/#arm-netbook servili007 (~servili00@unaffiliated/servili007)
14:21.14*** join/#arm-netbook OmegaPhil (~kvirc@82-71-20-171.dsl.in-addr.zen.co.uk)
14:21.15*** join/#arm-netbook OmegaPhil (~kvirc@fsf/member/OmegaPhil)
14:26.23*** join/#arm-netbook eFfeM (~frans@c73189.upc-c.chello.nl)
14:30.14*** join/#arm-netbook ZaEarl (~malmrose@71-213-13-11.slkc.qwest.net)
14:31.52*** join/#arm-netbook servili007_ (~servili00@unaffiliated/servili007)
14:47.53*** join/#arm-netbook Dessimat0r (~Dessimat0@cpc1-birk8-2-0-cust884.1-3.cable.virginmedia.com)
15:33.16*** join/#arm-netbook wingrime (~wingrime@78.109.115.103)
16:00.24*** join/#arm-netbook Dessimat0r (~Dessimat0@cpc1-birk8-2-0-cust884.1-3.cable.virginmedia.com)
16:24.29*** join/#arm-netbook ganbold__ (~Ganbold@173.244.215.173)
17:19.22*** join/#arm-netbook leviathanch (~quassel@2001:470:26:484:6ef0:49ff:fee6:8dca)
17:36.35SPGlkcl master ae27404 rhombus allwinner_a10/ boot.mdwn boot/eoma68-a10_linux.config boot/script.fex * add boot config files * http://git.hands.com/?p=rhombus.git;a=commitdiff;h=ae27404
17:58.13*** join/#arm-netbook OmegaPhil (~kvirc@82-71-20-171.dsl.in-addr.zen.co.uk)
17:58.13*** join/#arm-netbook OmegaPhil (~kvirc@fsf/member/OmegaPhil)
18:35.43hnolkcl, that uenv.txt change do not look right.
18:47.27hnolkcl, and the fex file is in sunxi-boards these days.
18:47.40hnono need to clone Allwinner-info.
18:48.44hnoAnd... easier if you just drop the FAT partition completely. It is not needed. Use /boot in the rootfs instead.
19:03.19*** join/#arm-netbook steev (uid1383@gentoo/developer/steev)
19:14.00vgradehno: it is possible to use the old method of booting with things on sdcard?
19:36.44*** join/#arm-netbook ganbold_ (~Ganbold@173.244.215.173)
19:40.26*** join/#arm-netbook ganbold__ (~Ganbold@173.244.215.173)
19:49.49*** join/#arm-netbook eebrah_ (~yaaic@212.49.88.96)
20:08.21lkclhno: ahh ok
20:33.47lkclooooo, usb host networking is recognised off the eoma68 interface, ooooo.  nearly got a keyboard and mouse and stuff
20:33.49lkclwooow
20:34.41*** join/#arm-netbook eebrah_ (~yaaic@212.49.88.96)
20:37.58penguin42lkcl: Find some that actually work and you could make a little router appliance with an EOMA slot
21:02.40lkclpenguin42: yeah :)
21:11.45hnovgrade, what do you mean?
21:17.25vgradehno: with cubie, mele a1000 and others we prepare a sdcard with xxx-spl.bin and u-boot.bin before first part and then in first part have kernel etc with rootfs in second part
21:20.25vgradecan we still use this setup with eoma
21:31.32lkclvgrade: no because wits-tech fucked up the board.  correction: the board is tiny, extremely well-made with 2 GND planes and only 6 layers.
21:31.49lkclthere's not enough room for the SD0 signals to cross over to get to the SDcard slot
21:32.01lkclso instead you can use usb-fel
21:32.02hnovgrade, EOMA can't boot from sdcard. But other than that yes.
21:32.17lkclor you can put spl.bin and u-boot.bin onto NAND
21:32.28lkcland ask it to detect SD3
21:32.35hnoyes, that works.
21:33.01vgraderight understand now, thanks
21:33.13vgradeso fixed for the first batch
21:33.16lkclwhen we've sold a few thousand cards, we'll have the proper finance to do a respin.  use the 2 16-bit cheap-and-cheerful chinese DRAMs
21:33.50lkclvgrade: no.  the first lot you'll have to jump through a few hoops (including using the really really easy usb-fel in sunxi-tools)
21:33.58hnovgrade, there is no need for a separate boot partition on any A1x board.
21:34.08lkclhno wrote fel-boot.bin
21:34.51vgradeso fel-boot enables spl.bin and u-boot.bin into nand
21:35.05lkclno fel-boot.bin *replaces* spl.bin
21:35.07vgradeto be written
21:35.41lkcland once you've loaded fel-boot.bin with fex you can then push u-boot.bin *directly* over into DDR memory
21:35.48lkclhere's an example:
21:35.49hnofel-boot.bin is a stripped down SPL. It's source is only some u-boot config settings and a linker script.
21:35.59lkcl+ fel write 0x2000 fel-boot.bin
21:35.59lkcl+ fel exe 0x2000
21:36.06lkcl+ fel write 0x4a000000 u-boot.bin
21:36.06lkcl+ fel exe 0x4a000000
21:36.43vgradeok and that needs to be done one time only for each board
21:37.05lkclso it replaces the fuck-awful proprietary phoenix tools and livesuit with a 7k bootloader and a 1000 line c program (fex.c)
21:37.21lkclvgrade: no, you do that every time.  it's incredibly handy and very quick.
21:37.46lkclit *is* livesuite, except command-line, and no fucking about making an image.
21:37.55hnolkcl, once only when we finish the NAND parts..
21:38.06lkclthanks to hno i even had it loading an initramfs directly into memory
21:38.16lkclhno: ok ok :)
21:38.41hnohttp://linux-sunxi.org/FEL/USBBoot
21:38.55vgradewas wondering how you would make a tablet which had to be kickstarted from usb
21:39.03lkclvgrade: you don't.
21:39.16lkclwhy would anyone want to do that?
21:39.25*** join/#arm-netbook ganbold (~ganbold@202.179.0.162)
21:39.33lkclsomebody else might, but i am not going to be doing any such project.
21:39.57lkclvgrade: did you imagine that i would be involved with such a project?
21:40.08vgradeso we still need extra work to get eoma booting standalone?
21:40.40lkclvgrade: eoma is a standard.  eoma68 is also a standard.  you must be referring to the eoma68-a10 cpu card, is that right?:
21:40.48vgradeyes
21:40.51hnovgrade, yes and no. You can drop in the eoma64 u-boot.bin in nanda and it will boot from sdcard.
21:41.09lkclvgrade: what hno said :)
21:41.17lkclso you boot using USB-fel
21:41.23*** join/#arm-netbook wm_ (~wm@109.52.68.183)
21:41.27lkclyou get into an initramfs (for example)
21:41.38lkclyou put u-boot.bin into the initramfs
21:41.50lkcla program in there writes that u-boot into nanda
21:41.56lkcland you then power off.
21:42.18hnothere remains some work to do this without having allwinner bootloeader installed in nand.
21:42.22lkclforever thereafter, because that u-boot (and spl.bin) is now on nanda, that device will always boot from NAND
21:42.29lkcl*sigh* yehhh....
21:42.31lkclyuk
21:42.48*** join/#arm-netbook abesis (~abesis@176.43.244.73)
21:42.51hnobut it's well within grasp. Nothing magic needed.
21:43.12lkcli think aseigo will amongst other people be looking forward to that.
21:43.29lkclhno: is it something that perhaps one of aseigo's team could handle?
21:43.55hnothere is two tasks needed
21:44.15hnoa) Reshuffle the sunxi mtd code so it fits properly in the mtd framework
21:45.14hnob) Update u-boot mtd framework so it can handle the large page MLC flash chips seen on most Allwinner devices.
21:45.58lkclok
21:46.34hnoI don't know what people is on aseigo's team, but they are very welcome to join the effort.
21:48.06lkclhno: they've got some good people.  worthwhile seeing if any of them have some spare time
21:48.17hnoOh, right.. one more task. Sort out the license of the u-boot DMA driver for Allwinner chips, or alternatively reimplement it. Current license header is not acceptable.
21:48.30lkcl:)
21:49.14lkclhno: we have word from eva that all code is to be GPL'd.  if you can take that as an official announcement, it means that we have explicit permission to add headers on their behalf.
21:49.16hnoThe word is that it's meant to be GPL, but was overlooked in the license cleanup earlier.
21:49.23lkclacknowledging their copyright
21:49.38lkclit's probably a good idea to tell them though :)
21:50.42vgradehno: I'm confused, you say drop in u-boot.bin into nada and it will boot from sdcard.  Then "there remains some work to do without having allwinner bootloader installed in nand".
21:50.58hnoI do not like touching others copyright header when it says "All rights reserved"
21:51.24vgradeso are you saying you would have to have allwinner bootloader AND u-boot.bin in nand to boot from sdcard
21:51.25lkclvgrade: as well as putting the allwinner bootloader in.  or doing the work hno mentioned
21:51.33lkclvgrade: yes.
21:52.33hnovgrade, you flash the board once with livesuid to get allwinner bootloader installed, then replace u-boot.bin with the one we want.
21:52.57lkclvgrade: as you can imagine we're pretty pissed with wits-tech for not telling us that this was what was going to be done.
21:53.46hnowell, we will sort out the NAND boot are part before too long.
21:53.58hnoboot area part.
21:54.04lkclyay
21:55.50vgradehno: after loading the allwinner bootloader with livesuite how is the u-boot.bin written to nand?
21:56.35vgradefel_write?
21:56.39hnoNAND boot sequence if boot0 -> boot1 -> u-boot.bin (from nanda FAT partition)
21:57.29hnoThe nanda partition can be accessed from whatever system is installed in the NAND, or sending the character 2 on the console when boot1 starts.
21:58.16hnowhen doing the latter boot1 enters USB mass storage mode and exports the partition as an usb mass storage device.
21:58.25vgraderight ok
21:59.21hnobut as we have no LRADC keys on the card there is no relable method to exit mass storage mode, so often requires a couple attempts before it gets written properly.
22:02.40hnoerr.. it's 1 for mass storage mode. 2 is FEL mode.
22:04.53vgradeso livesuite writes both boot0, boot1 and u-boot.bin and I assume a filesystem image to nand all in one go
22:07.00hnoyes
22:08.03hnou-boot.bin is in one of the filesystem images it writes (nanda)
22:08.19vgradeand I guess script.bin also
22:08.30hnoyes, that's in the same partition.
22:08.59hnoand loaded by boot1
22:09.26hnobefore it loads u-boot.bin
22:09.28vgradehttps://github.com/matson-hall/allwinner-pack-tools/blob/ics-cubieboard/pack/pack
22:09.49hnoshould work.
22:10.26vgradeand this prepares and image to be loaded by livesuite
22:10.32hnoyes
22:11.32vgradehno: thanks for your time, much appreciated
22:11.37vgradelkcl: thanks also
22:15.30hnolkcl, this is all fel-boot.bin is these days: https://github.com/linux-sunxi/u-boot-sunxi/commit/79272ff764ee392d616feb02fb91c2dcaad42f04
22:15.46hnonot a single line code :)
22:17.15lkcl:)
22:17.47hnowill remove the earlier version from sunxi-tools shortly. Please refer to the USBBoot link I posted earlier for instructions.
22:19.46hnolkcl, http://linux-sunxi.org/FEL/USBBoot
22:22.41lkclhno: ack
22:23.51SPGlkcl master b3a2855 rhombus allwinner_a10/boot.mdwn * add link to sunxi usbboot * http://git.hands.com/?p=rhombus.git;a=commitdiff;h=b3a2855
22:24.06lkclhno: will update later.  got a lot to sort out
23:15.24*** join/#arm-netbook discopig (~discopig@2001:5c0:1400:a::115)
23:15.24*** join/#arm-netbook discopig (~discopig@unaffiliated/discopig)
23:23.46lkclhttp://www.youtube.com/watch?v=Ki7g22ham3s
23:36.53penguin42wahey - an arm chroot on this nook; that was a bit of a hack
23:41.08lkclpenguin42: fairly straightforward.  he said....
23:41.22lkclbut... god that cheap sdcard is slow
23:41.40penguin42?
23:41.40lkcli have a kingston 2gbyte one and it's damn good
23:42.15penguin42lkcl: I've got a Sammy 16GB x10 rated one - not tried it hard yet (it's my spare after I've put my other large one into service)
23:42.33lkclooo i waant onne
23:42.41penguin42was only about £11 - and it's apparently temperature, magnet,x-ray and water *proof*
23:42.48lkclye gods
23:43.14penguin42lkcl: Which I think means it's proof against sitting in the back of an exynos A15 phone
23:43.23lkclyes i was kinda ... ha ha
23:43.26lkclvery funny
23:44.24penguin42lkcl: https://lh6.googleusercontent.com/-xy7TD4Ls_gk/UY5JfcRPstI/AAAAAAAAC5Y/aNt0NGVYi8Q/w1395-h840-no/3storages.JPG
23:45.42penguin42hell I wish debootstrap would put apt in by default - it's a PITA when it doesn't

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.