diff options
| -rw-r--r-- | README.hardware | 44 |
1 files changed, 28 insertions, 16 deletions
diff --git a/README.hardware b/README.hardware index b2ce14661e..43cfb8499f 100644 --- a/README.hardware +++ b/README.hardware | |||
| @@ -149,15 +149,26 @@ The Beagleboard is an ARM Cortex-A8 development board with USB, DVI-D, S-Video, | |||
| 149 | faster CPU, more RAM, an ethernet port, more USB ports, microSD, and removes | 149 | faster CPU, more RAM, an ethernet port, more USB ports, microSD, and removes |
| 150 | the NAND flash. The beagleboard MACHINE is tested on the following platforms: | 150 | the NAND flash. The beagleboard MACHINE is tested on the following platforms: |
| 151 | 151 | ||
| 152 | o Beagleboard xM | 152 | o Beagleboard C4 |
| 153 | o Beagleboard xM Rev A | ||
| 153 | 154 | ||
| 154 | TODO: need someone with a Beagleboard C4 to verify these instructions. | 155 | The Beagleboard C4 has NAND, while the xM does not. For the sake of simplicity, |
| 156 | these instructions assume you have erased the NAND on the C4 so its boot | ||
| 157 | behavior matches that of the xM. To do this, issue the following commands from | ||
| 158 | the u-boot prompt (note that the unlock may be unecessary depending on the | ||
| 159 | version of u-boot installed on your board and only one of the erase commands | ||
| 160 | will succeed): | ||
| 155 | 161 | ||
| 156 | Due to the lack of NAND on the xM, the install and boot process varies a bit | 162 | # nand unlock |
| 157 | between boards. The C4 can run the x-loader and u-boot binaries from NAND or | 163 | # nand erase |
| 158 | the SD, while the xM can only run them from the SD. The following instructions | 164 | # nand erase.chip |
| 159 | apply to both the C4 and the xM, but the C4 can skip step 2 (as noted below), | 165 | |
| 160 | and may require modification of the NAND environment. | 166 | To further tailor these instructions for your board, please refer to the |
| 167 | documentation at http://www.beagleboard.org. | ||
| 168 | |||
| 169 | From a Linux system with access to the image files perform the following steps | ||
| 170 | as root, replacing mmcblk0* with the SD card device on your machine (such as sdc | ||
| 171 | if used via a usb card reader): | ||
| 161 | 172 | ||
| 162 | 1. Partition and format an SD card: | 173 | 1. Partition and format an SD card: |
| 163 | # fdisk -lu /dev/mmcblk0 | 174 | # fdisk -lu /dev/mmcblk0 |
| @@ -173,14 +184,14 @@ and may require modification of the NAND environment. | |||
| 173 | # mkfs.vfat -F 16 -n "boot" /dev/mmcblk0p1 | 184 | # mkfs.vfat -F 16 -n "boot" /dev/mmcblk0p1 |
| 174 | # mke2fs -j -L "root" /dev/mmcblk0p2 | 185 | # mke2fs -j -L "root" /dev/mmcblk0p2 |
| 175 | 186 | ||
| 176 | The following assumes the SD card partition 1 and 2 are mounted at | 187 | The following assumes the SD card partition 1 and 2 are mounted at |
| 177 | /media/boot and /media/root respectively. The files referenced here | 188 | /media/boot and /media/root respectively. Removing the card and reinserting |
| 178 | are made available after the build in build/tmp/deploy/images. | 189 | it will do just that on most modern Linux desktop environments. |
| 190 | |||
| 191 | The files referenced below are made available after the build in | ||
| 192 | build/tmp/deploy/images. | ||
| 179 | 193 | ||
| 180 | 2. Install the boot loaders | 194 | 2. Install the boot loaders |
| 181 | This step can be omitted for the C4 as it can have the x-loader and | ||
| 182 | u-boot installed in NAND. | ||
| 183 | |||
| 184 | # cp MLO-beagleboard /media/boot/MLO | 195 | # cp MLO-beagleboard /media/boot/MLO |
| 185 | # cp u-boot-beagleboard.bin /media/boot/u-boot.bin | 196 | # cp u-boot-beagleboard.bin /media/boot/u-boot.bin |
| 186 | 197 | ||
| @@ -205,14 +216,15 @@ and may require modification of the NAND environment. | |||
| 205 | boot | 216 | boot |
| 206 | EOF | 217 | EOF |
| 207 | ) > serial-boot.cmd | 218 | ) > serial-boot.cmd |
| 208 | # mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Poky Minimal" -d ./serial-boot.cmd ./boot.scr | 219 | # mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Core Minimal" -d ./serial-boot.cmd ./boot.scr |
| 209 | # cp boot.scr /media/boot | 220 | # cp boot.scr /media/boot |
| 210 | 221 | ||
| 211 | 6. Unmount the SD partitions and boot the Beagleboard | 222 | 6. Unmount the SD partitions, insert the SD card into the Beagleboard, and |
| 223 | boot the Beagleboard | ||
| 212 | 224 | ||
| 213 | Note: As of the 2.6.37 linux-yocto kernel recipe, the Beagleboard uses the | 225 | Note: As of the 2.6.37 linux-yocto kernel recipe, the Beagleboard uses the |
| 214 | OMAP_SERIAL device (ttyO2). If you are using an older kernel, such as the | 226 | OMAP_SERIAL device (ttyO2). If you are using an older kernel, such as the |
| 215 | 2.6.35 linux-yocto-stable, be sure replace ttyO2 with ttyS2 above. You | 227 | 2.6.34 linux-yocto-stable, be sure to replace ttyO2 with ttyS2 above. You |
| 216 | should also override the machine SERIAL_CONSOLE in your local.conf in | 228 | should also override the machine SERIAL_CONSOLE in your local.conf in |
| 217 | order to setup the getty on the serial line: | 229 | order to setup the getty on the serial line: |
| 218 | 230 | ||
