summaryrefslogtreecommitdiffstats
path: root/README.fri2
diff options
context:
space:
mode:
Diffstat (limited to 'README.fri2')
-rw-r--r--README.fri265
1 files changed, 65 insertions, 0 deletions
diff --git a/README.fri2 b/README.fri2
new file mode 100644
index 0000000..8f2c653
--- /dev/null
+++ b/README.fri2
@@ -0,0 +1,65 @@
1Instructions for Intel FRI2
2---------------------------
3
4You might want to check from README.md file what poky and meta-oe
5revisions are supported. Usually HEAD version work ok but if it
6does not, then you can use the tested version mentioned in that file.
7
8$ mkdir yocto
9$ cd yocto
10$ git clone git://git.yoctoproject.org/poky
11$ cd poky
12$ git clone git://git.openembedded.org/meta-openembedded
13$ git clone git://git.yoctoproject.org/meta-eca
14$ export YOCTO=`pwd`
15$ git clone git://git.yoctoproject.org/meta-intel
16$ . oe-init-build-env build-fri2
17$ cd conf
18
19Edit bblayers.conf file and add these layers to BBLAYERS variable,
20if your name is not "user", then fix the path accordingly.
21
22/home/user/yocto/poky/meta-eca/meta-eca
23/home/user/yocto/poky/meta-eca/meta-eca-bsp
24/home/user/yocto/poky/meta-intel
25/home/user/yocto/poky/meta-intel/meta-fri2
26/home/user/yocto/poky/meta-openembedded/meta-oe
27/home/user/yocto/poky/meta-openembedded/meta-systemd
28/home/user/yocto/poky/meta-openembedded/meta-networking
29/home/user/yocto/poky/meta-openembedded/meta-ruby
30
31Edit local.conf file
32
33* set BB_NUMBER_THREADS and PARALLEL_MAKE accordingly to your machine
34 capabilities
35* set your target to MACHINE ?= "fri2-noemgd"
36* set DISTRO ?= "eca"
37* add BBMASK = "meta/recipes-connectivity/bluez/bluez4*|meta-openembedded/meta-systemd/oe-core/recipes-connectivity/bluez/bluez4*"
38
39
40If you want to build the Internet-of-Things version of ECA, then add
41
42/home/user/yocto/poky/meta-eca/meta-iot
43
44to bblayers.conf and also add
45
46DISTRO_FEATURES_append = " internet-of-things"
47
48to local.conf file.
49
50
51Then build the distro
52
53$ cd $BUILDDIR
54$ bitbake eca-image
55
56If the build succeeds, the result image can be found at
57tmp-eglibc/deploy/images/fri2-noemgd
58
59Insert USB mass storage stick and figure out its device name (use dmesg
60and see messages at the end). Lets assume the USB stick is at /dev/sdX
61
62$ cd tmp-eglibc/deploy/images/fri2-noemgd
63$ sudo dd if=eca-image-fri2-noemgd.hddimg of=/dev/sdX
64
65Then eject the USB stick, insert it to FRI2 device and boot.