U-Boot
ATCA-8310 Installation and Use (6806800M72D
)
180
6.2.1.8
Application Boot
The default boot device of the ATCA-8310 is the internal USB disk, or the external USB storage
device. Boot order is defined by a proper boot script stored in the "bootcmd" variable.
The basic requirement is to support a boot mechanism which, by default, boots from the
onboard USB disk module, but to also allow booting from an USB stick automatically if plugged
in at reset.
This specific behavior can be implemented using the generic command "runscript".
6.2.1.8.1 runscript Command
"runscript" takes a list of boot device identifiers and a list of file names. For each specified file
name it will check whether this file name exists on any of the provided devices. If yes, it's
executed, otherwise runscript continues with the next device.
The syntax of runscript is:
runscript device1,device2,… file1,file,… [abort] [<loops>]
In a pseudo programming language, "runscript" does the following:
Repeat <loops> times:
For each <file> provided in <file list>
For each existing <device> in <device list>
For each existing <partition> in <partition list>
For each <filesystem> configured in u-boot
If <file> exists, and is an auto-script image:
Preset shell internal environment variables
Execute the script
If "abort" option is given, terminate here
The default number of loops is 1. If the loops parameter is 0 the procedure is performed in an
endless loop.
Summary of Contents for ATCA-8310
Page 12: ...ATCA 8310 Installation and Use 6806800M72D Contents 12 Contents Contents ...
Page 26: ...ATCA 8310 Installation and Use 6806800M72D 26 List of Figures ...
Page 34: ...ATCA 8310 Installation and Use 6806800M72D About this Manual 34 About this Manual ...
Page 54: ...Hardware Preparation and Installation ATCA 8310 Installation and Use 6806800M72D 54 ...
Page 70: ...Controls Indicators and Connectors ATCA 8310 Installation and Use 6806800M72D 70 ...
Page 162: ...BIOS ATCA 8310 Installation and Use 6806800M72D 162 ...
Page 200: ...U Boot ATCA 8310 Installation and Use 6806800M72D 200 ...
Page 244: ...Intelligent Peripheral Management Controller ATCA 8310 Installation and Use 6806800M72D 244 ...
Page 438: ...CPLD and FPGA ATCA 8310 Installation and Use 6806800M72D 438 ...
Page 442: ...Replacing the Battery ATCA 8310 Installation and Use 6806800M72D 442 ...
Page 444: ...Related Documentation ATCA 8310 Installation and Use 6806800M72D 444 ...
Page 454: ...ATCA 8310 Installation and Use 6806800M72D Sicherheitshinweise 454 ...
Page 456: ...Index ATCA 8310 Installation and Use 6806800M72D 456 ...
Page 457: ...Index ATCA 8310 Installation and Use 6806800M72D 457 ...
Page 458: ...Index ATCA 8310 Installation and Use 6806800M72D 458 ...
Page 459: ......