README.md: Add EDDIE structure section, build prerequisites, merge in zephyr README
Merged
README.md: Add EDDIE structure section, build prerequisites, merge in zephyr README
mrfrank/eddie:docs
into
main
All threads resolved!
All threads resolved!
Compare changes
zephyr/README.md deleted
100644 → 0
+ 0
− 71
This is the Eddie Zephyr Node which is part of the [Eddie Blueprint](https://booting.oniroproject.org/distro/blueprints/eddie/meta-oniro-blueprints-eddie).
For more information, see [this epic](https://gitlab.eclipse.org/groups/eclipse/oniro-core/-/epics/43).
The Zephyr node will publish its resources into the [resource directory on linux](https://booting.oniroproject.org/antonio.miele/eddie) using Coap protocol. After publishing the resource, the zephyr node will run a Coap server providing an endpoint specified by the published resource.
- Two Qemu instances with bridged networking, one Qemu running Eddie Zephyr and the other running the eddie-server service on Oniro Linux
- An Eddie Zephyr node on the Arduino Nano 33 BLE board connected via OpenThread to a Raspberry PI OpenThread border router that runs eddie-server service
If you want to have Qemu with networking, create one tap device for each Qemu instance (you can use a script provided in oe-core):
$ sudo oe-core/scripts/runqemu-gen-tapdevs 1000 1000 2 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
Assuming the linux node with Eddie service is running on tap0 network interface, use the following command to run the zephyr node on Qemu.
$ west build -b qemu_x86 -t run --pristine -- -DOVERLAY_CONFIG=overlay-e1000.conf -DCONFIG_NET_CONFIG_MY_IPV6_ADDR=\"2001:db8:0:1::1\" -DCONFIG_NET_CONFIG_PEER_IPV6_ADDR=\"2001:db8:0:1::2\" -DCONFIG_ETH_QEMU_IFACE_NAME=\"tap1\" -DCONFIG_ETH_QEMU_EXTRA_ARGS=\"mac=00:00:5e:00:53:01\"
- Flash the image into your arduino board [using bossac](https://docs.zephyrproject.org/2.7.0/boards/arm/arduino_nano_33_ble/doc/index.html)
- Run the Eddie Linux node on the Raspberry Pi board following the instructions [here](https://booting.oniroproject.org/distro/blueprints/eddie/meta-oniro-blueprints-eddie).
- Follow the [transparent gateway documentation](https://docs.oniroproject.org/projects/blueprints/en/latest/transparent-gateway.html) to connect the Arduino board to the Raspberry Pi via OpenThread.
\ No newline at end of file