The atom-pc MACHINE is tested on the following platforms:
- Asus EeePC 901
- Acer Aspire One
- Toshiba NB305
- Intel® Embedded Development Board 1-N450 (Black Sand)
The atom-pc MACHINE is likely to work on many unlisted devices based on the Intel® Atom™ processor. The MACHINE type supports ethernet, wifi, sound, and i915 graphics by default. Additionally, it supports common PC input devices, busses, and so forth.
Depending on the device, the image can boot from a traditional hard-disk, a USB device, or over the network. Writing Poky-generated images to physical media is straightforward with a caveat for USB devices. The following examples assume the target boot device is /dev/sdb. Be sure to verify this and use the correct device as the following commands are run as root and are not reversable.
Building the Image for USB
Follow these steps to build the image to boot from a USB Device:
- Build a live image. This image type consists of a simple filesystem without a partition table, which is suitable for USB keys, and has the default setup for machines based on the Intel® Atom™ processor. This image type is built automatically for any image you build. For example:
$ bitbake core-image-minimal
- Use the "dd" utility to write the image to the raw block device. For example:
# dd if=core-image-minimal-atom-pc.hddimg of=/dev/sdb
If the device fails to boot and displays "Boot error", it is likely the BIOS cannot understand the physical layout of the disk. Or it expects a particular layout and cannot handle what it is finding. In this case, two possible solutions to the problem exist: changing the BIOS USB Device setting or use the USB-ZIP mode.
BIOS USB Device Setting
Change the BIOS USB Device setting to HDD mode. The label will vary by device, but the idea is to force BIOS to read the Cylinder/Head/Sector geometry from the device.
Without a BIOS USB Device setting, the BIOS generally boots the device in USB-ZIP mode.
- Configure the USB device for USB-ZIP mode, where 63 and 62 are the head and sector count as reported by fdisk:
# mkdiskimage -4 /dev/sdb 0 63 62
- Remove and reinsert the device to allow the kernel to detect the new partition layout.
- Copy the contents of the Poky image to the USB-ZIP mode device:
# mount -o loop core-image-minimal-atom-pc.hddimg /tmp/image
# mount /dev/sdb4 /tmp/usbkey
# cp -rf /tmp/image/* /tmp/usbkey
- Install the syslinux boot loader:
# syslinux /dev/sdb4
- Install the boot device in the target board and configure the BIOS to boot from it.
For more details on the USB-ZIP scenario, see the syslinux documentation.