Closed TheiLLeniumStudios closed 2 months ago
You should not use orangepi-config "Boot from SPI Flash" as it changes the U-Boot version on the SPI chip and modify the boot config.
You should boot with Ubuntu, flash Talos to your NVMe and U-Boot to the SPI chip, then it should boot properly (make sure you remove the SD)
@si0ls so I tried that but the Talos image still doesn't want to boot. I tried flashing the same Ubuntu image on the NVMe and pulled out the SD card and the Pi booted via NVMe into Ubuntu. to be specific, this image: https://github.com/si0ls/talos-orangepi5/releases/download/v1.0/talos-orangepi5.raw.zst
does not boot on the Orange Pi 5 Plus. I've tried it on different OPi5 Plus devices and had the same issue. Tried redownloading a bunch of times as well. Could it be that the image is somehow corrupt? This is what I see after flashing the image in lsblk:
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 100M 0 part
├─nvme0n1p2 259:2 0 1M 0 part
├─nvme0n1p3 259:3 0 1000M 0 part
├─nvme0n1p4 259:4 0 1M 0 part
├─nvme0n1p5 259:5 0 100M 0 part
└─nvme0n1p6 259:6 0 42M 0 part
Did you try burning the Talos image to the SD card to check if it boots? If yes, I don't see a reason to say the image is corrupted.
Do you have access to the U-Boot logs via UART?
The way the Talos image is expanded to your NVMe seems ok. For now the only thing I see as a difference is that Talos boots via EFI and Ubuntu boots via a bootscript tailored for U-Boot.
So I just flashed your talos image on an SD card and tried with that. Still the same issue. It doesn't boot and has the same behavior as on an NVMe
Can you confirm the U-Boot version flashed on your SPI is the one provided in this repo instead of the one flashed by Ubuntu "Boot from SPI flash"?
I think without having access to the UART logs I will struggle helping you going further
Is there an article I can follow to setup UART? I unfortunately don't have any idea how to connect to it. I can provide those logs as long as I know how to do it
And I flashed the latest u-boot by following the instructions on the trade and then tried out the talos image. Is there a Linux command to check the version that's running?
So I found the version of u-boot and it looks like the one that I flashed from this repository:
root@ubuntu:~# strings /dev/mtdblock0 | grep U-Boot
U-Boot SPL 2024.07 (Apr 02 2024 - 10:58:58 +0000)
U-Boot phase
U-Boot
FIT image for U-Boot with bl31 (TF-A)
U-Boot
[U-Boot
** Invalid partition type "%.32s" (expect "U-Boot")
U-Boot.armv8
U-Boot phase
U-Boot
U-Boot
U-Boot 2024.07 (Apr 02 2024 - 10:58:58 +0000)
FIT image for U-Boot with bl31 (TF-A)
U-Boot
U-Boot
@si0ls I was able to get Serial output from the Pi and it looks like the new u-boot is not able to detect the network card? Here is the initial Serial log output:
Hi,
So I previously had been running Ubuntu (on an Orange Pi 5 Plus) from the NVMe drive and for flashing this I booted ubuntu from an SD card and then flashed the firmware.
After that, I am unable to boot from NVMe. Whenever I try to run orangepi-config and choose "Boot from SPI Flash" it says No partitions available on /dev/nvme0n1
How exactly am I supposed to install talos on NVMe? Because I tried dd to flash the talos image to /dev/nvme0n1 and it flashed fine, but when I remove the SD card and reboot, the Pi doesn't turn on (Static Red light)
I then tried running orangepi-config again but it still says no partitions on /dev/nvme0n1. Am I missing something here?
Note that I also have an eMMC card installed. Not sure if that is conflicting with anything or causing issues