setenv initrd_high "0xffffffff"
setenv fdt_high "0xffffffff"
setenv sdbootcmd "run setbootargs; load mmc 0:2 0x40008000 /boot/zImage; bootm 0x40008000"
setenv usbbootcmd "run setbootargs; load usb 0:1 0x40008000 /boot/zImage; bootm 0x40008000"
setenv bootcmd "if run usbbootcmd; then echo USB boot; else setenv root /dev/mmcblk0p2; run sdbootcmd; fi"
setenv setbootargs setenv bootargs 'console=tty1 console=ttySAC1,115200n8 root=${root} rootwait mem=2047M'
usb start
setenv root /dev/sda1
boot

