Page MenuHomeFreeBSD

[PowerPC] Remove obsolete MK_LOADER_FORCE_LE
ClosedPublic

Authored by bdragon on Sep 14 2020, 10:34 PM.
Referenced Files
Unknown Object (File)
Wed, Nov 20, 10:53 PM
Unknown Object (File)
Wed, Nov 20, 12:30 PM
Unknown Object (File)
Wed, Nov 20, 12:30 PM
Unknown Object (File)
Tue, Nov 19, 6:58 AM
Unknown Object (File)
Wed, Nov 13, 6:23 PM
Unknown Object (File)
Wed, Nov 13, 6:19 PM
Unknown Object (File)
Wed, Nov 13, 6:15 PM
Unknown Object (File)
Mon, Nov 11, 8:22 PM

Details

Summary

In D12421, the ability to compile stand/ in little-endian was added, with the intention to extend loader.kboot to run in Petitboot.

However, no further work was done, as the kernel then gained self-execution capabilities as Petitboot was taught to load FreeBSD kernels directly.

The FreeBSD installer on powerpc64 (on POWER8 and POWER9) uses /boot/etc/kboot.conf instead of loader.

As this option does nothing but cause stand/ to be miscompiled and actively causes confusion, remove it.

(I have a functioning petitboot loader in my local tree, however, it turned out to be quite inconvient to use due to the current petitboot plugin design so I put it on hold.)

Diff Detail

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

Event Timeline

bdragon edited the summary of this revision. (Show Details)

Properly rerun makeman.

Not a powerpc expert, but seems reasonable to me - no objection here.

This revision is now accepted and ready to land.Sep 15 2020, 2:00 AM
This revision was automatically updated to reflect the committed changes.