NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-macppc/53549: ppc601 machines need their own INSTALL kernel
>Number: 53549
>Category: port-macppc
>Synopsis: ppc601 machines need their own INSTALL kernel
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: port-macppc-maintainer
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Aug 24 16:30:00 +0000 2018
>Originator: scole_mail
>Release: 8.0
>Organization:
none
>Environment:
NetBSD dstar 7.1.2_PATCH NetBSD 7.1.2_PATCH (GENERIC) #0: Wed Aug 22 09:17:21 PDT 2018 scole@dstar:/home/scole/nbsd/cvs/7_0/obj/sys/arch/i386/compile/GENERIC i386
>Description:
It may be almost moot at this point, but the Power PC 601 machines
need their own INSTALL kernel. The existing INSTALL kernel can't boot a ppc601.
When I was looking at the ppc601 stuff, iirc, I didn't have a working
CD drive or floppy, so I didn't try set up and test proper install
media. Creating 601 install media I guess that would involve:
- In /src/etc/etc.macppc/Makefile.inc, adding 601 kernel
BUILD_KERNELS+= INSTALL INSTALL_601 GENERIC_MD
- adding new kernel config file, e.g.,:
src/sys/arch/macppc/conf/INSTALL_601
It might be nice if this kernel was under 4M uncompressed so it
could be netbooted, but that is not necessary. It could be based
off the existing GENERIC_601, adding whatever else is required for
the INSTALL stuff. This should generate files like:
pub/NetBSD/NetBSD-8.0/macppc/binary/kernel/netbsd-INSTALL_601.gz
pub/NetBSD/NetBSD-8.0/macppc/binary/kernel/netbsd-INSTALL.symbols.gz
- I haven't looked closely at how boot floppies and iso images work,
but maybe changing
src/distrib/macppc/cdroms/installcd/Makefile
src/distrib/macppc/floppies/bootfloppy
to generate something like
pub/NetBSD/NetBSD-8.0/macppc/installation/floppy/boot6_1.fs
pub/NetBSD/NetBSD-8.0/macppc/installation/floppy/boot6_2.fs
pub/NetBSD/NetBSD-8.0/images/NetBSD-8.0-macppc_601.iso
pub/NetBSD/NetBSD-8.0/images/NetBSD-8.0-macppc_601.iso.torrent
- probably other stuff I'm missing...
I'll try to submit some patches, but I can't test such changes because
I no longer have 601 hardware.
If someone who understands the install framework better wants to do
this, feel free. I would say it is better to have something there
even if it is untested.
Thanks
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index