![Artesyn COMX-P40x0 ENP2 Manual Download Page 120](http://html1.mh-extra.com/html/artesyn/comx-p40x0-enp2/comx-p40x0-enp2_manual_2977668120.webp)
BSP
COMX-P40x0 ENP2 Installation and Use (6806800R95B
)
120
7.23.1 RAMboot
COMX-P40x0 has a U-Boot variable called "ramboot".
setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate
$hwbootargs $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp
$loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr
$ramdiskaddr $fdtaddr
"ramboot" will first load RAMDISK, Linux kernel and DTB into RAM through network by TFTP
then boot.
The following are the critical environment variables for "ramboot":
The following are examples of critical environment variables.
7.23.2 NORboot
COMX-P40x0 has a U-Boot variable called "norboot"
setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate
$hwbootargs $othbootargs;bootm $norbootaddr $norfsaddr $norfdtaddr
"norboot" will load RAMDISK, Linux kernel and DTB from NOR Flash into RAM then boot.
ethact
-
Active ethernet port
ramdiskfile
-
RAMDISK file name on TFTP server
bootfile
-
Linux kernel file name on TFTP server
fdtfile
-
DTB file name on TFTP server
=> setenv ethact FM1@DTSEC1
=> setenv ramdiskfile comx_p4080/COMX_P4080_V100R00/rootfs_ext2.img
=> setenv bootfile comx_p4080/COMX_P4080_V100R00/uImage
=> setenv fdtfile comx_p4080/COMX_P4080_V100R00/comx.dtb
Summary of Contents for COMX-P40x0 ENP2
Page 1: ...COMX P40x0 ENP2 Installation and Use P N 6806800R95B August 2014...
Page 8: ...COMX P40x0 ENP2 Installation and Use 6806800R95B 8 List of Tables...
Page 10: ...COMX P40x0 ENP2 Installation and Use 6806800R95B 10 List of Figures...
Page 26: ...Introduction COMX P40x0 ENP2 Installation and Use 6806800R95B 26...
Page 56: ...Controls LEDs and Connectors COMX P40x0 ENP2 Installation and Use 6806800R95B 56...
Page 78: ...Functional Description COMX P40x0 ENP2 Installation and Use 6806800R95B 78...
Page 126: ...Related Documentation COMX P40x0 ENP2 Installation and Use 6806800R95B 126...
Page 128: ...COMX P40x0 ENP2 Installation and Use 6806800R95B Safety Notes 128...
Page 129: ......