
KTD-S0045-D Page 44 Windows® Embedded Compact 7 (WEC7) BSP
KTT20/pITX Software Guide
11 Windows
®
Embedded Compact 7 (WEC7) BSP
11.1 U-Boot Settings
The default environment settings intend to load a Linux
®
or Android
TM
image from an ext2/ext3 filesystem
and not from a FAT/FAT32 partition. Two environment arguments have to be changed: bootfile and
mmc_boot or usb_boot. Remove the boot device with the operating system or skip the autoboot operation
with any key. Then type '
printenv' and you see the default arguments:
bootfile=uImage
mmc_boot=run mmc_setup; mmc rescan ${mmcdev}; ext2load mmc ${mmcdev} ${loadaddr} ${bootfile}; bootm ${loadaddr}
usb_boot=run usb_setup; usb start; ext2load usb ${usbdev} ${loadaddr} ${bootfile}; bootm ${loadaddr}
After the edition you should check the modifications with 'printenv' but as the most important action U-
Boot requires the storage of the environment arguments in the SPI
TM
flash with 'saveenv'. The result
screen looks as follows:
Saving Environment to SPI Flash...
SF: Detected SST25VF032B with page size 4096, total 4 MiB
Erasing SPI flash...Writing to SPI flash...done
11.1.1 Boot from microSD Card
Change the arguments with 'editenv':
bootfile=nk.nb0
mmc_boot=dcache off; run mmc_setup; mmc rescan ${mmcdev}; fatload mmc ${mmcdev} ${loadaddr} ${bootfile}; go
${loadaddr}
11.1.2 Boot from USB key
Change the arguments with 'editenv':
bootfile=nk.nb0
usb_boot=dcache off; run usb_setup; usb start; fatload usb ${usbdev} ${loadaddr} ${bootfile}; go ${loadaddr}
Comentários a estes Manuais