From: Jose V Beneyto Date: Wed, 6 Jun 2012 17:28:42 +0000 (+0000) Subject: Modified mmc boot script for cubox to looks like the one in efikamx X-Git-Url: http://gitweb/?a=commitdiff_plain;h=7752422d600661ba6c827fc88d7c789ea1b57d04;p=bootloader.git Modified mmc boot script for cubox to looks like the one in efikamx --- diff --git a/devices/cubox/boot-mmcblk.script b/devices/cubox/boot-mmcblk.script index 6e25cbf..81190b4 100644 --- a/devices/cubox/boot-mmcblk.script +++ b/devices/cubox/boot-mmcblk.script @@ -1,6 +1,7 @@ -echo ======== Setting bootargs ======== -setenv bootargs 'console=ttyS0,115200n8 vmalloc=384M root=/dev/mmcblk0p1 rootwait ro video=dovefb:lcd0:1920x1080-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0' -echo ======== Loading kernel ======== -ext2load mmc 0:1 0x00200000 /boot/uImage -echo ======== Booting kernel ======== -bootm +setenv kernel uImage; +setenv kerneladdr 0x16000000; +setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait ro; +${loadcmd} ${kerneladdr} ${kernel} +if imi ${kerneladdr}; then + bootm ${kerneladdr} +fi;