beautypg.com

3 nandboot, 4 nfsboot, 3 nandboot 7.19.4 nfsboot – Artesyn COMX-P4080 Installation and Use (August 2014) User Manual

Page 115: Bsp operations

background image

BSP Operations

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

115

The following are examples of critical environment variables.

7.19.3 NANDboot

COMX-P4080 has a U-Boot variable called "nandboot".

nandboot=setenv bootargs root=/dev/$jffs2nand rw

console=$consoledev,$baudrate rootfstype=jffs2 $hwbootargs

$othbootargs;bootm $norbootaddr - $norfdtaddr

The "nandboot" will load Linux kernel and DTB from NOR flash into RAM and then boot. JFFS2
will then mount on the file system on NAND flash as rootfs.

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

Below are examples of critical environment variables:

7.19.4 NFSboot

COMX-P4080 has a U-Boot variable called "nfsboot".

=> setenv norfsaddr E9000000

=> setenv norbootaddr EE000000

=> setenv norfdtaddr EFD00000

jffs2nand

-

MTD device for JFFS2 rootfs on NAND FLASH

norbootaddr

-

Linux kernel address on NOR FLASH

norfdtaddr

-

DTB address on NOR FLASH

=> setenv jffs2nand mtdblock7

=> setenv norbootaddr EE000000

=> setenv norfdtaddr EFD00000