diff options
Diffstat (limited to 'meta-jasperforest/README')
| -rw-r--r-- | meta-jasperforest/README | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/meta-jasperforest/README b/meta-jasperforest/README new file mode 100644 index 00000000..ab7246d9 --- /dev/null +++ b/meta-jasperforest/README | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | This README file contains information on building the | ||
| 2 | meta-jasperforest BSP layer, and booting the images contained in the | ||
| 3 | /binary directory. Please see the corresponding sections below for | ||
| 4 | details. | ||
| 5 | |||
| 6 | 'Jasper Forest' refers to the Intel Xeon C5500/C3500 processors, which | ||
| 7 | combined with the Intel 3420 PCH chipset (Ibex Peak) make up the | ||
| 8 | 'Picket Post' CRB this BSP was developed on. | ||
| 9 | |||
| 10 | |||
| 11 | Table of Contents | ||
| 12 | ================= | ||
| 13 | |||
| 14 | I. Building the meta-jasperforest BSP layer | ||
| 15 | II. Booting the images in /binary | ||
| 16 | |||
| 17 | |||
| 18 | I. Building the meta-jasperforest BSP layer | ||
| 19 | ======================================= | ||
| 20 | |||
| 21 | For each BSP in the 'meta-intel' repository, there are multiple | ||
| 22 | branches, one corresponding to each major release starting with | ||
| 23 | 'laverne' (0.90), in addition to the latest code which tracks the | ||
| 24 | current master. | ||
| 25 | |||
| 26 | In order to build an image with BSP support for a given release, you | ||
| 27 | need to check out the 'meta-intel' branch corresponding to the release | ||
| 28 | you're building against e.g. to build for laverne (0.90), check out | ||
| 29 | the 'laverne' branch of both poky and 'meta-intel'. | ||
| 30 | |||
| 31 | Having done that, and assuming you cloned the 'meta-intel' repository | ||
| 32 | at the top-level of your yocto build tree, you can build a jasperforest | ||
| 33 | image by adding the location of the meta-jasperforest layer to | ||
| 34 | bblayers.conf e.g.: | ||
| 35 | |||
| 36 | yocto/meta-intel/meta-jasperforest \ | ||
| 37 | |||
| 38 | To enable the jasperforest layer, add the jasperforest MACHINE to local.conf: | ||
| 39 | |||
| 40 | MACHINE ?= "jasperforest" | ||
| 41 | |||
| 42 | You should then be able to build a jasperforest image as such: | ||
| 43 | |||
| 44 | $ source poky-init-build-env | ||
| 45 | $ bitbake poky-image-sato-live | ||
| 46 | |||
| 47 | At the end of a successful build, you should have a live image that | ||
| 48 | you can boot from a USB flash drive (see instructions on how to do | ||
| 49 | that below, in the section 'Booting the images from /binary'). | ||
| 50 | |||
| 51 | |||
| 52 | II. Booting the images in /binary | ||
| 53 | ================================= | ||
| 54 | |||
| 55 | This BSP contains bootable live images, which can be used to directly | ||
| 56 | boot Yocto off of a USB flash drive. | ||
| 57 | |||
| 58 | Under Linux, insert a USB flash drive. Assuming the USB flash drive | ||
| 59 | takes device /dev/sdf, use dd to copy the live image to it. For | ||
| 60 | example: | ||
| 61 | |||
| 62 | # dd if=poky-image-sato-live-jasperforest-20101207053738.hddimg of=/dev/sdf | ||
| 63 | # sync | ||
| 64 | # eject /dev/sdf | ||
| 65 | |||
| 66 | This should give you a bootable USB flash device. Insert the device | ||
| 67 | into a bootable USB socket on the target, and power on. This should | ||
| 68 | result in a system booted to the Sato graphical desktop. | ||
| 69 | |||
| 70 | If you want a terminal, use the arrows at the top of the UI to move to | ||
| 71 | different pages of available applications, one of which is named | ||
| 72 | 'Terminal'. Clicking that should give you a root terminal. | ||
| 73 | |||
| 74 | If you want to ssh into the system, you can use the root terminal to | ||
| 75 | ifconfig the IP address and use that to ssh in. The root password is | ||
| 76 | empty, so to log in type 'root' for the user name and hit 'Enter' at | ||
| 77 | the Password prompt: and you should be in. | ||
| 78 | |||
| 79 | ---- | ||
| 80 | |||
| 81 | If you find you're getting corrupt images on the USB (it doesn't show | ||
| 82 | the syslinux boot: prompt, or the boot: prompt contains strange | ||
| 83 | characters), try doing this first: | ||
| 84 | |||
| 85 | # dd if=/dev/zero of=/dev/sdf bs=1M count=512 | ||
