Skip to content

Commit

Permalink
Include linux-firmware for AX210
Browse files Browse the repository at this point in the history
  • Loading branch information
mobileoverlord committed Nov 21, 2022
1 parent 4ab7160 commit 283b13d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nerves_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="compulab/iot-gate-imx8plus"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_PACKAGE_BUSYBOX_CONFIG="${BR2_EXTERNAL_NERVES_PATH}/board/nerves-common/busybox.config"
BR2_PACKAGE_F2FS_TOOLS=y
BR2_PACKAGE_LINUX_FIRMWARE=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22000=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22260=y
BR2_PACKAGE_FREESCALE_IMX=y
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y
BR2_PACKAGE_IMX_UUC=y
Expand Down
8 changes: 8 additions & 0 deletions post-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ $HOST_DIR/usr/bin/fwup -c -f $NERVES_DEFCONFIG_DIR/fwup-revert.conf -o $TARGET_D

# Copy the fwup includes to the images dir
cp -rf $NERVES_DEFCONFIG_DIR/fwup_include $BINARIES_DIR

# Copy over AX210 Firmware
rm -rf $TARGET_DIR/lib/firmware/iwlwifi*
cp -f $BUILD_DIR/linux-firmware-*/iwlwifi-ty-a0-gf-a0-66.ucode $TARGET_DIR/lib/firmware
cp -f $BUILD_DIR/linux-firmware-*/iwlwifi-ty-a0-gf-a0.pnvm $TARGET_DIR/lib/firmware
mkdir -p $TARGET_DIR/lib/firmware/intel >/dev/null 2>&1
cp -f $BUILD_DIR/linux-firmware-*/intel/ibt-0041-0041.sfi $TARGET_DIR/lib/firmware/intel
cp -f $BUILD_DIR/linux-firmware-*/intel/ibt-0041-0041.ddc $TARGET_DIR/lib/firmware/intel

0 comments on commit 283b13d

Please sign in to comment.