4 booting from an sd card, 5 booting vxworks through the network – Artesyn MVME2500 ECC Installation and Use (August 2014) User Manual

Page 112

Advertising
background image

Boot System

MVME2500-ECC Installation and Use (6806800N30F)

112

6.3.4

Booting from an SD Card

1.

Make sure that the

kernel, dtb

, and

ramdisk

are saved in the SD card with FAT

partition.

2. Configure the U-Boot environment variable:

setenv File_uImage <kernel_image>

setenv File_dtp <kernel dtb>

setenv File_ramdisk <ramdisk>

saveenv

3.

Initialize SD card:

mmcinfo

4. Load the files from the SD card to the memory:

# option: mmc - interface, 0:1 - device 0 partition 1

fatload mmc 0:1 1000000 $File_uImage

fatload mmc 0:1 2000000 $File_ramdisk

fatload mmc 0:1 c00000 $File_dtp

5. Boot the Linux in memory:

bootm 1000000 2000000 c00000

6.3.5

Booting VxWorks Through the Network

In this mode, the U-Boot downloads and boots VxWorks from an external TFTP server.

1.

Make sure that the VxWorks image is accessible by the board from the TFTP server.

2. Configure U-Boot environment variables:

setenv ipaddr <IP address of MVME2500-ECC>

setenv serverip <IP address of TFTP server>

setenv gatewayip <gateway IP>

setenv netmask <netmask>

setenv vxboot 'tftpboot $vxbootfile && setenv bootargs

$vxbootargs && bootvx'

setenv vxbootfile <VxWorks_image>

setenv vxbootargs 'motetsec(0,0)<IP address of TFTP

server>:VxWorks h=<IP address of TFTP server> e=<IP address of

MVME2500>:ffffff00 b=<unused IP> u=vxworks pw=vxworks f=0x80'

saveenv

Advertising