On Fri, 29 Oct 2021 at 10:33, Martin Husemann <mar...@duskware.de> wrote: > > On Thu, Oct 28, 2021 at 02:00:23PM +0100, Chavdar Ivanov wrote: > > > This page points to the https://wiki.netbsd.org/Wifi_renewal_on_hg/ > > > page, which shows > > > > > > hg clone https://anonhg.netbsd.org/src-draft > > > > After I got it, I tried to build kernel and modules; the modules build > > failed in some usb-based module; I then tried just to build a kernel > > (all that after 'hg up wifi' reported some 260 modified files). The > > failure was in src-draft/sys/dev/ic/an.c and the error messages all > > Not all drivers have been converted yet (else we would quickly merge > the branch ;-}) > > The wiki page cited by Patrick above says "not ready for general testing", > and that is true. > > But: > > https://wiki.NetBSD.org/Testing_new_wifi/ > > has instructions what you need to exclude from evbarm kernels, I guess > I should add the similar list from the SEVEN_WIFI kernel config and instead > switch over to use GENERIC for testing on amd64 too.
I tried first with GENERIC, but could not find a way to exclude the failing ... /home/xci/src-draft/sys/dev/ic/arn5008.c:855:37: error: passing argument 1 of 'ieee80211_notify_michael_failure' from incompatible pointer type [-Werror=incompatible-pointer-types] /home/xci/src-draft/sys/dev/ic/arn5008.c:871:7: error: 'struct ieee80211com' has no member named 'ic_stats'; did you mean 'ic_sta'? /home/xci/src-draft/sys/dev/ic/arn5008.c:932:41: error: macro "ieee80211_input" passed 5 arguments, but takes just 4 .... Then I noticed there was a TESTWIFI configuration; I had to comment out some 8 or so lines, as either the devices were unknown or they could not attach to the corresponding busses; this now failed with: # link TESTWIFI/netbsd /home/xci/hg/src-draft/../tools/bin/x86_64--netbsd-ld -Map netbsd.map --cref -T netbsd.ldscript -Ttext 0xffffffff80200000 -e start -z max-page-size=0x200000 -X -o netbsd ${SYSTEM_OBJ:[@]:Nswapnetbsd.o} ${EXTRA_OBJ} vers.o swapnetbsd.o /home/xci/hg/src-draft/../tools/bin/x86_64--netbsd-ld: ioconf.o:(.rodata+0x130): undefined reference to `stripattach' This is all on amd64 -current from yesterday. > > Martin -- ----