On 24/10/2024 02.11, Rob Landley wrote:
I use it, and ship system images for it:

   https://landley.net/bin/mkroot/latest/sh4eb.tgz

Oh, that's interesting, I've been told that the r2d machine does not work in big endian mode:

 https://lore.kernel.org/qemu-devel/87a5fwjjew.wl-ys...@users.sourceforge.jp/

But yes, your binaries apparently work there, so sorry for the confusion.
I'll send a patch to revert the removal.

 Thomas

And here's me recentish-ly debugging an issue via it:

  https://landley.net/notes-2024.html#24-05-2024

(Compile/test cycles are WAY easier there than copying files onto an sd card to test on actual hardware.)

There was a big-endian issue breaking r2d last year, but it also broke big endian mips and some other targets too, and it got fixed. The binary I built a few months ago was working fine for me with vanilla qemu git source? (I don't _think_ I had local changes?) I can try to build the version removed to check that...

Yes I should be better about pushing local patches upstream. For example, here's the kernel patch I use to run fdpic binaries under qemu:

https://landley.net/bin/mkroot/latest/linux-patches/0002-sh4-fdpic.patch

Which lets you enable the FDPIC loader on an mmu kernel, which is useful for testing j-core userspace under qemu.

Rob



Reply via email to