- Edited
Banana Pi M2 is one of the most inexpensive boards based on the H3/H2+ chip. I have one. This is one of the first models on H2+. I load Armbian fine, but I can't load Basic Engine.
I soldered the UART and saw the following:
U-Boot SPL 2021.10 (Apr 16 2024 - 05:13:32 +0000)
DRAM: 512 MiB
Trying to boot from MMC1
MMC: no card present
spl: mmc init failed with error: -123
SPL: failed to boot from all boot devices
ERROR ### Please RESET the board ###
I also tried to use ready-made U-Boot from Armbian. Loading reaches the kernel, but in the end the error still appears:
`U-Boot SPL 2024.01-armbian (Mar 14 2024 - 00:35:37 +0000)
DRAM: 512 MiB
Trying to boot from MMC1
ns16550_serial serial @1c28000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
U-Boot 2024.01-armbian (Mar 14 2024 - 00:35:37 +0000) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: Banana Pi BPI-M2-Zero
DRAM: 512 MiB
Core: 63 devices, 16 uclasses, devicetree: separate
WDT: Not starting watchdog @1c20ca0
MMC: mmc @1c0f000: 0, mmc @1c10000: 1
Loading Environment from FAT... OK
In: serial @1c28000
Out: serial @1c28000
Err: serial @1c28000
Net: No ethernet found.
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2239 bytes read in 2 ms (1.1 MiB/s)
Executing script at 43100000
4097968 bytes read in 172 ms (22.7 MiB/s)
** No boot file defined **
Unknown command 'usb' - try 'help'
Unknown command 'bootmenu' - try 'help'
Saving Environment to FAT... OK
** No boot file defined **
Kernel image @ 0x42000000 [ 0x000000 - 0x3e87b0 ]
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
SCRIPT FAILED: continuing...
Card did not respond to voltage select! : -110
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
No ethernet found.
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
Retrieving file: pxelinux.cfg/000000
No ethernet found.
Retrieving file: pxelinux.cfg/00000
No ethernet found.
Retrieving file: pxelinux.cfg/0000
No ethernet found.
Retrieving file: pxelinux.cfg/000
No ethernet found.
Retrieving file: pxelinux.cfg/00
No ethernet found.
Retrieving file: pxelinux.cfg/0
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-sunxi-sunxi
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-sunxi
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.
=>`
Is it possible to add support for Banana Pi M2 Zero? Device Tree is available in Armbian.