分类: LINUX
2012-06-29 14:04:50
To use preinstalled OMAP3/4 Precise (12.04) images, apply the following steps:
DownloadingDownload the compressed image from http://cdimage.ubuntu.com/releases/12.04/
Warning Check the md5sum to verify 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).
LinuxSteps:
Identify the correct raw device name (like /dev/sde - not /dev/sde1)
(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 syncSome people have reported issues with this method. If this doesn't work, try the following commands:
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 disk1Then 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/disk1If 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
Windows (XP/Vista/7)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. It currently does not support writing an ISO image to usb.
This program and source code can be downloaded from here.
On Pandaboard and BeagleXM just switch on the board with the SD card inserted.
On older BeagleboardsInsert 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;fatload mmc 0 0x82000000 boot.scr;source 0x82000000'; setenv autostart yes; saveenv; bootThe 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)