beautypg.com

2 norboot, Bsp operations – Artesyn COMX-P4080 Installation and Use (August 2014) User Manual

Page 114

background image

BSP Operations

COMX-P4080 COM Express Module Installation and Use (6806800L20C)

114

The following are the critical environment variables for "ramboot":

The following are examples of critical environment variables.

7.19.2 NORboot

COMX-P4080 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.

The following are the critical environment variables for "norboot".

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

norfsaddr

-

RAMDISK address on NOR FLASH

norbootaddr

-

Linux kernel address on NOR FLASH

norfdtaddr

-

DTB address on NOR FLASH