Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: evbarm and atheros support
On 03/24/2010 03:43 PM, Martin Husemann wrote:
On Wed, Mar 24, 2010 at 03:41:03PM +0100, Marcin M. Jessa wrote:
I got errors compiling my kernel with:
ath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11
atphy* at mii? phy ? # Attansic/Atheros PHYs
Ah, proably easy to fix - what are the errors?
Running :
./build.sh -u -m evbarm -a armeb -O /usr/obj-arm/ -T /usr/tools-arm/
kernel=IXDP425
===> Build directory: /usr/obj-arm/sys/arch/evbarm/compile/IXDP425
/usr/src/sys/arch/evbarm/conf/IXDP425:241: atphy*: unknown device `atphy'
*** Stop.
And when I comment the athpy line:
# create IXDP425/ath.d
CC=/usr/tools-arm/bin/armeb--netbsdelf-gcc /usr/tools-arm/bin/nbmkdep -f
ath.d -- -ffreestanding -fno-zero-initialized-in-bss -O2 -std=gnu99
-fno-strict-aliasing -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch
-Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Werror
-mcpu=xscale -DIXP425_NPE_MICROCODE -I.
-I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys
-nostdinc -DKERNEL_BASE_EXT="0xc0000000" -DCONSPEED="115200"
-DCONUNIT="0" -DVERBOSE_INIT_ARM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/string
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string
-I/usr/src/sys/dist/pf /usr/src/sys/dev/ic/ath.c
In file included from /usr/src/sys/dev/ic/athvar.h:48,
from /usr/src/sys/dev/ic/ath.c:98:
/usr/src/sys/contrib/dev/ath/ah.h:62:22: error: ah_osdep.h: No such file
or directory
/usr/src/sys/dev/ic/ath.c:101:28: error: athhal_options.h: No such file
or directory
nbmkdep: compile failed.
*** Failed target: ath.d
*** Failed command: CC=/usr/tools-arm/bin/armeb--netbsdelf-gcc
/usr/tools-arm/bin/nbmkdep -f ath.d -- -ffreestanding
-fno-zero-initialized-in-bss -O2 -std=gnu99 -fno-strict-aliasing -Werror
-Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wno-unreachable-code -Wno-sign-compare
-Wno-pointer-sign -Wno-attributes -Werror -mcpu=xscale
-DIXP425_NPE_MICROCODE -I. -I/usr/src/sys/../common/include
-I/usr/src/sys/arch -I/usr/src/sys -nostdinc
-DKERNEL_BASE_EXT="0xc0000000" -DCONSPEED="115200" -DCONUNIT="0"
-DVERBOSE_INIT_ARM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/string
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string
-I/usr/src/sys/dist/pf /usr/src/sys/dev/ic/ath.c
*** Error code 1
Stop.
nbmake: stopped in /usr/obj-arm/sys/arch/evbarm/compile/IXDP425
ERROR: Failed to make depend in /usr/obj-arm/sys/arch/evbarm/compile/IXDP425
Home |
Main Index |
Thread Index |
Old Index