Emerson MVME2500 Manuel D’Utilisation

Page de 146
Boot System
MVME2500 Installation and Use (6806800L01H)
104
U-Boot aborts the boot sequence and enters into a command line interface mode. 
6.3
Boot Options
6.3.1
Booting from a Network
In this mode, U-Boot downloads and boots the Linux kernel from an external TFTP server and 
mounts a root file system located on a network server.
1.
Make sure that the 
kernel, dtb,
 and 
ramdisk
 are accessible to 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 bootargs 'root=/dev/ram rw console=ttyS0,9600n8 
ramdisk_size=700000 cache-sram-size=0x10000'
saveenv
3. Transfer the files through the TFTP from the server to the local memory.
tftp 1000000 <kernel_image>
tftp 2000000 <ramdisk>
tftp C00000 <kernel dtb>
 
4. Boot the Linux from the memory.
bootm 1000000 2000000 c00000
 Enter the command setenv bootdelay -1; saveenv  to disable the U-Boot auto-boot 
feature and let the U-Boot directly enter the command line interface after the next 
reboot/power up.