Re: Which LFS to build on RPI

"Xi Ruoyao" ([email protected] via lfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
On Tue, 2024-12-24 at 14:31 +0100, Filip Bartmann wrote:
> Hello,
> I found https://www.linuxfromscratch.org/~xry111/lfs/ and i'm puzzled
> which version to use to build LFS on RPI 4 HW.

RPI 4 is an arm64.  But my arm64 branch assumes UEFI which RPI 4 does
not support.  Also AFAIK some hardware drivers needed for RPI 4 are not
in the upstream kernel.  So it won't work for you unless you know
exactly what you are doing and make the correct adjustment yourself.

> Or is there a
> possibility to cross compile LFS for RPI4 on x86 HW.
> When building on LFS, how much RAM i need to build LFS.

It's out of the scope of LFS.  We want to keep the LFS system settled
down, i.e. if you rebuild a package on a finished LFS system, you should
get the same result as the package was built as a part of LFS.  Cross
compilation cannot satisfy the intention.

Yes it's valid to make a full cross-compiled system, but it's unrelated
to LFS.  And for this purpose you can use something like buildroot
anyway, we really don't need (or want) to reinvent the same wheel.

-- 
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.