-
-
Notifications
You must be signed in to change notification settings - Fork 501
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. |
@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://raw.githubusercontent.com/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 |
@MichaIng I just tested our migration script on a fresh empty RPi4 64bit installation without success. During package install, I'm getting following error
On a retry some more information
And running
Means, we would need to have a look 🙄 |
They did split |
Done: RPi-Distro/repo#376 |
The migration script should now work again. |
Hey y'all, I hope this isn't an off topic question: Is the img (available on the download page) ready for use in prod? Thanks |
Is it not possible to have a single image for both raspi4 and raspi5, which will be containing both sbcs' dtbs (or whatever else detail) and their kernels together? So that at boot the user can select/set_default which path to boot, the 4 path or the 5 path. I might be asking something impossible because I don't know their boot chain at all but if it is possible, then ynot? Because I am considering mixed environments with 4s or 5s and because this 'migration script' appears a one way solution, correct? Once one 'migrates' to 5, (s)he boot this installation in 4. Since both 4 and 5 are well alive, flexibility could be appreciated here. |
We have introduced an option especially for the RPi5 that allows you to select different kernel modules to ensure compatibility of the running system between RPi5 and other RPi SBCs. This should make it possible to use the SD card from an RPi5 in a RPi4 as well. |
Additionally, the "RPi234" image from here boots on RPi 5 as well. It contains the needed device tree, the kernel is just 4k page size instead of 16k, which is maybe a little performance penalty, but on the other hand is able to run 32-bit binaries (which the 16k page size kernel cannot). |
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://raw.githubusercontent.com/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: