The same layout as Jan Gregor showed is also on the M5.
Additionally, it seems the SD card is not being reset by BL2 (maybe not possible?) when the OS initiates a reboot. Then it doesn't find the SD card anymore and can't continue booting.
I tested SanDisk Ultra 128GB, Kingston 16 GB SDCA 10/16GB, Intenso Class 10 64 GB, all with the same problem.
bananapim5 login: root
Password:
____ ____ _ __ __ ____ ____ __ ____ ____
| __ )| _ \(_) | \/ | ___| / / \/ |___ \| _ \
| _ \| |_) | | | |\/| |___ \ / /| |\/| | __) | |_) |
| |_) | __/| | | | | |___) / / | | | |/ __/| __/
|____/|_| |_| |_| |_|____/_/ |_| |_|_____|_|
Welcome to Armbian 23.02.2 Bullseye with bleeding edge Linux 6.2.0-rc3-meson64
No end-user support: untested automated build
System load: 51% Up time: 25 min Local users: 4
Memory usage: 7% of 3.70G IP: 192.168.178.208
CPU temp: 31°C Usage of /: 8% of 58G
[ General system configuration (beta): armbian-config ]
Last login: Sat Mar 18 14:18:55 CET 2023 on ttyAML0
root@bananapim5:~# reboot
[ 1546.656598] reboot: Restarting system
bl31 reboot reason: 0xd
bl31 reboot reason: 0x0
system cmd 1.
SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;CHK:1F;SD?:0;SD:0;READ:0;0.0;CHK:0;
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02
no sdio debug board detected
L0:00000000
L1:00000703
L2:00008067
L3:15000020
S1:00000000
B2:20282000
B1:a0f83180
TE: 216002
BL2 Built : 15:21:42, Mar 26 2020. g12a g486bc38 - gongwei.chen@droid11-sz
Board ID = 1
Set cpu clk to 24M
Set clk81 to 24M
Use GP1_pll as DSU clk.
DSU clk: 1200 Mhz
CPU clk: 1200 MHz
Set clk81 to 166.6M
board id: 1
Load FIP HDR DDR from SD, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
FIP HDR CHK: 0x000000ff ADDR 0xfffd0000
reset...
SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;CHK:1F;SD?:0;SD:400;USB:8;LOOP:1;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;CHK:1F;SD?:0;SD:400;USB:8;LOOP:2;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;CHK:1F;SD?:0;SD:400;USB:8;