This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1831MOD: Override wl18xx config in yocto.

Part Number: WL1831MOD
Other Parts Discussed in Thread: AM3352

We are seeing disconnects using a WL18xx module on a am3352 processor. The answer in seems to do the trick. However, I am trying to override the meta-ti/recipes-connectivity/wlconf to use the updated configuration instead of the default one.

Tried to do it with a bbappend but it fails to find the new file.

S_HW = "${WORKDIR}/git/hw/firmware"

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI_append_${PN} = " file://wl18xx-conf-2.4GHz-Only.bin \
            "

do_install_append() {
   install -m 0755 ${S_HW}/wl1271-nvs.bin \
           ${D}/lib/firmware/ti-connectivity

   install -m 0755 ${WORKDIR}/wl18xx-conf-2.4GHz-Only.bin \
           ${D}/lib/firmware/ti-connectivity/wl18xx-conf.bin

}

FILES_${PN} += " \
    /lib/firmware/ti-connectivity/wl1271-nvs.bin \
    /lib/firmware/ti-connectivity/wl18xx-conf-2.4GHz-Only.bin \
"

The bbappend file previously worked for adding the wl1271-nvs.bin. Yocto complains about not finding wl18xx-conf-2.4GHz-Only.bin. It does not get copied to the work directory.

  • Found the solution. The append recipe needed some motifications:

    S_HW = "${WORKDIR}/git/hw/firmware"
    
    FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
    
    SRC_URI_append = " file://wl18xx-conf-2.4GHz-Only.bin \
                "
    
    do_install_append() {
       install -m 0755 ${S_HW}/wl1271-nvs.bin \
               ${D}/lib/firmware/ti-connectivity
    
       install -m 0755 ${WORKDIR}/wl18xx-conf-2.4GHz-Only.bin \
               ${D}/lib/firmware/ti-connectivity/wl18xx-conf.bin
    
    }
    
    FILES_${PN} += " \
        /lib/firmware/ti-connectivity/wl1271-nvs.bin \
    "

  • Hi,

    Thanks for updating the thread. Best of luck with your project

    Saurabh