BSP
COMX-P40x0 ENP2 Installation and Use (6806800R95B
)
124
setenv bootargs root=/dev/$mmcbdev rw rootdelay=30
console=$consoledev,$baudrate $hwbootargs
$othbootargs;mmcinfo;fatload mmc 0:1 $loadaddr
/boot/$bootfile;fatload mmc 0:1 $fdtaddr /boot/$fdtfile;bootm
$loadaddr - $fdtaddr
COMX-P40x0 also has a U-Boot variable called "mmcext2boot".
setenv bootargs root=/dev/$mmcbdev rw rootdelay=30
console=$consoledev,$baudrate $hwbootargs
$othbootargs;mmcinfo;ext2load mmc 0:2 $loadaddr
/boot/$bootfile;ext2load mmc 0:2 $fdtaddr /boot/$fdtfile;bootm
$loadaddr - $fdtaddr
The "mmcfatboot" will load Linux kernel and DTB from the FAT partition (1st partition) on
MMC/SDHC card into RAM and then boot. EXT2 partition (2nd partition) will mount on this
card as rootfs.
"mmcext2boot" will load Linux kernel and DTB from the EXT2 partition (2nd partition) on
MMC/SDHC card into RAM and then boot. The same partition will mount on this card as rootfs.
The following are the critical environment variables for "mmcfatboot" and "mmcext2boot".
Below are examples of critical environment variables.
Similar to the USB drive, users need to create two partitions on the MMC/SDHC card. FAT32 is
the first partition and the EXT2 is the second partition. Both partitions contain a directory
/boot/ and the directory has kernel DTB files. EXT2 partition contains the rootfs which can be
from rootfs_nfs.tar.gz.
bootfile
-
Linux kernel file name
fdtfile
-
DTB file name
=> setenv bootfile COMX_P4080_V100R00/uImage
=> setenv fdtfile COMX_P4080_V100R00/comx.dtb
Содержание COMX-P40x0 ENP2
Страница 1: ...COMX P40x0 ENP2 Installation and Use P N 6806800R95B August 2014...
Страница 8: ...COMX P40x0 ENP2 Installation and Use 6806800R95B 8 List of Tables...
Страница 10: ...COMX P40x0 ENP2 Installation and Use 6806800R95B 10 List of Figures...
Страница 26: ...Introduction COMX P40x0 ENP2 Installation and Use 6806800R95B 26...
Страница 56: ...Controls LEDs and Connectors COMX P40x0 ENP2 Installation and Use 6806800R95B 56...
Страница 78: ...Functional Description COMX P40x0 ENP2 Installation and Use 6806800R95B 78...
Страница 126: ...Related Documentation COMX P40x0 ENP2 Installation and Use 6806800R95B 126...
Страница 128: ...COMX P40x0 ENP2 Installation and Use 6806800R95B Safety Notes 128...
Страница 129: ......