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