Summary

Adding support for different sub-architectures of the armel architecture to ubuntus build system and produce images for each supported board flavour.

Rationale

Due to the nature of armel hardware it is required that every board flavour has its own kernel and boot loader. There is sadly no such thing like a standarised BIOS as you find it on x86 based systems nor something similar to open-firmware as you find it on power-pc hardware.

The above requirement enforces that we build separate images for every board flavour in the armel architecture. An image built with the redboot boot loader built for an imx51 board would for example not boot on a OMAP beagle board, either of them need their specific image with the specific boot loader and kernel sub-architecture.

In jaunty the only officially supported armel image we built was aimed at the imx51 sub-architecture so we could get through with a general armel image that was focused at this architecture and did not need sub-architecture differentiation.

In Karmic the situation has changed and we will start to support more than the imx51 sub-architecture. The image build system needs to be adjusted to support building images for multiple sub-architectures.

Design

Luckily our build system already has example code to do this in the form of the ps3 power-pc sub-architecture. Images for such sub-architectures currently follow a specific naming scheme that appends the sub-architecture to the architecture name with a plus sign. We will adopt this scheme for the armel builds as below.

ubuntu-$version-$flavour-$architecture+$subarchitecture.img

Implementation

To achieve the implementation of this the following changes to the existing build system are necessary:


CategorySpec

Specs/ArmelSubarchitectureImageBuilds (last edited 2009-07-07 16:13:25 by p5098ed03)