On Tuesday, 17. April 2018 10:15:42 CEST Sven Eckelmann wrote: > The support for this device was added a while ago to OpenWrt. This AP > requires > two special BDFs to get the Wi-Fi PHYs working (correctly). The bmi-board- > id='s would clash with one of the the IPQ401X AP-DK boards because QCA > doesn't > provide special IDs for customers and seems to use the AP-DK board-ids in the > wifi firmware to change its behavior. > > Now to the questions from the wiki page [1]: > > * description for what hardware this is: > > - it is a QCA401x based board (most likely on qcom-ipq4019-ap.dk01.1) > - one QCA40xx radio is used as 2.4GHz radio > - one QCA40xx radio is used as 5GHz radio > > * origin of the board file (did you create it yourself or where you > downloaded) > > - Christian didn't include this info in the OpenWrt commit (maybe he can add > it here) > - most likely taken from stock firmware image Yes, the files are coming from the stock firmware image. The firmware image: FRITZ.Box_4040.en-de-es-it-fr-pl.155.06.83.image can be found here [0].
In order to extract board data files: 0. Download FRITZ.Box_4040.en-de-es-it-fr-pl.155.06.83.image 1. tar xf FRITZ.Box_4040.en-de-es-it-fr-pl.155.06.83.image 2. binwalk -e ./var/tmp/kernel.image The boarddata_0.bin and boarddata_1.bin are located in: ./_kernel.image.extracted/squashfs-root/lib/firmware/IPQ4019/hw.1 eb866d036149fe4ba35f3f9d0d97e51969b1f1dbac6ea962daf9012ffa75427a boarddata_0.bin f3dc3c2f10037722006e9e7e5173a7468649e9a554f564323f9580f4a8bba10a boarddata_1.bin The boarddata_0.bin file matches the "bus=ahb,bmi-chip-id=0,bmi-board-id=16,variant=AVM-FRITZBox-4040" file Sven attached (see checksums down below). And the boarddata_1.bin file matches the "bus=ahb,bmi-chip-id=0,bmi-board-id=17,variant=AVM-FRITZBox-4040" file > * ids to be used with the board file (ATH10K_BD_IE_BOARD_NAME in ath10k) > > - QCA4019 hw1.0 > > + bus=ahb,bmi-chip-id=0,bmi-board-id=16,variant=AVM-FRITZBox-4040 > sha256sum: > eb866d036149fe4ba35f3f9d0d97e51969b1f1dbac6ea962daf9012ffa75427a > + bus=ahb,bmi-chip-id=0,bmi-board-id=17,variant=AVM-FRITZBox-4040 > sha256sum: > f3dc3c2f10037722006e9e7e5173a7468649e9a554f564323f9580f4a8bba10a > > * attach the actual board file (board.bin) > > - The name of the files are equal to the id string in the board-2.bin > (minus the ".bin") > > Kind regards, > Sven > > [1] https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles [0] <http://ftp.avm.de/fritzbox/fritzbox-4040/deutschland/fritz.os/FRITZ.Box_4040.en-de-es-it-fr-pl.155.06.83.image> _______________________________________________ ath10k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath10k
