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. |
For testing I download the latest image available on or server and it was working ootb, having the correct dev branch set. |
The image works fine, tested it with PCIe SSD and RPI5 8GB @MichaIng: thanks for your hard work! |
I have a question. I installed DietPi on my Pi 5 by running the migration script on my Pi 3B+ and it has been working great for the past month or so. When the official Pi 5 image will be released do I need to do something to "migrate" (I don't know if the term is correct in this case) from the installation created using the migration script to the official Pi 5 image? Or the installation created with the migration script is pretty much the same as using the official Pi 5 image directly? Would a clean install with the official Pi 5 image be beneficial in my case? Thanks |
You should be fine to continue using the current system. |
A latest bootloader (EEPROM) build from yesterday, which can be installed with @Trainax |
Thanks for your reply. I ran the |
the test image seems to be ok, only libreoffice didn't start, hope and wait for official image |
I've migrated from Pi4 to Pi5 with the migration script, is there a safe way to switch back to stable versions of DietPi? My current version is v9.2.-1(dev) thanks. |
|
Im curious. Who exactly are "they". "They" being who gets to decide what is deprecated, what stays, what goes, and so on. Some things worked just fine but then, out it goes. If it aint broke,....just saying. I mean sure, software engineers need to continuously find something to do to stay employed and what not but damnit, right when I get something dialed in just the way I need it, 'poof' its deprecated and you have to start from scratch due to new conflicting issues. RESIST THE TEMPTATION!!! IF ITS NOT BROKEN, QUIT TWEAKING ON IT!!! Theres a few brands of decaffeinated coffee out there that taste just as good as caffeinated, with that same wonderful aroma. |
This comment has been minimized.
This comment has been minimized.
Wow! I didnt actually expect a response. But thank you for doing so.
Change. It's one of the very few guarantees we get in life. I was just
having a "get off my lawn" kind of day that day. And I know dependencies
arent maintained forever. I was just frustrated wishing that they were.
Thanx for your time!!
…On Fri, Mar 8, 2024 at 11:46 AM LittleFreak ***@***.***> wrote:
Im curious. Who exactly are "they". "They" being who gets to decide what
is deprecated, what stays, what goes, and so on. Some things worked just
fine but then, out it goes. If it aint broke,....just saying. I mean sure,
software engineers need to continuously find something to do to stay
employed and what not but damnit, right when I get something dialed in just
the way I need it, 'poof' its deprecated and you have to start from scratch
due to new conflicting issues. RESIST THE TEMPTATION!!! IF ITS NOT BROKEN,
QUIT TWEAKING ON IT!!! Theres a few brands of decaffeinated coffee out
there that taste just as good as caffeinated, with that same wonderful
aroma.
There are a few simple reasons why...
- the previous approach is outdated by today's standard
- reaction to CVE
- dependencies aren't always maintained forever 😉
- new method will be easier to maintain/ reduce
workload+codebase+runtime / improve security
—
Reply to this email directly, view it on GitHub
<#6676 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ2SOP3YMYYZKIQIW7A57M3YXIIR5AVCNFSM6AAAAAA5ZNEQLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWGMYTOOBVHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@billcawelti that was a magical moment. |
To be true, I was not answering because I was not sure what you were referring to 😅. Raspberry Pi Ltd. deciding to drop some more legacy closed source Broadcom driver/firmware/library blobs? LittleFreak probably nailed it in all points, as the general reasons to move from difficult vendor code to open standards maintained by Linux upstream. Indeed it breaks some RPi-specific features or changes ways to achieve things. But on the other hand, it aligns it the way how you do on every other Linux system (unless they also use an own vendor kernel/bootloader/firmware). IMO the only way to bring the ARM architecture as a whole forward, so developers e.g. do not always need to make special case code for RPi. |
Will this still work on my Pi 4 if I run this script or will it no longer work? |
It is working on all RPi SBC |
So I plan on migrating to a Pi 5 so just run this script on a running pi4 then simply power down and swap the SD card into the pi5 and it should boot with all settings/config? |
bash <(curl -sSf 'https://raw.githubusercontent.com/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. :) |
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 partitioning 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: