Re: bootstra.tos broken on 68040/68060 real hardware
John Paul Adrian Glaubitz <[email protected]> Thu, 16 Jul 2026 17:33:47 +0200
| Newsgroups | gmane.linux.debian.ports.68k |
|---|---|
| Message-ID | <659084d91f3ee964b0fbbea399e24cf51d195aff.camel@physik.fu-berlin.de> |
Hi Miro, On Thu, 2026-07-16 at 23:32 +1000, Miro Krop=C3=A1=C4=8Dek wrote: > I have been playing with Debian/m68k for a few days on my Atari Falcon wi= th CT60. Maybe you are aware of the fact that CT60 TOS (basically a patched= TOS 4.04) also contains its own version of ataboot (based on ataboot 3.3 f= rom 2004). >=20 > This built-in ataboot was able to boot 2.2.25 from Debian Sarge 3.1 just = fine, with -T 0x8000000 even without -s (2.4.x, as you perhaps remember, is= unable to boot without -s due to internal changes fixed much later). >=20 > However that ataboot doesn't contain the important update from late 2004 = which allowed to use the staging area also outside ST RAM, drastically limi= ting how big the kernel+initrd can be. For 2.2.25 it was fine, for Debian 1= 0 or 12 it was way too little. >=20 > So I switched to bootstra.tos/prg, unchanged since 2011 but in reality th= e same code base as=C2=A0m68kboot from linux-m68k. To my surprise, not only= I couldn't get any new kernel booting (Debian 10, 12, some snapshot from 2= 023) but the 2.2.25 using the same bootargs wouldn't boot. >=20 > After some digging I have found the culprit: for all those years, the dat= a cache hasn't been flushed! A simple fix:=C2=A0https://github.com/mikrosk/= m68kboot/commit/c6408a2e37fe9d43ad964f09fefcbed9aad361bc made ataboot.ttp w= orking again. >=20 > I guess one of the reasons why this bug went unnoticed is that Debian/m68= k now lives mostly in Aranym which doesn't implement copy-back caching of t= he 68040. >=20 > Now to figure out how to make the installer read the ISO ... Debian 3.1's= one just scanned Atari TOS C:, D:, ... drives, Debian 10's (and later) for= some reason refuses to do the same.=C2=A0 You can sent a patch to Geert and he will take care of it. He is still a very active m68k maintainer. Adrian --=20 .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913