Commit Graph

3 Commits

Author SHA1 Message Date
bouyer 9ee6d7efbb Adjust config for 4.0: use native boot for i386 and amd64, swap i386 and amd64
and remove vax so that images are below 700MB.
2007-03-10 22:11:12 +00:00
tsutsui 42f593a4d5 Reorganize macppc_installboot to make macppccd.iso image actually bootable
on (some) OpenFirmware 2.x machines.

Current macppccd.iso image doesn't boot on Openfirmware 2.x
(and probably 1.0.5) machines because it uses pre-compiled binary
which is based on old (and customized) bootxx.
It causes version mismatch against newer ofwboot whose load address
has been changed from 0x600000 to 0xe00000, as mentioned in the
following post:
http://mail-index.netbsd.org/port-macppc/2004/12/14/0020.html
There was also an raw binary which was passed to mkisofs as -boot-hfs-file.

To fix these issue, prepare a simple mkhfsboot program which creates
a boothfs file with the Apple partition map info for mkisofs,
and modify macppc_installboot to search the secondary ofwboot from isofs
and to put and modify the primary bootxx accordingly.
See PR toolchain/30245 for more details.

There are still some machines which don't boot from an iso image created
by this method (G3 machines with OF 2.0f1 etc.), but it's still better
than to keep ugly and obsolete hacks.

Ok'ed by macallan, and there is no other particular comment about this PR.
2006-09-17 03:56:03 +00:00
riz 6a3b33002c First crack at configs for 4.0 .iso images. 2006-08-24 18:15:08 +00:00