diff options
| -rw-r--r-- | README.hardware | 54 |
1 files changed, 6 insertions, 48 deletions
diff --git a/README.hardware b/README.hardware index 6383bd71d3..8defba4812 100644 --- a/README.hardware +++ b/README.hardware | |||
| @@ -160,59 +160,17 @@ this, issue the following commands from the u-boot prompt: | |||
| 160 | To further tailor these instructions for your board, please refer to the | 160 | To further tailor these instructions for your board, please refer to the |
| 161 | documentation at http://www.beagleboard.org/bone and http://www.beagleboard.org/black | 161 | documentation at http://www.beagleboard.org/bone and http://www.beagleboard.org/black |
| 162 | 162 | ||
| 163 | From a Linux system with access to the image files perform the following steps | 163 | From a Linux system with access to the image files perform the following steps: |
| 164 | as root, replacing mmcblk0* with the SD card device on your machine (such as sdc | ||
| 165 | if used via a usb card reader): | ||
| 166 | 164 | ||
| 167 | 1. Partition and format an SD card: | 165 | 1. Build an image. For example: |
| 168 | # fdisk -lu /dev/mmcblk0 | ||
| 169 | 166 | ||
| 170 | Disk /dev/mmcblk0: 3951 MB, 3951034368 bytes | 167 | $ bitbake core-image-minimal |
| 171 | 255 heads, 63 sectors/track, 480 cylinders, total 7716864 sectors | ||
| 172 | Units = sectors of 1 * 512 = 512 bytes | ||
| 173 | |||
| 174 | Device Boot Start End Blocks Id System | ||
| 175 | /dev/mmcblk0p1 * 63 144584 72261 c Win95 FAT32 (LBA) | ||
| 176 | /dev/mmcblk0p2 144585 465884 160650 83 Linux | ||
| 177 | |||
| 178 | # mkfs.vfat -F 16 -n "boot" /dev/mmcblk0p1 | ||
| 179 | # mke2fs -j -L "root" /dev/mmcblk0p2 | ||
| 180 | |||
| 181 | The following assumes the SD card partitions 1 and 2 are mounted at | ||
| 182 | /media/boot and /media/root respectively. Removing the card and reinserting | ||
| 183 | it will do just that on most modern Linux desktop environments. | ||
| 184 | |||
| 185 | The files referenced below are made available after the build in | ||
| 186 | build/tmp/deploy/images. | ||
| 187 | |||
| 188 | 2. Install the boot loaders | ||
| 189 | # cp MLO-beaglebone /media/boot/MLO | ||
| 190 | # cp u-boot-beaglebone.img /media/boot/u-boot.img | ||
| 191 | |||
| 192 | 3. Install the root filesystem | ||
| 193 | # tar x -C /media/root -f core-image-$IMAGE_TYPE-beaglebone.tar.bz2 | ||
| 194 | |||
| 195 | 4. If using core-image-base or core-image-sato images, the SD card is ready | ||
| 196 | and rootfs already contains the kernel, modules and device tree (DTB) | ||
| 197 | files necessary to be booted with U-boot's default configuration, so | ||
| 198 | skip directly to step 8. | ||
| 199 | For core-image-minimal, proceed through next steps. | ||
| 200 | |||
| 201 | 5. If using core-image-minimal rootfs, install the modules | ||
| 202 | # tar x -C /media/root -f modules-beaglebone.tgz | ||
| 203 | |||
| 204 | 6. If using core-image-minimal rootfs, install the kernel zImage into /boot | ||
| 205 | directory of rootfs | ||
| 206 | # cp zImage-beaglebone.bin /media/root/boot/zImage | ||
| 207 | 168 | ||
| 208 | 7. If using core-image-minimal rootfs, also install device tree (DTB) files | 169 | 2. Use the "dd" utility to write the image to the SD card. For example: |
| 209 | into /boot directory of rootfs | ||
| 210 | # cp zImage-am335x-bone.dtb /media/root/boot/am335x-bone.dtb | ||
| 211 | # cp zImage-am335x-boneblack.dtb /media/root/boot/am335x-boneblack.dtb | ||
| 212 | 170 | ||
| 213 | 8. Unmount the SD partitions, insert the SD card into the Beaglebone, and | 171 | # dd core-image-minimal-beaglebone.wic of=/dev/sdb |
| 214 | boot the Beaglebone | ||
| 215 | 172 | ||
| 173 | 3. Insert the SD card into the Beaglebone and boot the board. | ||
| 216 | 174 | ||
| 217 | Freescale MPC8315E-RDB (mpc8315e-rdb) | 175 | Freescale MPC8315E-RDB (mpc8315e-rdb) |
| 218 | ===================================== | 176 | ===================================== |
