Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tools mkhybrid(8) for mac68k/macppc ISO9660/HFS install ISO images



I wrote:

> 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.
 :
> I will try to cleanup more stuff in the iso-image target in src/etc
> and will commit changes in the next weekend.

I've tested the new iso-image on Power Mac G4 with OpenFirmware 3.4f1,
and at least it can load ofwboot.xcf from the ISO image:
(typed from screenshot; -a is specified to pause at prompt)

---
Apple PowerMac3,3 3.4f1 BootROM built on 08/08/00 at 22:02:19
Copyright 1994-2000 Apple Computer, Inc.
All Rights Reserved.

Welcome to Open Firmware.
To continue booting, type "mac-boot" and press return.
To shut down, type "shut-donw" and press return.

 ok
0 > boot cd:,\ofwboot.xcf -a load-size=6e040 adler32=cf53f364

loading XCOFF

tsize=10280 dsize=23c bsize=28f5 entry=e00000
SECTIONS:
.text    00e00000 00e00000 00010280 00001000
.pad     00e10274 00e10274 00000d80 00011280
.data    00e11000 00e11000 0000023c 00012000
.bss     00e11240 00e11240 000028f5 00000000
.debug_l 00000000 00000000 00011ac7 0001223c
.debug_s 00000000 00000000 00004f0c 00023d03
.gnu.att 00000000 00000000 00000010 00028c0f
.ident   00000000 00000000 000000ad 00028c1f
.debug_i 00000000 00000000 00022214 00028ccc
.debug_a 00000000 00000000 00007673 0004aee0
.debug_l 00000000 00000000 000143fc 00052553
.debug_a 00000000 00000000 000008e8 0006694f
.debug_r 00000000 00000000 00001049 00067237
.debug_f 00000000 00000000 000027a0 00068280
loading .text, done..
loading .data, done..
clearing .bss, done..

>> NetBSD/macppc OpenFirmware Boot, Revision 1.14 (Thu Mar 28 08:33:33 UTC 2024)
>> Open Firmware version 3.x
>> Open Firmware running in virtual-mode.
Boot: 
---

However, NetBSD/macppc 10.0 RAMDISK kernel stalls with black-out
screen once after (probably) genfb driver for framebuffer is attached
(but it should be handled as another issue).

On the other hand, GENERIC kernel (that use r128fb(4) for ATI Rage) works:
 https://dmesgd.nycbug.org/index.cgi?do=view&id=7781
 
---
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
    2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
    2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
    2024
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024
	mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/GENERIC
