-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNanoPi-NEO-usbotg.txt
34 lines (18 loc) · 1.16 KB
/
NanoPi-NEO-usbotg.txt
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
NanoPi-NEOによるusb-otg(usb0,usb1)のためのカーネルオプションの設定等
(1)make linux-menuconfig(by buildroot)
Device Drivers
--->[*]Network device support
--->[*]USB Network Adapters
--->[*]Multi-purpose USB Ethernet Adapters
--->[*]CDC Ethernet support(smart...)
--->[*]USB support
--->[*]Inventra Highspeed Dual Role Controller(TI..)
MUSB Mode Selection (Dual Roll mode)
[*]Allwinner(sunxi)
[*]USB Gadget Support
--->[*]USB Gadget Drivers(Ethernel Gadget(with CDC Ethernet support))
Ethernet Gadget (with CDC Ethernet support)
(2)sun8i-h3-nanopi-neo.dtbの修正
$ dtc -I dtb sun8i-h3-nanopi-neo.dtb -O dts -o sun8i-h3-nanopi-neo.dts
usb@01c19000のstatusを"disabled"から"okay"にする。またdr_mode = "otg";を加える。
$ dtc -I dts sun8i-h3-nanopi-neo.dts -O dtb -o sun8i-h3-nanopi-neo.dtb