CVS commit: src/sys/arch/powerpc
"Radoslaw Kujawa" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: rkujawa Date: Tue Jun 30 23:59:47 UTC 2026 Modified Files: src/sys/arch/powerpc/conf: files.ofw src/sys/arch/powerpc/oea: ofw_subr.S Log Message: Introduce EFIKA_OFW_WORKAROUNDS - patch OFW trampoline for EFIKA. Long story short, is that SmartFirmware (EFIKA's OpenFirmware) misbehaves on every OF call from the kernel by zeroing SDR1 and messing with BATs. In the olden days, these problems were worked around with FIRMWORKSBUGS option. However, that option does not work currently on EFIKA. Presumaly, something has changed between 2012 and now, which causes FIRMWORKSBUGS to hang on SmartFirmware very early (before NetBSD copyright banner is printed). So we get this kludge, which only does the bare minimum to let OFW call succeed, and the kernel continue after the call. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/powerpc/conf/files.ofw cvs rdiff -u -r1.20 -r1.21 src/sys/arch/powerpc/oea/ofw_subr.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.