There are two ways to install Ubuntu flavored images released by the Linaro Developer Platform Team:
Using pre-built images that can be dd’d to an SD card.
This document covers installation using linaro-media-create. Follow this link for simplified instructions on pre-built images.
First you need to download two release artifacts, combine them to a complete binary image and flash them on SD-Card:
- User eXperience root filesystem tarball that is board independent.
Board package (hardware pack) that can provides the board specific bits like kernel, bootloader, board specific middleware, etc… You can follow this link to determine which hardware pack you need.
Links to root filesystems and hardware packs are linked from the release page referenced in our monthly release announcements. We also have archives of old milestone builds as well as daily snapshots.
After downloading both artifacts, you can flash your image to the SD card by using the linaro-media-create tool.
From package in Ubuntu
The following commands will add the Linaro tools ppa to your system and install linaro-media-create:
$ sudo add-apt-repository ppa:linaro-maintainers/tools $ sudo apt-get update $ sudo apt-get install linaro-image-tools
Generating an image for hardware
- Insert your SD card into the host machine (the machine you downloaded the image and hardware pack).
Ensure you know the device node for your sd card reader. In the following example, we assume /dev/mmcblk0. If you are unsure of the device node of your SD card, remove and reinsert the card and type dmesg on the command line. The last few lines should give you the device node of the card you just inserted. Example line “sdb: sdb1 sdb2” shows node /dev/sdb had partitions sdb1 and 2. Use the node name in the linaro-media-create command line.
Set the environment variable BOARD. You can determine what values are supported by running
$ linaro-media-create --help | grep dev
In the directory where you downloaded the image and the hardware pack, run linaro-media-create
$ sudo linaro-media-create --rootfs ext3 --mmc /dev/mmcblk0 --binary linaro-TARBALL.tar.gz --hwpack hwpack_linaro.tar.gz --dev $BOARD
- Plug the SD card in your board and boot.
Tips: Coping without an SD card
Generating an image for QEMU
Generally this is the same as for generating images for hardware, except that you use the --image-file file.img argument instead of --mmc /dev/mmcblk0 in order to write the image to a file rather than an SD card. See https://wiki.linaro.org/Resources/HowTo/Qemu for further information for particular QEMU board models.
Leave a Reply
You must be logged in to post a comment.