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

From: Greg Ungerer
Date: Sat Apr 26 2025 - 09:57:30 EST


Hi Daniel,

On 26/4/25 23:06, Daniel Palmer wrote:
Hi Greg,

On Sat, 26 Apr 2025 at 21:38, Greg Ungerer <gerg@xxxxxxxxxx> wrote:
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.

Ok, I didn't realise there was any working nommu machine in mainline QEMU.
Does direct kernel booting with a ramdisk work there? The tests for
nolibc require that.
Either way, I'll it out tomorrow.

Direct kernel booting with builtin root init ramfs works.
The defconfing is not configured that way, but I always run it
with CONFIG_INITRAMFS_SOUCRE set to a suitable rootfs.

Regards
Greg