自编译openwrt for Bananapi-M1+

上周领到了EEboard爱板网快递过来的BPI-M1+开发板。板子一到手就开始琢磨BPI-M1+的openwrt系统,说干就干,拿到板子第二天就开始做了。

主要需要解决的问题有两个:

1
2
把板载网卡设置为wan口,默认的是lan
wifi驱动问题

第一个问题查资料解决了,但是第二个目前还没有解决

先看固件截图:

bpi-M1+-openwrt-1

bpi-M1+-openwrt-2

bpi-M1+-openwrt-3

bpi-M1+-openwrt-4

bpi-M1+-openwrt-5

bpi-M1+-openwrt-6

这个是挂载U盘的:

bpi-M1+-openwrt-7

没有wifi你可以配合aria2把bpi-M1+当成一个下载机,具体挂载教程可以看这里%E6%8C%82%E8%BD%BDU%E7%9B%98%E7%A1%AC%E7%9B%98/)

wifi界面,没有驱动:

bpi-M1+-openwrt-8

板载wifi驱动暂时不可用,你可以用usb无线网卡,3070型号网卡是可以支持的

之后我会接着研究板载wifi驱动的问题

附上安装包的列表:

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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
aria2 - 1.18.7-1
base-files - 157-r46006
block-mount - 2015-05-24-09027fc86babc3986027a0e677aca1b6999a9e14
busybox - 1.23.2-1
dnsmasq - 2.73-1
dropbear - 2015.67-1
ebtables - 2.0.10-4-3
firewall - 2015-05-26
fstools - 2015-05-24-09027fc86babc3986027a0e677aca1b6999a9e14
gargoyle-firewall-util - 1.0.0-1
hostapd-common - 2015-03-25-1
htop - 1.0.3-1
ip-full - 4.0.0-1
ip6tables - 1.4.21-1
iptables - 1.4.21-1
iptables-mod-conntrack-extra - 1.4.21-1
iptables-mod-extra - 1.4.21-1
iptables-mod-filter - 1.4.21-1
iptables-mod-ipopt - 1.4.21-1
iptables-mod-iprange - 1.4.21-1
iptables-mod-nat-extra - 1.4.21-1
iw - 3.17-1
jshn - 2015-06-14-d1c66ef1131d14f0ed197b368d03f71b964e45f8
jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
kernel - 3.18.14-1-8ab30ecd415081f492905797149fac52
kmod-ath - 3.18.14+2015-03-09-3
kmod-ath9k-common - 3.18.14+2015-03-09-3
kmod-ath9k-htc - 3.18.14+2015-03-09-3
kmod-brcmfmac - 3.18.14+2015-03-09-3
kmod-brcmutil - 3.18.14+2015-03-09-3
kmod-bridge - 3.18.14-1
kmod-carl9170 - 3.18.14+2015-03-09-3
kmod-cfg80211 - 3.18.14+2015-03-09-3
kmod-crypto-aes - 3.18.14-1
kmod-crypto-arc4 - 3.18.14-1
kmod-crypto-core - 3.18.14-1
kmod-crypto-hash - 3.18.14-1
kmod-ebtables - 3.18.14-1
kmod-eeprom-93cx6 - 3.18.14-1
kmod-eeprom-sunxi - 3.18.14-1
kmod-fs-ext4 - 3.18.14-1
kmod-fs-ntfs - 3.18.14-1
kmod-fs-vfat - 3.18.14-1
kmod-fuse - 3.18.14-1
kmod-gre - 3.18.14-1
kmod-input-core - 3.18.14-1
kmod-ip6tables - 3.18.14-1
kmod-ipt-conntrack - 3.18.14-1
kmod-ipt-conntrack-extra - 3.18.14-1
kmod-ipt-core - 3.18.14-1
kmod-ipt-extra - 3.18.14-1
kmod-ipt-filter - 3.18.14-1
kmod-ipt-ipopt - 3.18.14-1
kmod-ipt-iprange - 3.18.14-1
kmod-ipt-nat - 3.18.14-1
kmod-ipt-nat-extra - 3.18.14-1
kmod-iptunnel - 3.18.14-1
kmod-ipv6 - 3.18.14-1
kmod-lib-crc-ccitt - 3.18.14-1
kmod-lib-crc-itu-t - 3.18.14-1
kmod-lib-crc16 - 3.18.14-1
kmod-lib-textsearch - 3.18.14-1
kmod-lib80211 - 3.18.14+2015-03-09-3
kmod-llc - 3.18.14-1
kmod-mac80211 - 3.18.14+2015-03-09-3
kmod-mac80211-hwsim - 3.18.14+2015-03-09-3
kmod-net-rtl8188eu - 3.18.14-1
kmod-net-rtl8192su - 3.18.14-1
kmod-nf-conntrack - 3.18.14-1
kmod-nf-conntrack6 - 3.18.14-1
kmod-nf-ipt - 3.18.14-1
kmod-nf-ipt6 - 3.18.14-1
kmod-nf-nat - 3.18.14-1
kmod-nf-nathelper - 3.18.14-1
kmod-nf-nathelper-extra - 3.18.14-1
kmod-nls-base - 3.18.14-1
kmod-nls-utf8 - 3.18.14-1
kmod-ppp - 3.18.14-1
kmod-pppoe - 3.18.14-1
kmod-pppox - 3.18.14-1
kmod-pptp - 3.18.14-1
kmod-rt2500-usb - 3.18.14+2015-03-09-3
kmod-rt2800-lib - 3.18.14+2015-03-09-3
kmod-rt2800-usb - 3.18.14+2015-03-09-3
kmod-rt2x00-lib - 3.18.14+2015-03-09-3
kmod-rt2x00-usb - 3.18.14+2015-03-09-3
kmod-rt73-usb - 3.18.14+2015-03-09-3
kmod-rtc-sunxi - 3.18.14-1
kmod-rtl8187 - 3.18.14+2015-03-09-3
kmod-rtl8192c-common - 3.18.14+2015-03-09-3
kmod-rtl8192cu - 3.18.14+2015-03-09-3
kmod-rtlwifi - 3.18.14+2015-03-09-3
kmod-rtlwifi-usb - 3.18.14+2015-03-09-3
kmod-sched - 3.18.14-1
kmod-sched-core - 3.18.14-1
kmod-scsi-core - 3.18.14-1
kmod-slhc - 3.18.14-1
kmod-stp - 3.18.14-1
kmod-tun - 3.18.14-1
kmod-usb-core - 3.18.14-1
kmod-usb-storage - 3.18.14-1
kmod-usb-storage-extras - 3.18.14-1
kmod-usb2 - 3.18.14-1
kmod-wdt-sunxi - 3.18.14-1
libblobmsg-json - 2015-06-14-d1c66ef1131d14f0ed197b368d03f71b964e45f8
libbz2 - 1.0.6-2
libc - 1.1.10-1
libdb47 - 4.7.25.4.NC-5
libericstools - 1.0.0-1
libffi - 3.0.13-1
libfuse - 2.9.3-2
libgcc - 4.8-linaro-1
libgcrypt - 1.6.1-1
libgdbm - 1.11-1
libgpg-error - 1.12-1
libip4tc - 1.4.21-1
libip6tc - 1.4.21-1
libiptbwctl - 1.0.0-1
libiwinfo - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
libiwinfo-lua - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
libjson-c - 0.12-1
libjson-script - 2015-06-14-d1c66ef1131d14f0ed197b368d03f71b964e45f8
liblua - 5.1.5-1
liblzma - 5.2.1-2
libncurses - 5.9-2
libnl-tiny - 0.1-4
libopenssl - 1.0.2c-1
libpcre - 8.37-2
libpthread - 1.1.10-1
librt - 1.1.10-1
libsqlite3 - 3081002-1
libstdcpp - 4.8-linaro-1
libubox - 2015-06-14-d1c66ef1131d14f0ed197b368d03f71b964e45f8
libubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libubus-lua - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
libuci - 2015-04-09.1-1
libuci-lua - 2015-04-09.1-1
libuuid - 2.25.2-4
libxml2 - 2.9.2-3
libxtables - 1.4.21-1
lua - 5.1.5-1
luci - git-15.175.36983-23dba10-1
luci-app-aria2 - git-15.175.23254-a91ce0a-1
luci-app-commands - git-15.175.36983-23dba10-1
luci-app-firewall - git-15.175.36983-23dba10-1
luci-app-pdnsd - git-15.175.23254-a91ce0a-1
luci-app-vsftpd - git-15.175.23254-a91ce0a-1
luci-base - git-15.175.36983-23dba10-1
luci-i18n-aria2-en - git-15.175.23254-a91ce0a-1
luci-i18n-aria2-zh-cn - git-15.175.23254-a91ce0a-1
luci-i18n-base-en - git-15.175.36983-23dba10-1
luci-i18n-base-zh-cn - git-15.175.36983-23dba10-1
luci-i18n-base-zh-tw - git-15.175.36983-23dba10-1
luci-i18n-commands-en - git-15.175.36983-23dba10-1
luci-i18n-commands-zh-cn - git-15.175.36983-23dba10-1
luci-i18n-commands-zh-tw - git-15.175.36983-23dba10-1
luci-i18n-firewall-en - git-15.175.36983-23dba10-1
luci-i18n-firewall-zh-cn - git-15.175.36983-23dba10-1
luci-i18n-firewall-zh-tw - git-15.175.36983-23dba10-1
luci-i18n-pdnsd-en - git-15.175.23254-a91ce0a-1
luci-i18n-pdnsd-zh-cn - git-15.175.23254-a91ce0a-1
luci-i18n-vsftpd-en - git-15.175.23254-a91ce0a-1
luci-i18n-vsftpd-zh-cn - git-15.175.23254-a91ce0a-1
luci-lib-ip - git-15.175.36983-23dba10-1
luci-lib-nixio - git-15.175.36983-23dba10-1
luci-mod-admin-full - git-15.175.36983-23dba10-1
luci-proto-ipv6 - git-15.175.36983-23dba10-1
luci-proto-ppp - git-15.175.36983-23dba10-1
luci-theme-bootstrap - git-15.175.36983-23dba10-1
luci-theme-freifunk-bno - git-15.175.36983-23dba10-1
luci-theme-freifunk-generic - git-15.175.36983-23dba10-1
luci-theme-openwrt - git-15.175.36983-23dba10-1
mtd - 20
netifd - 2015-06-08-8795f9ef89626cd658f615c78c6a17e990c0dcaa
ntfs-3g - 2014.2.15-1-fuseext
ntfsprogs_ntfs-3g - 2014.2.15-1-fuseext
odhcp6c - 2015-06-10-d21764d12bb799f89d42c94dc20d4adb6d588077
odhcpd - 2015-05-21-2ebf6c8216287983779c8ec6597d30893b914a7c
opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
ppp - 2.4.7-6
ppp-mod-pppoe - 2.4.7-6
procd - 2015-06-14-9562ce477476a27851ec90cfbf971b8cb41c81a6
python - 2.7.10-5
python-base - 2.7.10-5
python-codecs - 2.7.10-5
python-compiler - 2.7.10-5
python-ctypes - 2.7.10-5
python-db - 2.7.10-5
python-decimal - 2.7.10-5
python-distutils - 2.7.10-5
python-email - 2.7.10-5
python-gdbm - 2.7.10-5
python-light - 2.7.10-5
python-logging - 2.7.10-5
python-multiprocessing - 2.7.10-5
python-ncurses - 2.7.10-5
python-openssl - 2.7.10-5
python-pip - 1.5.6-1
python-pydoc - 2.7.10-5
python-setuptools - 7.0-1
python-sqlite3 - 2.7.10-5
python-unittest - 2.7.10-5
python-xml - 2.7.10-5
python3 - 3.4.3-2
python3-asyncio - 3.4.3-2
python3-base - 3.4.3-2
python3-codecs - 3.4.3-2
python3-ctypes - 3.4.3-2
python3-dbm - 3.4.3-2
python3-decimal - 3.4.3-2
python3-distutils - 3.4.3-2
python3-email - 3.4.3-2
python3-gdbm - 3.4.3-2
python3-light - 3.4.3-2
python3-logging - 3.4.3-2
python3-lzma - 3.4.3-2
python3-multiprocessing - 3.4.3-2
python3-ncurses - 3.4.3-2
python3-openssl - 3.4.3-2
python3-pydoc - 3.4.3-2
python3-sqlite3 - 3.4.3-2
python3-unittest - 3.4.3-2
python3-xml - 3.4.3-2
r8188eu-firmware - 2014-03-16-f8c22c692bdee57a20b092e647464ff6176df3ed-1
rpcd - 2015-05-17-3d655417ab44d93aad56a6d4a668daf24b127b84
tc - 4.0.0-1
terminfo - 5.9-2
uboot-envtools - 2014.10-2
uboot-sunxi-Bananapro - 2015.01
ubox - 2015-05-22-ab5b47397cc143798ba2f367f04579e5b5b82070
ubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
ubusd - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
uci - 2015-04-09.1-1
uhttpd - 2015-05-31-daeea305298197bb50c1e63cdd842ee1d9461d80
uhttpd-mod-ubus - 2015-05-31-daeea305298197bb50c1e63cdd842ee1d9461d80
usign - 2015-05-08-cf8dcdb8a4e874c77f3e9a8e9b643e8c17b19131
vsftpd - 3.0.2-5
wget - 1.16.3-1
wireless-tools - 29-5
zlib - 1.2.8-1


使用方法:

  • 板载网卡我改成了wan口,把M1+接在路由器(或交换机之类的,你找得到ip就行)下,找到相应的ip,直接访问ip就可以进入web管理界面了。ssh服务也是默认开启的。

  • 默认的账号密码为:root/admin


大家喜欢集成什么软件可以在下面留言,能搞得定的,我都尽量搞定


固件下载地址:
链接:http://pan.baidu.com/s/175Hj4 密码:v2cf