aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-11-10 08:55:50 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-11-10 08:55:50 +0100
commit88540f825ebcb708feafcd45bc6f49db9a5fe9f1 (patch)
tree5cd6b862a2daac77f594b76323129537c5fce0f6
parentd7c583aa489708c0f3031dc19860a586f15721c5 (diff)
downloadfai-88540f825ebcb708feafcd45bc6f49db9a5fe9f1.tar.gz
DB410c: use firmware-qcom-dragonboard410c
We now rely on a real Debian package for DB410c firmware, this patch removes the hacks we had so far. Change-Id: Id836a745c58552b958c8cea851dbb6f3a1678c39 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--class/DB410C.var3
-rw-r--r--package_config/QCOM1
-rwxr-xr-xscripts/DB410C/21-customize19
3 files changed, 1 insertions, 22 deletions
diff --git a/class/DB410C.var b/class/DB410C.var
index 55230eb..7ebba53 100644
--- a/class/DB410C.var
+++ b/class/DB410C.var
@@ -1,5 +1,2 @@
-QCOM_FIRMWARE='http://builds.96boards.org/releases/dragonboard410c/qualcomm/firmware/linux-board-support-package-r1032.1.zip'
-QCOM_FIRMWARE_MD5='e1c7e8957b8f37a91cadc18c1aef5c04'
-QCOM_FIRMWARE_LICENSE_MD5='4d087ee0965cb059f1b2f9429e166f64'
KVERS=4.9.0-qcomlt
fdtfile=qcom/apq8016-sbc.dtb
diff --git a/package_config/QCOM b/package_config/QCOM
index 0051021..9b3defd 100644
--- a/package_config/QCOM
+++ b/package_config/QCOM
@@ -1,4 +1,5 @@
PACKAGES install-norec DB410C
+firmware-qcom-dragonboard410c
linux-image-4.9.0-qcomlt
PACKAGES install-norec DB820C
diff --git a/scripts/DB410C/21-customize b/scripts/DB410C/21-customize
index 94dadb9..8bba4a0 100755
--- a/scripts/DB410C/21-customize
+++ b/scripts/DB410C/21-customize
@@ -1,25 +1,6 @@
#!/bin/bash
set -e
-# Download license file and firmware
-if [ -n "${QCOM_FIRMWARE}" ]; then
- fwdir=`mktemp -d qcom_fwXXXXXX`
- cd $fwdir
- wget -q ${QCOM_FIRMWARE}
- echo "${QCOM_FIRMWARE_MD5} $(basename ${QCOM_FIRMWARE})" > MD5
- md5sum -c MD5
- unzip $(basename ${QCOM_FIRMWARE})
- # check LICENSE file (for Linux BSP)
- echo "${QCOM_FIRMWARE_LICENSE_MD5} " linux-board-support-package-*/LICENSE > MD5
- md5sum -c MD5
- cd -
- MTOOLS_SKIP_CHECK=1 mcopy -i $fwdir/linux-board-support-package-*/bootloaders-linux/NON-HLOS.bin \
- ::image/modem.* ::image/mba.mbn ::image/wcnss.* $fwdir/linux-board-support-package-*/proprietary-linux
- cp -f $fwdir/linux-board-support-package-*/LICENSE $target/etc/QCOM-LINUX-BOARD-SUPPORT-LICENSE
- cp -a $fwdir/linux-board-support-package-*/proprietary-linux/* $target/lib/firmware
- rm -rf $fwdir
-fi
-
if [ -f $target/etc/NetworkManager/NetworkManager.conf ]; then
cat << EOF >> $target/etc/NetworkManager/NetworkManager.conf
[device]