3 updating older versions – Kontron AM4204 User Manual

Page 76

Advertising
background image

61

AM4204

www.kontron.com

This will update flash image1 firmware, MMC firmware and FRU data in case that the old version is GA 2.04 or
higher. Please refer to

5.3.4.3 for updating from GA 2.03 or earlier versions.

• Activate image1 and reboot to WindRiver Linux prompt

#

ipmitool raw 0x3e 0x20 0 1

#

reboot

• Mount NFS file system to AM4204 directory tree

#

portmap

#

mkdir /mnt/nfs

#

mount <server_ip>:<exported_fs> /mnt/nfs

• Install update package to image0

#

kex-flashimage --verify --update --image backup --file /mnt/nfs/am42xx-wr-GA-2.05.pkg

Note that this is the same command which has been used to update image1 before. The reason is that an
image swap was performed before reboot. Thus, image1 is now active and image0 is the backup image which
is updated using the same command.

• Activate image0 and reboot to WindRiver Linux prompt

#

ipmitool raw 0x3e 0x20 0 0

#

reboot

Now, flash image0 and image1 firmware, MMC firmware and FRU data are updated to the new release. The
image0 and image1 JFFS2 config partitions are deleted and will be re-initialized upon next restart of the
respective image.

5.3.4.3

Updating older versions

The kex-flashimage tool installed on GA 2.03 or lower is not capable to update MMC firmware and the boards
FRU data. Thus an additional installation step is necessary before following the update procedure described
in chapter 5.3.4.2.

Contradictory to the standard update procedure, updating older versions starts from image1 (backup image)
prompt.

• Activate image1 and reboot to WindRiver Linux prompt

#

ipmitool raw 0x3e 0x20 0 1

#

reboot

• Boot to WindRiver Linux prompt and mount NFS file system to AM4204 directory tree

#

portmap

#

mkdir /mnt/nfs

#

mount <server_ip>:<exported_fs> /mnt/nfs

• Install update package to image0 (backup image now)

#

kex-flashimage --verify --update --image backup --file /mnt/nfs/am42xx-wr-GA-2.05.pkg

Advertising