summaryrefslogtreecommitdiffstats
path: root/README.hardware
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2014-04-10 04:02:13 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-10 10:13:55 +0100
commitdb80f796e78746014a0f9497638e5c6fd2953ef0 (patch)
tree0a918de16b387d56bac3b4750f0ceb543a096acd /README.hardware
parenta7d978cde201de7fa32fa6b0de272bd0f81790d2 (diff)
downloadpoky-db80f796e78746014a0f9497638e5c6fd2953ef0.tar.gz
README.hardware: update with Texas Instruments Beaglebone instructions
Replaces outdated Beagleboard instructions with Beaglebone Black (and White). (From meta-yocto rev: 283b51b0149f7e5838bd1c8465451897baf0bf44) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.hardware')
-rw-r--r--README.hardware78
1 files changed, 78 insertions, 0 deletions
diff --git a/README.hardware b/README.hardware
index 68e1dd2f89..37fdab08b0 100644
--- a/README.hardware
+++ b/README.hardware
@@ -46,6 +46,7 @@ Hardware Reference Boards
46 46
47The following boards are supported by the meta-yocto-bsp layer: 47The following boards are supported by the meta-yocto-bsp layer:
48 48
49 * Texas Instruments Beaglebone (beaglebone)
49 * Freescale MPC8315E-RDB (mpc8315e-rdb) 50 * Freescale MPC8315E-RDB (mpc8315e-rdb)
50 51
51For more information see the board's section below. The appropriate MACHINE 52For more information see the board's section below. The appropriate MACHINE
@@ -179,6 +180,83 @@ USB Device:
179 http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=blob_plain;f=doc/usbkey.txt;hb=HEAD 180 http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=blob_plain;f=doc/usbkey.txt;hb=HEAD
180 181
181 182
183Texas Instruments Beaglebone (beaglebone)
184=========================================
185
186The Beaglebone is an ARM Cortex-A8 development board with USB, Ethernet, 2D/3D
187accelerated graphics, audio, serial, JTAG, and SD/MMC. The Black adds a faster
188CPU, more RAM, eMMC flash and a micro HDMI port. The beaglebone MACHINE is
189tested on the following platforms:
190
191 o Beaglebone Black A6
192 o Beaglebone A6 (the original "White" model)
193
194The Beaglebone Black has eMMC, while the White does not. Pressing the USER/BOOT
195button when powering on will temporarily change the boot order. But for the sake
196of simplicity, these instructions assume you have erased the eMMC on the Black,
197so its boot behavior matches that of the White and boots off of SD card. To do
198this, issue the following commands from the u-boot prompt:
199
200 # mmc dev 1
201 # mmc erase 0 512
202
203To further tailor these instructions for your board, please refer to the
204documentation at http://www.beagleboard.org/bone and http://www.beagleboard.org/black
205
206From a Linux system with access to the image files perform the following steps
207as root, replacing mmcblk0* with the SD card device on your machine (such as sdc
208if used via a usb card reader):
209
210 1. Partition and format an SD card:
211 # fdisk -lu /dev/mmcblk0
212
213 Disk /dev/mmcblk0: 3951 MB, 3951034368 bytes
214 255 heads, 63 sectors/track, 480 cylinders, total 7716864 sectors
215 Units = sectors of 1 * 512 = 512 bytes
216
217 Device Boot Start End Blocks Id System
218 /dev/mmcblk0p1 * 63 144584 72261 c Win95 FAT32 (LBA)
219 /dev/mmcblk0p2 144585 465884 160650 83 Linux
220
221 # mkfs.vfat -F 16 -n "boot" /dev/mmcblk0p1
222 # mke2fs -j -L "root" /dev/mmcblk0p2
223
224 The following assumes the SD card partitions 1 and 2 are mounted at
225 /media/boot and /media/root respectively. Removing the card and reinserting
226 it will do just that on most modern Linux desktop environments.
227
228 The files referenced below are made available after the build in
229 build/tmp/deploy/images.
230
231 2. Install the boot loaders
232 # cp MLO-beaglebone /media/boot/MLO
233 # cp u-boot-beaglebone.img /media/boot/u-boot.img
234
235 3. Install the root filesystem
236 # tar x -C /media/root -f core-image-$IMAGE_TYPE-beaglebone.tar.bz2
237
238 4. If using core-image-base or core-image-sato images, the SD card is ready
239 and rootfs already contains the kernel, modules and device tree (DTB)
240 files necessary to be booted with U-boot's default configuration, so
241 skip directly to step 8.
242 For core-image-minimal, proceed through next steps.
243
244 5. If using core-image-minimal rootfs, install the modules
245 # tar x -C /media/root -f modules-beaglebone.tgz
246
247 6. If using core-image-minimal rootfs, install the kernel uImage into /boot
248 directory of rootfs
249 # cp uImage-beaglebone.bin /media/root/boot/uImage
250
251 7. If using core-image-minimal rootfs, also install device tree (DTB) files
252 into /boot directory of rootfs
253 # cp uImage-am335x-bone.dtb /media/root/boot/am335x-bone.dtb
254 # cp uImage-am335x-boneblack.dtb /media/root/boot/am335x-boneblack.dtb
255
256 8. Unmount the SD partitions, insert the SD card into the Beaglebone, and
257 boot the Beaglebone
258
259
182Freescale MPC8315E-RDB (mpc8315e-rdb) 260Freescale MPC8315E-RDB (mpc8315e-rdb)
183===================================== 261=====================================
184 262