Table 5-10 On-Board 128 Mb Nor Flash Layout - Kontron AdvancedMC AM4211 User Manual

Table of Contents

Advertisement

After Linux startup, the flash is divided into 8 partitions (mtd0-mtd7) associated to the physical addresses as
shown in the AM4211 partition scheme below. Note that association of MTD partitions to image depends on
the started image as shown above.
Table 5-10:On-board 128 MB NOR Flash layout
Physical Address
Offset in flash
0x17C00000
0
0x17CE0000
0xE0000
0x17D20000
0x120000
0x1A520000
0x2920000
0x1BC00000
0x4000000
0x1BCE0000
0x40E0000
0x1BD20000
0x4120000
0x1E520000
0x6920000
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.2.0.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
run activate_image0
Kontron T5519#
•Change to image 1
run activate_image1
Kontron T5519#
Using one of these commands, the board will immediately boot the selected image.
5.2.0.2
Image swap using ipmitool
Image swap can also be achieved using the ipmitool from the Linux shell of the board. The following
command syntax must be used (IMAGE: 0 or 1):
ipmitool raw 0x3e 0x20 0x00 <IMAGE>
~ #
It is possible to invoke the ipmitool with the same parameters from the AMC carrier that holds the AM4211 or
even from external server provided that the ipmitool installed supports the Kontron OEM extensions.
Size
Linux Partition Designation
896KiB
mtd0
uboot
256KiB
mtd1
env
40960KiB
mtd2
kernel_rootfs
23424KiB
mtd3
user_jffs2
896KiB
mtd4
uboot_backup
256KiB
mtd5
env_backup
40960KiB
mtd6
kernel_rootfs_backup
23424KiB
mtd7
user_jffs2_backup
39
Description
Active bootloader image
Active bootloader configuration
variables
Active linux and Root file system
Active user filesystem
Backup bootloader
Backup bootloader configuration
variables
Backup Linux and root filesystem
Backup user file system
AM4211
www.kontron.com

Advertisement

Table of Contents
loading

Table of Contents