Port-sparc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: unable to cross-compile kernel?
On 7/4/25 18:21, matthew green wrote:
Hi folks, I hope everyone is doing well here. It has been a while.
yo.
Good to see your name in my inbox.
I've cross-compiled a sparc GENERIC.MP kernel on an amd64 system,
transferred it over to the target system (SPARCstation-10, 2x SM41) and
it fails to boot. The bootstrap says "Cannot load netbsd: error=5" and
prompts me for a boot device.
that error comes from /boot, so it's some EIO coming from either
sparc boot or libsa/libkern.
It's not getting errors from anywhere else, though, so that seems
weird. The hardware is otherwise fine and sees frequent use.
The build machine is a fresh-off-the-ISO 10.1 amd64 system; I
installed the 10.1 source sets and ran what I believe to be is the
standard process for cross-compiling a kernel:
cd /usr/src
./build.sh -O /usr/obj-sparc -m sparc tools
./build.sh -O /usr/obj-sparc -m sparc kernel=GENERIC.MP
this seems right to me.
Ok, that checks off a few questions at least.
i dno't have anything useful to say but that what you're doing
looks right. i would try GENERIC build, as well as trying the
GENERIC.MP binary from the 10.1 release.
I must admit that I didn't know there was a GENERIC.MP kernel in the
release; I never even looked for it. It didn't get installed on the
machine. I'll have a look.
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA
Home |
Main Index |
Thread Index |
Old Index