I'm trying to get a banana pi M2M working on a slightly more recent version of the kernel than the 3.4 that's provided. I got some things working but u-boot isn't reliably booting from the sd card. It sometimes works but it mostly hangs after displaying the DRAM message (as shown below)
U-Boot SPL 2022.01-rc3 (Nov 30 2021 - 10:46:41 +0000)
DRAM: 512 MiB
<pressed reset>
U-Boot SPL 2022.01-rc3 (Nov 30 2021 - 10:46:41 +0000)
DRAM: 512 MiB
<pressed reset>
U-Boot SPL 2022.01-rc3 (Nov 30 2021 - 10:46:41 +0000)
DRAM: 512 MiB
<pressed reset>
U-Boot SPL 2022.01-rc3 (Nov 30 2021 - 10:46:41 +0000)
DRAM: 512 MiB
<pressed reset>
U-Boot SPL 2022.01-rc3 (Nov 30 2021 - 10:46:41 +0000)
DRAM: 512 MiB
<pressed reset>
U-Boot SPL 2022.01-rc3 (Nov 30 2021 - 10:46:41 +0000)
DRAM: 512 MiB
<pressed reset>
U-Boot SPL 2022.01-rc3 (Nov 30 2021 - 10:46:41 +0000)
DRAM: 512 MiB
Trying to boot from MMC1
U-Boot 2022.01-rc3 (Nov 30 2021 - 10:46:41 +0000) Allwinner Technology
CPU: Allwinner A33 (SUN8I 1667)
Model: BananaPi M2 Magic
DRAM: 512 MiB
WDT: Not starting watchdog@1c20ca0
MMC: mmc@1c0f000: 0, mmc@1c10000: 1, mmc@1c11000: 2
Has anyone got a bananapi m2m or similar working well with a recent kernel? I managed to get SPI working fine (i might submit a patch) but so far I haven't managed to get wifi working (a bit stuck on that) and I haven't looked much beyond that.