Re: [hatari-devel] SCU/VME register access? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] SCU/VME register access?
- From: Christian Zietz <czietz@xxxxxxx>
- Date: Fri, 14 Jun 2024 17:51:44 +0200
- Autocrypt: addr=czietz@xxxxxxx; keydata= xsFNBGMHkrYBEACc4fljFVcoEo+DzmhTRd8pOfnj39wkNL+VEIzUpz5OfxFNx/KYWhtHxLN9 VWD3rojS5ww3bNgWiYdqDLisuaO6jLXZ7JNBQU3ruJg+g4iCuwfwFf/tVAHvMCr5U/ibiE94 VZuHs6yYJnXHuKrZEBzWQTEPHltqFLVq+cr4dzMV14SIWP8/OnUCaQeeCE1jdh8itXw75Cv9 Bc4wqhT1eU75WmcUwJ1hNrwZm6M2acFoABmZL0CWm0L8+7PXDgZXlwyNoWuPoupjuAvjsdsY 5x+uWtfyufrC/auTcc7LKiAxRQcZ/ABtLhnAa13Su4BsrVwJIxFIGDrZe/CpX48CvYdWljQF JqElP5ShsaM01odrLhmS8OreMEODo6Vhr3zqs3wUA/bl8gEkxDbSz0LewqC07sajTiYIVABW bVWkyn2T8JANSbtVV9YgUnbK+CsMckruarab1iSrTBB+aTvK5TN7LP4iKHaXfZAbq5wtQfXe yrvyPjkbmzvbYb+lnVe24fqLQS1RVB6p/LGAkKFBT1SjEQWVtzVIiAAlbjhRxIsdOqJK1kl/ 6GyQyGfUlPByUETzzFKe6qcCtQlUZPwd7vquryw+3PSVkhL9PiEtUSMiOIVpRzfomxwKXNGT avDoYjTZL1ROuzQYfL+ekpGu4Ti53GGxagxJT1tBhon1qUkMwwARAQABzSBDaHJpc3RpYW4g WmlldHogPGN6aWV0ekBnbXgubmV0PsLBkQQTAQgAOxYhBElYYBdDcemT9uBa0ocIs0yCexWe BQJjB5K2AhsDBQsJCAcCAiICBhUKCQgLAgQWAgMBAh4HAheAAAoJEIcIs0yCexWer/EP/jwv T/D+J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kim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1718380307; x=1718985107; i=czietz@xxxxxxx; bh=Fy6mz7suqjkiuZg2BKgFIyLq74sHYBcX8xlgjDFEA6Q=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=JrIiQ3yfGOH/awOPSB5rqAKt8nqfBxOzULeNkBxRzXQDijry2MTiYEkfQtm/uCZZ S1kHy/5NnOW9kACqsf88b5rt+dPL9wM6ww+T+OwNKjGn4bEeYqztpHUM/Rt2tdKUS uz14egg3xgXImd1Aj4Uplg4cKmeyuyhKiha4raWJC7Noy1Acei2Raynpas8g7HPHP elYJZk7eu7iLRuAEumMFicFVqJEH5UwCEZj3GeJSgk9eHwSQPWZ3BhaYE0UMPO8Se mDJO/I0uh2HnZ8PMlIIbks1PmQtX0TT7V07cSGFVuozwind8ZQoHXbLB4w9fxmZJ0 47p2xCUz++vlbyq8zg==
- Ui-outboundreport: notjunk:1;M01:P0:VvE7jPp5KjA=;O+iYYzYVE1mSjuXiIKKxE3lTMAc FdZ7WcFxiHjhKiWIRqk9fcO0pAOxmd0jLfTtswVSPgpDSLMhLFWcKvW974ADPNO3N7FP8YXFS q33+O8TisC57dMFmIVnXvMW686AUZQjdAxwWIKGv6b9Kb1ZSmhWgerrKYge7dLQO6QMe2bvr3 wgheL3GQyPVPb9BsZ3NoGCxlJYaXjuWDo1hCMk5KqBRLTcV1FYhetu6UBpwmhi3MPPbD3/oc0 U5iworS+bG1SXEhnYODFzSUl5MSkzuiF5Yq4AOw7CXQrNyYr8e0/Ept8YlXutFpPm9gHOn6iz q7WNnT+lVZ7hOxkCOUN9SrQz+d7CCfe7E/1ifeqBglpAL0PLKPtCJ46VUaxKmTpHmdn1gXO2g kVj6SCeDsDU/B8Q3NTSVNPw4/CfGSe0BNj38cjADQf2elvYg07D4zxmYmLhqaiVlkRHwY+UNk yj3Z1iuoMCxxnwBeT7aLaBkFv0/d7n2mTgWC7rsVU0fBHzxwhXUOBSGaqCl8/sSpn8HasBTCG VnI3ciOKlFBtT25QsePxr4BSi5vH6Qn5UdjXyx/7W6lJawGZDJYJTa37ejS1QmwqAaBSJWecT CsfdvDXguKp+JCUq+jhJ5/l5ZqkQZkuw5s/wfuxBRFDc2HBQUVD0GboLTrCaA6u6EU4UL98PT fwqzuZiGO1IC5mXbFfjfPUnXA9z9TckB/ekVst01Ak74zeKEsI57O//UH6UOHAasSTWGVW/Xi gFrjeQQNNtfkhlpLoWSXyu3omcIP3MVNKkDWvbhhb8kEQ6K0EK6OigPb7Tvn1q0rt2rR/esbc o06dLSc6ZnUxyhJJhFRXvwlj3qsPtAP2H+JiGg4vwAaOk=
Christian Zietz schrieb:
If someone points me towards the kernel in question and a way to load it
on real hardware, I can do a quick test on my TT.
With some help from Eero (thank you!) I now have a kernel that I can
load on my real TT.
I can confirm:
1.) The unmodified kernel is indeed broken: It hangs in an infinite loop
"unexpected interrupt from 112" due to the active but unhandled VBL IRQ.
This should be reported to m68k linux.
2.) When I patch the kernel (with Ghidra and a hex editor) to write 0x00
to the SCU sys_mask register, it boots, only panicking in the end (as
expected) because I did not provide a root FS in my test.
Regards
Christian
--
Christian Zietz - CHZ-Soft - czietz@xxxxxxx
WWW: https://www.chzsoft.de/
New GnuPG-Key-ID: 0x8708B34C827B159E