Thread: Boot Issue N900
View Single Post
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#24
As wrote you should use same cmdline bootargs as via USB flasher.

Look at existing U-Boot settings and helper sub-scripts for N900:
http://git.denx.de/?p=u-boot.git;a=b...0;hb=HEAD#l239

So boot script should look like this:
Code:
setenv mmckernfile uImage;
setenv mmcinitrdfile uInitrd;
setenv bootargs rootdelay root=/dev/ram0;
run initrdload;
run kernload;
run kerninitrdboot;
uImage should be generated as:
Code:
$ mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n "name_of_kernel" -d /path/to/kernel uImage
and uInitrd as:
Code:
$ mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n "name_of_initrd" -d /path/to/initrd uInitrd
(not tested)

Look also how is generated Bootmenu script in eMMC from /etc/bootmenu.d files:
https://github.com/pali/u-boot-maemo...pdate-bootmenu
 

The Following 3 Users Say Thank You to pali For This Useful Post: