Emerson MVME2500 Manuel D’Utilisation

Page de 146
Boot System
MVME2500 Installation and Use (6806800L01H)
106
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>
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