NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-evbarm/43057: evbarm kernel won't compile with Intel's NPE Microcode.
>Number: 43057
>Category: port-evbarm
>Synopsis: evbarm kernel won't compile with Intel's NPE Microcode.
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-evbarm-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 25 11:15:01 +0000 2010
>Originator: Marcin Jessa
>Release: NetBSD CURRENT 5.99.24
>Organization:
>Environment:
NetBSD zeus.yazzy.org 5.0.2_PATCH NetBSD 5.0.2_PATCH (XEN3_DOM0Y) #6: Thu Mar
18 10:55:50 CET 2010
root%zeus.yazzy.org@localhost:/usr/obj-amd64/sys/arch/amd64/compile/XEN3_DOM0Y
amd64
>Description:
Compiling IXDP425 kernel (current sources) with the IxNpeMicrocode.dat from
Intel to enable onboard nics I get an error. This does not happen on 5.0.2
My command:
/build.sh -u -m evbarm -a armeb -O /usr/arm/obj-arm/ -T /usr/arm/tools-arm/
Result:
Build directory is /usr/arm/obj-arm/sys/arch/evbarm/compile/IXDP425
Don't forget to run "make depend"
depending the kern library objects
depending the compat library objects
making sure the compat library is up to date...
`libcompat.a' is up to date.
making sure the kern library is up to date...
`libkern.o' is up to date.
rm -f /usr/arm/obj-arm/sys/arch/evbarm/compile/IXDP425/IxNpeMicrocode.dat
ln -s /usr/src/sys/arch/arm/xscale/IxNpeMicrocode.dat
/usr/arm/obj-arm/sys/arch/evbarm/compile/IXDP425Y
/usr/arm/tools-arm/bin/armeb--netbsdelf-ld -b binary -d -warn-common -r -d -o
ixp425_fw.o IxNpeMicrocode.dat
/usr/arm/tools-arm/bin/armeb--netbsdelf-ld: BFD (NetBSD Binutils nb1) 2.19.1
internal error, aborting at
/usr/src/tools/binutils/../../external/gpl3/binutils/dist/bfd/elf.c line 370 in
bfd_elf_get_elf_syms
/usr/arm/tools-arm/bin/armeb--netbsdelf-ld: Please report this bug.
>How-To-Repeat:
Download the Intel's NPE Microcode v2.4 - without crypto from:
http://www.intel.com/design/network/products/npfamily/download_ixp400.htm
Extract the microcode. cd ixp400_xscale_sw/src/npeDl
In this directory, create a file called IxNpeMicrocode.h, and populate it with
the following two #defines:
#define IX_NPEDL_NPEIMAGE_NPEB_ETH
#define IX_NPEDL_NPEIMAGE_NPEC_ETH
Compile the code and create a dat fike: cc ixNpeDlImageConverter.c -o foo :
./foo
Now copy "IxNpeMicrocode.dat" to the sys/arch/arm/xscale directory in your
NetBSD source tree.
Build kernel
./build.sh -u -m evbarm -a armeb -O /usr/obj-arm/ -T /usr/tools-arm/
kernel=IXDP425
>Fix:
Home |
Main Index |
Thread Index |
Old Index