Hello,
I found the solution (for me) about this issue. I hope it will resolve in armbian community too:
Remove data on SPI flash chip
sudo su -
devicesize=$(blockdev --getsz /dev/mtdblock0)
dd if=/dev/zero of=/dev/mtdblock0 bs=1M count=$devicesize status=progress && sync
Download working uboot image
wget https://github.com/si0ls/u-boot-orangepi5/releases/download/v1.0/u-boot-v2024.04-orangepi5-plus-spi.bin
Write the u-boot file to SPI flash
dd if=u-boot-v2024.04-orangepi5-plus-spi.bin of=/dev/mtdblock0 bs=1M status=progress && sync
Reboot the system
reboot
Enjoy!
Some tests (still in progress!):
root@orangepi5-plus-nvme:~# memtester 30G 1
memtester version 4.6.0 (64-bit)
Copyright (C) 2001-2020 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).
pagesize is 4096
pagesizemask is 0xfffffffffffff000
want 30720MB (32212254720 bytes)
got 30720MB (32212254720 bytes), trying mlock ...locked.
Loop 1/1:
Stuck Address : ok
Random Value : \
What I use:
Orange PI 5 Plus 32GB RAM version
Original raspberry pi 4 power supply (USB-C 4A)
NVME 128GB M.2 2230
And I tested couple of Armbian images (just execute memtester 30G 1 and wait ~2 minutes for crash ... and when nothing happend then change nvme with another system):
# md5sum Armbian_24.*
e5d74477e3f976ece5f85e8261491b43 Armbian_24.5.1_Orangepi5-plus_bookworm_vendor_6.1.43_minimal.img
ec5c88f73a50ae583c6b07684b28a394 Armbian_24.8.0-trunk.123_Orangepi5-plus_bookworm_edge_6.8.12_minimal.img
e29bc71aa4e1d9d4af358faf7ebe81b6 Armbian_24.8.0-trunk.123_Orangepi5-plus_bookworm_vendor_6.1.43_minimal.img
Source link : https://github.com/si0ls/u-boot-orangepi5