sudo docker network create -d macvlan --subnet 192.168.0.0/24 -o parent=enx48225442b857 -o macvlan_mode=bridge macvlan0
sudo ip link add macvlan0 link enx48225442b857 type macvlan mode bridge
sudo docker network create -d macvlan --subnet 192.168.0.0/24 -o parent=enx48225442b857 -o macvlan_mode=bridge macvlan0
sudo ip link add macvlan0 link enx48225442b857 type macvlan mode bridge
This paragraph mostly follow the https://docs.zephyrproject.org/latest/develop/getting_started/index.html
You may need up to 15 GB of space
First of all download 'west'
/* | |
Will provide output like: | |
0000: ff ff ff ff ff ff 8c b8 7e 5e 99 21 08 00 45 00 ········~^·!··E· | |
0010: 00 e5 19 6a 00 00 80 11 99 f2 c0 a8 02 5c c0 a8 ···j·········\·· | |
0020: 02 ff 00 8a 00 8a 00 d1 48 e4 11 02 d3 c3 c0 a8 ········H······· | |
0030: 02 5c 00 8a 00 bb 00 00 20 45 4a 45 4f 46 45 45 ·\······ EJEOFEE | |
0040: 4d 43 41 43 41 43 41 43 41 43 41 43 41 43 41 43 MCACACACACACACAC | |
0050: 41 43 41 43 41 43 41 43 41 00 20 46 48 45 50 46 ACACACACA· FHEPF | |
0060: 43 45 4c 45 48 46 43 45 50 46 46 46 41 43 41 43 CELEHFCEPFFFACAC |
Hardware and firmware part of the device must meet next requirements:
on nano-pi:
pre-read: https://wvthoog.nl/nanopi-ov5640-camera
to enable USB
All right, works as USB Host, needed a change in dr_mode from “otg” to “host” and all usb peripherals now work as expected. The required steps for recent Armbian are (all as root):
cd /boot/dtb
#!/bin/bash | |
ifconfig sl0 down | |
pkill slattach |