[Arm-netbook] debian for mele a1000 / a2000

Henrik Nordström henrik at henriknordstrom.net
Fri Jun 1 08:12:53 BST 2012


tor 2012-05-31 klockan 05:47 -0500 skrev Rosimildo DaSilva:
> It seems that the  "sunxi-spl.bin" that I build from sources does not
> work. If I use the one from "Henrik Nordström"'s site, it goes a bit,
> loading the kernel. But, keeps rebooting.
> 
> The boot.scr:
> 
> ==============
> console=ttyS0,115200
> root=/dev/mmcblk0p2
> panic=10
> extra=
> init=/init
> loglevel=8
> setargs=setenv bootargs console=${console} root=${root} init=${init}
> loglevel=${loglevel} panic=${panic} ${extra}
> kernel=uImage
> boot.scr=fatload mmc 0 0x44000000 boot.scr
> boot_mmc=fatload mmc 0 0x43000000 script.bin; fatload mmc 0 0x48000000
> ${kernel}; bootm 0x48000000
> bootcmd=run boot.scr setargs boot_mmc
> ===============

There is some syntax errors above, and confusion between script &
environment.

Try the following

============================================
console=ttyS0,115200
root=/dev/mmcblk0p2
panic=10
extra=
init=/init
loglevel=8
kernel=uImage

setenv bootargs "console=${console} root=${root} init=${init} loglevel=${loglevel} panic=${panic} ${extra}"

fatload mmc 0 0x43000000 script.bin
fatload mmc 0 0x48000000 ${kernel}
bootm 0x48000000
==============================================

> reading script.bin
> Invalid FAT entry

This is not a good error message. You need to investigate why it fails
to read your FAT filesystem.

Regards
Henrik




More information about the arm-netbook mailing list