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!

2 Likes

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.

1 Like

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.

2 Likes

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

2 Likes

Cypress firmware has also worked

My version 1.1 BPiM2U won't boot. It hangs just after 33 seconds:
The end is the same for all releases to 22.03rc6.

openwrt-22.03.0-rc6-sunxi-cortexa7-sinovoip_bananapi-m2-ultra-ext4-sdcard.img.gz

U-Boot SPL 2020.04-OpenWrt-r19590-042d558536 (Jul 31 2022 - 15:12:47 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2020.04-OpenWrt-r19590-042d558536 (Jul 31 2022 - 15:12:47 +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... *** Warning - bad CRC, using default environment

In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
Net:   phy interface7
eth0: ethernet@1c50000
starting USB...
Bus usb@1c19000: failed to get usb phy
Port not available.
Bus usb@1c19400: failed to get usb phy
Port not available.
Bus usb@1c1c000: failed to get usb phy
Port not available.
Bus usb@1c1c400: failed to get usb phy
Port not available.
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
3355024 bytes read in 156 ms (20.5 MiB/s)
22353 bytes read in 4 ms (5.3 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   ARM OpenWrt Linux-5.10.134
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3354960 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 43008750

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.134 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r19590-042d558536) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sun Jul 31 15:12:47 2022
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000040000000-0x000000006fffffff]
[    0.000000]   HighMem  [mem 0x0000000070000000-0x00000000bfffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    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 s30732 r8192 d22516 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522560
[    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] Memory: 2064180K/2097152K available (7549K kernel code, 838K rwdata, 1224K rodata, 2048K init, 257K bss, 32972K 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]  Tracing variant of Tasks RCU enabled.
[    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: Using split EOI/Deactivate mode
[    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.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000201] Console: colour dummy device 80x30
[    0.000260] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000279] pid_max: default: 32768 minimum: 301
[    0.000422] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000439] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001314] CPU: Testing write buffer coherency: ok
[    0.001686] /cpus/cpu@0 missing clock-frequency property
[    0.001709] /cpus/cpu@1 missing clock-frequency property
[    0.001726] /cpus/cpu@2 missing clock-frequency property
[    0.001744] /cpus/cpu@3 missing clock-frequency property
[    0.001756] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002443] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002576] rcu: Hierarchical SRCU implementation.
[    0.002765] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.003167] smp: Bringing up secondary CPUs ...
[    0.013931] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024819] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035635] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035722] smp: Brought up 1 node, 4 CPUs
[    0.035748] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035755] CPU: All CPU(s) started in HYP mode.
[    0.035761] CPU: Virtualization extensions available.
[    0.041443] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.041693] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.041717] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.041978] pinctrl core: initialized pinctrl subsystem
[    0.043581] NET: Registered protocol family 16
[    0.044159] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.045525] thermal_sys: Registered thermal governor 'step_wise'
[    0.045957] No ATAGs?
[    0.078790] SCSI subsystem initialized
[    0.079422] usbcore: registered new interface driver usbfs
[    0.079503] usbcore: registered new interface driver hub
[    0.079574] usbcore: registered new device driver usb
[    0.079909] pps_core: LinuxPPS API ver. 1 registered
[    0.079925] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.079953] PTP clock support registered
[    0.080296] Advanced Linux Sound Architecture Driver Initialized.
[    0.081657] clocksource: Switched to clocksource arch_sys_counter
[    0.087612] NET: Registered protocol family 2
[    0.087903] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.089159] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.089213] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.089288] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.089405] TCP: Hash tables configured (established 8192 bind 8192)
[    0.089532] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.089604] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.089884] NET: Registered protocol family 1
[    0.091985] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.096113] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.096228] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.097232] bounce: pool size: 64 pages
[    0.097308] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.098682] sun4i-usb-phy 1c13400.phy: failed to get clock usb0_phy
[    0.100757] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pi not found, using dummy regulator
[    0.115805] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.124196] loop: module loaded
[    0.124507] Loading iSCSI transport class v2.0-870.
[    0.129046] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.129084] ehci-platform: EHCI generic platform driver
[    0.129657] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.129730] ohci-platform: OHCI generic platform driver
[    0.130264] usbcore: registered new interface driver usb-storage
[    0.130827] mousedev: PS/2 mouse device common for all mice
[    0.132440] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.132503] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:05 UTC (5)
[    0.132517] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.132733] i2c /dev entries driver
[    0.134942] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.137843] NET: Registered protocol family 10
[    0.138873] Segment Routing with IPv6
[    0.138955] NET: Registered protocol family 17
[    0.139013] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.139158] can: controller area network core
[    0.139222] NET: Registered protocol family 29
[    0.139232] 8021q: 802.1Q VLAN Support v1.8
[    0.139350] Registering SWP/SWPB emulation handler
[    0.152146] sun4i-usb-phy 1c13400.phy: Couldn't get regulator usb1_vbus... Deferring probe
[    0.154028] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pi not found, using dummy regulator
[    0.155661] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.157768] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pb not found, using dummy regulator
[    0.158215] printk: console [ttyS0] disabled
[    0.178422] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    0.911327] printk: console [ttyS0] enabled
[    0.916378] sun4i-pinctrl 1c20800.pinctrl: Couldn't get bank PG regulator
[    0.923192] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    0.929802] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    0.937113] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    0.947636] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    0.955722] sun4i-pinctrl 1c20800.pinctrl: Couldn't get bank PA regulator
[    0.962519] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 0
[    0.968955] sun4i-pinctrl 1c20800.pinctrl: pin-0 (1c50000.ethernet) status -517
[    0.976269] sun4i-pinctrl 1c20800.pinctrl: could not request pin 0 (PA0) from group PA0  on device 1c20800.pinctrl
[    0.986607] dwmac-sun8i 1c50000.ethernet: Error applying setting, reverse things back
[    0.997614] axp20x-i2c 0-0034: AXP20x variant AXP221 found
[    1.010457] input: axp20x-pek as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0034/axp221-pek/input/input0
[    1.029023] vcc-3v3: supplied by regulator-dummy
[    1.034817] vdd-cpu: supplied by regulator-dummy
[    1.040113] vdd-sys: supplied by regulator-dummy
[    1.045579] dcdc4: supplied by regulator-dummy
[    1.050547] vcc-dram: supplied by regulator-dummy
[    1.055503] vcc-gmac-phy: failed to get the current voltage: -EPROBE_DEFER
[    1.062406] vcc-gmac-phy: supplied by vcc-3v3
[    1.067529] dc5ldo: supplied by vcc-dram
[    1.072145] aldo1: supplied by regulator-dummy
[    1.077236] vcc-pa: supplied by regulator-dummy
[    1.082312] avcc: supplied by regulator-dummy
[    1.087889] eldo1: supplied by regulator-dummy
[    1.093067] eldo2: supplied by regulator-dummy
[    1.098176] vdd1v2-sata: supplied by regulator-dummy
[    1.103653] vcc-wifi-io: Bringing 700000uV into 1800000-1800000uV
[    1.110631] vcc-wifi-io: supplied by regulator-dummy
[    1.116147] vcc-wifi: Bringing 700000uV into 3300000-3300000uV
[    1.122321] vcc-wifi: supplied by regulator-dummy
[    1.127987] vcc-wifi-2: Bringing 700000uV into 3300000-3300000uV
[    1.134345] vcc-wifi-2: supplied by regulator-dummy
[    1.140382] vdd2v5-sata: supplied by regulator-dummy
[    1.145477] rtc_ldo: supplied by regulator-dummy
[    1.150905] ldo_io0: supplied by regulator-dummy
[    1.156197] ldo_io1: supplied by regulator-dummy
[    1.161355] axp20x-i2c 0-0034: AXP20X driver loaded
[    1.169253] sun4i-pinctrl 1c20800.pinctrl: supply vcc-ph not found, using dummy regulator
[    1.170468] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    1.177580] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.200055] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.201703] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[    1.210135] dwmac-sun8i 1c50000.ethernet: IRQ eth_wake_irq not found
[    1.221679] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.221887] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.224267] dwmac-sun8i 1c50000.ethernet: IRQ eth_lpi not found
[    1.248475] dwmac-sun8i 1c50000.ethernet: PTP uses main clock
[    1.254263] dwmac-sun8i 1c50000.ethernet: Current syscon value is not the default 6 (expect 0)
[    1.263288] dwmac-sun8i 1c50000.ethernet: No HW DMA feature register supported
[    1.270511] dwmac-sun8i 1c50000.ethernet: RX Checksum Offload Engine supported
[    1.277752] dwmac-sun8i 1c50000.ethernet: COE Type 2
[    1.281492] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.282717] dwmac-sun8i 1c50000.ethernet: TX Checksum insertion supported
[    1.282723] dwmac-sun8i 1c50000.ethernet: Normal descriptors
[    1.282727] dwmac-sun8i 1c50000.ethernet: Chain mode enabled
[    1.309427] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.317905] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.328861] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.332587] ehci-platform 1c19000.usb: EHCI Host Controller
[    1.339962] ehci-platform 1c19000.usb: new USB bus registered, assigned bus number 1
[    1.340963] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    1.347731] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.347876] ehci-platform 1c19000.usb: irq 37, io mem 0x01c19000
[    1.353275] mmc0: Problem switching card into high-speed mode!
[    1.373302] mmc0: new SDHC card at address 0001
[    1.378801] mmcblk0: mmc0:0001 ASTC 14.9 GiB
[    1.381768] ehci-platform 1c19000.usb: USB 2.0 started, EHCI 1.00
[    1.382121] mmc2: new DDR MMC card at address 0001
[    1.383031] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB
[    1.383515] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[    1.389506] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.389839]  mmcblk0: p1 p2
[    1.394699] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[    1.398648] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.405354] sunxi-mmc 1c11000.mmc: data error, sending stop command
[    1.412849] usb usb1: Product: EHCI Host Controller
[    1.412855] usb usb1: Manufacturer: Linux 5.10.134 ehci_hcd
[    1.412869] usb usb1: SerialNumber: 1c19000.usb
[    1.450463] hub 1-0:1.0: USB hub found
[    1.454284] hub 1-0:1.0: 1 port detected
[    1.459267] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.464883] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    1.472813] ehci-platform 1c1c000.usb: irq 39, io mem 0x01c1c000
[    1.501648] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.507928] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.516204] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.523433] usb usb2: Product: EHCI Host Controller
[    1.528306] usb usb2: Manufacturer: Linux 5.10.134 ehci_hcd
[    1.533879] usb usb2: SerialNumber: 1c1c000.usb
[    1.538852] hub 2-0:1.0: USB hub found
[    1.542669] hub 2-0:1.0: 1 port detected
[    1.547734] ohci-platform 1c19400.usb: Generic Platform OHCI controller
[    1.554398] ohci-platform 1c19400.usb: new USB bus registered, assigned bus number 3
[    1.562289] ohci-platform 1c19400.usb: irq 38, io mem 0x01c19400
[    1.635831] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    1.644108] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.651323] usb usb3: Product: Generic Platform OHCI controller
[    1.657243] usb usb3: Manufacturer: Linux 5.10.134 ohci_hcd
[    1.662815] usb usb3: SerialNumber: 1c19400.usb
[    1.667773] hub 3-0:1.0: USB hub found
[    1.671572] hub 3-0:1.0: 1 port detected
[    1.676602] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    1.683274] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    1.691172] ohci-platform 1c1c400.usb: irq 40, io mem 0x01c1c400
[    1.765804] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    1.774079] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.781294] usb usb4: Product: Generic Platform OHCI controller
[    1.787219] usb usb4: Manufacturer: Linux 5.10.134 ohci_hcd
[    1.792791] usb usb4: SerialNumber: 1c1c400.usb
[    1.797749] hub 4-0:1.0: USB hub found
[    1.801559] hub 4-0:1.0: 1 port detected
[    1.806573] ALSA device list:
[    1.809551]   No soundcards found.
[    2.011664] usb 3-1: new low-speed USB device number 2 using ohci-platform
[    2.284680] usb 3-1: New USB device found, idVendor=045e, idProduct=0752, bcdDevice= 3.00
[    2.292860] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.299987] usb 3-1: Product: Wired Keyboard 400
[    2.304612] usb 3-1: Manufacturer: Microsoft
[    2.411633] sunxi-mmc 1c11000.mmc: send stop command failed
[    2.528550] mmc1: new high speed SDIO card at address 0001
[   31.851667] dc5ldo: disabling
[   31.854972] vdd1v2-sata: disabling
[   31.858673] vdd2v5-sata: disabling



