Jump to content

[Armbian build PR] - WIP: `add board Banana Pi M4Zero`


Recommended Posts

Posted

DMESG; https://paste.debian.net/1308388/

Wifi / Bluetooth

patrick@bananapim4zero:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
3: wlx9803cf623b3f: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 98:03:cf:62:3b:3f brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.172/24 brd 10.0.0.255 scope global dynamic noprefixroute wlx9803cf623b3f
       valid_lft 172331sec preferred_lft 172331sec
    inet6 2601:586:4d00:3580::9b29/128 scope global dynamic noprefixroute 
       valid_lft 345134sec preferred_lft 345134sec
    inet6 2601:586:4d00:3580:26d0:ba9c:10af:4de9/64 scope global dynamic noprefixroute 
       valid_lft 345601sec preferred_lft 345601sec
    inet6 fe80::2cd1:8a57:ec6f:1336/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
4: usb0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f6:b7:9a:22:59:54 brd ff:ff:ff:ff:ff:ff
patrick@bananapim4zero:~$ bluetoothctl
Agent registered
[CHG] Controller 98:03:CF:62:3B:40 Pairable: yes
[bluetooth]# show
Controller 98:03:CF:62:3B:40 (public)
Name: bananapim4zero
Alias: bananapim4zero
Class: 0x00000000
Powered: yes
Discoverable: no
DiscoverableTimeout: 0x000000b4
Pairable: yes
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0542
Discovering: no
Roles: central
Roles: peripheral
Advertising Features:
ActiveInstances: 0x00 (0)
SupportedInstances: 0x05 (5)
SupportedIncludes: appearance
SupportedIncludes: local-name

Connected to PC with g_ether enabled;

[2788714.157345] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[2788714.157348] usb 6-1: Product: RNDIS/Ethernet Gadget
[2788714.157351] usb 6-1: Manufacturer: Armbian Linux 6.6.18-current-sunxi64 with musb-hdrc
[2788714.158370] cdc_subset 6-1:1.0 usb0: register 'cdc_subset' at usb-0000:00:1d.7-1, Linux Device, 32:5f:82:14:13:48
[2788714.186937] usbcore: registered new interface driver cdc_eem

lsblk

NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
mmcblk0      179:0    0  29.7G  0 disk 
└─mmcblk0p1  179:1    0  29.4G  0 part /var/log.hdd
                                       /
mmcblk1      179:32   0   7.3G  0 disk 
├─mmcblk1p1  179:33   0   508M  0 part 
└─mmcblk1p2  179:34   0   6.8G  0 part 
mmcblk1boot0 179:64   0     4M  1 disk 
mmcblk1boot1 179:96   0     4M  1 disk 
zram0        251:0    0 961.7M  0 disk [SWAP]
zram1        251:1    0    50M  0 disk /var/log
zram2        251:2    0     0B  0 disk 

I haven't tested to make sure eMMC boot works yet with Armbian, but it does on my personal builds, with the same patches in place.

NOTE: WIFI and BT can sometimes be sketchy. Currently the Armbian img is using RTW88. There is the morrownr option, which runs stable, but I also find to not be 100%.

Checklist:

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [X] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines