beautypg.com

3 configuring u-boot to boot from flash – Artesyn ATCA-F120 Installation and Use (August 2014) User Manual

Page 91

background image

U-Boot Firmware

ATCA-F120 Installation and Use (6806800D06J)

91

5. Configure U-Boot to boot from RAM disk

setenv bootcmd run $ramboot

6. Specify the name of the kernel image file

setenv bootfile

7. Make all previously done configurations persistent.

saveenv

8. Boot Linux by entering:

boot

5.3.3

Configuring U-Boot to Boot from Flash

The ATCA-F120 provides two redundant boot flashes which contain the U-boot images and
also Linux kernel images. It also provides two redundant user flashes which contain two
redundant root file systems. The user flashes are NAND flash devices. See also

Table "Linux

Devices" on page 96

for details.

This section describes how to configure U-boot to boot a Linux kernel stored in the boot flash
and to mount the root file system in the user flash. The procedure uses the U-Boot script
flashboot

which has been predefined by Artesyn.

Procedure

In order to configure U-boot to boot the Linux kernel from the on-board boot flash, proceed as
follows.

1. Connect to U-boot as described in

Accessing U-Boot via the Serial Console

on page 87

.

2. Configure U-boot to persistently boot from flash, i.e. make the configuration

persistent.
setenv bootcmd run $flashboot

3. Depending on your system configuration, you may want to specify network

parameters as follows:
setenv serverip

setenv serverip

setenv netmask