wand: firmware change and protect it against renames

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 11 years ago
parent 4ec9f596b6
commit 609cc277b7

@ -738,7 +738,9 @@ dl_device_firmware () {
echo "Adding Firmware for onboard WiFi/Bluetooth module" echo "Adding Firmware for onboard WiFi/Bluetooth module"
echo "-----------------------------" echo "-----------------------------"
mkdir -p ${TEMPDIR}/firmware/brcm/ mkdir -p ${TEMPDIR}/firmware/brcm/
cp -v "${DIR}/dl/linux-firmware/brcm/brcmfmac4329.bin" ${TEMPDIR}/firmware/brcm/brcmfmac-sdio.bin if [ -f "${DIR}/dl/linux-firmware/brcm/brcmfmac4329-sdio.bin" ]
cp -v "${DIR}/dl/linux-firmware/brcm/brcmfmac4329-sdio.bin" ${TEMPDIR}/firmware/brcm/brcmfmac-sdio.bin
fi
wget --directory-prefix=${TEMPDIR}/firmware/brcm/ https://raw.github.com/Freescale/meta-fsl-arm-extra/master/recipes-bsp/broadcom-nvram-config/files/wandboard/nvram.txt wget --directory-prefix=${TEMPDIR}/firmware/brcm/ https://raw.github.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 mv -v ${TEMPDIR}/firmware/brcm/nvram.txt ${TEMPDIR}/firmware/brcm/brcmfmac-sdio.txt
fi fi

Loading…
Cancel
Save