beautypg.com

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

Page 112

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

setenv File_dtp

setenv File_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

setenv serverip

setenv gatewayip

setenv netmask

setenv vxboot 'tftpboot $vxbootfile && setenv bootargs

$vxbootargs && bootvx'

setenv vxbootfile

setenv vxbootargs 'motetsec(0,0)

server>:VxWorks h= e=

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

saveenv