Re: Building Marvell

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
On Sat, Aug 10, 2024 at 12:06:27PM +0300, Harri Haataja wrote:
> I'm not using build.sh. My understanding is that that wouldn't be
> necessary on the same OS and processor arch. Of course the banana is hf
> and I was wondering if that could end up being a default.

It is not the same MACHINE_ARCH, here is an example output from two 32bit
evbarm machines, the second one (a GuruPlug) closely matches the MARVELL_NAS:

 > make -v MACHINE -v MACHINE_ARCH
evbarm
earmv7hfeb

 > make -v MACHINE -v MACHINE_ARCH
evbarm
earmv5


So you could try setting MACHINE_ARCH=earmv5 when invoking make,

like:

	env MACHINE_ARCH=earmv5 make depend
	env MACHINE_ARCH=earmv5 make

in the kernel compile directory.

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.