[Arm-netbook] eoma68-a20 ethernet testing

luke.leighton luke.leighton at gmail.com
Thu Sep 5 23:24:53 BST 2013


On Thu, Sep 5, 2013 at 10:20 PM, joem <joem at martindale-electric.co.uk> wrote:
>
>> --
>> Next the sd/mmc
>
> that's easy.  put in an sd/mmc card and do "mmc rescan".   then... i
> think you can do tricks like "fatls mmc 0".  do "help fatls" and it
> should show you the syntax.  assuming you've got a FAT-formatted sd
> card you should see a complete top-level directory listing.
>
> you're pretty much there, joe, for booting your own kernel and OS.
>
> --
>
> Working 100% :)
>
> sun7i# mmc rescan
> sun7i# fatls mmc 0
>
>             lost.dir/
>             video/
>
> 0 file(s), 2 dir(s)
> sun7i#

 ta-daaaa

> Next target - boot directly off the uSD card.

 ok well with a working u-boot that's pretty straightforward.  you'll need:

 a) a 2-partition drive.  1st as FAT (about 64mb will do it), 2nd as
ext4 (or something)
 b) a kernel (uImage) placed in the 1st partition and its
corresponding modules in the 2nd
 c) a boot.scr and to run mkimage (see
https://github.com/linux-sunxi/u-boot-sunxi/wiki)
 d) an OS!

errr... basically, most of the instructions here:
http://rhombus-tech.net/allwinner_a10/boot/

1) get that debian minimal rootfs from the link on that page, unpack
it into partition 2
2) get the partition2.tgz modifications (bottom of that page) and drop
them into partition 2 as well
3) pick a kernel and compile it then follow b) above

err... yeah.  that's it.  very straightforward.  actually the easiest
one to go with is probably the cubieboard2 3.4 kernel chris and i were
talking about a couple hours back.  wait.... USB isn't working in
that.... hmmm....

ok try the lkcl-3.3-dev one, you've got that 3.4 version of gcc so you
shouuuld be okaaay....

l.



More information about the arm-netbook mailing list