From f0f3372ca25e081e07b1a91b820556be2e697656 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 22 Jul 2014 10:24:16 -0500 Subject: [PATCH] udoo: add rt2870.bin firmware Signed-off-by: Robert Nelson --- hwpack/imx6dl-udoo.conf | 1 + hwpack/imx6q-udoo.conf | 1 + mk_mmc.sh | 12 ++++++++++++ 3 files changed, 14 insertions(+) diff --git a/hwpack/imx6dl-udoo.conf b/hwpack/imx6dl-udoo.conf index b2c7996..9a625ff 100644 --- a/hwpack/imx6dl-udoo.conf +++ b/hwpack/imx6dl-udoo.conf @@ -53,6 +53,7 @@ conf_loadaddr="0x12000000" conf_fdtaddr="0x11000000" #initrdaddr = loadaddr + 10(mb) * 10 0000 = 0x12A0 0000 (10MB) conf_initrdaddr="0x12A00000" +need_udoo_firmware=1 SYSTEM="video" diff --git a/hwpack/imx6q-udoo.conf b/hwpack/imx6q-udoo.conf index cb379b5..df9a4c5 100644 --- a/hwpack/imx6q-udoo.conf +++ b/hwpack/imx6q-udoo.conf @@ -53,6 +53,7 @@ conf_loadaddr="0x12000000" conf_fdtaddr="0x11000000" #initrdaddr = loadaddr + 10(mb) * 10 0000 = 0x12A0 0000 (10MB) conf_initrdaddr="0x12A00000" +need_udoo_firmware=1 SYSTEM="video" diff --git a/mk_mmc.sh b/mk_mmc.sh index 39fcdc4..2bf80e2 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -609,6 +609,18 @@ dl_device_firmware () { ${wget_brcm} ${http_brcm}/brcmfmac4330-sdio.txt fi + if [ "${need_udoo_firmware}" ] ; then + dl_linux_firmware + echo "-----------------------------" + echo "Adding Firmware for onboard WiFi/Bluetooth module" + echo "-----------------------------" + mkdir -p ${TEMPDIR}/firmware/ + + if [ -f "${DIR}/dl/linux-firmware/rt2870.bin" ] ; then + cp -v "${DIR}/dl/linux-firmware/rt2870.bin" ${TEMPDIR}/firmware/rt2870.bin + fi + fi + } initrd_add_firmware () {