Page MenuHomeFreeBSD

Update loader size on powerpc isos
ClosedPublic

Authored by bdragon on May 18 2019, 4:08 AM.
Referenced Files
Unknown Object (File)
Wed, Apr 17, 11:12 AM
Unknown Object (File)
Mar 14 2024, 1:18 PM
Unknown Object (File)
Mar 14 2024, 1:18 PM
Unknown Object (File)
Mar 14 2024, 1:18 PM
Unknown Object (File)
Mar 11 2024, 12:54 AM
Unknown Object (File)
Jan 6 2024, 11:23 AM
Unknown Object (File)
Jan 6 2024, 11:23 AM
Unknown Object (File)
Jan 6 2024, 11:23 AM
Subscribers

Details

Summary

loader has grown to the point it's overflowing the existing 307200 bytes allocated to it in the HFS boot partition on the isos.

Bump the space reservation up to 500k.

Diff Detail

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

Event Timeline

regenerated hfs stats:

# hmount hfs-boot-block
Volume name is "FreeBSD Install"
Volume was created on Fri May 17 22:53:05 2019
Volume was last modified on Fri May 17 22:53:05 2019
Volume has 291328 bytes free
# hls -l \ppc
f  tbxi/chrp         0       352 May 17 22:53 bootinfo.txt
f  ????/UNIX         0    512000 May 17 22:53 loader

While I have not done an image build with this, I have successfully booted from cd on my G5 now by manually doing the steps to inject loader and manually updating the boot blocks on a non-booting iso. I will also test whether loader loads on some G4 and G3 stuff I have.

Loader comes up fine and loads kernel on my iMac G3 using the same cd. (Ctrl-c'd it at that point since the ppc64 kernel won't run on g3)

This revision was not accepted when it landed; it landed in state Needs Review.May 20 2019, 3:35 AM
This revision was automatically updated to reflect the committed changes.