2 deploying bsp images on nor flash – Artesyn SCP-P4040-4G-ENP2 Installation and Use (August 2014) User Manual

Page 66

Advertising
background image

BSP

SCP-P4040-4G-ENP2 Installation and Use (6806800P60B)

66

10. The following commands should be executed in U-boot command line.

11. Setup the U-Boot environment variables for the network settings. Example:

=> setenv ethaddr 00:01:af:12:23:01

=> setenv ipaddr 192.168.0.99

=> setenv netmask 255.255.255.0

=> setenv gatewayip 192.168.0.1

=> setenv serverip 192.168.0.100

=> setenv ethact FM1@DTSEC1

12. Setup the U-Boot environment variables for upgrade files. Example:

=> setenv rcwfile comx_p4040/COMX_P4040_V100B00/rcw.bin

=> setenv fmanfile

comx_p4040/COMX_P4040_V100B00/fsl_fman_ucode_P3_P4_P5_101_8.bin

=> setenv bootfile comx_p4040/COMX_P4040_V100B00/uImage

=> setenv norfsfile

comx_p4040/COMX_P4040_V100B00/rootfs_ext2.img

=> setenv fdtfile comx_p4040/COMX_P4040_V100B00/comx.dtb

=> setenv ubootfile comx_p4040/COMX_P4040_V100B00/u-boot.bin

=> setenv rootpath /tftpboot/comx_p4040/rootfs_nfs

13. Test that the network and filename settings can download the files successfully. Example:

=> tftpboot $loadaddr $rcwfile

=> tftpboot $loadaddr $fmanfile

=> tftpboot $loadaddr $bootfile

=> tftpboot $loadaddr $norfsfile

=> tftpboot $loadaddr $fdtfile

=> tftpboot $loadaddr $ubootfile

7.4.2

Deploying BSP Images on NOR FLASH

Following are the steps to delpoy BSP images on NOR FLASH:

1. Upgrade RCW, FMAN uCode, kernel, RAMDISK image, U-Boot and DTB on NOR FLASH

individually. Example:
=> run updrcw; run updfman; run updkernel; run updnorfs; run

updfdt; run upduboot

2. Erase previous U-Boot environment settings using the => run eraenv command.

3. Reset the board using the => reset command. The board will boot up with new BSP.

Advertising