summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-02-15 10:33:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-02-28 22:09:47 +0100
commit3309a4bc9632ce0ca7d95fedc6b61d307756842d (patch)
tree58d17f114882393c1024dc9cdf4e8d85b1ca8a18
parentf0b6b9da2ff80a03878a89f47081e8bbf8fc5b53 (diff)
scripts: add modloopfw support
this is needed for firware which is not automatically detected. (cherry picked from commit 680b40d3d2eebb2a9e83a6d3926f45a2daa58074)
-rwxr-xr-xscripts/mkimg.arm.sh1
-rwxr-xr-xscripts/mkimg.base.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mkimg.arm.sh b/scripts/mkimg.arm.sh
index 81b2a129b47..76956d52812 100755
--- a/scripts/mkimg.arm.sh
+++ b/scripts/mkimg.arm.sh
@@ -75,6 +75,7 @@ profile_rpi() {
kernel_cmdline="dwc_otg.lpm_enable=0 console=tty1"
initfs_features="base bootchart squashfs ext4 f2fs kms mmc raid scsi usb"
hostname="rpi"
+ modloopfw="brcm/brcmfmac43455-sdio.clm_blob"
}
build_uboot() {
diff --git a/scripts/mkimg.base.sh b/scripts/mkimg.base.sh
index aed90749d5c..642eebf5ed0 100755
--- a/scripts/mkimg.base.sh
+++ b/scripts/mkimg.base.sh
@@ -12,6 +12,7 @@ build_kernel() {
--arch "$ARCH" \
--package "$_pkgs" \
--feature "$initfs_features" \
+ --modloopfw "$modloopfw" \
--repositories-file "$APKROOT/etc/apk/repositories" \
"$DESTDIR"
}