Commit d8ca418
committed
xm530: bring up the AltoBeam ATBM6032 USB WiFi chip
Some XM530 boards (e.g. IPC-RB-BLK530AI-0235P-AB0) carry an AltoBeam
ATBM6032 on USB (007a:8888) with a power-down gpio. Enable the existing
atbm60xx package (603x, USB) in the xm530 defconfig and add the
/etc/wireless/usb case for it: load the dwc OTG stack, toggle the PDN
regulator (the gpio comes from the wifipdn env, set per board, e.g. by a
builder profile customizer), then modprobe the driver; S40network applies
the MAC and runs ifup as for every other wlandev.
Supporting changes:
- re-run depmod in xiongmai-osdrv-xm530's target-finalize: the vendor
kernel ships a modules.dep that only lists its own modules, leaving
dwc_otg, wifi_pdn and atbm603x invisible to modprobe (same pattern as
hisilicon-opensdk);
- install the vendor cfg80211 rewrite as cfg80211_xm711.ko instead of over
the in-tree cfg80211, and load it from there in the 'wifi xm711'
helper: atbm60xx (and the kernel-built mac80211) need the in-tree
module at the canonical path, so both WiFi stacks stay usable in one
image;
- pin atbm60xx to a fixed revision instead of moving HEAD.
A companion per-device profile in OpenIPC/builder
(xm530_lite_anbiux-a8b-3mp) sets wlandev, wifipdn and the upgrade url
automatically on first boot.1 parent 317b443 commit d8ca418
5 files changed
Lines changed: 33 additions & 4 deletions
File tree
- br-ext-chip-xiongmai/configs
- general
- overlay/etc/wireless
- package
- atbm60xx
- xiongmai-osdrv-xm530
- files/script
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
327 | 337 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | | - | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
39 | 53 | | |
0 commit comments