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