U-boot deployment – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual
Page 67

U-boot Deployment
COMX-P2020 BSP User Guide (6806800L84B)
67
bootcmd=run sdboot
sdboot=setenv bootargs root=/dev/mmcblk0p2 rw
rootdelay=$rootdelaysecond DVO_OUTPUT=$DVO_OUTPUT
console=$consoledev,$baudrate $othbootargs; mmcinfo;ext2load mmc
0:2 $loadaddr /boot/$bootfile;ext2load mmc 0:2 $fdtaddr
/boot/$fdtfile;bootm $loadaddr - $fdtaddr
sdfatboot=setenv bootargs root=/dev/ram rw
rootdelay=$rootdelaysecond DVO_OUTPUT=$DVO_OUTPUT
console=$consoledev,$baudrate $othbootargs; mmcinfo;fatload mmc 0:1
$loadaddr $bootfile;fatload mmc 0:1 $fdtaddr $fdtfile;fatload mmc
0:1 $ramdiskaddr $ramdiskfile;bootm $loadaddr $ramdiskaddr $fdtaddr
usbboot=setenv bootargs root=/dev/sda1 rw
rootdelay=$rootdelaysecond DVO_OUTPUT=$DVO_OUTPUT
console=$consoledev,$baudrate $othbootargs;usb start;ext2load usb
0:1 $loadaddr /boot/$bootfile;ext2load usb 0:1 $fdtaddr
/boot/$fdtfile;bootm $loadaddr - $fdtaddr
usbfatboot=setenv bootargs root=/dev/ram rw DVO_OUTPUT=$DVO_OUTPUT
console=$consoledev,$baudrate $othbootargs; usb start; fatload usb
0:2 $loadaddr $bootfile; fatload usb 0:2 $fdtaddr $fdtfile; fatload
usb 0:2 $ramdiskaddr $ramdiskfile; bootm $loadaddr $ramdiskaddr
$fdtaddr
usbext2boot=setenv bootargs root=/dev/ram rw DVO_OUTPUT=$DVO_OUTPUT
console=$consoledev,$baudrate $othbootargs; usb start; ext2load usb
0:4 $loadaddr $bootfile; ext2load usb 0:4 $fdtaddr $fdtfile;
ext2load usb 0:4 $ramdiskaddr $ramdiskfile; bootm $loadaddr
$ramdiskaddr $fdtaddr
upgradespi=sf probe 0;setenv startaddr 0;setenv erasesize
a0000;tftp 1000000 $tftppath/$uboot_spi;sf erase $startaddr
$erasesize;sf write 1000000 $startaddr $filesize;sf erase 100000
120000
clearspienv=sf probe 0;sf erase 100000 20000
othbootargs=ramdisk_size=700000 cache-sram-size=0x10000