ARMPreinstalledSDCardImages

Differences between revisions 2 and 3
Revision 2 as of 2010-05-19 10:20:27
Size: 1663
Editor: p5098ed03
Comment:
Revision 3 as of 2010-05-19 10:28:37
Size: 2554
Editor: p5098ed03
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
 * A new initramfs tool will be created to adjust the initial setup of fstab, flash-kernel, sudoers, system groups and loopback networking. This tool will also extend the ext3 partition to the full size of the device as well as regenerate the UUID for usage in fstab and on teh kernel cmdline. We will call this tool jasper. Research has to be done in the installer to guarantee that all adjustments jasper does are identical to a normal ubuntu install.
 * livecd-rootfs will get support for using genext2fs/tune2fs to create ext3 images instead of a squashfs
 * livecd-rootfs will be changed to install jasper instead of casper with a special commandline switch.
 * The oem-config packages will be changed to include jasper in the removal task before it rebuilds the initramfs.
Line 25: Line 29:
== Unresolved issues == == Outstanding issues ==
Line 27: Line 31:
 * Research exactly which file changes are done by debian-installer/ubiquity for an initial system setup.

Summary

With the maverick ARM release we will start to support several SoCs that only come with a single disk like device. On these boards the traditional installer approach of booting from one media to install to another is not workable anymore. To solve this problem images with a preinstalled system that do the hardware specific configuration as well as the user specific configuration during first boot will be created by our build system.

Release Note

Lucid ARM now comes with images that do not need installation anymore. Instead the image configures itself on first boot.

Design

Today the live image builders create a squashfs which then gets used by a special boot implementation (casper) to run an installable live session. We will adjust the live image build system to instead create ext3 images to be used by a newly implemented bootprocess (suggestion: jasper) which does the hardware specific setup on first boot, expands the ext3 filesystem to the full size of the media and then boots into oem-config for initial user configuration. The oem-config process removes itself after running and rebuilds the initramfs. We will use this existing functionallity to remove jasper alongside so on second boot the system behaves like any other ubuntu install.

Implementation

  • A new initramfs tool will be created to adjust the initial setup of fstab, flash-kernel, sudoers, system groups and loopback networking. This tool will also extend the ext3 partition to the full size of the device as well as regenerate the UUID for usage in fstab and on teh kernel cmdline. We will call this tool jasper. Research has to be done in the installer to guarantee that all adjustments jasper does are identical to a normal ubuntu install.
  • livecd-rootfs will get support for using genext2fs/tune2fs to create ext3 images instead of a squashfs
  • livecd-rootfs will be changed to install jasper instead of casper with a special commandline switch.
  • The oem-config packages will be changed to include jasper in the removal task before it rebuilds the initramfs.

Test/Demo Plan

  • Write an image to SD card and run it on an ARMv7 system.

Outstanding issues

  • Research exactly which file changes are done by debian-installer/ubiquity for an initial system setup.


CategorySpec

Specs/M/ARMPreinstalledSDCardImages (last edited 2010-05-19 10:51:49 by p2238-ipbf7204marunouchi)