Adding support for the Banana Pi M2 Ultra

Hi everyone,

I own this device, the Banana Pi M2 Ultra, and I want to add support upstream in OpenWrt.

The performance is much better than the already supported Banana Pi (Allwinner A20) which can only NAT around 400MBit/s. Since my internet is 600MBit/s, I wanted something faster, and the Banana Pi M2 Ultra with 4xCortex A7 is able to NAT at the full speed of my connection (600MBit).

I added a page on the Wiki ToH with the techdata.

Here is my GitHub PR to add support. I am already running OpenWrt trunk on my Banana Pi M2 Ultra.

While this is not the newest hardware, hopefully it is interesting to someone!

Regarding your PR:

From: https://openwrt.org/submitting-patches

If you add support for new hardware: Include in your commit message a short description of the hardware and how to install OpenWrt on it. Have a look at the recent additions for some examples

Hello
Is the Ethernet port configured by default as wan?
regards

I have copied the image to the sd memory he started the system, but when the system is about to finish, it restarts from nowhere and remains in that loop, I am not able to make any modification, it has some image that I can use that does not be the sea of the openwrt repository?
first of all, Thanks

1 Like

Yes, there is a known bug in procd on this hardware that causes the hardware watchdog to time out and reset.

Look in the bug for the patch which resolves the issue. The procd maintainer says the bug is in the kernel module and thus will not be fixed in procd. I have not had time to debug the kernel module to figure out why it is failing.

Lower the timeout in procd, as mentioned in the bug report (linked above) and it will boot.

I've just tested the two new snapshot images for Bananapi M2 ultra:

openwrt-sunxi-cortexa7-sun8i-r40-bananapi-m2-ultra-ext4-sdcard.img
and
openwrt-sunxi-cortexa7-sun8i-r40-bananapi-m2-ultra-squashfs-sdcard.img

none of the two works! The board doesn't start.

Tested both, "dd" and "bpi-copy" writing procedures without any success.

I have seen that kernel 4.19 and mainline 5.4 there are differences between dtsi

something similar happens between dts for wifi

  • 4.19.85
    & reg_dldo1 {
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <3300000>;
    regulator-name = "vcc-wifi-io";
    };

& reg_dldo2 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc-wifi";
};

  • 5.4-rc8
    & reg_dldo1 {
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <3300000>;
    regulator-name = "vcc-wifi-io";
    };

/ *

  • Our WiFi chip needs both DLDO2 and DLDO3 to be powered at the same
  • time, with the two being in sync, to be able to meet maximum power
  • consumption during transmits. Since this is not really supported
  • right now, just use the two as always on, and we will fix it later.
  • /

& reg_dldo2 {
regulator-always-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc-wifi";
};

& reg_dldo3 {
regulator-always-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc-wifi-2";
};

Hi @hmartin , I would like to know if you can give me some reference to try to change the DTB for a modified one, regards

A post was split to a new topic: Adding support for Banana Pi M2 Berry

Hello, I have downloaded a current image which brings kernel 5.4.x and does not have the restart problem like the situation we experienced with the first version.

=> reset
reset
resetting ...

