Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2019 14:35:51 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Adrian Chadd <adrian.chadd@gmail.com>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD
Message-ID:  <20190417143551.GA78014@FreeBSD.org>
In-Reply-To: <20190416103412.GA4582@c720-r342378>
References:  <CAJ-VmonqqGdCAGOK6tN22fq_3ashHCa%2BoD0ndfS-ZFj8aVG=cA@mail.gmail.com> <20190414160236.GA2980@c720-r342378> <CAJ-Vmoku6P1awHFXuV9bkR6ifNocWaSi86Y0a9Z9dS-vKgMsKQ@mail.gmail.com> <20190414163841.GA3208@c720-r342378> <CAJ-Vmonvko=vpbr3kSGBpS-zpeONdQHBjkqMf4gasq=CzDbRpg@mail.gmail.com> <20190415044836.GA2635@c720-r342378> <20190415122652.GA22516@FreeBSD.org> <20190415125217.GA3992@c720-r342378> <20190415173503.GA93707@FreeBSD.org> <20190416103412.GA4582@c720-r342378>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 16, 2019 at 12:34:12PM +0200, Matthias Apitz wrote:
> # ./ath3kfw -D -d ugen0.3 -I
> ath3kfw: opening dev 0.3
> ath3k_is_3012: found AR3012
> main: state=0x0e
> ROM version: 285343744, build version: 155, ram version: 155, ref clock=1
> ath3kfw: ath3k_fw_read: open: /usr/share/firmware/ath3k//ar3k/AthrBT_0x11020000.dfu: No such file or directory

OK, so the file is not in the right place (as indicated by this message).

> 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.

It is meaningful and correct, it is just printed in decimal which is
probably bogus:

    $ echo 16 o 285343744 p | dc
    11020000

> 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 ....

Is there AthrBT_0x11020000.dfu amongst them?  Try placing it under
/usr/share/firmware/ath3k/ar3k/ and repeat the procedure.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190417143551.GA78014>