/
README
105 lines (63 loc) · 2.55 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
This README file contains information on building the meta-galileo
BSP layer, and booting the resulting images.
Please see the corresponding sections below for details.
Dependencies
============
This layer depends on:
URI: git://git.openembedded.org/bitbake
branch: dora
URI: git://github.com/tzanussi/poky.git
layers: poky
branch: dora
URI: https://github.com/tzanussi/meta-galileo.git
layers: meta-galileo
branch: dora
URI: git://github.com/tzanussi/linux-yocto-micro-3.14.git
layers: linux-yocto-micro-3.14
branch: meta, lto, net-diet, standard/micro/galileo
Patches
=======
Please submit any patches against this BSP to the maintainer:
Maintainer: Tom Zanussi <tom.zanussi@linux.intel.com>
Table of Contents
=================
I. Building the meta-galileo BSP layer
I. Building the meta-galileo BSP layer
========================================
Get the clone-galileo script:
$ wget https://github.com/tzanussi/meta-galileo/raw/daisy/meta-galileo/clone-galileo
Use the clone-galileo script to set things up:
$ clone-galileo <dirname>
After running this script, cd into <dirname> and source the environment:
$ cd <dirname>
$ source oe-init-build-env
Add meta-intel and meta-intel/meta-galileo to BBLAYERS in
build/conf/bblayers.conf e.g:
/home/trz/yocto/micro/meta-intel \
/home/trz/yocto/micro/meta-intel/meta-galileo \
Add to build/conf/local.conf (before MACHINE ??= "qemux86"):
MACHINE ?= "galileo"
DISTRO ?= "poky-micro"
Build the image:
$ bitbake image-micro
Create a bootable sdcard image:
$ wic create micro-galileo -e image-micro
The output will tell you the location of the .direct image
Burn that to the sdcard and boot the galileo board from it:
$ sudo dd if=micro-galileo-201404041056-mmcblk0.direct of=/dev/sdg
Just doing nothing will boot into the microYocto image.
The built-in IP address is 192.168.1.223. To change it, you'll either
need to do it manually after boot, or change the meta-galileo layer
and rebuild.
ssh to that address and login as root with no password:
$ ssh -l root 192.168.1.223
If you run into build problems, please make sure you have a sane build
environment. Going throut the Yocto Project Quickstart first should
ensure that you do:
https://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html
There's also a whole host of other documentation there which may be of
interest:
https://www.yoctoproject.org/documentation
For any other questions/comments (or even build questions if you get
stuck), feel free to contact me at:
tom.zanussi@linux.intel.com