summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-05-25 10:20:01 -0700
committerSaul Wold <sgw@linux.intel.com>2011-05-25 16:21:51 -0700
commit2458da25a83df9dc8d849ccf3de7f80fb194a33a (patch)
tree3254e78b5e21d629675da7c73f8b67aec83d613c
parent5d56586a00350f2ec90a7143182a3f1294fb4c73 (diff)
downloadpoky-2458da25a83df9dc8d849ccf3de7f80fb194a33a.tar.gz
README.hardware: update installation instructions for beagleboard
o Add C4 specific instructions o Replace poky with core o Correct a kernel version typo o Clarify some language to avoid confusion encountered during testing Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Zhao Yi <yi.zhao@windriver.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Cc: Jeff Osier-mixon <jeffrey.osier-mixon@intel.com> Cc: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--README.hardware44
1 files changed, 28 insertions, 16 deletions
diff --git a/README.hardware b/README.hardware
index b895f8fa13..36029577a4 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,
149faster CPU, more RAM, an ethernet port, more USB ports, microSD, and removes 149faster CPU, more RAM, an ethernet port, more USB ports, microSD, and removes
150the NAND flash. The beagleboard MACHINE is tested on the following platforms: 150the 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
154TODO: need someone with a Beagleboard C4 to verify these instructions. 155The Beagleboard C4 has NAND, while the xM does not. For the sake of simplicity,
156these instructions assume you have erased the NAND on the C4 so its boot
157behavior matches that of the xM. To do this, issue the following commands from
158the u-boot prompt (note that the unlock may be unecessary depending on the
159version of u-boot installed on your board and only one of the erase commands
160will succeed):
155 161
156Due to the lack of NAND on the xM, the install and boot process varies a bit 162 # nand unlock
157between boards. The C4 can run the x-loader and u-boot binaries from NAND or 163 # nand erase
158the SD, while the xM can only run them from the SD. The following instructions 164 # nand erase.chip
159apply to both the C4 and the xM, but the C4 can skip step 2 (as noted below), 165
160and may require modification of the NAND environment. 166To further tailor these instructions for your board, please refer to the
167documentation at http://www.beagleboard.org.
168
169From a Linux system with access to the image files perform the following steps
170as root, replacing mmcblk0* with the SD card device on your machine (such as sdc
171if 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
213Note: As of the 2.6.37 linux-yocto kernel recipe, the Beagleboard uses the 225Note: 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