Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3010545
  • 博文数量: 674
  • 博客积分: 17881
  • 博客等级: 上将
  • 技术积分: 4849
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-17 10:15
文章分类

全部博文(674)

文章存档

2013年(34)

2012年(146)

2011年(197)

2010年(297)

分类: LINUX

2012-06-29 14:04:50

To use preinstalled OMAP3/4 Precise (12.04) images, apply the following steps:

Downloading

Download the compressed image from http://cdimage.ubuntu.com/releases/12.04/

  • For omap3 platforms, use ubuntu-12.04-preinstalled-desktop-armhf+omap.img.gz
  • For omap4 based systems, use ubuntu-12.04-preinstalled-desktop-armhf+omap4.img.gz

    Warning /!. Warning Warning /!. 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).

Linux

Steps:

  1. Place the SD card at your host computer.
  2. Make sure the SD card is not mounted (just umount it if needed)
  3. Identify the correct raw device name (like /dev/sde - not /dev/sde1)

  4. 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

Warning /!. Some people have reported issues with this method. If this doesn't work, try the following commands:

  1. gunzip ubuntu-12.04-preinstalled-desktop-armhf+omap4.img.gz
  2. sudo dd bs=4M if=ubuntu-12.04-preinstalled-desktop-armhf+omap4.img of=/dev/sde
  3. 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

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.

win32-imagewriter.png

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.

Booting the image

On Pandaboard and BeagleXM 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

Warning /!. 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; 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)

阅读(1518) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~