UPK

From The Neuros Technology Wiki

Jump to: navigation, search



The firmware package for the Neuros OSD comes in the form of a .upk file.

The package format changed a bit over the time. The current package format, used in Arizona, contains the following parts: msp430 firmware, uboot, uboot parameters, kernel, rootfs (which all go to internal memory) and extended area packages (which go to the CF card). The latter wasn't present in TORFU.

The Image:Upk structure osd1.0.pdf document describes the file format used in Arizona.

The source code for the tool to create a packages is in linux-r3-extra-apps/upgrade-tools/uboot-tools/package.c (this tool is called from neuros-bsp/build-helper.sh which is currently the main build script). Any inconsistency between the document and code, as usual code take precedence.

The package is flashed entirely from u-boot (the bootloader), this is more or less the same in TORFU and AZ. In AZ the extended area packages are decompressed to CF card after rebooting into the new system that u-boot just flashed.

The following diagram shows the various possible paths that the firmware upgrade can take: . The references to "NAND" are about the upcoming units that will replace the requirement for a CF card with internal NAND memory.

Personal tools