Page MenuHomeFreeBSD

[PPC64] Fix ofw_initrd
ClosedPublic

Authored by luporl on Jun 7 2019, 5:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 23 2024, 7:06 AM
Unknown Object (File)
Jan 21 2024, 11:06 PM
Unknown Object (File)
Jan 9 2024, 10:53 AM
Unknown Object (File)
Dec 23 2023, 12:32 AM
Unknown Object (File)
Dec 12 2023, 12:16 PM
Unknown Object (File)
Nov 25 2023, 6:23 AM
Unknown Object (File)
Nov 23 2023, 8:44 AM
Unknown Object (File)
Nov 23 2023, 8:08 AM

Details

Summary

Before this change, OFW initrd (as md) handling code was simulating an
ofwbus device. But as there isn't really a Device Tree (DT) node
representing OFW initrd (it is specified in 2 properties under
/chosen), its driver was in fact stealing other driver's DT node.
This was noticed after MD_ROOT_MEM became default and QEMU's USB
keyboard stopped working under VNC.

This change consists in simplifying the process of detection and mapping of initrd memory,
turning it into a simple startup step, instead of trying to simulate a device.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable