Hi, 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 ``` Looking through the wiki https://linux-sunxi.org/U-Boot it looks like it could be because of the device tree, but considering it's booting some times I don't think this is the issue? It looks like SPL is always working but it's often failing to pass to u-boot proper. Any pointers on what could be wrong here? 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. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/cab9214d-728d-4c4b-ba84-0337c4dc9bb0n%40googlegroups.com.