View Single Post
xxxxts's Avatar
Posts: 491 | Thanked: 341 times | Joined on Nov 2009 @ LA
#7
Originally Posted by ivyking View Post
that's fairly easy !
u-boot scripts are generated from simple command files, that are then converted to as appropriate script by using mkimage.

an example command file :

mmc init
fatload mmc1 0 0x82000000 /meegos-kernel
setenv bootargs 'root=/dev/mmcblkXpY rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash'
bootm 0x82000000

meegos-kernel is to be replaced by the actual meego kernel uImage name,
mmcblkXpY is to be replace by the partition where you installed meego, please note that

X=0 for sd
X=1 for emmc

yes they are the reverse of maemo's ordering.

Y is the number of the partition where meego is installed.

when you are done save the file, convert it to a u-boot script called boot.scr by :

mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "MeeGo" -d commandFileName boot.scr
Okay... I am still very confused - I flash my SD card using these instructions;

http://wiki.meego.com/ARM/N900/Install/MMC#Windows

With the exception of #11, put my SD card into my phone and boot into Maemo. However due to the way the image has partitioned my SD card I cannot access it as storage, thus also making it very difficult to install NITDroid on - I might be a little mixed up but I don't see how this so much has to do with u-boot...