-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;