Are you booting from an SD card? Have you tried a different SD card and are the results the same?

The Gigastone 16GB microSD cards are so fast. I trust them.

V1.1 bpim2ultra
Oct.22/22
Samsung EVO 32GB U1 - same result as the Gigastone 16GB U3 card from yesterday

V1.1 bpim2ultra
Oct.22/22
Samsung EVO 32GB U1

U-Boot SPL 2020.04-OpenWrt-r19590-042d558536 (Jul 31 2022 - 15:12:47 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2020.04-OpenWrt-r19590-042d558536 (Jul 31 2022 - 15:12:47 +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... *** Warning - bad CRC, using default environment

In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
Net:   phy interface7
eth0: ethernet@1c50000
starting USB...
Bus usb@1c19000: failed to get usb phy
Port not available.
Bus usb@1c19400: failed to get usb phy
Port not available.
Bus usb@1c1c000: failed to get usb phy
Port not available.
Bus usb@1c1c400: failed to get usb phy
Port not available.
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 1 ms (368.2 KiB/s)
## Executing script at 43100000
3355024 bytes read in 155 ms (20.6 MiB/s)
22353 bytes read in 2 ms (10.7 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   ARM OpenWrt Linux-5.10.134
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3354960 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 43008750

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.134 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r19590-042d558536) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sun Jul 31 15:12:47 2022
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000040000000-0x000000006fffffff]
[    0.000000]   HighMem  [mem 0x0000000070000000-0x00000000bfffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    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 s30732 r8192 d22516 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522560
[    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] Memory: 2064180K/2097152K available (7549K kernel code, 838K rwdata, 1224K rodata, 2048K init, 257K bss, 32972K 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]  Tracing variant of Tasks RCU enabled.
[    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: Using split EOI/Deactivate mode
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000204] Console: colour dummy device 80x30
[    0.000263] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000282] pid_max: default: 32768 minimum: 301
[    0.000424] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000441] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001319] CPU: Testing write buffer coherency: ok
[    0.001691] /cpus/cpu@0 missing clock-frequency property
[    0.001714] /cpus/cpu@1 missing clock-frequency property
[    0.001731] /cpus/cpu@2 missing clock-frequency property
[    0.001749] /cpus/cpu@3 missing clock-frequency property
[    0.001761] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002465] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002598] rcu: Hierarchical SRCU implementation.
[    0.002786] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.003185] smp: Bringing up secondary CPUs ...
[    0.013964] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024860] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035672] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035758] smp: Brought up 1 node, 4 CPUs
[    0.035785] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035793] CPU: All CPU(s) started in HYP mode.
[    0.035799] CPU: Virtualization extensions available.
[    0.041462] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.041714] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.041738] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.042001] pinctrl core: initialized pinctrl subsystem
[    0.043605] NET: Registered protocol family 16
[    0.044190] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.045545] thermal_sys: Registered thermal governor 'step_wise'
[    0.045967] No ATAGs?
[    0.078636] SCSI subsystem initialized
[    0.079301] usbcore: registered new interface driver usbfs
[    0.079379] usbcore: registered new interface driver hub
[    0.079453] usbcore: registered new device driver usb
[    0.079786] pps_core: LinuxPPS API ver. 1 registered
[    0.079801] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.079830] PTP clock support registered
[    0.080187] Advanced Linux Sound Architecture Driver Initialized.
[    0.081511] clocksource: Switched to clocksource arch_sys_counter
[    0.087599] NET: Registered protocol family 2
[    0.087901] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.089445] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.089514] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.089589] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.089706] TCP: Hash tables configured (established 8192 bind 8192)
[    0.089844] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.089911] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.090171] NET: Registered protocol family 1
[    0.091761] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.095885] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.096000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.097068] bounce: pool size: 64 pages
[    0.097132] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.098511] sun4i-usb-phy 1c13400.phy: failed to get clock usb0_phy
[    0.100566] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pi not found, using dummy regulator
[    0.115647] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.124385] loop: module loaded
[    0.124705] Loading iSCSI transport class v2.0-870.
[    0.129187] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.129225] ehci-platform: EHCI generic platform driver
[    0.129751] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.129829] ohci-platform: OHCI generic platform driver
[    0.130310] usbcore: registered new interface driver usb-storage
[    0.130838] mousedev: PS/2 mouse device common for all mice
[    0.132311] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.132385] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:05 UTC (5)
[    0.132396] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.132629] i2c /dev entries driver
[    0.134767] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.137563] NET: Registered protocol family 10
[    0.138576] Segment Routing with IPv6
[    0.138657] NET: Registered protocol family 17
[    0.138718] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.138878] can: controller area network core
[    0.138945] NET: Registered protocol family 29
[    0.138955] 8021q: 802.1Q VLAN Support v1.8
[    0.139075] Registering SWP/SWPB emulation handler
[    0.151951] sun4i-usb-phy 1c13400.phy: Couldn't get regulator usb1_vbus... Deferring probe
[    0.153837] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pi not found, using dummy regulator
[    0.155440] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.157579] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pb not found, using dummy regulator
[    0.157998] printk: console [ttyS0] disabled
[    0.178194] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    0.910968] printk: console [ttyS0] enabled
[    0.915981] sun4i-pinctrl 1c20800.pinctrl: Couldn't get bank PG regulator
[    0.922795] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[    0.929402] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[    0.936711] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6  on device 1c20800.pinctrl
[    0.947234] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[    0.955308] sun4i-pinctrl 1c20800.pinctrl: Couldn't get bank PA regulator
[    0.962105] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 0
[    0.968540] sun4i-pinctrl 1c20800.pinctrl: pin-0 (1c50000.ethernet) status -517
[    0.975854] sun4i-pinctrl 1c20800.pinctrl: could not request pin 0 (PA0) from group PA0  on device 1c20800.pinctrl
[    0.986194] dwmac-sun8i 1c50000.ethernet: Error applying setting, reverse things back
[    0.997198] axp20x-i2c 0-0034: AXP20x variant AXP221 found
[    1.010057] input: axp20x-pek as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0034/axp221-pek/input/input0
[    1.028625] vcc-3v3: supplied by regulator-dummy
[    1.034425] vdd-cpu: supplied by regulator-dummy
[    1.039728] vdd-sys: supplied by regulator-dummy
[    1.045185] dcdc4: supplied by regulator-dummy
[    1.050140] vcc-dram: supplied by regulator-dummy
[    1.055107] vcc-gmac-phy: failed to get the current voltage: -EPROBE_DEFER
[    1.062008] vcc-gmac-phy: supplied by vcc-3v3
[    1.067145] dc5ldo: supplied by vcc-dram
[    1.071765] aldo1: supplied by regulator-dummy
[    1.076865] vcc-pa: supplied by regulator-dummy
[    1.081919] avcc: supplied by regulator-dummy
[    1.087502] eldo1: supplied by regulator-dummy
[    1.092679] eldo2: supplied by regulator-dummy
[    1.097781] vdd1v2-sata: supplied by regulator-dummy
[    1.103263] vcc-wifi-io: Bringing 700000uV into 1800000-1800000uV
[    1.110242] vcc-wifi-io: supplied by regulator-dummy
[    1.115746] vcc-wifi: Bringing 700000uV into 3300000-3300000uV
[    1.121919] vcc-wifi: supplied by regulator-dummy
[    1.127569] vcc-wifi-2: Bringing 700000uV into 3300000-3300000uV
[    1.133932] vcc-wifi-2: supplied by regulator-dummy
[    1.139970] vdd2v5-sata: supplied by regulator-dummy
[    1.145073] rtc_ldo: supplied by regulator-dummy
[    1.150517] ldo_io0: supplied by regulator-dummy
[    1.155821] ldo_io1: supplied by regulator-dummy
[    1.160978] axp20x-i2c 0-0034: AXP20X driver loaded
[    1.168473] sun4i-pinctrl 1c20800.pinctrl: supply vcc-ph not found, using dummy regulator
[    1.170435] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    1.182527] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.199706] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.209849] dwmac-sun8i 1c50000.ethernet: IRQ eth_wake_irq not found
[    1.216231] dwmac-sun8i 1c50000.ethernet: IRQ eth_lpi not found
[    1.221555] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.222488] dwmac-sun8i 1c50000.ethernet: PTP uses main clock
[    1.231874] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.236868] dwmac-sun8i 1c50000.ethernet: Current syscon value is not the default 6 (expect 0)
[    1.254712] dwmac-sun8i 1c50000.ethernet: No HW DMA feature register supported
[    1.261980] dwmac-sun8i 1c50000.ethernet: RX Checksum Offload Engine supported
[    1.269197] dwmac-sun8i 1c50000.ethernet: COE Type 2
[    1.274167] dwmac-sun8i 1c50000.ethernet: TX Checksum insertion supported
[    1.280948] dwmac-sun8i 1c50000.ethernet: Normal descriptors
[    1.286612] dwmac-sun8i 1c50000.ethernet: Chain mode enabled
[    1.291368] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.291509] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[    1.309665] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.318179] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.329041] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.341120] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    1.342357] ehci-platform 1c19000.usb: EHCI Host Controller
[    1.352245] ehci-platform 1c19000.usb: new USB bus registered, assigned bus number 1
[    1.353269] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.360143] ehci-platform 1c19000.usb: irq 37, io mem 0x01c19000
[    1.371518] mmc0: new high speed SDHC card at address 0001
[    1.380403] mmcblk0: mmc0:0001 BB1QT 29.8 GiB
[    1.386204]  mmcblk0: p1 p2
[    1.401544] ehci-platform 1c19000.usb: USB 2.0 started, EHCI 1.00
[    1.407867] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.416145] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.423367] usb usb1: Product: EHCI Host Controller
[    1.428240] usb usb1: Manufacturer: Linux 5.10.134 ehci_hcd
[    1.433813] usb usb1: SerialNumber: 1c19000.usb
[    1.438804] hub 1-0:1.0: USB hub found
[    1.442622] hub 1-0:1.0: 1 port detected
[    1.447711] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.453369] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    1.461255] ehci-platform 1c1c000.usb: irq 39, io mem 0x01c1c000
[    1.470803] mmc2: new DDR MMC card at address 0001
[    1.476538] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB
[    1.481601] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[    1.487991] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[    1.491536] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.494741] sunxi-mmc 1c11000.mmc: data error, sending stop command
[    1.500220] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.514559] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.521787] usb usb2: Product: EHCI Host Controller
[    1.526660] usb usb2: Manufacturer: Linux 5.10.134 ehci_hcd
[    1.532233] usb usb2: SerialNumber: 1c1c000.usb
[    1.537238] hub 2-0:1.0: USB hub found
[    1.541047] hub 2-0:1.0: 1 port detected
[    1.546147] ohci-platform 1c19400.usb: Generic Platform OHCI controller
[    1.552805] ohci-platform 1c19400.usb: new USB bus registered, assigned bus number 3
[    1.560700] ohci-platform 1c19400.usb: irq 38, io mem 0x01c19400
[    1.635696] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    1.643964] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.651178] usb usb3: Product: Generic Platform OHCI controller
[    1.657098] usb usb3: Manufacturer: Linux 5.10.134 ohci_hcd
[    1.662670] usb usb3: SerialNumber: 1c19400.usb
[    1.667653] hub 3-0:1.0: USB hub found
[    1.671451] hub 3-0:1.0: 1 port detected
[    1.676484] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    1.683147] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    1.691047] ohci-platform 1c1c400.usb: irq 40, io mem 0x01c1c400
[    1.765667] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    1.773933] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.781147] usb usb4: Product: Generic Platform OHCI controller
[    1.787066] usb usb4: Manufacturer: Linux 5.10.134 ohci_hcd
[    1.792637] usb usb4: SerialNumber: 1c1c400.usb
[    1.797593] hub 4-0:1.0: USB hub found
[    1.801390] hub 4-0:1.0: 1 port detected
[    1.806401] ALSA device list:
[    1.809379]   No soundcards found.
[    2.011504] usb 3-1: new low-speed USB device number 2 using ohci-platform
[    2.284539] usb 3-1: New USB device found, idVendor=045e, idProduct=0752, bcdDevice= 3.00
[    2.292720] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.299846] usb 3-1: Product: Wired Keyboard 400
[    2.304471] usb 3-1: Manufacturer: Microsoft
[    2.501490] sunxi-mmc 1c11000.mmc: send stop command failed
[    2.551717] mmc1: new high speed SDIO card at address 0001
[   31.851523] dc5ldo: disabling
[   31.854829] vdd1v2-sata: disabling
[   31.858530] vdd2v5-sata: disabling



