From owner-freebsd-wireless@freebsd.org Sat May 28 18:02:42 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC995B4E38D for ; Sat, 28 May 2016 18:02:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A740E130D for ; Sat, 28 May 2016 18:02:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x230.google.com with SMTP id l63so13716838ita.1 for ; Sat, 28 May 2016 11:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=rz23NfYk+EtNV1mi1wkasXzKT3iZL3iGOP7CRK5SIrc=; b=pxGKXuQPb5NpcT38UdWZutTfK0WOYPla/LbrwRxScoYsBkofUlh+FE1m106zmOSbK1 XelRnDpWhJn4J+UhOZGLmICLmbooRuzCBZQYRgXwPlcjk2niVRkOLoSES04ii3dZVkQz ERyJTlp42ZfgcZjYTG0X2pWJwf9eJMiKxTo4FNcjkqmXEpG+CzQeJBCPSTgVAlUR410i tuWCzLlkLdbxzHDyfnvMjqrHW7/rDrtT4skgG7tn1gRFG5JqIn/ELyDczjpHdR75I9P5 3e9w1ZSvuM48ZHIHNgC4z79jC9mRo3Idj6kWg3ALkIOevfrRxTQm7Z6MNFffySN2L0Gb AC9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=rz23NfYk+EtNV1mi1wkasXzKT3iZL3iGOP7CRK5SIrc=; b=VsemWz30zXzAuRS2DyZw4SdzliDos1SzBks4ZvuInomffT8w5L/HkWGGolw4KpWf+B pYMUz/s5J0RIp0dlg6FThkHn7hpch4yxu//PY6WX1tGCJveynZeBFv2U2DvAswsPjTmW 7SLukluJEqhwwSJLTlty7kvxgTanA8LwOHuX0Itm+QHKCqjTWKVZg24FlR0EajpDkNcr uGysvo9ob1oMiRYWWZ98a1LiDP5CJruYo0YvLcdYDGI4aE+CkQCjQx9wn0Xt/aAuI9vu xzFuJy718tvjebCkbO3S0793UU/7rDVScSmKwjxgAH/NJ7YanpKZZiTOZHxgTYA85Lny Ak1w== X-Gm-Message-State: ALyK8tLIA7S+/f0JHwv3wQXtgBFuNasDuriEatnxrR8+rASdIGAQpdCF7XbcyJk3bsGEhROq4an/fi0CEa9IWw== MIME-Version: 1.0 X-Received: by 10.36.73.146 with SMTP id e18mr2861915itd.80.1464458561976; Sat, 28 May 2016 11:02:41 -0700 (PDT) Received: by 10.36.113.3 with HTTP; Sat, 28 May 2016 11:02:41 -0700 (PDT) In-Reply-To: References: Date: Sat, 28 May 2016 11:02:41 -0700 Message-ID: Subject: Re: bwn updates - now BCM4321, BCM4322 From: Adrian Chadd To: =?UTF-8?Q?Bj=C3=B6rn_Jonare?= Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2016 18:02:43 -0000 hi, I'll go add some more debugging to the attach side of things. It does that when it doesn't recognise the phy, and that's silly. -adrian On 28 May 2016 at 06:34, Bj=C3=B6rn Jonare wrote: > Hi, > > First let me say that I very much appreciate your work on bwn. Broadcom d= evices are, alas all too common :( Anyway I dug an old iMac out of storage = and installed a recent CURRENT (r300836) since I knew the wifi chip in it t= o be some variant of the BCM4322. > > After uncommenting all needed lines (?) in the Makefile regarding GNU PHY= support I loaded bwn_v4_ucode, bwn_v4_n_ucode and if_bwn. Upon checking d= mesg I got this: > > siba_bwn0: mem 0xd0200000-0xd02= 03fff,0xd0000000-0xd00fffff irq 17 at device 0.0 on pci3 > siba_bwn0: warn: multiple PCI(E) cores > siba_bwn0: unsupported coreid (USB 1.1 Host) > bwn0 on siba_bwn0 > bwn0: failed > device_attach: bwn0 attach returned 6 > > > > So, the driver doesn=E2=80=99t attach :( > > Since my understanding of drivers is well, lacking, is there anything I c= ould do to get this specific version of BCM4322 to work[1]? I would be glad= to provide any information needed. > > > [1] That is to get the driver to attach. I have no illusions regarding fu= nctionality, this is after all a Broadcom chipset! > > > -- > /H=C3=A4lsningar Bj=C3=B6rn > > > > On Thursday 19 May 2016 at 09:01, Adrian Chadd wrote: > >> Hiya, >> >> I managed to get the BCM4321 and BCM4322 working. You need to load >> bwn_v4_n_ucode for BCM4322 and then it should "just work". >> >> BCM4321 also works on bwn_v4_n_ucode - it uses the same newer ucode API. >> >> You can't load bwn_v4_n_ucode and bwn_v4_lp_ucode just yet - I need to >> address that. >> >> Let me know if you can test out either of these chips! >> >> >> -adrian >> _______________________________________________ >> freebsd-wireless@freebsd.org (mailto:freebsd-wireless@freebsd.org) maili= ng list >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.o= rg (mailto:freebsd-wireless-unsubscribe@freebsd.org)" > > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g"