summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md93
1 files changed, 93 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c31809b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,93 @@
1meta-eca, the Yocto layer for communication appliances
2======================================================
3
4This layer's purpose is to add Embedded Connectivity Appliance (ECA) support
5when used with Poky packagegroup base.
6
7Please see the MAINTAINERS file for information on contacting the maintainers
8of this layer, as well as instructions for submitting patches.
9
10Layer Dependencies
11------------------
12
13URI: git://git.yoctoproject.org/poky
14branch: master
15revision: 57e8d56a6b63942b616a1e6dd894fd4ea7b409cf
16
17URI: git://git.openembedded.org/meta-openembedded
18branch: master
19revision: 0f56bc4e2818a051a511ceb48596cbfa2f51ff3d
20
21Using the above git sha's and master revisions, bitbaking eca-image is
22known to work. Using head versions should work also just fine.
23
24
25Build a QEMU image including ECA components
26-------------------------------------------
27
28You can build a QEMU image including ECA components using the
29following steps:
30
311. Run the following command:
32
33 > $ source poky/oe-init-build-env
34
352. Add meta-eca/meta-eca path to COREBASE/build/conf/bblayers.conf file.
36
373. Add meta-eca/meta-eca-bsp path to COREBASE/build/conf/bblayers.conf file.
38
394. Add meta-openembedded/meta-systemd path to COREBASE/build/conf/bblayers.conf
40 file.
41
425. Add meta-openembedded/meta-oe path to COREBASE/build/conf/bblayers.conf file.
43
446. Add meta-openembedded/meta-networking path to
45 COREBASE/build/conf/bblayers.conf file.
46
477. Add meta-openembedded/meta-ruby path to COREBASE/build/conf/bblayers.conf
48 file.
49
508. Set MACHINE ??= "qemux86" in COREBASE/build/conf/local.conf file to build
51 for an emulated IA-32 instruction-set machine respectively.
52
539. Set DISTRO ?= "eca" in COREBASE/build/conf/local.conf file.
54 If you want a bleeding edge versions of ConnMan, oFono, Bluez5 and Neard,
55 then you can set the DISTRO to "eca-bleeding"
56
5710. Mask out bluez4 as we want to use bluez5, set BBMASK in your local.conf file
58 also ignore ofono recipe as ECA has own one.
59 BBMASK = "meta/recipes-connectivity/bluez/bluez4*|\
60 meta-openembedded/meta-systemd/oe-core/recipes-connectivity/bluez/bluez4*|\
61 meta-openembedded/meta-systemd/oe-core/recipes-connectivity/ofono/ofono*"
62
6311. Optional: In COREBASE/build/conf/local.conf file, you may uncomment
64 BB_NUMBER_THREADS = "4" and PARALLEL_MAKE = "-j 4" if you build on a
65 quad-core machine.
66
6712. Build eca-image
68
69 > $ bitbake eca-image
70
7113. Run the emulator:
72
73 > for qemux86:
74 > $ runqemu qemux86 eca-image
75
7614. Set the password for root user
77 The default password for root user is "root". You should change
78 that to something that only you know. If connecting to the host
79 using browser (use http://eca.local/ address), the web-ui
80 forces you to change the root password and it also asks you to
81 set the username/password for the web management UI.
82 If connecting to host using ssh, you need to set the root password
83 manually using "passwd" command.
84
8515. Connecting to the device
86 After you have booted the appliance, you can connect to it using
87 ethernet or wifi. If you have wifi card or usb dongle installed
88 in appliance, you should see access point called "eca-aabbccddeeff"
89 (this is just an example) in your wifi scans.
90 You can connect to that AP, the default passphrase in this case
91 would be "aabbccddeeff".
92 Connection can be done either via "ssh root@eca.local" or via
93 browser http://eca.local