Re: building linux from scratch for the raspberry pi model 5b 8 gig version
"William Harrington" ([email protected] via lfs-support Mailing List) <[email protected]> Fri, 16 May 2025 15:36:21 -0500
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 16 May 2025 09:45:39 +0200 "Pierre Labastie" ([email protected] via lfs-support Mailing List) <[email protected]> wrote: > Le jeudi 15 mai 2025 à 21:12 -0500, Nick Gawronski a écrit : > > > > On 5/15/2025 5:46 PM, Pocket ([email protected] via lfs-support > > Mailing List) wrote: > > > > > > > > > On 5/15/25 2:54 PM, Nick Gawronski ([email protected] via > > > lfs-support Mailing List) wrote: > > > > Hi, I was just wondering if anyone has built linux from scratch > > > > on > > > > the raspberry pi model 5b computer as I have the 8 gig of ram > > > > version > > > > and was wondering if I could natively build this on there? Yes I > > > > can > > > > build it on the x64 system I have or a virtual private server but > > > > was > > > > just wondering if doing this on a smaller system would get me any > > > > advantages other then not having everything else that the other > > > > systems come with? Nick Gawronski > > > > > > > > > > I have built it and rpm since RPI3 (natively RPI 3), I now use > > > Archlinuxarm. I still have all my rpm spec files as well as the > > > binaries built on a RPI 4. > > > > > > I am currently using a RPI 5 16GB as my main desktop machine. > > > I have no AMD64/Intel machines. > > > > > > > > > > > > When you build the first part of the book as it is not on a x64 > > > system > > > what should I use for the cross builds of gcc and binutils for the > > > target name then? Nick Gawronski > > > > > One of the editors of the lfs/blfs books maintains a fork of the book > for arm: > https://www.linuxfromscratch.org/~xry111/lfs/view/arm64-systemd/ > > There is nothing as official for blfs, but several lfs-ers build it, > and I think you can get support on the mailing lists when you encounter > a problem. > > Pierre Greetings Nick, I'm doing a current LFS/BLFS systemd build with the Rpi 5 16GB. Yes, building natively is no problem. With 8GB, you should be fine and not use much swap. I'm using the official raspberry pi power supply and haven't had any undervolt issues when building with all cores. Main issues to make note for aarch64, Make sure to apply this patch for GCC, otherwise you will run into issues in BLFS with libaom and maybe some other packages. https://www.reddit.com/r/linuxfromscratch/comments/1h2ug7j/lfs_on_aarch64_gcc_patch_needed/ Sincerely, William Harrington -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page