total memory = 1024 MB
oea_startup: failed to allocate DEAD ZONE: error=12
avail memory = 977 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
found openpic PIC at 80040000
OpenPIC Version 1.2: Supports 4 CPUs and 64 interrupt sources.
bootpath: /pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@1:0/netbsd
mainbus0 (root)
cpu0 at mainbus0: 7400 (Revision 2.9), ID 0 (primary)
cpu0: HID0 0x8094c0a4<EMCP,DOZE,DPM,EIEC,ICE,DCE,SGE,BTIC,BHT>, powersave: 1
cpu0: 400.00 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
memory0 at mainbus0: len=512
spdmem0 at memory0
spdmem0: SDRAM, no parity or ECC, 256MB, 133MHz (PC-133)
spdmem0: 12 rows, 10 cols, 2 banks, 4 banks/chip, 7.5ns cycle time
spdmem0: tAA-tRCD-tRP-tRAS: 3-20-20-45
spdmem0: voltage LvTTL (not 5V tolerant), refresh time 15.625us (self-refreshing)
spdmem1 at memory0
spdmem1: SDRAM, no parity or ECC, 256MB, 133MHz (PC-133)
spdmem1: 12 rows, 10 cols, 2 banks, 4 banks/chip, 7.5ns cycle time
spdmem1: tAA-tRCD-tRP-tRAS: 3-20-20-45
spdmem1: voltage LvTTL (not 5V tolerant), refresh time 15.625us (self-refreshing)
spdmem2 at memory0
spdmem2: SDRAM, no parity or ECC, 256MB, 133MHz (PC-133)
spdmem2: 12 rows, 10 cols, 2 banks, 4 banks/chip, 7.5ns cycle time
spdmem2: tAA-tRCD-tRP-tRAS: 3-20-20-45
spdmem2: voltage LvTTL (not 5V tolerant), refresh time 15.625us (self-refreshing)
spdmem3 at memory0
spdmem3: SDRAM, no parity or ECC, 256MB, 133MHz (PC-133)
spdmem3: 12 rows, 10 cols, 2 banks, 4 banks/chip, 7.5ns cycle time
spdmem3: tAA-tRCD-tRP-tRAS: 3-20-20-45
spdmem3: voltage LvTTL (not 5V tolerant), refresh time 15.625us (self-refreshing)
uni_n0 at mainbus0 address 0xf8000000
ki2c0 at uni_n0 address 0xf8001000
iic0 at ki2c0: I2C bus
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Interface (rev. 0x00)
r128fb0 at pci0 dev 16 function 0: ATI Technologies Rage Fury MAXX AGP 4x (TMDS) (rev. 0x00)
r128fb0: 64 MB aperture at 0x94000000
wsdisplay0 at r128fb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
ppb0 at pci1 dev 13 function 0: Digital Equipment DC21154 PCI-PCI Bridge (rev. 0x05)
pci2 at ppb0 bus 1
pci2: i/o space, memory space enabled
obio0 at pci2 dev 7 function 0: addr 0x80000000
obio0: enabling KeyLargo internal modem
zsc0 at obio0 irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs0 at obio0 offset 0x14000 Screamer: irq 24,9,10
awacs0: speaker
audio0 at awacs0: playback, capture, full duplex
audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms) for playback
audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms) for recording
spkr0 at audio0: PC Speaker (synthesized)
wsbell at spkr0 not configured
pmu0 at obio0 offset 0x16000 irq 47:  rev. 12
pmu0: initializing RTC
pmu0: power-mgt not configured
ki2c1 at obio0
iic1 at ki2c1: I2C bus
wdc0 at obio0 offset 0x1f000 irq 19, level triggered: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x20000 irq 20, level triggered: DMA transfer
atabus1 at wdc1 channel 0
wdc2 at obio0 offset 0x21000 irq 21, level triggered: DMA transfer
atabus2 at wdc2 channel 0
ohci0 at pci2 dev 8 function 0: Apple Computer KeyLargo USB Controller (rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at pci2 dev 9 function 0: Apple Computer KeyLargo USB Controller (rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
fwohci0 at pci2 dev 10 function 0: Texas Instruments TSB12LV26 IEEE 1394 Host Controller (rev. 0x00)
fwohci0: interrupting at irq 63
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:30:65:ff:fe:c4:d2:90
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
uninorth2 at mainbus0
pci3 at uninorth2 bus 0
pci3: i/o space, memory space enabled
pchb2 at pci3 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
gem0 at pci3 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x01)
gem0: interrupting at irq 41
brgphy0 at gem0 phy 0: BCM5400 1000BASE-T media interface, rev. 7
brgphy0: 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
gem0: Ethernet address 00:30:65:c4:d2:90, 10KB RX fifo, 4KB TX fifo
vmmask 73fc0000 schedmask 7ffc0000 highmask 7ffc0000
timecounter: Timecounter "mftb" frequency 24907667 Hz quality 100
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
ieee1394if0: bus manager 0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
WARNING: system needs entropy for security; see entropy(7)
IPsec: Initialized Security Association Processing.
uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
wd0 at atabus0 drive 0
wd0: <IBM-DTLA-305020>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 19623 MB, 39870 cyl, 16 head, 63 sec, 512 bytes/sect x 40188960 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at atabus0 drive 1
wd1: <WDC WD200BB-75CAA0>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 19073 MB, 38752 cyl, 16 head, 63 sec, 512 bytes/sect x 39062500 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66) (using DMA)
wd1(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66) (using DMA)
uhub2 at uhub1 port 1: Chicony (0x04fe) Generic USB Hub (0x0008), class 9/0, rev 1.10/1.02, addr 2
uhub2: 3 ports with 2 removable, bus powered
uhidev0 at uhub2 port 1 configuration 1 interface 0
uhidev0: Chicony (0x04fe) PFU-68 USB Keyboard (0x0007), rev 1.10/1.02, addr 3, iclass 3/1
ukbd0 at uhidev0: 8 Variable keys, 6 Array codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HITACHI DVD-ROM GD-7000, , 016J> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA)
swwdog0: software watchdog initialized
boot device: wd1
root on wd1a dumps on wd1b
root file system type: ffs
kern.module.path=/stand/macppc/10.0/modules
entropy: best effort
---

I'll commit changes once after "build.sh release iso-image" is confirmed.
 https://github.com/tsutsui/netbsd-src/compare/6c30992...tsutsui-macppc-iso-image-rebase

Thanks,
---
Izumi Tsutsui 


Home | Main Index | Thread Index | Old Index