From owner-freebsd-wireless@freebsd.org Tue Apr 16 10:34:48 2019 Return-Path: Delivered-To: freebsd-wireless@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 34C3D156D200 for ; Tue, 16 Apr 2019 10:34:48 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24DE88646D; Tue, 16 Apr 2019 10:34:46 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.135.219] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1hGLQE-0001j5-9Q; Tue, 16 Apr 2019 12:34:38 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x3GAYYg7004963 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 16 Apr 2019 12:34:34 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x3GAYRjP004962; Tue, 16 Apr 2019 12:34:27 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 16 Apr 2019 12:34:12 +0200 From: Matthias Apitz To: Alexey Dokuchaev Cc: Adrian Chadd , "freebsd-wireless@freebsd.org" Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190416103412.GA4582@c720-r342378> Reply-To: Matthias Apitz References: <20190414154658.GA2589@c720-r342378> <20190414160236.GA2980@c720-r342378> <20190414163841.GA3208@c720-r342378> <20190415044836.GA2635@c720-r342378> <20190415122652.GA22516@FreeBSD.org> <20190415125217.GA3992@c720-r342378> <20190415173503.GA93707@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190415173503.GA93707@FreeBSD.org> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.219 X-Rspamd-Queue-Id: 24DE88646D X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.59 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; IP_SCORE(-3.20)[ip: (-9.09), ipnet: 178.254.0.0/19(-3.84), asn: 42730(-3.05), country: DE(-0.01)]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[mail.unixarea.de]; NEURAL_HAM_SHORT(-0.69)[-0.690,0]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[219.135.204.89.zen.spamhaus.org : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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: Tue, 16 Apr 2019 10:34:48 -0000 El d=C3=ADa lunes, abril 15, 2019 a las 05:35:03p. m. +0000, Alexey Dokucha= ev escribi=C3=B3: > Ah, OK, I understand. Anyways, now that this little confusion is resolve= d, > could you try to upload the firmware using this tool? For me it didn't > work, but that might be because of the particular hardware (USB 3.0/xHCI). > I don't know about C720, but it can be sufficiently different so ath3kfw > would work on it. This is very important to understand our next course of > action. Thanks, I did: # usbconfig list | grep 0xe056 ugen0.3: at usbus0, cfg=3D0 md=3DHOST spd=3D= FULL (12Mbps) pwr=3DON (100mA) # ./ath3kfw -D -d ugen0.3 -I ath3kfw: opening dev 0.3 ath3k_is_3012: found AR3012 main: state=3D0x0e ROM version: 285343744, build version: 155, ram version: 155, ref clock=3D1 ath3kfw: ath3k_fw_read: open: /usr/share/firmware/ath3k//ar3k/AthrBT_0x1102= 0000.dfu: No such file or directory ath3k_load_patch: ath3k_fw_read() failed Loading patch file failed The ROM version: 285343744 does not look like something meaningful, maybe the tool reads the wrong place. Which file I should use from ath3k/share/firmware/ath3k # ls -C1 ar3k ath3k-1.fw LICENCE.atheros_firmware below ar3k/ are a lot more files .... As I said, I need this C720 for real work and can't risk to brick the chip. I have another C720 at home collecting dust which still runs ChromeOS. I will prepare an USB key to boot from and use this for test. Please give me some days. matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub 70 years of NATO - 70 years of wars (Jugoslavia, Afghanistan, Syria, ...) a= nd 70 years of war preparation against Russia. -- PEACE instead of NATO !!!