V1.1 bpim2ultra
Oct.22/22 copy openwrt to emmc and boot

STEP 1. boot from raspbian SD
1a. bpi-copy openwrt-22.03.0-rc6-sunxi-cortexa7-sinovoip_bananapi-m2-ultra-ext4-sdcard.img #burn to emmc ;
1b. bpi-bootsel BPI_M2U_720P-emmc.img.gz /dev/mmcblk1 #auto download from github and burn to emmc;
1c. bpi-bootsel BPI-cleanboot-8k.img.gz /dev/mmcblk0 #auto download from github and burn to SD;
STEP 2. boot from emmc loaded with openwrt-22.03.0-rc6-sunxi-cortexa7-sinovoip_bananapi-m2-ultra-ext4-sdcard.img
2a. poweroff
2b, remove SD card
2c. poweron

Results:


[     0.33]HELLO! BOOT0 is starting!
[     0.37]boot0 commit : 2320b4e28f694a40302a75531ea057ca7fcc0074

[     0.44]boot0 version : 4.0
[     0.47]set pll start
[     0.51]set pll end
[     0.87]rtc[0] value = 0x00000000
[     0.90]rtc[1] value = 0x00000000
[     0.93]rtc[2] value = 0x00000000
[     0.97]rtc[3] value = 0x00000000
[     0.100]rtc[4] value = 0x00000000
[     0.103]rtc[5] value = 0x00000000
[     0.107]DRAMC IS FOUR
[     0.109]DRAM BOOT DRIVE INFO: V1.1
[     0.113]the chip id is 0x00000001
[     0.116]the chip id is 0x00000001
[     0.120]the chip id is 0x00000001
[     0.123]the chip id is 0x00000001
[     0.127]the chip id is 0x00000001
[     0.134]PMU: [     0.135]AXP221
[     0.137]ddr voltage = 1250 mv
[     0.144]PMU: [     0.145]AXP221
[     0.147]ddr voltage = 1250 mv
[     0.158]PMU: [     0.159]AXP221
[     0.161]ddr voltage = 1500 mv
[     0.172]DRAM CLK =576 MHZ
[     0.174]DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
[     0.180]DRAM zq value: 0x003b3bfb
[     0.185]DRAM SIZE =2048 M
[     0.189]DRAM simple test OK.
[     0.192]dram size =2048
[     0.194]rtc standby flag is 0x00000000, super standby flag is 0x00000000
[     0.202]card no is 2
[     0.205]sdcard 2 line count 8
[     0.208][mmc]: mmc driver ver 2016-07-01 15:30
[     0.221][mmc]: Wrong media type 0x00000000
[     0.225][mmc]: ***Try SD card 2***
[     0.229][mmc]: mmc 2 cmd 8 timeout, err 00000100
[     0.233][mmc]: mmc 2 cmd 8 err 00000100
[     0.237][mmc]: mmc 2 send if cond failed
[     0.242][mmc]: mmc 2 cmd 55 timeout, err 00000100
[     0.247][mmc]: mmc 2 cmd 55 err 00000100
[     0.251][mmc]: mmc 2 send app cmd failed
[     0.255][mmc]: ***Try MMC card 2***
[     0.271][mmc]: MMC 5.1
[     0.273][mmc]: HSSDR52/SDR25 8 bit
[     0.277][mmc]: 50000000 Hz
[     0.279][mmc]: 7456 MB
[     0.282][mmc]: ***SD/MMC 2 init OK!!!***
[     0.366]Loading boot-pkg Succeed(index=0).
[     0.370]Entry_name        = u-boot
[     0.389]Ready to disable icache.
[     0.392]0x00000000 0x00000000
[     0.395]0x00000000 0x00000000
[     0.398]0x00000000 0x00000000
[     0.402]0x00000000 0x00000000
[     0.405]0x00000000 0x00000000
[     0.408]0x00000000 0x00000000
[     0.411]Jump to secend Boot.


