Re: [hatari-devel] SCU/VME register access?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Eero Tamminen schrieb:

During the development of Atari TT / MegaSTe SCU support for Hatari
emulator, it was noticed that m68k Linux does not properly initialize
SCU registers / IRQ handlers on boot.

Currently Linux freezes at boot and spews "unexpected interrupt"
messages constantly on TT.

Nicolas Pomarède and Christian Zietz investigated:
* Issue to be due to VBL IRQ handler removal [1]
* boot to succeed if either 0x00 is written to the SCU sys_mask, or
handler is provided for VEC_INT4 [2] when SCU is used

Christian has verified the issue and its workaround on real Atari TT.

[1]
https://github.com/torvalds/linux/commit/1fa0b29f3a43f9dd8080d24cd16790b15ef963f5
[2]
https://git.tuxfamily.org/hatari/hatari.git/tree/tools/linux/0004-WA-avoid-unexpected-SCU-interrupts.patch
-------------------------------------------------

Does that sounds OK?

Fine for me. Thank you for taking this to the m68k Linux list. Let's see what the reactions are.

Regards
Christian
--
Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
WWW: https://www.chzsoft.de/
New GnuPG-Key-ID: 0x8708B34C827B159E



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/