Page MenuHomeFreeBSD

[PowerPC] Remove obsolete MK_LOADER_FORCE_LE
ClosedPublic

Authored by bdragon on Sep 14 2020, 10:34 PM.
Referenced Files
F132428876: D26430.id77035.diff
Thu, Oct 16, 8:58 PM
F132428868: D26430.id77035.diff
Thu, Oct 16, 8:58 PM
Unknown Object (File)
Wed, Oct 15, 1:44 PM
Unknown Object (File)
Wed, Oct 15, 1:44 PM
Unknown Object (File)
Wed, Oct 15, 1:44 PM
Unknown Object (File)
Wed, Oct 15, 1:43 PM
Unknown Object (File)
Wed, Oct 15, 2:44 AM
Unknown Object (File)
Sun, Oct 5, 1:51 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.