-
Notifications
You must be signed in to change notification settings - Fork 124
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
Raspberry Pi 5 Support #759
Comments
Yes please.... I am also eager to know if pinn will be updated to support RPi5 |
Please,,, |
Sorry, github has stopped sending me notifications so I missed many messages - I will have to fix that. |
Just chasing for an update on Pi5 compatibility. Version 3.8.9 seems to get as far as letting us install OS-es, but when booting into one of them the Pi5 appears to reboot. Any work-around? Using a micro SD from Samsung (512 Pro Ultimate). |
It is essenrial to upgrade your firmware, as detailed in the release post https://forums.raspberrypi.com/viewtopic.php?p=2173713#p2173713 |
Many thanks for the quick reply. The video is all about trying to get PINN working on a Pi 5. |
The readme file in the rpi-eeprom-recovery.zip indicates it's intended for Raspberry Pi 4 specifically. |
Yes. they (RPL) probably forgot to update the readme. Thanks for adding the comment to Leepsvideo. I tried to add my own comment with a link, but It wasn't very satisfactory. |
Got it. I'll give it a try. |
Yep, that one works. Successful boot into Ubuntu 23.10. |
I don't know their timescale, but it will eventually make it into a future |
It looks like it was fixed in the So as you say, hopefully it won't be too long for things to get updated in EDIT: |
Has anyone managed to get PINN working on a pi 5 booting from NVMe? I'd like a dual boot 64 and 32 bit Rasp os... Thanks! |
It should be OK if it is connected over USB, but I assume as you mention the PI5 you are referring to an NVME connected to the PCIE connection? It should work, but I would also be interested to hear some feedback to make sure I have the right drivers loaded in the kernel for it. 😉 |
I have a pineberry hat top that should be coming this weekend, so ill give it a try... am sure you already know if this hat, but here is the link just in case :) |
I've been testing the PIMORONI NVME base with PINN. So far:
I'm happy to do more testing whenever needed, and I'll continue to play around myself and report here if I find something that's not working properly |
Hmmm. It should not be that different from what I'm doing. So let me start messing around with configs ... |
Regarding Ubuntu, please download the attached partition_setup.sh script (You will need to unzip it) Then in PINN, go to the maintenance menu, select (tick the checkbox next to) ubuntu, Click the Fix-up button and choose to "re-run partition_setup script." If that succeeds, then try booting into Ubuntu. |
@ardoviniandrea - Are you viewing this on an Apple device? I am not familiar with those. As you have all the other partitions visible, and you can boot PINN, then the settings partition must be there. Perhaps Apple devices don't show partitions named "SETTINGS" ? I know that many OSes (e.g. Ubuntu) don't show partitions named "RECOVERY". From the RPi forums, I have discovered that Ubuntu 23.10 seems to have problems with some USB hubs on the Pi5. May be the same issues are happening with NVME, so this partition_setup script may not make any difference. Anyway, as a workaround, I suggest you copy the partition_setup.sh script to the RECOVERY partition and boot PINN on that device on your RPi. Press Shift when prompted so that you go into the recovery menu.
(Don't miss the dot/period in the last command! Please check the above for spelling/accuracy etc. as I am recounting this from memory!) Return to PINN by pressing [CTRL]-[ALT]-F1 |
An empty /os folder on RECOVERY is to be expected. |
Could you post copies of |
files.tgz |
So i got my pineberry hat top, and after MANY attempts, finally managed to get booting from the nvme to stick! I had to re-image the sd card quite a few times... as well as the nvme drive... setting the boot config etc... as the nvme would install raspios just fine... but if i did a system update from the prompt for first login... when rebooting, it would just drop me right into the busybox cmd screen (which i have no clue what to do with btw!!! n00b) ... re-image PINN... bootup from sd card... redo boot config etc.... last night tho, and this morning... i managed to get it working as expected, multiple reboots later... and still good! PS: Would be awesome if it could support wubuntu or zorin (i know they arent pi compatible... just wish they were :D ) |
That's good news! |
Thanks man! So, essentially, i have managed to get PINN installed on the nvme (no sd card, or usb anymore :) ) ... then installed raspios onto the nvme as well! much neater. I have always had bad luck with sd cards!!!! As i am in experimental mode with this setup... if there is anything you want me to test... feel free to use me as a guineapig!! |
Thanks. |
Sure thing, i will install them all... document each one as i go through them... and report back! Gimme a few days to play as and when i can, i mess about with the pi5 in between work! |
I have added the Czech translations to the main program and will include these changes in the next Pi5 beta. |
Hello everyone, please tell me how to set up Pinn on the Raspberry Pi 5. I am using the website https://pinn.mjh.nz/ to create the Pinns recovery.cmdline. When I then copy the pinn-lite.zip to the SD card, Pinns does not start. I also get a message that the DTB file for the Pi 5 is missing. Thank you very much! |
You need to read the announcement post as it is still in beta: |
@Dent2024 Donwload the latest pinn-lite BETA version, you get the DTB error cause it's not the right version supporting the Pi 5. https://sourceforge.net/projects/pinn/files/beta/ Rename the |
I just installed PINN in my Raspberry Pi 5 I'm having trouble with some issues which I haven't read here. First of all, PINN ignores the bootmenutimeout option in the cmdline file, booting to the same OS every time. In addition, if the Raspberry isn't connected via HDMI (or the device to which it's connected is turned off) and the power supply was not plugged in, when plugging the power in it doesn't boot to any OS. If then the HDMI cable is connected, the screen is entirely black. I need to power off the Pi by holding the power button and then power it on to make it boot. Also, there were some issues with Android TV which I commented here |
It sounds like you have ticked one of the checkboxes alongside one of your OSes in the boot menu. This is a Sticky Default and forces this behaviour. Press Shift on next boot of PINN to get into the menu, press ESC, then untick the box. I often run my PINN installations headless, but haven't specifically noticed this issue. Can you try commenting out the dtoverlay in config.txt that loads the KMS and see if that improves the situation? The RPi does not support hotplugging of HDMI monitors in general. It expects them to be powered up on boot so that it can read the EDID information out of them and configure the display accordingly. You can force the display into an appropriate mode by specifying the video parameters. I have permission from Konsta to distribute his Lineage builds, but he won't support any issues with multi-booting. However, the issues you mention seem to be general issues that are independent of PINN. |
According to the README, shouldn't the boot selection be shown for the configured time? The notes at the Sticky tab say that the bootmenutimeout may be used to show the boot selection menu.
I'll try that, thanks. However I cannot do it until next Friday as I'm not at home.
I see. I expected that if no HDMI is plugged in the raspberry would work as usual just that headlessly. By doing this, will the raspberry boot even when no HDMI cable is present? Or is this for being able to hotplug the HDMI cable?
Where should I report it/ask for help? It makes the OS barely usable if there's no sound output. I'm not able to check if it works without PINN as I'd have to reformat the SD card and I set some docker containers which I cannot remove and would prefer not to touch. Thanks for your help! |
This is correct, WHEN THE BOOT SELECTION DIALOG IS DISPLAYED. However,.....
So if you have selected a sticky OS, you must press Shift to enter the recovery menu, then Esc to enter the boot selection dialog in order for it to have an effect. Otherwise the boot selection dialog is bypassed as if only one OS had been installed.
|
Hi mann1x, thank you for the hint and sorry for the late response. |
I don't know... |
@Dent2024 |
Thank you very much and sorry, I missed that. |
Note from @procount : This procedure is now out of date. Please install PINN from the Rpi Imaging Utility under Misc Utility Images) Here a noob How-To "How to install Pinns on Raspberry Pi 5".
Hint: to format the sd-card use Raspberry Pi Imager |
Thank you @Dent2024. I got PINN up and installed Recalbox + LibreElec on my RP5 with that little guide. |
@Lexforce - Pi5 support is now included in the released version of PINN, although I still class it as beta because there are some minor issues to sort out, but mostly it works. |
@procount Did not know PINN was there, nice. |
This is the best NEWS I have heard all year. Thank you for all that you guys do. So when using Pie imager after selecting PINN to proceed it always asks to format and the only options are yes or no. How do I go about making it work without formatting please. Newbie here I did try to search but came up with no good results. Thank you SO MUCH in advance guys. |
@echophil11 - Can you explain a bit more about what it is you want to do? |
Rpi imager wanting to format. |
I think I understood wrong I apologize guys. So i have an Batocera image that I usually write to the microsd with Rpi imager. My thought was that I could add PINN without formatting the Microsd so i can dualboot for times that I dont want Batocera to boot. But with Rpi imager its either PINN or The batocera image that I have i think ? |
No it doesn't work like that. Rpi imager only installs a single OS at a time. But if that OS is PINN, then you can subsequently use PINN to install multiple OSes. Batocera can be one of those. You must install all the OSes you want at the same time since PINN expands them to fill up the whole of your drive. You can install a dummy ProjectSpace to reserve space if you are not sure. You can replace OSes or ProjectSpaces later with others (within limits) |
Thank you so much for breaking this down this way. Going to give it a shot. |
1 there is no need to install the beta anymore. Just use rpi imager to install pinn 3.9.2 or later from the misc utility images category. Maybe boot Raspberry pi os from sd or usb and use rpi imager to install pinn to your nvme instead. Or you could do a net install.
|
OK I think (hope?) I see your issue.
PINN is not just an OS installer. It is also the Boot selector. PINN can only boot OSes on the same drive as itself. Therefore it must be present on the drive you boot from. If you installed PINN to USB, booted it, and installed your OSes to NVME, then your NVME won't boot. You have ended up in a hybrid situation where PINN and all your OS boot partitions are on the USB drive and only the OS rootfs partitions will be on the NVME. If you change your boot_order to f641, then this will probably work but you will always need to have your USB drive attached. I don't think this is what you intended. (Maybe you could do a quick check to confirm this hypothesis?) What you need to do is to install PINN to your NVME drive. There are a couple of ways to do this: Method 1. - Netinstall If you remove your USB drives and SD card, but have keyboard and wired ethernet connected, then boot your pi, you should get the red/white netboot screen. If you then hold Shift, the firmware will download RPi Imager. You can use this to install PINN to your NVME drive. Method 2. - Raspberry Pi OS Install the desktop version of Raspberry Pi OS to your SD card or USB drive in the usual manner (e.g. use RPi Imager on a PC to install Raspios to your drive.). Once PINN is installed, remove any SD card or USB drives and boot PINN from your NVME drive (adjusting your BOOT_ORDER as required. You do not need to modify your cmdline.txt file as PINN now includes the ability to adjust partition sizes like the pinn.mjh.nz website did. Now you can use PINN to install other OSes to your NVME drive. |
Please use Ubuntu 23.10 instead of Ubuntu 24.04. |
Fwiw I'm running 24.04 on Pi5 NVME SSD (installed from rpi-imager w/ the regular bootloader) just fine; however, I cannot get PINN to work w/ the SSD and any OS to save my life. I'm almost tempted to try to install on an SD card and then |
Issues with Ubuntu24.04 panicking on boot on PCIe NVME should now be resolved. |
Will you be adding RPI5 Support?
thanks
The text was updated successfully, but these errors were encountered: