diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-28 18:07:01 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-31 23:04:36 +0100 |
| commit | 7254dfb642cb0262c7e14ef2a4c8a7a42afada60 (patch) | |
| tree | c44528e8dd5afcd6c9ac623243650129a5c08a68 /README.hardware | |
| parent | af1e58a6107290e8d1dadb4617cb29eed17dd5d3 (diff) | |
| download | poky-7254dfb642cb0262c7e14ef2a4c8a7a42afada60.tar.gz | |
Drop beagleboard, replaced by beaglebone
(From meta-yocto rev: b125761e5e31fc506f7b5b87308850cd573ab1b6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.hardware')
| -rw-r--r-- | README.hardware | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/README.hardware b/README.hardware index eccc7d3e6e..85f033057e 100644 --- a/README.hardware +++ b/README.hardware | |||
| @@ -46,7 +46,6 @@ Hardware Reference Boards | |||
| 46 | 46 | ||
| 47 | The following boards are supported by the meta-yocto-bsp layer: | 47 | The following boards are supported by the meta-yocto-bsp layer: |
| 48 | 48 | ||
| 49 | * Texas Instruments Beagleboard (beagleboard) | ||
| 50 | * Freescale MPC8315E-RDB (mpc8315e-rdb) | 49 | * Freescale MPC8315E-RDB (mpc8315e-rdb) |
| 51 | * Ubiquiti Networks RouterStation Pro (routerstationpro) | 50 | * Ubiquiti Networks RouterStation Pro (routerstationpro) |
| 52 | 51 | ||
| @@ -180,96 +179,6 @@ USB Device: | |||
| 180 | http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=blob_plain;f=doc/usbkey.txt;hb=HEAD | 179 | http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=blob_plain;f=doc/usbkey.txt;hb=HEAD |
| 181 | 180 | ||
| 182 | 181 | ||
| 183 | Texas Instruments Beagleboard (beagleboard) | ||
| 184 | =========================================== | ||
| 185 | |||
| 186 | The Beagleboard is an ARM Cortex-A8 development board with USB, DVI-D, S-Video, | ||
| 187 | 2D/3D accelerated graphics, audio, serial, JTAG, and SD/MMC. The xM adds a | ||
| 188 | faster CPU, more RAM, an ethernet port, more USB ports, microSD, and removes | ||
| 189 | the NAND flash. The beagleboard MACHINE is tested on the following platforms: | ||
| 190 | |||
| 191 | o Beagleboard C4 | ||
| 192 | o Beagleboard xM rev A & B | ||
| 193 | |||
| 194 | The Beagleboard C4 has NAND, while the xM does not. For the sake of simplicity, | ||
| 195 | these instructions assume you have erased the NAND on the C4 so its boot | ||
| 196 | behavior matches that of the xM. To do this, issue the following commands from | ||
| 197 | the u-boot prompt (note that the unlock may be unecessary depending on the | ||
| 198 | version of u-boot installed on your board and only one of the erase commands | ||
| 199 | will succeed): | ||
| 200 | |||
| 201 | # nand unlock | ||
| 202 | # nand erase | ||
| 203 | # nand erase.chip | ||
| 204 | |||
| 205 | To further tailor these instructions for your board, please refer to the | ||
| 206 | documentation at http://www.beagleboard.org. | ||
| 207 | |||
| 208 | From a Linux system with access to the image files perform the following steps | ||
| 209 | as root, replacing mmcblk0* with the SD card device on your machine (such as sdc | ||
| 210 | if used via a usb card reader): | ||
| 211 | |||
| 212 | 1. Partition and format an SD card: | ||
| 213 | # fdisk -lu /dev/mmcblk0 | ||
| 214 | |||
| 215 | Disk /dev/mmcblk0: 3951 MB, 3951034368 bytes | ||
| 216 | 255 heads, 63 sectors/track, 480 cylinders, total 7716864 sectors | ||
| 217 | Units = sectors of 1 * 512 = 512 bytes | ||
| 218 | |||
| 219 | Device Boot Start End Blocks Id System | ||
| 220 | /dev/mmcblk0p1 * 63 144584 72261 c Win95 FAT32 (LBA) | ||
| 221 | /dev/mmcblk0p2 144585 465884 160650 83 Linux | ||
| 222 | |||
| 223 | # mkfs.vfat -F 16 -n "boot" /dev/mmcblk0p1 | ||
| 224 | # mke2fs -j -L "root" /dev/mmcblk0p2 | ||
| 225 | |||
| 226 | The following assumes the SD card partition 1 and 2 are mounted at | ||
| 227 | /media/boot and /media/root respectively. Removing the card and reinserting | ||
| 228 | it will do just that on most modern Linux desktop environments. | ||
| 229 | |||
| 230 | The files referenced below are made available after the build in | ||
| 231 | build/tmp/deploy/images. | ||
| 232 | |||
| 233 | 2. Install the boot loaders | ||
| 234 | # cp MLO-beagleboard /media/boot/MLO | ||
| 235 | # cp u-boot-beagleboard.bin /media/boot/u-boot.bin | ||
| 236 | |||
| 237 | 3. Install the root filesystem | ||
| 238 | # tar x -C /media/root -f core-image-$IMAGE_TYPE-beagleboard.tar.bz2 | ||
| 239 | # tar x -C /media/root -f modules-$KERNEL_VERSION-beagleboard.tgz | ||
| 240 | |||
| 241 | 4. Install the kernel uImage | ||
| 242 | # cp uImage-beagleboard.bin /media/boot/uImage | ||
| 243 | |||
| 244 | 5. Prepare a u-boot script to simplify the boot process | ||
| 245 | The Beagleboard can be made to boot at this point from the u-boot command | ||
| 246 | shell. To automate this process, generate a user.scr script as follows. | ||
| 247 | |||
| 248 | Install uboot-mkimage (from uboot-mkimage on Ubuntu or uboot-tools on Fedora). | ||
| 249 | |||
| 250 | Prepare a script config: | ||
| 251 | |||
| 252 | # (cat << EOF | ||
| 253 | setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000 uImage; bootm 0x80300000' | ||
| 254 | setenv bootargs 'console=tty0 console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro' | ||
| 255 | boot | ||
| 256 | EOF | ||
| 257 | ) > serial-boot.cmd | ||
| 258 | # mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Core Minimal" -d ./serial-boot.cmd ./boot.scr | ||
| 259 | # cp boot.scr /media/boot | ||
| 260 | |||
| 261 | 6. Unmount the SD partitions, insert the SD card into the Beagleboard, and | ||
| 262 | boot the Beagleboard | ||
| 263 | |||
| 264 | Note: As of the 2.6.37 linux-yocto kernel recipe, the Beagleboard uses the | ||
| 265 | OMAP_SERIAL device (ttyO2). If you are using an older kernel, such as the | ||
| 266 | 2.6.34 linux-yocto-stable, be sure to replace ttyO2 with ttyS2 above. You | ||
| 267 | should also override the machine SERIAL_CONSOLE in your local.conf in | ||
| 268 | order to setup the getty on the serial line: | ||
| 269 | |||
| 270 | SERIAL_CONSOLE_beagleboard = "115200 ttyS2" | ||
| 271 | |||
| 272 | |||
| 273 | Freescale MPC8315E-RDB (mpc8315e-rdb) | 182 | Freescale MPC8315E-RDB (mpc8315e-rdb) |
| 274 | ===================================== | 183 | ===================================== |
| 275 | 184 | ||
