Re: NetBSD/macppc 10.0 ISO (Re: bootable mac68k iso)

Izumi Tsutsui <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain,gmane.os.netbsd.ports.macppc
Message-ID <[email protected]>
> > Is it from https://cdn.netbsd.org/pub/NetBSD/NetBSD-10.0/images/ ?
> 
> It was from here:
> 
> https://cdn.netbsd.org/pub/NetBSD/NetBSD-10.0/images/NetBSD-10.0-macppc.iso

Ok, no problem.

> > How does it fail? Any error messages?
> 
> Yes, there were errors in Open Firmware:
> 
> 0 > boot cd:,\ofwboot.xcf netbsd.macppc
> loading XCOFF
> tsize=10200 dsize=23c bsize=28f5 entry=e0000
> ...
> loading .text
> CLAIM failed
> 0 > ok

[...]

> I also tried NetBSD 9.4, downloaded from here:
> https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.4/iso/NetBSD-9.4-macppc.iso
> 
> It also failed, but it went a little further:
> 
> 0 > boot cd:,\ofwboot.xcf netbsd.macppc
> loading XCOFF
> tsize=f660 dsize=258 bsize=2750 entry=e0000
> ...
> >>NetBSD/macppc OpenFirmware Boot, Revision 1.13 (Sat Apr 20 13:32:22
> UTC 2024)
> 6587420+126944=0x6677c0
> start=0x100000
> Decrementer exception at %SRR0: bf61ffec  %SRR1: 40003030
> 0 > ok

Hmm. There are several possible problems (including buggy OF),
but could you show "printenv" output of your OF3?

My Apus2000 shows:
---

Open Firmware, 2.0
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
 ok
0 > printenv 

little-endian?      false               false
real-mode?          false               false
auto-boot?          false               true
diag-switch?        false               false
fcode-debug?        false               false
oem-banner?         false               false
oem-logo?           false               false
use-nvramrc?        false               false
real-base           8F00000             -1 
real-size           100000              100000 
virt-base           -1                  -1 
virt-size           100000              100000 
load-base           4000                4000 
pci-probe-list      -1                  -1 
screen-#columns     64                  64 
screen-#rows        28                  28 
selftest-#megs      0                   0 
boot-device         ata/ATA-Disk@0:0    /AAPL,ROM
boot-file                               
diag-device         fd:diags            fd:diags
diag-file                               
input-device        ttya                ttya
output-device       ttya                ttya
oem-banner                              
oem-logo                                
nvramrc                                 
boot-command                            boot
 ok
0 > 

---

We may have to change real-base, virt-size, load-base etc.

---
Izumi Tsutsui
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.