Skip to content

Commit

Permalink
LINUX-FIRMWARE: add symlinks for new kernel compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Romuald Jeanne <[email protected]>
  • Loading branch information
Christophe Priouzeau committed Apr 20, 2023
1 parent 102a2fd commit 46b71b3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions recipes-kernel/linux-firmware/linux-firmware_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,23 @@ do_install:append:stm32mpcommon() {
# Install calibration file (stm32mp13)
install -m 0644 ${WORKDIR}/nvram-murata/cyfmac43430-sdio.1DX.txt ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.st,stm32mp135f-dk.txt

#take newest murata firmware
# Take newest murata firmware
install -m 0644 ${WORKDIR}/murata/cyfmac43430-sdio.bin ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.bin
install -m 0644 ${WORKDIR}/murata/cyfmac43430-sdio.1DX.clm_blob ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.clm_blob

# Add symlinks for newest kernel compatibility
cd ${D}${nonarch_base_libdir}/firmware/brcm/
ln -sf brcmfmac43430-sdio.bin brcmfmac43430-sdio.st,stm32mp157c-dk2.bin
ln -sf brcmfmac43430-sdio.bin brcmfmac43430-sdio.st,stm32mp157f-dk2.bin
ln -sf brcmfmac43430-sdio.bin brcmfmac43430-sdio.st,stm32mp135f-dk.bin
}


FILES:${PN}-bcm43430:append:stm32mpcommon = " \
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.txt \
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.st,stm32mp157c-dk2.txt \
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.st,stm32mp157f-dk2.txt \
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.st,stm32mp135f-dk.txt \
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.st,stm32mp157c-dk2.* \
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.st,stm32mp157f-dk2.* \
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.st,stm32mp135f-dk.* \
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.clm_blob \
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.bin \
"
Expand Down

0 comments on commit 46b71b3

Please sign in to comment.