NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: port-sparc64/56829: miniroot.fs no longer boots
The following reply was made to PR port-sparc64/56829; it has been noted by GNATS.
From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: port-sparc64-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: re: port-sparc64/56829: miniroot.fs no longer boots
Date: Sat, 14 May 2022 06:38:57 +1000
this appears to be a bad call to "map", in both ofwboot and the
kernel itself. Harold tested a change i suggested in ofwboot
where the OF_map_phys() code was changed to not have any returns
(the 1275 docs don't list any), and it works in qemu.
for ofwboot, OF_map_phys() needs the "status" and "retaddr"
members removed from the "args", and the "if (args.status)"
code removed, and the success return value switched to 0,
not args.retaddr.
for the kernel, similar for prom_map_phys() is probably needed.
.mrg.
Home |
Main Index |
Thread Index |
Old Index