Re: building linux from scratch for the raspberry pi model 5b 8 gig version

"Nick Gawronski" ([email protected] via lfs-support Mailing List) <[email protected]> Fri, 16 May 2025 05:19:08 -0500
Newsgroups gmane.linux.lfs.support
Organization Chihuahua Radio
Message-ID <[email protected]>
On 5/16/2025 2:31 AM, Michele Bucca ([email protected] via 
lfs-support Mailing List) wrote:
>
>
>
> Il ven 16 mag 2025, 04:12 Nick Gawronski 
> <[email protected]> ha scritto:
>
>
>     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
>     >
>
>
> You should simply  follow the book:
>
> LFS_TGT=$(uname -m)-lfs-linux-gnu
> Good point as rereading it gave me the answer and now things are 
> building nicely.  I was not able to locate any special directions for 
> embedded systems so should I just follow the book then when I get to 
> the kernel just build the official kernel that is supported by the 
> raspberry pi model 5b replacing version numbers is required?  Nick 
> Gawronski

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page