U-Boot 2014.07 (Jun 22 2017 - 08:17:17) Allwinner Technology

uboot commit : 8
i2c_init ok
[      0.477]pmbus:   ready
[      0.496]PMU: AXP221
[      0.496]PMU: AXP22x found
[      0.497]PMU: dcdc2 1160
[      0.499]PMU: cpux 1008 Mhz,AXI=336 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz  MBus=400Mhz
set power on vol to default
dcdc1_vol = 3300, onoff=1
dcdc2_vol = 1160, onoff=1
dcdc3_vol = 1100, onoff=1
dcdc4_vol = 1100, onoff=0
aldo1_vol = 2800, onoff=0
aldo2_vol = 1500, onoff=1
aldo3_vol = 3000, onoff=1
dc1sw_vol = 3000, onoff=0
dc5ldo_vol = 1100, onoff=0
dldo1_vol = 3300, onoff=0
dldo2_vol = 3300, onoff=0
dldo3_vol = 3300, onoff=0
dldo4_vol = 2500, onoff=0
eldo1_vol = 2800, onoff=0
eldo2_vol = 1500, onoff=0
eldo3_vol = 1200, onoff=0
gpio0_vol = 3300, onoff=0
gpio1_vol = 1800, onoff=0
find power_sply to end
vbus exist
BPI: bpi_boot_init_gpio ...
set pin for gpio_pin_1
set pin for gpio_pin_2
set pin for gpio_pin_3
set pin for gpio_pin_4
run key detect
BPI: BPI-M2 Ultra
bpi_board_version: [40]
no key found
no uart input
DRAM:  2 GiB
fdt addr: 0xb6e81c98
Relocation Offset is: 75ed8000
In:    serial
Out:   serial
Err:   serial
gic: normal mode
[      0.727]start
drv_disp_init
init_clocks: finish init_clocks.
pwm_request: reg = 0x1c23400. pwm = 0.
request pwm success, pwm = 0.
tv_init:
tv_init:
drv_disp_init finish
boot_disp.output_disp=0
boot_disp.output_type=3
boot_disp.output_mode=5
boot_disp.auto_hpd=1
disp0 device type(4) enable
attched ok, mgr0<-->device0, type=4, mode=5
plugin
[      2.075]end
workmode = 0,storage type = 2
[      2.075]MMC:        2
[mmc]: mmc driver ver 2016-07-01 15:50:00
[mmc]: get sdc_ex_dly_used 2, use auto tuning sdly
SUNXI SD/MMC: 2
[mmc]: 50 MHz...
[mmc]: sample: 52 - 192(ps)
[mmc]: ds: 52 - 192(ps)
[mmc]: 100 MHz...
[mmc]: sample: 26 - 192(ps)
[mmc]: ds: 27 - 185(ps)
[mmc]: 200 MHz...
[mmc]: sample: 13 - 192(ps)
[mmc]: ds: 13 - 192(ps)
[mmc]: BPI: 2 CARD_TYPE_MMC
[mmc]: media type 0x8000000
[mmc]: ************Try MMC card 2************
[mmc]: host caps: 0x6f
[mmc]: MID 000015 PSN 48f64ca2
[mmc]: PNM 8GTF4R -- 0x38-47-54-46-34
[mmc]: PRV 0.6
[mmc]: MDT m-11 y-2021
[mmc]: MMC v5.1
[mmc]: speed mode     : HSSDR52/SDR25
[mmc]: clock          : 50000000 Hz
[mmc]: bus_width      : 8 bit
[mmc]: user capacity  : 7456 MB
[mmc]: boot capacity  : 4096 KB
[mmc]: rpmb capacity  : 512 KB
[mmc]: ************SD/MMC 2 init OK!!!************
[mmc]: BPI: mmc_init_boot SKIP tuning procedure!
[mmc]: BPI: sunxi_switch_to_best_bus SKIP
[mmc]: get max-frequency ok 50000000 Hz
[mmc]: 1 1 1: 1 1 1
[mmc]: no mmc-hs400-1_8v!
[mmc]: no mmc-hs200-1_8v!
[mmc]: no mmc-ddr-1_8v!
[mmc]: erase_grp_size      : 0x400WrBlk*0x200=0x80000 Byte
[mmc]: secure_feature      : 0x55
[mmc]: secure_removal_type : 0x39
[mmc]: EOL Info(Rev blks): Normal
[mmc]: Wear out(type A): 0%-10% life time used
[mmc]: Wear out(type B): 0%-10% life time used
[      2.293]sunxi flash init ok
sunxi secure storage is not supported
[      2.299]usb burn from boot
delay time 0
[      2.391]usb prepare ok
[      3.190]timer occur
[      3.191]overtime
[      3.224]do_burn_from_boot usb : no usb exist
--------fastboot partitions--------
-total partitions:7-
-name-        -start-       -size-
boot-res    : 1000000       1000000
env         : 2000000       100000
boot        : 2100000       800000
private     : 2900000       100000
misc        : 2a00000       100000
rootfs      : 2b00000       a000000
UDISK       : cb00000       0
-----------------------------------
begin to update boot0 atfer ota
storage type = 2
storage type = 2
boot0 size 32768
normal mode
dram para[0] = 240
dram para[1] = 3
dram para[2] = 3b3bfb
dram para[3] = 31
dram para[4] = 10e41104
dram para[5] = 8000000
dram para[6] = 1c70
dram para[7] = 40
dram para[8] = 18
dram para[9] = 0
dram para[10] = 479950
dram para[11] = 1b1a94b
dram para[12] = 65046
dram para[13] = b47d7d96
dram para[14] = 0
dram para[15] = 198
dram para[16] = 21000000
dram para[17] = 2406c1e0
dram para[18] = 0
dram para[19] = 0
dram para[20] = 3
dram para[21] = 33330000
dram para[22] = 7777
dram para[23] = c4096953
dram para[24] = 0
dram para[25] = 0
dram para[26] = 0
dram para[27] = 0
dram para[28] = 0
dram para[29] = 0
dram para[30] = 0
dram para[31] = 0
card2 download boot0
update boot0 success
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_mmc
key 0
cant find rcvy value
cant find fstbt value
misc partition found
to be run cmd=run setargs_mmc boot_normal
update dtb dram start
update dtb dram  end
sunxi_serial: serial_feature is not exist
serial is: 5440791105201c1f0bd1
BPI: axp_probe_battery_exist(0)
BPI: BatExist(0) pmu_bat_unused(0)
PowerBus = 3( 2:vBus 3:acBus other: not exist)
no battery, limit to dc
no battery exist
sunxi_bmp_logo_display
reading bootlogo.bmp
3686538 bytes read in 89 ms (39.5 MiB/s)
bmp file buffer: 0x40000000, bmp_info.buffer: 46400000
screen_id =0, screen_width =1280, screen_height =720
frame buffer address 46400036
Net:   No ethernet found.
[      3.642]inter uboot shell
Hit any key to stop autoboot:  0

** Unable to use mmc 2:1 for fatinfo **
[mmc]: MMC Device 0 not found
** Bad device mmc 0 **
[mmc]: MMC Device 0 not found
** Bad device mmc 0 **
fatload partition name: boot -> 2
** Unrecognized filesystem type **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
IoT#