Re: [PATCH] tools/nolibc: Add m68k support

From: Greg Ungerer
Date: Sat Apr 26 2025 - 08:38:09 EST


Hi Daniel,

On 26/4/25 16:16, Daniel Palmer wrote:
Hi Willy,

On Sat, 26 Apr 2025 at 14:14, Willy Tarreau <w@xxxxxx> wrote:
Nice, thank you! Could you please also add support for it to
tools/testing/selftests/nolibc/ and verify that it works ?

Sure, doing that now. For now it'll be using the mmu enabled m68k virt
machine that QEMU supports out of the box.

changes. You may possible have to add a few ifndef, as I don't
think we've ever had a nommu platform yet. If you face too many
failures or just difficulties, please let us know so that we can
figure together a suitable solution.

I need to test actually building and running something for nommu but I
will do that later today.
Making nommu test automatically might be a bit difficult though as I
think it only really works with some changes I have to linux and QEMU.

It works out-of-the-box for m68k qemu and a mainline kernel configured
for m5208evb_defconfig - when using the qemu "mcf5208evb" machine.
That is a nommu m68k/coldfire variant.

Regards
Greg