-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report: Unable to Boot from NVME on Orange Pi 5 v 3.2 #1140
Comments
Hello. |
I booted from SDCard, then fdisked, then made an ext4 partition, downloaded the image, then use Ubuntu Image Writer by clicking on the download in file manager, then chose the NVMe ext4 partition then wrote to that. |
@tim273, The parts that seems strange are those If you are familiar with |
Thanks for the comments from everyone. For whatever reason, I couldn't get it to work, so I tried Armbian instead and used armbian-config to do the same thing and it worked. I'm now able to boot Armbian from the NVME drive. What I noticed is that I tried using the commands detailed in the wiki for booting to the NVME on a couple of existing Orange Pi 5's that I had it worked for both of them. Those were older models that purchased about a year ago and had put multiple other OS's on them also booting from the NVME. However, this time I tried it with a brand new Orange Pi 5 and no dice. Then it worked with Armbian, so I'm not sure what is going on. But thank you all again for your help! |
On Sun, 22 Dec 2024 at 18:01, Tim Urberg ***@***.***> wrote:
Thanks for the comments from everyone. For whatever reason, I couldn't get
it to work, so I tried Armbian instead and used armbian-config to do the
same thing and it worked. I'm now able to boot Armbian from the NVME drive.
What I noticed is that I tried using the commands detailed in the wiki for
booting to the NVME on a couple of existing Orange Pi 5's that I had it
worked for both of them. Those were older models that purchased about a
year ago and had put multiple other OS's on them also booting from the NVME.
However, this time I tried it with a brand new Orange Pi 5 and no dice.
Then it worked with Armbian, so I'm not sure what is going on.
If you are using Armbian with NVMe, I would suggest you do a test with
'fio' for 2 minute or longer to make sure its functioning correctly as I
had an issue with a Samsung EVO 970 plus on BananaPi-M7 for some strange
reason.
But thank you all again for your help!
Hope things are easier now !
… —
Reply to this email directly, view it on GitHub
<#1140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAU4E3VZWWAFJ5QPTZQVUD2G347NAVCNFSM6AAAAABTHZRA4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGUZTSMZVGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Aaron Gray - @***@***.*** | @***@***.*** |
@***@***.***
Independent Open Source Software Engineer, Computer Language Researcher and
Designer, Amateur Type Theorist, Amatuer Computer Scientist,
Environmentalist and Climate Science Researcher and Disseminator.
|
Same problem here. orangepi@orangepi-desktop:~$ dmesg | grep pcie |
@p3t188, the above messages with PCIE errors are (unfortunately) quite common and can be ignored (even though PCIe Link Fail does not sound reassuring at all ...). While it's not so hard to fix these error messages, it's very time consuming and most of the folks with knowledge in the kernel area have moved on help on the more recent kernels (e.g on kernel 6.12.8 recently all these errors are gone). PS. Since there is no more support for this distro, you may eventually have to consider moving to e.g. Armbian Bookworm (Debian 12) or Ubuntu 24.04 (server or desktop) such as the |
@ewaldc ON: If i download original opi5 ubuntu image: Orangepi5_1.2.0_ubuntu_jammy_desktop_xfce_linux5.10.160.7z, and i flash it to sd card, the board cannot boot up, but with: Orangepi5_1.1.8_ubuntu_jammy_desktop_xfce_linux6.1.43.7z image, it's boot up successfully. |
I was not aware of the impossibility to use NPU on mainline. The re-engineering process had made it to release (based on this and this even though it has not yet made its way to mainline source tree (but it is planned). I will give it a try on my 6.12.8 kernel and report back. With respect to the PCIE issues, I have the Maybe that is what is happening when you flash an original Orange Pi image: a vendor u-boot gets installed. And from there you see your NVME and can do things linke change OS, upgrade 6.1 kernel, boot NVME etc. as long as you don't reflash u-boot... That may explain why had success with |
It look like spi boot issue, have you cleaned that flash memory? |
What happened?
Trying to boot from NVME, I followed the commands on the wiki
sudo u-boot-install-mtd
sudo ubuntu-rockchip-install /dev/nvme0n1
Then when I run fdisk -l I see this:
I power off, remove the microSD card and nothing. Then when I put the microSD card back again and run fdisk -l the NVME drive disappears:
Sometimes it's there after this, but sometimes it's not. But if it's not there and I use parted to remove all the partitions on mtdblock0 and boot with the microSD card, it appears again.
Kernel version
6.1.0-1025-rockchip
SBC model
Orange Pi 5
What operating system are you seeing this problem on?
Ubuntu 24.04 LTS (Noble Nombat)
Relevant logs
No response
The text was updated successfully, but these errors were encountered: