-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
Image | Raspberry Pi 5: Testing and firmware migration script #6676
Comments
Okay this requires more work, sadly. With Bookworm and hence for RPi 5, the packages as well as the filesystem layout have changed dramatically:
|
uhh does not sounds like a quick win. 🙄 |
Any updates? |
Same Question. :-) I buy a RPI-5 and want to install DietPi for LoxBerry. |
any updates on this? |
We will post any updates here when we have some. I was looking further into it. The migration of the partition and installation of the new kernel packages is not too hard. But there is another big problem: Our scripts, and probably RPi's own scripts/programs expect Another problem or better question is what we do with Btw, does someone of you guys have an RPi 5 already and can tell me the revision code? That way we can add support to our hardware detection script already and provide RPi 5 compatible images between releases, if I am not able to finish this until this Saturday (v8.24 release): mawk '/^Revision/{print $3;exit}' /proc/cpuinfo The 3rd and 2nd last characters define the model. "14" was CM4, so it is probably "15" or "16". |
C04170 |
Hi, i will receive the Raspberry next week. It is already shipped. I will update you when i receive it.
Very thanks for your amazing work!
…________________________________
Da: jboots07 ***@***.***>
Inviato: Thursday, November 16, 2023 1:38:24 AM
A: MichaIng/DietPi ***@***.***>
Cc: adrianog91 ***@***.***>; Manual ***@***.***>
Oggetto: Re: [MichaIng/DietPi] Image | Raspberry Pi 5 (Issue #6676)
C04170
—
Reply to this email directly, view it on GitHub<#6676 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADGPFYUSGCNXV4TTNFY4UYDYEVOABAVCNFSM6AAAAAA5ZNEQLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJTGUZDANBWHE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Thanks. Found it now here as well: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#new-style-revision-codes So "15" is the CM4S, which is a special industry customer variant, not publicly sold, and "16" for "internal use". Let's see whether "16" is a surprise, not announced yet 🙂. |
First step: 6e848a1 |
Thanks for your hard work and update! Let me know if I can help in any way, I have a pi 5. |
I just received my PI5 and can't wait to install on it Dietpi to replace my PI4 :-) |
I just received mine too and am excited to put dietpi on it :-) |
@MichaIng when you are ready for testing in the wild on RaspberryPi 5, I am happy to test. |
Available for testing on Pi 5 as well! Thanks for your efforts! |
Where can I get it? |
I don't think so there has been any image supporting Pi 5, You'll have to wait |
Oh... This one won´t work? https://dietpi.com/downloads/images/testing/DietPi_Star64-RISC-V-Sid.img.xz |
I think that one is for Risc-V #6212 |
Is it possible to add the dietpi later on a running raspbian? If so, I'd just give my raspbian a diet later, when its compatible with raspi 5. |
You mean on a Raspberry Pi OS? Currently does not work as |
Have a Pi5, happy to test :) |
Also have a RPI5, happy to help testing. |
Here, I have another one ready to test. |
bash <(curl -sSf 'https://github.com/raw/MichaIng/Diet Pi/dev/.meta/dietpi-rpi-firmware-migration') |
As stated on the error. You would need to upgrade to Debian Bookworm as this would be required for running on RPi5. |
Thanks, in the end I was able to import/export my configs and loaded a fresh image. Probably for the best anyway and got it up and running. :) |
So if I get this right, I should be able to install this on a new RPi5 without any issues, correct? Does anyone know if it works with the Pimoroni NVMe Base ? Thanks! |
With "this", you mean our dedicated RPi 5 image? Else after migrating a current image to the new firmware stack with our script, and selecting an RPi 5 compatible kernel to be installed, yes. The NVMe board should work on that image just like it works on RPi OS, as both share the same bootlaader/kernel/firmware. |
It's a new RPi5 so doesn't need to migrate. I was assuming that a straight download + install should work, but I saw the caveats on the download page :- Many thanks! B. |
Yes, the RPi 5 image from our download page of course works on RPi 5 🙂. NVMe support is not something that is/can be controlled by our script. It either boots/is detected, or not, based on bootloader and kernel. And everything that can currently not be controlled with out scripts, can instead be done manually via |
Many thanks for your help! B. |
Hello, I then tried to install dietpi on a raspberry 3b+ on the same SD-card, which succeeded. I got the following output on a fresh dietpi install on the Raspberry pi 3b+ : What may be the issue here? |
The test image should work. Do you have a UART adapter to check serial console output? And does RPi OS boot? |
Thanks for the quick answer. |
I did some additional investigation today. It seems that I had issues with the HDMI port. When testing Raspbian the monitor was working fine. However, when Dietpi was running, I could not manage to get the monitor to work. |
Probably KMS vs non-KMS makes a difference. Try to add In my case, it works well without KMS enabled, but it might depend on the monitor, and this is a significant difference between DietPi and RPi OS defaults. |
@kris711 Next time (repeat), do not abort, but press ENTER to continue. Then you have a Debian Bookworm system. Next you need to run the migration script from first post, to actually migrate to the RPi kernel/firmware stack and install the RPi 5 kernel. |
Im pretty sure this is not a Pi5 Problem? Or? DietPi (latest) was unexpected slower on a SSD, that all "writes". |
@Just2Confuse pls have a look to your linked topic. There you got some questions. |
I've tested the in-place upgrade script on rpi zero 2w and on a 4B. In both cases it went smoothly and with no issues. BTW, you can also create an image of the boot drive straight from the running system. Just stop any services and use |
At best, remount the filesystems R/O: dietpi-services stop
swapoff -a
mount -o remount,ro /boot
mount -o remount,ro / It sometimes keep complaining "drive is busy", in which case one would need to further check which process is keeping a file open in writable mode, but this is safest to avoid inconsistencies. Or use bash <(curl -sSf 'https://github.com/raw/MichaIng/DietPi/master/.build/images/dietpi-imager') This has the benefit, that the resulting image file does not have the size of the root drive, but filesystem and partition are minimised at first (and automatically expanded again on reboot), and the image further compressed. Would be actually an idea to allow running this on the origin system itself, where it could attempt the R/O remounts automatically. Of course, the image would then need to be stored to another drive. |
Hi everyone, sorry if this is a duplicate comment however I couldn't find what I am looking for. With summer approaching my Pi 5 with an official active cooler fan is running hotter than usual. When I log in using SSH the banner says something like:
Is there any way to change the PWM fan profile to make it spin faster and keep the CPU temperature lower? I know it says "safe", however I don't see any reason why it shouldn't be allowed to run cooler if possibile. Inspired by this GitHub Gist I was able to make the fan spin faster by writing a higher number to
Thank you and sorry again if this is duplicate |
ADMIN EDIT
First Raspberry Pi 5 testing images are available now on our download page: https://dietpi.com/#download
You can also find images with the new kernel/firmware package set for other RPi models here: https://dietpi.com/downloads/images/testing/
The ones with the new firmware have "RPi1", "RPi2" and "RPi234" (64-bit) in their names. To migrate an existing system, use the migration script:
bash <(curl -sSf 'https://github.com/raw/MichaIng/DietPi/dev/.meta/dietpi-rpi-firmware-migration')
WARNING: This is currently a one-way ticket.
dietpi-backup
cannot be used to restore the old system, since the boot partition mount point has changed. If you want to be able to revert, create an image of the whole SD card/drive. dietpi-imager can be used from another DietPi (or Debian/Ubuntu) system, to minimise partition and filesystem automatically, to have a small compressed backup image.Is the SBC officially supported by the Debian installer?
Notes
The text was updated successfully, but these errors were encountered: