Port-sparc archive

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

re: unable to cross-compile kernel?



Dave McGuire writes:
> 
>    Hi folks, I hope everyone is doing well here.  It has been a while.

yo.

>    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.

>    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.

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.


.mrg.


Home | Main Index | Thread Index | Old Index