From owner-freebsd-mips@freebsd.org Thu Jul 5 00:02:03 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA5F4102AFFC; Thu, 5 Jul 2018 00:02:02 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (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 50D917A2A7; Thu, 5 Jul 2018 00:02:02 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id v16-v6so8369907wmv.5; Wed, 04 Jul 2018 17:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=OkoELk4XFm78kqtLkIpcpXWQa995p7yNYOBy6oL3vnk=; b=meHPvlHqqIqpishOiJgWKwRHE7WEHUZABJ7I3dMAmazmvU7g7OfZKL5MPeTBcIsZYy 0rIw5Rmj13j0ju+aC1LaSlUFS707IXWbVozC2Hwr63+B8/ujXzvL98zjS26H3sQw0N7V uwgnGgS35v6JFTbqq1vSw22Q8xKab1B/GiqSJ7dtCpRZZ5OyJnnYxkTIjG68GcYc5JG+ 3EFjfmyRWMWf+PsjAvml67SPnJ6n+ID5XP6oYYZk1lX8x7recaOqTQhndO2HLie1Wejy oyIHqMxghHfQf3QrFMN1eiZq+J/8pX7sNmJo6wTVTCIjVFE4EasjmEvsVvpKOCrbST2h 4tng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=OkoELk4XFm78kqtLkIpcpXWQa995p7yNYOBy6oL3vnk=; b=Qjzcz40hJU5At7DVkP+k8M6zNcRTnzA2JsEJjlX2iGTj4XW7ieO0Rj7+tRfjvlOJzk p34HxCDoMuiGPFdnh1Zm0MOfluLsbGNB+VrlySsnbJJu7SYw21RHUTzVtI6vYbcaI8Om 858eGCqJgrlJW3KLz5V7VD8PEoggKSW8rg6J/TUmL2J/mVcUrhYBOos/rQGKki3fVnk4 h/71HJCyYXadiP3wfhm0xShs+hFxdc62mGhQ3++6vSq2faVa5FEK+XlYRX3gkzq82bPp 5439o+0WOQWvPIREYOqewcnXIGIlvZ7lBM+3ZxODIDOQpPVPL25YI1aoWcdqBgVprc0b sU0w== X-Gm-Message-State: APt69E1W+nv6WlZfG5hMQgIP0pfg+ABZ5Wc40cqPabEmT7ZXSo1c0yfa G95jqI0Otn/+5FSFnWufLUxZYxoqE8uqB/h54KBpYw== X-Google-Smtp-Source: AAOMgpelxhXct8ACHkTolbEt6KLx3C+x50SnC20jxqjAYT6nWAXs73QPZ9qbJdPmq7ap1NxL/FPyJnWzt/rGXHwkNfU= X-Received: by 2002:a1c:be10:: with SMTP id o16-v6mr2492511wmf.132.1530748920753; Wed, 04 Jul 2018 17:02:00 -0700 (PDT) MIME-Version: 1.0 References: <20180704201010.GA64269@KGPE-D16> <20180704234957.GA33243@thinkpad-x200.anongoth.pl> In-Reply-To: <20180704234957.GA33243@thinkpad-x200.anongoth.pl> From: Adrian Chadd Date: Wed, 4 Jul 2018 17:01:47 -0700 Message-ID: Subject: Re: modules needed for AR9132 NIC To: "freebsd-mips@freebsd.org. Robert Pera" , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 00:02:03 -0000 Hi, It sounds like the hints stuff hasn't been done for it to initialise the new way to grab the eeprom calibraton data. Take a look at what changed in AR933X / CARAMBOLA2 hints. On Wed, 4 Jul 2018 at 16:50, Piotr Kubaj wrote: > > I already found out about that, but... > # kldload if_ath_ahb > ath0: Vendor=0x168c, Device=0x000b > ath0: Vendor=0x168c, Device=0x000b > ath0: at mem 0x180c0000-0x180effff irq 0 on nexus0 > ath0: unable to attach hardware; HAL status 8 > Unimplemented nexus_teardown_intr at /home/pkubaj/freebsd/sys/mips/mips/nexus.c:511 > device_attach: ath0 attach returned 6 > # kldstat > Id Refs Address Size Name > 1 39 0x0 4e6010 kernel > 2 2 0x0 4c80 bridgestp.ko > 3 1 0x0 7af0 if_bridge.ko > 4 1 0x0 314 if_ath.ko > 5 1 0x0 1bc0 if_ath_pci.ko > 6 11 0x0 113e0 ath_hal.ko > 7 3 0x0 331c0 ath_main.ko > 8 2 0x0 5a4 ath_dfs.ko > 9 7 0x0 68340 wlan.ko > 10 2 0x0 3c54 ath_rate.ko > 11 1 0x0 66690 ath_hal_ar9300.ko > 12 1 0x0 39ac0 ath_hal_ar5416.ko > 13 2 0x0 25a30 ath_hal_ar5212.ko > 14 1 0x0 e3d0 ath_hal_ar5211.ko > 15 1 0x0 a564 ath_hal_ar5210.ko > 16 1 0x0 5500 wlan_ccmp.ko > 17 1 0x0 bb0 if_ath_ahb.ko > > I added "options INTRNG" to my kernel config, so that this "Unimplemented nexus_teardown_intr" code path isn't taken, but now I get several errors during compilation, so I guess that was a mistake. > > On 18-07-04 16:39:42, Adrian Chadd wrote: > >Hi, > > > >You should also load ath_hal_ar5212 and ath_hal_ar5416. That should do it! > > > > > >-a > > > >On Wed, 4 Jul 2018 at 13:10, Piotr Kubaj via freebsd-wireless > > wrote: > >> > >> Hi all, > >> > >> what are the kernel modules necessary for running AR9132 card (present on TL-WR1043ND v1.x)? > >> > >> I'm currently loading if_ath_ahb, ath_hal, ath_main, ath_dfs and ath_rate, but the only line with ath0 in dmesg is: > >> ath0: Vendor=0x168c, Device=0x000b > >> > >> and that's all. > >> > >> I'm running CURRENT from today. > >> > >> -- > >> _________________________________________ > >> / Try to be the best of whatever you are, \ > >> \ even if what you are is no good. / > >> ----------------------------------------- > >> \ ^__^ > >> \ (oo)\_______ > >> (__)\ )\/\ > >> ||----w | > >> || || > > > >-- > >This message has been scanned for viruses and > >dangerous content by MailScanner, and is > >believed to be clean. > > > > -- > ________________________________________ > / The light at the end of the tunnel is \ > \ the headlight of an approaching train. / > ---------------------------------------- > \ ^__^ > \ (oo)\_______ > (__)\ )\/\ > ||----w | > || ||