Port-arm archive

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

Building Marvell



I have a handful of NAS boxes (NSA310, DS207+) lying around and it
occurred to me to see if I can have NetBSD. After much reading, I
decided I'd need to build a kernel. I have a Banana Pi that could use
the workout.

NetBSD banana 10.0 NetBSD 10.0 (XTLBPI) #0: Thu Aug  8 ... evbarm

It could build a kernel for itself with make and boot that fine.

But building the MARVELL_NAS config, make depend stops at:

#    create  MARVELL_NAS/cpufunc_asm_arm10.d
mkdep -f cpufunc_asm_arm10.d.tmp --  -x assembler-with-cpp -D_LOCORE -Wa,--fatal-warnings     -DKERNEL_BASE_VOFFSET="(0xc0008000-0x00008000)" -I. -I../../../../external/bsd/libnv/dist -I../../../../external/bsd/acpica/dist -I../../../../../common/lib/libx86emu -I../../../../../common/lib/libc/misc -I../../../../../common/include -I../../../../arch  -I../../../.. -nostdinc -DCOMPAT_UTILS  -D__HAVE_PCI_CONF_HOOK  -D__HAVE_CPU_UAREA_ALLOC_IDLELWP  -DCOM_REGMAP  -DKERNEL_BASE_EXT="0xc0000000"  -DCOMPAT_44 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../lib/libkern/../../../common/lib/libc/string -I../../../../lib/libkern/../../../common/lib/libc/arch/arm/string -I../../../../lib/libkern/../../../common/lib/libc/arch/arm/atomic -I../../../../lib/libkern/../../../common/lib/libc/hash/sha3   -I../../../../external/bsd/libnv/dist  ../../../../arch/arm/arm/cpufunc_asm_arm10.S
mv -f cpufunc_asm_arm10.d.tmp cpufunc_asm_arm10.d
#    create  MARVELL_NAS/cpufunc_asm_armv4.d
mkdep -f cpufunc_asm_armv4.d.tmp --  -x assembler-with-cpp -D_LOCORE -Wa,--fatal-warnings     -DKERNEL_BASE_VOFFSET="(0xc0008000-0x00008000)" -I. -I../../../../external/bsd/libnv/dist -I../../../../external/bsd/acpica/dist -I../../../../../common/lib/libx86emu -I../../../../../common/lib/libc/misc -I../../../../../common/include -I../../../../arch  -I../../../.. -nostdinc -DCOMPAT_UTILS  -D__HAVE_PCI_CONF_HOOK  -D__HAVE_CPU_UAREA_ALLOC_IDLELWP  -DCOM_REGMAP  -DKERNEL_BASE_EXT="0xc0000000"  -DCOMPAT_44 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../lib/libkern/../../../common/lib/libc/string -I../../../../lib/libkern/../../../common/lib/libc/arch/arm/string -I../../../../lib/libkern/../../../common/lib/libc/arch/arm/atomic -I../../../../lib/libkern/../../../common/lib/libc/hash/sha3   -I../../../../external/bsd/libnv/dist -mcpu=arm8 ../../../../arch/arm/arm/cpufunc_asm_armv4.S
cc1: error: '-mfloat-abi=hard': selected processor lacks an FPU
mkdep: compile failed.
*** Error code 1

So, I'm wondering if this is user error or has the config become
non-functional for current compiler or something.

This is "gcc (nb3 20231008) 10.5.0" and should be pretty regular 10
install if there is such a thing for evbarm. Generic ISO and uboot
rather than the prebuilt image, as that didn't seem to fit on a 4 G
card.





Home | Main Index | Thread Index | Old Index