Re: [PATCH 3/3] tools/nolibc: add support for 32-bit parisc
Thomas Weißschuh <[email protected]>
| Newsgroups | org.kernel.vger.linux-parisc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 2026-04-07 20:40:39+0200, Helge Deller wrote: > On 4/7/26 20:14, Thomas Weißschuh wrote: > > On 2026-04-07 19:33:05+0200, Helge Deller wrote: > > > On 4/7/26 18:37, Thomas Weißschuh wrote: > > > > Extend nolibc to target the 32-bit parisc architecture. > > > > 64-bit is not yet supported. > > > > > > Adding 64-bit would be very cool. > > > > It is on my roadmap. But the 64-bit kernel I tried didn't seem to boot. > > Just in case you used qemu, you need to use "-machine C3700" or "-machine A400". > The default B160L is a 32-bit only machine. Thanks, I'll try that. > > Also it would be nice if CONFIG_COMPAT could be disabled. > > Ah... never thought about that. Will check, but I don't think > the kernel will become much smaller. It's not about size for me but about simplifying the toolchain setup. > > > Dave Anglin is currently working on adding 64-bit userspace support > > > to gcc/glibc (dynamic loader), but that takes some time. > > > In the meantime a 64-bit nolibc would be cool for testing. > > > > Nice. Do you have instructions to run the 64-bit kernel in QEMU? > > As mentioned above, I think the "-machine C3700" should be sufficient. > Some more info is at: https://parisc.docs.kernel.org/en/latest/qemu.html > > > Is qemu-user support planned? > 32-bit qemu user works great and is used on many debian buildd machines. > 64-bit is on my todo list, I just need time to do it :-) 32-bit qemu user is indeed used by the proposed patches. I'm looking forward to the 64-bit support. Thomas