From 3d234c2a5e110ec8fd1e1593056c0745fe05d3db Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 22 Jul 2014 09:55:14 -0500 Subject: [PATCH] firmware: update wandboard firmware locations Signed-off-by: Robert Nelson --- mk_mmc.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index df9a45e..39fcdc4 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -597,12 +597,16 @@ dl_device_firmware () { echo "-----------------------------" mkdir -p ${TEMPDIR}/firmware/brcm/ if [ -f "${DIR}/dl/linux-firmware/brcm/brcmfmac4329-sdio.bin" ] ; then - cp -v "${DIR}/dl/linux-firmware/brcm/brcmfmac4329-sdio.bin" ${TEMPDIR}/firmware/brcm/brcmfmac-sdio.bin cp -v "${DIR}/dl/linux-firmware/brcm/brcmfmac4329-sdio.bin" ${TEMPDIR}/firmware/brcm/brcmfmac4329-sdio.bin fi - wget --directory-prefix=${TEMPDIR}/firmware/brcm/ https://raw.githubusercontent.com/Freescale/meta-fsl-arm-extra/master/recipes-bsp/broadcom-nvram-config/files/wandboard/nvram.txt - mv -v ${TEMPDIR}/firmware/brcm/nvram.txt ${TEMPDIR}/firmware/brcm/brcmfmac-sdio.txt - cp -v ${TEMPDIR}/firmware/brcm/brcmfmac-sdio.txt ${TEMPDIR}/firmware/brcm/brcmfmac4329-sdio.txt + if [ -f "${DIR}/dl/linux-firmware/brcm/brcmfmac4330-sdio.bin" ] ; then + cp -v "${DIR}/dl/linux-firmware/brcm/brcmfmac4330-sdio.bin" ${TEMPDIR}/firmware/brcm/brcmfmac4330-sdio.bin + fi + wget_brcm="wget --directory-prefix=${TEMPDIR}/firmware/brcm/" + http_brcm="https://raw.githubusercontent.com/Freescale/meta-fsl-arm-extra/master/recipes-bsp/broadcom-nvram-config/files/wandboard" + + ${wget_brcm} ${http_brcm}/brcmfmac4329-sdio.txt + ${wget_brcm} ${http_brcm}/brcmfmac4330-sdio.txt fi }