Table of Contents
To use preinstalled OMAP3/4 Maverick (10.10) Images apply the following steps
Download the compressed image from http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/
Check the md5sum to verify the image
Writing the image
You should write the raw image to a blank SD card. Make sure you're using at least a 4G SD card (desktop image is 2G uncompressed).
- Place the SD card at your host computer.
- Make sure the SD card is not mounted (just umount it if needed)
Identify the correct raw device name (like /dev/sde - not /dev/sde1)
- Run the following command to write it:
(replacing omap4 and sde with the right values i.e. just omap for a beagle image.)
zcat ./ubuntu-12.04-preinstalled-desktop-armhf+omap4.img.gz |sudo dd bs=4M of=/dev/sde ; sudo sync
Some people have reported issues with this method. If this doesn't work, try the following commands:
- gunzip ubuntu-12.04-preinstalled-desktop-armhf+omap4.img.gz
- sudo dd bs=4M if=ubuntu-12.04-preinstalled-desktop-armhf+omap4.img of=/dev/sde
- sudo sync
MAC (OSX 10.x)
Download the image and extract it with the system archive utility, you should get a .img file if the disk is mounted disk1.. disk2.. not - disk0, unmount it with the following code.
sudo diskutil unmountDisk disk1
Then use the following code to write the image to disk1 (not - disk1s1..)
sudo dd bs=4m if=ubuntu-12.04-preinstalled-server-armhf+omap4.img of=/dev/disk1
If you get any errors trying to run the following code then try reinserting the SD card and trying again after unmounting the disk, or try formatting it first with DiskUtilities
Download the image and extract it using WinZip or some other archive utility. Then use Win32ImageWriter to write the unzipped img file to your flash device.
This is a Windows program for saving and restoring images from removable drives (USB drives, SD Memory cards, etc). It can be used to write boot images (i.e. ubuntu-12.04-preinstalled-desktop-armhf+omap4.img) to a SD Flash device or USB flash device, making it bootable.
Win32DiskImager supports writing an ISO image to USB too, which is very valuable right now at the release of Ubuntu 14.10, because there are problems with the Ubuntu Startup Disk Creator.
The program and source code can be downloaded from here.
This tutorial subpage with screenshots illustrates how to create a USB boot drive from a Lubuntu ISO file. It works in the same way for all current Ubuntu family iso files including the Ubuntu mini.iso version 14.04 LTS (but mini.iso version 12.04 LTS is the only exception).
Booting the image
On Pandaboard A1 and Beagleboard xM until rev A2
Just switch on the board with the SD card inserted.
On Pandaboard A2 and later
- untar with "tar -jxf panda.tar.bz2"
- mount the first partition of the imaged SD card
- Copy MLO and u-boot.bin (extracted from the tar file) to the mounted partition.
- unmount the partition, move the SD card to the panda and boot.
On Beagleboard xM rev A3 and later
- untar with "tar -jxf beaglexm.tar.bz2
- Mount the first SD card partition at your host PC and copy uImage to it. Unmount
Mount the second SD card partition at your host PC and copy vmlinuz-2.6.35-22-omap to <mountpoint>/boot. Unmount
- Switch on the board with the SD card inserted.
This update is needed because of bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/663642. A new kernel is in updates, and can be installed after logging in for the first time.
On OMAP4 Blaze
- untar with "tar -jxf blaze.tar.bz2
- Mount the first SD card partition at your host PC and copy MLO, u-boot.bin, and uImage to it.
- Umount it and just switch on the board with the SD card inserted.
On older Beagleboards
Insert SD card with new image into the beagleboard and reset while holding User1 button on system
On omap3 systems with a modified NAND (i.e. beaglebord C series) do the following:
On a serial console connected to the system, halt any autoboot script and type
setenv bootcmd 'mmc init;mmc rescan;fatload mmc 0 0x82000000 boot.scr;source 0x82000000'; setenv autostart yes; saveenv; boot
The system should start booting (note that this step is only necessary if you have a NAND and the system does not default to reading boot.scr)
Notes about the process
- An attached monitor, mouse and keyboard are expected for these images, the installation process is all graphical after first reboot and the images will boot into a graphical netbook session.
The console is disabled by default, so don't be surprised to see just "Uncompressing Linux... done, booting the kernel." at your console. Please check https://wiki.ubuntu.com/ARM/BeagleEditBootscr to understand how to activate it (on Panda just change ttyS2 to ttyO2).
- The System will expand the root filesystem to fill the SD card on first boot
- After this process completes the system will reboot and prompt for first boot information (create username/password, region, timezone, language support, etc)
- Once this information is filled in, the system should continue with the boot process, after which it will ask for the newly created user to login for the first time (or just boot to the netbook session in case you selected autologin during user creation)
- In case of problems during installation, please join #ubuntu-arm on IRC.