U-Boot SPL 2020.01 (Apr 03 2020 - 15:59:56 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2020.01 (Apr 03 2020 - 15:59:56 +0000) Allwinner Technology

CPU:   Allwinner R40 (SUN8I 1701)
Model: Banana Pi BPI-M2-Ultra
I2C:   ready
DRAM:  2 GiB
MMC:   Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000'
mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 1:1... In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
Net:   phy interface7
eth0: ethernet@1c50000
starting USB...
No working controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
377 bytes read in 2 ms (183.6 KiB/s)
## Executing script at 43100000
3305736 bytes read in 152 ms (20.7 MiB/s)
17636 bytes read in 4 ms (4.2 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.28
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3305672 Bytes = 3.2 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Kernel Image
   Using Device Tree in place at 43000000, end 430074e3

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.28 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r12798-b51ea43f90)) #0 SMP Fri Apr 3 15:59:56 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Banana Pi BPI-M2-Ultra
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 15 pages/cpu s30860 r8192 d22388 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 521984
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x6a6ee000-0x6e6ee000] (64MB)
[    0.000000] Memory: 1992552K/2097152K available (6715K kernel code, 420K rwdata, 1880K rodata, 2048K init, 251K bss, 104600K reserved, 0K cma-reserved, 1310708K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: GICv2 detected, but range too small and irqchip.gicv2_force_probe not set
[    0.000000] random: get_random_bytes called from start_kernel+0x2fc/0x4a8 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000128] Console: colour dummy device 80x30
[    0.000174] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000187] pid_max: default: 32768 minimum: 301
[    0.000347] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000361] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001210] CPU: Testing write buffer coherency: ok
[    0.001579] /cpus/cpu@0 missing clock-frequency property
[    0.001595] /cpus/cpu@1 missing clock-frequency property
[    0.001609] /cpus/cpu@2 missing clock-frequency property
[    0.001622] /cpus/cpu@3 missing clock-frequency property
[    0.001633] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002096] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002211] rcu: Hierarchical SRCU implementation.
[    0.002689] smp: Bringing up secondary CPUs ...
[    0.013386] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024148] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.034867] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.034957] smp: Brought up 1 node, 4 CPUs
[    0.034976] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.034982] CPU: All CPU(s) started in HYP mode.
[    0.034986] CPU: Virtualization extensions available.
[    0.039574] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.039818] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.039839] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.040173] pinctrl core: initialized pinctrl subsystem
[    0.041287] NET: Registered protocol family 16
[    0.041573] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.042618] No ATAGs?
[    0.059266] SCSI subsystem initialized
[    0.059798] usbcore: registered new interface driver usbfs
[    0.059858] usbcore: registered new interface driver hub
[    0.059933] usbcore: registered new device driver usb
[    0.060081] videodev: Linux video capture interface: v2.00
[    0.060130] pps_core: LinuxPPS API ver. 1 registered
[    0.060138] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.060166] PTP clock support registered
[    0.060519] Advanced Linux Sound Architecture Driver Initialized.
[    0.061537] clocksource: Switched to clocksource arch_sys_counter
[    0.067089] thermal_sys: Registered thermal governor 'step_wise'
[    0.067428] NET: Registered protocol family 2
[    0.068089] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.068123] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.068197] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.068312] TCP: Hash tables configured (established 8192 bind 8192)
[    0.068423] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.068486] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.068713] NET: Registered protocol family 1
[    0.069606] kvm [1]: Hyp mode initialized successfully
[    0.070889] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.077154] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.077313] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.078482] bounce: pool size: 64 pages
[    0.079460] sun4i-usb-phy 1c13400.phy: failed to get clock usb0_phy
[    0.081285] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pi not found, using dummy regulator
[    0.087476] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.094723] loop: module loaded
[    0.096055] libphy: Fixed MDIO Bus: probed
[    0.096781] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.096793] ehci-platform: EHCI generic platform driver
[    0.097168] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.097194] ohci-platform: OHCI generic platform driver
[    0.097574] usbcore: registered new interface driver usb-storage
[    0.097812] mousedev: PS/2 mouse device common for all mice
[    0.098199] i2c /dev entries driver
[    0.098864] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.101331] NET: Registered protocol family 10
[    0.102889] Segment Routing with IPv6
[    0.102987] NET: Registered protocol family 17
[    0.103045] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.103054] can: controller area network core (rev 20170425 abi 9)
[    0.103119] NET: Registered protocol family 29
[    0.103131] 8021q: 802.1Q VLAN Support v1.8
[    0.103238] Registering SWP/SWPB emulation handler
[    0.115305] sun4i-usb-phy 1c13400.phy: Couldn't get regulator usb1_vbus... Deferring probe
[    0.116943] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pi not found, using dummy regulator
[    0.118467] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.119882] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.120259] printk: console [ttyS0] disabled
[    0.140543] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 31, base_baud = 1500000) is a U6_16550A
[    0.822643] printk: console [ttyS0] enabled
[    0.827406] sun4i-pinctrl 1c20800.pinctrl: Couldn't get bank PG regulator
[    0.834214] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    0.840822] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    0.848134] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    0.858650] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    0.866705] sun4i-pinctrl 1c20800.pinctrl: Couldn't get bank PA regulator
[    0.873507] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 0
[    0.879941] sun4i-pinctrl 1c20800.pinctrl: pin-0 (1c50000.ethernet) status -517
[    0.887251] sun4i-pinctrl 1c20800.pinctrl: could not request pin 0 (PA0) from group PA0  on device 1c20800.pinctrl
[    0.897591] dwmac-sun8i 1c50000.ethernet: Error applying setting, reverse things back
[    0.907364] axp20x-i2c 0-0034: AXP20x variant AXP221 found
[    0.928615] input: axp20x-pek as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0034/axp221-pek/input/input0
[    0.938731] dcdc1: supplied by regulator-dummy
[    0.943663] vcc-3v0: Bringing 3300000uV into 3000000-3000000uV
[    0.950426] dcdc2: supplied by regulator-dummy
[    0.955556] dcdc3: supplied by regulator-dummy
[    0.960617] dcdc4: supplied by regulator-dummy
[    0.965736] dcdc5: supplied by regulator-dummy
[    0.970794] dc1sw: supplied by vcc-3v0
[    0.974784] dc5ldo: supplied by vcc-dram
[    0.979352] aldo1: supplied by regulator-dummy
[    0.983864] random: fast init done
[    0.987767] aldo2: supplied by regulator-dummy
[    0.992895] aldo3: supplied by regulator-dummy
[    0.998370] eldo1: supplied by regulator-dummy
[    1.003483] eldo2: supplied by regulator-dummy
[    1.008550] eldo3: supplied by regulator-dummy
[    1.013671] dldo1: supplied by regulator-dummy
[    1.018551] vcc-wifi-io: Bringing 700000uV into 1800000-1800000uV
[    1.025563] dldo2: supplied by regulator-dummy
[    1.030441] vcc-wifi: Bringing 700000uV into 3300000-3300000uV
[    1.036804] dldo3: supplied by regulator-dummy
[    1.041692] vcc-wifi-2: Bringing 700000uV into 3300000-3300000uV
[    1.048484] dldo4: supplied by regulator-dummy
[    1.053595] rtc_ldo: supplied by regulator-dummy
[    1.058427] ldo_io0: supplied by regulator-dummy
[    1.063694] ldo_io1: supplied by regulator-dummy
[    1.069955] axp20x-usb-power-supply axp20x-usb-power-supply: DMA mask not set
[    1.077178] axp20x-i2c 0-0034: AXP20X driver loaded
[    1.083849] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-ph not found, using dummy regulator
[    1.093530] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.131739] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.141742] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    1.147147] vcc-wifi: voltage operation not allowed
[    1.152047] sunxi-mmc 1c10000.mmc: could not set regulator OCR (-1)
[    1.191551] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.241554] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[    1.273102] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 32, base_baud = 1500000) is a U6_16550A
[    1.282768] dwmac-sun8i 1c50000.ethernet: IRQ eth_wake_irq not found
[    1.289121] dwmac-sun8i 1c50000.ethernet: IRQ eth_lpi not found
[    1.295143] dwmac-sun8i 1c50000.ethernet: PTP uses main clock
[    1.301196] dwmac-sun8i 1c50000.ethernet: Current syscon value is not the default 6 (expect 0)
[    1.309867] dwmac-sun8i 1c50000.ethernet: No HW DMA feature register supported
[    1.317094] dwmac-sun8i 1c50000.ethernet: RX Checksum Offload Engine supported
[    1.324318] dwmac-sun8i 1c50000.ethernet: COE Type 2
[    1.329277] dwmac-sun8i 1c50000.ethernet: TX Checksum insertion supported
[    1.336065] dwmac-sun8i 1c50000.ethernet: Normal descriptors
[    1.341725] dwmac-sun8i 1c50000.ethernet: Chain mode enabled
[    1.347585] libphy: stmmac: probed
[    1.359944] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.365476] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.373657] mmc0: new SDHC card at address 0001
[    1.379818] ehci-platform 1c19000.usb: EHCI Host Controller
[    1.385475] ehci-platform 1c19000.usb: new USB bus registered, assigned bus number 1
[    1.393351] ehci-platform 1c19000.usb: irq 25, io mem 0x01c19000
[    1.399927] mmcblk0: mmc0:0001 SD16G 14.6 GiB
[    1.405414] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.411154]  mmcblk0: p1 p2
[    1.416687] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.422234] ehci-platform 1c19000.usb: USB 2.0 started, EHCI 1.00
[    1.428558] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    1.436852] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.444077] usb usb1: Product: EHCI Host Controller
[    1.448950] usb usb1: Manufacturer: Linux 5.4.28 ehci_hcd
[    1.454352] usb usb1: SerialNumber: 1c19000.usb
[    1.459328] hub 1-0:1.0: USB hub found
[    1.463165] hub 1-0:1.0: 1 port detected
[    1.467949] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.473600] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    1.481460] ehci-platform 1c1c000.usb: irq 27, io mem 0x01c1c000
[    1.489875] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.501883] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    1.511554] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.517845] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    1.526127] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.533351] usb usb2: Product: EHCI Host Controller
[    1.538223] usb usb2: Manufacturer: Linux 5.4.28 ehci_hcd
[    1.543623] usb usb2: SerialNumber: 1c1c000.usb
[    1.548570] hub 2-0:1.0: USB hub found
[    1.552525] hub 2-0:1.0: 1 port detected
[    1.557198] ohci-platform 1c19400.usb: Generic Platform OHCI controller
[    1.563858] ohci-platform 1c19400.usb: new USB bus registered, assigned bus number 3
[    1.571760] ohci-platform 1c19400.usb: irq 26, io mem 0x01c19400
[    1.640812] mmc2: new DDR MMC card at address 0001
[    1.650436] mmcblk2: mmc2:0001 8WPD3R 7.28 GiB
[    1.655482] mmcblk2boot0: mmc2:0001 8WPD3R partition 1 4.00 MiB
[    1.661903] mmcblk2boot1: mmc2:0001 8WPD3R partition 2 4.00 MiB
[    1.668425] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[    1.676737] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.683964] usb usb3: Product: Generic Platform OHCI controller
[    1.689877] usb usb3: Manufacturer: Linux 5.4.28 ohci_hcd
[    1.695285] usb usb3: SerialNumber: 1c19400.usb
[    1.700505] hub 3-0:1.0: USB hub found
[    1.704440]  mmcblk2: p1
[    1.708193] hub 3-0:1.0: 1 port detected
[    1.713049] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    1.719682] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    1.727598] ohci-platform 1c1c400.usb: irq 28, io mem 0x01c1c400
[    1.805752] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[    1.814039] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.821252] usb usb4: Product: Generic Platform OHCI controller
[    1.827181] usb usb4: Manufacturer: Linux 5.4.28 ohci_hcd
[    1.832583] usb usb4: SerialNumber: 1c1c400.usb
[    1.837537] hub 4-0:1.0: USB hub found
[    1.841340] hub 4-0:1.0: 1 port detected
[    1.845694] hctosys: unable to open rtc device (rtc0)
[    1.851149] ALSA device list:
[    1.854136]   No soundcards found.
[    1.874820] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.882391] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.890911] mmc1: new high speed SDIO card at address 0001
[    1.893494] Freeing unused kernel memory: 2048K
[    1.921739] Run /sbin/init as init process
[    2.057623] init: Console is alive
[    2.061207] init: - watchdog -
[    2.266965] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.292113] ehci-fsl: Freescale EHCI Host controller driver
[    2.300362] ahci-sunxi 1c18000.sata: 1c18000.sata supply target not found, using dummy regulator
[    2.401561] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    2.409041] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[    2.414930] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    2.423891] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc
[    2.432612] scsi host0: ahci-sunxi
[    2.436418] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 34
[    2.781539] ata1: SATA link down (SStatus 0 SControl 300)
[    2.790273] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.801745] init: - preinit -
[    3.000568] random: jshn: uninitialized urandom read (4 bytes read)
[    3.026377] random: jshn: uninitialized urandom read (4 bytes read)
[    3.046168] random: jshn: uninitialized urandom read (4 bytes read)
[    3.091621] dwmac-sun8i 1c50000.ethernet eth0: PHY [stmmac-0:01] driver [Generic PHY]
[    3.100465] dwmac-sun8i 1c50000.ethernet eth0: No Safety Features support found
[    3.107808] dwmac-sun8i 1c50000.ethernet eth0: No MAC Management Counters available
[    3.115465] dwmac-sun8i 1c50000.ethernet eth0: PTP not supported by HW
[    3.121998] dwmac-sun8i 1c50000.ethernet eth0: configuring for phy/rgmii link mode
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    7.219846] mount_root: mounting /dev/root
[    7.224526] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    7.243096] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    7.298177] urandom-seed: Seeding with /etc/urandom.seed
[    7.366922] procd: - early -
[    7.369876] procd: - watchdog -
[    7.921649] procd: - watchdog -
[    7.925011] procd: - ubus -
[    7.938489] urandom_read: 1 callbacks suppressed
[    7.938496] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.983208] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.989744] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.996605] procd: - init -
Please press Enter to activate this console.
[    8.236467] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.257943] urngd: v1.0.2 started.
[    8.278372] hidraw: raw HID events driver (C) Jiri Kosina
[    8.309524] random: crng init done
[    8.311831] Bluetooth: Core ver 2.22
[    8.312991] random: 3 urandom warning(s) missed due to ratelimiting
[    8.316599] NET: Registered protocol family 31
[    8.327221] Bluetooth: HCI device and connection manager initialized
[    8.333658] Bluetooth: HCI socket layer initialized
[    8.338534] Bluetooth: L2CAP socket layer initialized
[    8.343610] Bluetooth: SCO socket layer initialized
[    8.349592] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.354926] Bluetooth: BNEP filters: protocol multicast
[    8.360158] Bluetooth: BNEP socket layer initialized
[    8.372582] usbcore: registered new interface driver btusb
[    8.379349] Bluetooth: HCI UART driver ver 2.3
[    8.383820] Bluetooth: HCI UART protocol H4 registered
[    8.388951] Bluetooth: HCI UART protocol BCSP registered
[    8.394261] Bluetooth: HCI UART protocol ATH3K registered
[    8.400587] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    8.406533] Bluetooth: HIDP socket layer initialized
[    8.417264] Bluetooth: RFCOMM TTY layer initialized
[    8.422194] Bluetooth: RFCOMM socket layer initialized
[    8.427353] Bluetooth: RFCOMM ver 1.11
[    8.440939] xt_time: kernel timezone is -0000
[    8.455166] PPP generic driver version 2.4.2
[    8.460259] NET: Registered protocol family 24
[    8.470595] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.091604] dwmac-sun8i 1c50000.ethernet eth0: PHY [stmmac-0:01] driver [Generic PHY]
[   11.100773] dwmac-sun8i 1c50000.ethernet eth0: No Safety Features support found
[   11.108210] dwmac-sun8i 1c50000.ethernet eth0: No MAC Management Counters available
[   11.116019] dwmac-sun8i 1c50000.ethernet eth0: PTP not supported by HW
[   11.122616] dwmac-sun8i 1c50000.ethernet eth0: configuring for phy/rgmii link mode
[   15.491569] dwmac-sun8i 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   15.500137] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready





BusyBox v1.31.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r12798-b51ea43f90
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#
root@OpenWrt:/# uname -a

uname -a
Linux OpenWrt 5.4.28 #0 SMP Fri Apr 3 15:59:56 2020 armv7l GNU/Linux
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/# 
[   31.851571] dc5ldo: disabling

@juanesf91 I saw your comments on GitHub, sorry I didn't take a look earlier.

I will add kmod-brcmfmac brcmfmac-firmware-43430-sdio wpad-basic to lemaker_bananapi-m2-ultra and test.

1 Like

Tested and working (locally) on trunk. The PR to add support is here: https://github.com/openwrt/openwrt/pull/2980

1 Like

Cypress firmware has also worked