1 switching between firmware images, 1 image swap using bootloader predefined commands, Switching between firmware images – Kontron AM4220 User Manual
Page 69
54
www.kontron.com
When shipped from factory, image0 and image1 contain identical bootloader and firmware images and
image0 system is booted by default. Image1 serves as a backup system which is started in case that image0
fails for some reason. It is recommended to always boot and work from image0 and leave image1 firmware
untouched. This allows easy activation of the original firmware in case of any errors or corruption in the
active image.
5.3.1
Switching between Firmware Images
The IPMI command used for image swap can be executed either from the bootloader shell with a predefined
script command or with a specific ‘ipmitool’ command either from the board itself, from an ATCA carrier or
from an external server.
5.3.1.1
Image swap using bootloader predefined commands
The current firmware image is displayed during startup. It can be changed from the bootloader. Below are the
available commands to change boot image. Those commands can be used in the U-Boot.
• Change to image 0
Kontron T5516#
run activate_image0
• Change to image 1
Kontron T5516#
run activate_image1
Using one of these commands, the board will immediately boot the selected image.
0x19C60000
0x2060000
32384KiB
mtd4
data0b
Second data partition (typically
writable data), configured as JFFS2
partition in bootloader
0x1BC00000
0x4000000
512KiB
mtd5
uboot1
Secondary bootloader image
0x1BC80000
0x4080000
128KiB
mtd6
env1a
Secondary Redundant bootloader
environment
0x1BCA0000
0x40A0000
128KiB
mtd7
env1b
Secondary Redundant bootloader
environment
0x1BCC0000
0x40C0000
32384KiB
mtd8
data1a
Secondary First data partition
(typically read-only OS)
0x1DC60000
0x6060000
32384KiB
mtd9
data1b
Second data partition (typically
writable data), configured as JFFS2
partition in bootloader
Physical address
Offset in flash
Size
Linux parti-
tion
Designation
Description