Hi Adrian,

On Tue, Jun 24, 2025 at 08:03:47AM +0200, John Paul Adrian Glaubitz wrote:
> Hi Thomas,
> 
> On Mon, 2025-06-23 at 23:15 +0200, Thomas Weißschuh wrote:
> > Add support for SuperH/"sh" to nolibc.
> > Only sh4 is tested for now.
> > 
> > This is only tested on QEMU so far.
> > Additional testing would be very welcome.
> > Test instructions:
> > $ cd tools/testings/selftests/nolibc/
> > $ make -f Makefile.nolibc ARCH=sh CROSS_COMPILE=sh4-linux- nolibc-test
> > $ file nolibc-test
> > nolibc-test: ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV), 
> > statically linked, not stripped
> > $ ./nolibc-test
> > Running test 'startup'
> > 0 argc = 1                                                        [OK]
> > ...
> > Total number of errors: 0
> > Exiting with status 0
> 
> Apologies, I haven't been able to test this yet as my board currently
> doesn't want to boot kernels newer than v6.5.0 and I have not been able
> to bisect the problem yet.
> 
> Can I test this on v6.5.0 as well?

In theory it should be OK as we try to support oldest supported kernels.

Willy

Reply via email to