Unable to set boot order on Raspberry PI5 with pcie NVMe on HAT.

More
09 Apr 2024 10:25 #297847 by NT4Boy
I've installed the rpi-5-debian-bookworm-6.1.61-rt15-arm64-ext4-2023-11-17-1520.img to the drive, and can see it under lsblk.
PI is booted from the same OS on SD card.
To change the boot order, I believe I need to edit the BOOT_ORDER=0xf416 entry
sudo rpi-eeprom-config  --edit  however fails with:-
ERROR: --edit/--apply must run on Raspberry Pi4
sudo rpi-eeprom-update -a   
Message is :- This tool only works on Raspberry Pi4
Is there another way to change the boot order?


 

Please Log in or Create an account to join the conversation.

More
09 Apr 2024 10:54 #297849 by cornholio
yeah there's a bit missing from the image, that makes life easier.
I found the easiest route was install the RasPiOS image, change from wayland to X via raspiconfig.
Then install the RT kernel & Linuxcnc.

One of the RPi5 threads has the info to do this.

There's an update version here github.com/raspberrypi/rpi-eeprom/blob/master/rpi-eeprom-config
The following user(s) said Thank You: NT4Boy

Please Log in or Create an account to join the conversation.

More
09 Apr 2024 11:07 #297852 by NT4Boy
Ok Thanks.

But I could take a Pi5 version of the pieeprom.bin from the github link and place it instead of the current one?

Please Log in or Create an account to join the conversation.

More
09 Apr 2024 11:40 #297858 by cornholio
No idea.

I’d try the utility I linked to, plus install the extra bits mentioned at the “help section of the file” and see what happens.
But I’m sure you can update the eeprom as well using the above.

I prefer the rsapios as I don’t have issues with setting screen resolution and such.

What rod uses to create the images isn’t too bad, but misses some of the raspios utils.

Until there’s a linuxcnc spi driver for the RPi5 mines sitting in a draw as ATM it’s kinda useless, well for its intended use.
The following user(s) said Thank You: NT4Boy

Please Log in or Create an account to join the conversation.

More
09 Apr 2024 12:29 #297861 by NT4Boy
Sorry but cannot understand how the tools in the link are intended to be used.
So I'll do the "install the RasPiOS image, change from wayland to X via raspiconfig.
Then install the RT kernel & Linuxcnc."

As you first suggested.

Please Log in or Create an account to join the conversation.

More
09 Apr 2024 13:14 #297862 by cornholio
The link was to an updated version of rpi-eeprom-config.
The tool that you tried to use initially.
The following user(s) said Thank You: NT4Boy

Please Log in or Create an account to join the conversation.

More
09 Apr 2024 17:12 #297869 by NT4Boy
Ok, I have to clone the git hub repository and then run the updated tool from the cloned directory.

Not fighting me now.

Thanks

Please Log in or Create an account to join the conversation.

More
09 Apr 2024 17:28 #297870 by NT4Boy
But...
so I run the updated tool, and the BOOT_ORDER info is displayed
I can apparently edit the line. ^O to write it, and ^X
but on exit, the very final kiss of doom is another message.
"This tool only works with a Raspberry Pi 4"

Back to plan a.

Please Log in or Create an account to join the conversation.

More
09 Apr 2024 21:27 - 09 Apr 2024 21:33 #297873 by cornholio
Are you sure you're using the updated tool as that string doesn't appear in the file.

Did you follow this part
Requires Python Cryptodomex libraries and OpenSSL. To install on Raspberry Pi OS run:-
sudo apt install openssl python-pip
sudo python3 -m pip install cryptodomex

How are you calling the new utility ?
How did you "install" it ?

The string you're quoting is from an old version. I suspect you're still running the old version.
Last edit: 09 Apr 2024 21:33 by cornholio.

Please Log in or Create an account to join the conversation.

More
10 Apr 2024 00:01 #297879 by NT4Boy
No I didn't install it, just ran the script from the cloned directory ./rpi-eeprom-config.
Odd it partially works,
No cannot see the part to follow,
sudo apt install openssl python-pip fails but suggests
sudo apt install openssl python3-pip (success)
sudo python3 -m pip install cryptodomex
get message about externally managed environment and many options I cannot get to work.
Many thanks for this, but your plan A is looking far the best approach now.

Please Log in or Create an account to join the conversation.

Time to create page: 0.161 seconds
Powered by Kunena Forum