NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-macppc/56089: ofwboot fails to load G5 kernel
The following reply was made to PR port-macppc/56089; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: macallan%NetBSD.org@localhost
Subject: Re: port-macppc/56089: ofwboot fails to load G5 kernel
Date: Wed, 23 Feb 2022 17:21:59 +0100
So the first call to the new OFW_claimphys fails.
I added some debug output:
!!! CLAIM PHYS 0x100000 RETURNED 0x20 - ofw_address_cells 2 ofw_memory_ihandle 4290234752 res 20 / e12d58
!!! FAILED TO CLAIM PHYS 0x100000 size 0x4f9000
and verified the cell numbers:
#address-cells 00000002
#size-cells 00000001
and the memory nodes:
memory ffb7c980
mmu ffb7ca00
I don't understand the verification that method does and how it tries to
fit two 32bit cells (that OF should have returned) into a single 32bit
paddr_t.
Why do we need to force a physical address here anyway? The old (working)
ofwboot code did not do that and the commit log mentions nothing about
this change.
Martin
Home |
Main Index |
Thread Index |
Old Index