tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bootable macppc iso (Was: Tools mkhybrid(8) for mac68k/macppc ISO9660/HFS install ISO images)
Explicitly splitting the thread here :)
On Sun, 2 Jun 2024 at 16:53, Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> wrote:
> abs@ wrote in tech-toolchain@:
> >
> > Should the HEAD macppc images be bootable also? (Just tries the June 1
> > image and it was not - not sure if the changes will be in that date)
>
> I've confirmed the following changes make "make iso-image" in src/etc
> make bootable macppc iso using TOOL_MKHYBRID.
>
> There are several pitfalls (like 32KB padding, complicated mkhybrid
> options etc.) and maybe need more cleanup (to create temporary working
> image first and then copy it into releasedir/images rather than
> creating the target image directly etc.), but I think now I can
> ask to review and test changes, especially OpenFirmware 1.x and
> 3.x machines.
>
> Current diffs are on my github (diffs also attached):
> https://github.com/tsutsui/netbsd-src/compare/8b057ce4...tsutsui-macppc-iso-image
>
> # Summary:
>
> - build src/distrib/cdrom/macppc_installboot as a tool in
> src/tools/macppc_installboot
> (and also change src/distrib/cdrom/macppc_installboot as a native tool
> to use src/tools/Makefile.host)
> - disable iso_image tareget in src/distrib/macppc (that uses makefs(8))
> and add macppc specific iso stuff to etc/etc.macppc/Makefile.inc
> - change "boothfs" file for mkhybrid to have 32KB NetBSD_BootBlock size
> (previously src/distrib/cdrom/Makefile manually add 32KB padding)
> ==> maybe OpenFirmware uses 32KB blocksize to load a bootblock
> specified in the Apple partition map entry
>
> The old SCSI CD-ROM drive on my Apus2000 has several troubles that
> cannot recognize modern CD-R media (for only DVD drives?) many times,
> so I switched to using BlueSCSI v2 to test images after I made >10
> white CD-R coasters..
Have you also tested writing to USB memory sticks? The existing
release macppc ISO images boot fine with the following (or some
variant depending on where the USB stick is inserted)
boot usb1/disk@1:\ofwboot.xcf
> I will try to cleanup more stuff in the iso-image target in src/etc
> and will commit changes in the next weekend.
>
> [... much detail ...]
Great, so that would mean the plan is to get the changes to make the
macppc iso-image always bootable will go into current, people can then
test from there, and we can think about cleanups and pullups later?
Thanks again for all this!
David
Home |
Main Index |
Thread Index |
Old Index