Page MenuHomeFreeBSD

[PPC64] Fix ofw_initrd

Authored by luporl on Jun 7 2019, 5:14 PM.
Referenced Files
Unknown Object (File)
Wed, Jul 3, 5:25 PM
Unknown Object (File)
May 26 2024, 10:12 AM
Unknown Object (File)
May 2 2024, 5:04 AM
Unknown Object (File)
May 1 2024, 10:56 AM
Unknown Object (File)
Apr 29 2024, 11:56 AM
Unknown Object (File)
Apr 26 2024, 10:11 AM
Unknown Object (File)
Jan 23 2024, 7:06 AM
Unknown Object (File)
Jan 21 2024, 11:06 PM



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

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