-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
119 lines (107 loc) · 4.68 KB
/
README
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
mt76-backports
backport origin mt76 and mac80211/cfg80211 drivers to
18.06.x OpenWrt out-side-tree (won't dirty your source tree).
============================================================================
1. set OWRT_DIR if your openwrt source tree is not '../openwrt'
$ export OWRT_DIR=/path/to/openwrt/sourcetree
2. run ./mount-overlayfs.sh and enter sudo password
$ ./mount-overlayfs.sh
[sudo] password for xxxx:
3. run ./compile-driver.sh to compile drivers to 'build' directory
$ ./compile-driver.sh
openwrt is a mountpoint
Collecting package info: done
#
# configuration written to .config
#
time: target/linux/prereq#0.25#0.04#0.29
make[1] package/kernel/mac80211/compile
make[2] -C package/libs/toolchain compile
make[2] -C package/firmware/b43legacy-firmware compile
make[2] -C package/firmware/linux-firmware compile
make[2] -C package/firmware/prism54-firmware compile
make[2] -C package/firmware/wireless-regdb compile
make[2] -C package/libs/openssl compile
make[2] -C package/libs/gettext compile
make[2] -C package/libs/libiconv compile
make[2] -C package/libs/libtool compile
make[2] -C package/libs/libjson-c compile
make[2] -C package/utils/lua compile
make[2] -C package/libs/libnl-tiny compile
make[2] -C package/kernel/linux compile
make[2] -C package/libs/wolfssl compile
make[2] -C package/libs/libubox compile
make[2] -C package/network/utils/iw compile
make[2] -C package/system/ubus compile
make[2] -C package/network/services/hostapd compile
make[2] -C package/kernel/mac80211 compile
make[1] package/kernel/mt76/compile
make[2] -C package/libs/toolchain compile
make[2] -C package/firmware/linux-firmware compile
make[2] -C package/firmware/prism54-firmware compile
make[2] -C package/firmware/b43legacy-firmware compile
make[2] -C package/firmware/wireless-regdb compile
make[2] -C package/libs/openssl compile
make[2] -C package/libs/gettext compile
make[2] -C package/libs/libiconv compile
make[2] -C package/libs/libtool compile
make[2] -C package/libs/libjson-c compile
make[2] -C package/utils/lua compile
make[2] -C package/libs/libnl-tiny compile
make[2] -C package/libs/wolfssl compile
make[2] -C package/libs/libubox compile
make[2] -C package/network/utils/iw compile
make[2] -C package/system/ubus compile
make[2] -C package/kernel/linux compile
make[2] -C package/network/services/hostapd compile
make[2] -C package/kernel/mac80211 compile
make[2] -C package/kernel/mt76 compile
#
# configuration written to .config
#
time: target/linux/prereq#0.23#0.05#0.33
make[1] package/kernel/mac80211/compile
make[2] -C package/libs/toolchain compile
make[2] -C package/firmware/b43legacy-firmware compile
make[2] -C package/firmware/linux-firmware compile
make[2] -C package/firmware/prism54-firmware compile
make[2] -C package/firmware/wireless-regdb compile
make[2] -C package/libs/openssl compile
make[2] -C package/libs/gettext compile
make[2] -C package/libs/libiconv compile
make[2] -C package/libs/libtool compile
make[2] -C package/libs/libjson-c compile
make[2] -C package/utils/lua compile
make[2] -C package/libs/libnl-tiny compile
make[2] -C package/libs/wolfssl compile
make[2] -C package/libs/libubox compile
make[2] -C package/network/utils/iw compile
make[2] -C package/system/ubus compile
make[2] -C package/kernel/linux compile
make[2] -C package/network/services/hostapd compile
make[2] -C package/kernel/mac80211 compile
make[1] package/kernel/mt76/compile
make[2] -C package/libs/toolchain compile
make[2] -C package/firmware/linux-firmware compile
make[2] -C package/firmware/prism54-firmware compile
make[2] -C package/firmware/b43legacy-firmware compile
make[2] -C package/firmware/wireless-regdb compile
make[2] -C package/libs/openssl compile
make[2] -C package/libs/gettext compile
make[2] -C package/libs/libiconv compile
make[2] -C package/libs/libtool compile
make[2] -C package/libs/libjson-c compile
make[2] -C package/utils/lua compile
make[2] -C package/libs/libnl-tiny compile
make[2] -C package/libs/wolfssl compile
make[2] -C package/libs/libubox compile
make[2] -C package/network/utils/iw compile
make[2] -C package/system/ubus compile
make[2] -C package/kernel/linux compile
make[2] -C package/network/services/hostapd compile
make[2] -C package/kernel/mac80211 compile
make[2] -C package/kernel/mt76 compile
cp: cannot stat 'bin/targets/ramips/mt7621/packages/kmod-rt2800*.ipk': No such file or directory
4. (optional) run ./unpack-ipks.sh to extract ipks to 'rootfs' directory
============================================================================
Tips: Make sure you have a good Internet connection at compile time.