Re: Help with jhalfs on aarch64 (Apple Silicon M1)

"Marcin Dulak" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <CABJoABZReV=odYvZskX=t6pRcwgBdv7sgZ-U9-g5jYmvEm7Lrg@mail.gmail.com>
On Mon, Oct 10, 2022 at 8:37 AM Pierre Labastie <
[email protected]> wrote:

> On Sun, 2022-10-09 at 20:38 +0000, md wrote:
> > Hi,
> >
> > I unsuccessfully attempted jhalfs in an aarch64 docker container on Apple
> > Silicon M1.
> > For the previous work, I was only able to find a reference to lfs on
> Apple
> > Silicon in
> >
> https://lists.linuxfromscratch.org/sympa/arc/lfs-support/2022-07/msg00001.html
> > but no further discussions, and also some reddit statements.
> >
> > My notes from the jhalfs process are at
> > https://github.com/marcindulak/jhalfs-ci/issues/1.
> > Please comment on github, or directly on this forum on specific points.
> >
> > Based on the notes, my tentative conclusions are as follows, please
> guide me:
> >
>
> > 1. In order to build on aarch64, I need a way to force jhalfs to use
> >  $LFS/usr/lib (or $LFS/usr/lib64) consistently. How to achieve that?
> >
>
> See my answer in the github issue. Short answer: use an aarch64 lfs book.
>

thanks, I added my notes at https://github.com/cross-lfs/lfs-arm/issues/7,
have not succeeded building the whole yet.

>
> >
> > 2. Is BIOS boot feasible with qemu-system-aarch64 on Apple Silicon and
> > https://wiki.qemu.org/Documentation/TCG,
> > or do I need to switch to UEFI
> > https://www.linuxfromscratch.org/blfs/view/svn/postlfs/filesystems.html?
> > My plan was to attempt the build and test the resutling image unattended
> on a
> > system without hardware virtualization
> > with tcg. If that's not feasible, https://wiki.qemu.org/Features/HVF is
> the
> > second choice.
>
> Not enough experience to help here. I'd say UEFI has more chances to work
> since
> it is system agnostic.
>


>
>
> Pierre
> --
> http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
> Unsubscribe: See the above information page

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
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.