Make sun3 work again.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | m68k: sun3: register RAM with memblock and set the low pfn limitsarch/ | +24 | 0 replies | |
| 2/2 | m68k: sun3: add an early boot console over the PROMarch/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Make sun3 work again.
Short version: Have a QEMU fork that can emulate all of the supported m68k machines via the magic of LLM. LLM also fixed the ones that had bit rotten. This series makes sun3 work again. Commits are cleaned up but I have intentially left most of the comments intact as the LLM debugged it not me.
Longer version:
I am reworking some stuff in my m68k tree and have added SMP etc. I wanted something to test I haven't regressed all of the other machines so I gave claude the qemu and kernel sources and told it "emulate all of the supported m68k machines, try to boot their native OS first, netbsd if there is a port and then linux."
It took a few weeks from what I remember (emulating 030 macs is hard apparently...) but it was able to do it mostly. Some of the natives OSes use the MMU in weird ways and it gave up trying to model some of that in QEMU. It's pretty sure it can boot Linux on anything with an m68k CPU now. It even created Palm Pilot emulators and tested the 68000 Palm Pilot support.
While doing the QEMU work it also fixed up some of the machines so they work again. I sent a patch for Apollo a few weeks ago.
This series fixes sun3 to the point you should be able to get something to print out over serial.
With some further patches to add a real serial driver and it gets to my nolibc based userspace:
https://gist.github.com/fifteenhex/e97322216d5e85e7a54a2adfcba08e32
The real serial driver is a lot of code so I have kept that out of this series.
Daniel Palmer (2):
m68k: sun3: register RAM with memblock and set the low pfn limits
m68k: sun3: add an early boot console over the PROM
arch/m68k/sun3/config.c | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+)
Signature · 1 line
2.55.0