NetBSD-Bugs archive

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

re: kern/13435: libsa loadfile() loads binary or kernel at wrong address



Jason Thorpe writes:
> 
> > On May 21, 2021, at 6:05 PM, David Holland <dholland-bugs%netbsd.org@localhost> wrote:
> >
> > however, I'm also wondering why we still have code for loading a.out
> > kernel images; maybe the right thing to do is remove it and close the
> > PR :-)
>
> There are legacy platforms that still, due to firmware restrictions, 
> require loading of a.out.  At least for those platforms, it might still 
> be handy to be able to load a single kernel image either from a boot 
> loader or from the firmware directly.

infact, if memory serves, there's one platform you were unable
to create an ofwboot for, and we're stuck with a.out kernels
loaded by the firmware.  :-)

of course, if we could figure out that issue and switch shark
to ofwboot + elf kernel that woudl be awesome.


.mrg.


Home | Main Index | Thread Index | Old Index