
Appendices 203
Changing the boot image in U-Boot monitor mode
You can access U-Boot monitor mode in one of the following two ways:
• During boot, when the Hit any key to stop autoboot prompt appears, pressing any key before
the timer expires brings the SP manager to U
-Boot monitor mode.
• If boot fails, the SP manager automatically enters U
-Boot monitor mode.
The U
-Boot hw_boot command boots from either the first or second image according to the value
of the currentimage environment variable. You can use the following procedures to change which
image is used for booting.
To boot in U
-Boot monitor mode:
1. Access the SP manager command line and log in as root.
2. Enter the
reboot command.
3. During boot, when the Hit any key to stop autoboot prompt appears, press any key before the
time elapses to stop the boot. The U
-Boot monitor prompt appears.
4. Enter
help to see a list of supported commands.
To boot from an alternate image in U
-Boot monitor mode:
1. Go to U
-Boot monitor mode.
2. Set the
currentimage environment variable to the number of the image you want to boot.
For example, to boot from image2 enter setenv currentimage 2, as shown in the following
screen example.
3. Enter the
hw_boot command.
To boot in single user mode from U
-Boot monitor mode:
1. Boot in U
-Boot monitor mode. If needed, see To boot in U-Boot monitor mode: on page 203.
2. Boot in single
-user mode by entering hw_boot single, as shown in the following example.
# reboot
=>
=> help
=> setenv currentimage N
=> setenv currentimage 2
=> hw_boot
=> hw_boot single
Kommentare zu diesen Handbüchern