From 2bde151a311f585561e283e958c7d88b63308eee Mon Sep 17 00:00:00 2001 From: Xianjun Jiao Date: Tue, 14 Mar 2023 16:30:12 +0100 Subject: [PATCH] Add system_top.bit.bin generation to update_sdcard.sh: For onboard auto loading FPGA by wgd.sh wo directory/.tar.gz, because some boards (like adrv9364z7020) need this to avoid no rx interrupt --- user_space/update_sdcard.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/user_space/update_sdcard.sh b/user_space/update_sdcard.sh index b636e05..78f2aec 100755 --- a/user_space/update_sdcard.sh +++ b/user_space/update_sdcard.sh @@ -119,6 +119,7 @@ if [ "$SKIP_BOOT" == "0" ]; then sudo mkdir -p $SDCARD_DIR/BOOT/openwifi/$BOARD_NAME_TMP sudo cp $OPENWIFI_DIR/kernel_boot/boards/$BOARD_NAME_TMP/$dtb_filename_tmp $SDCARD_DIR/BOOT/openwifi/$BOARD_NAME_TMP/ sudo cp $OPENWIFI_DIR/kernel_boot/boards/$BOARD_NAME_TMP/output_boot_bin/BOOT.BIN $SDCARD_DIR/BOOT/openwifi/$BOARD_NAME_TMP/ + sudo cp ./system_top.bit.bin $SDCARD_DIR/BOOT/openwifi/$BOARD_NAME_TMP/ sudo true done @@ -140,6 +141,10 @@ if [ "$SKIP_rootfs" == "0" ]; then sudo mv $SDCARD_DIR/rootfs/root/openwifi/system_top.bit.bin $SDCARD_DIR/rootfs/root/openwifi/system_top.bit.bin.bak sudo wget -P $SDCARD_DIR/rootfs/root/openwifi/webserver/ https://github.com/open-sdr/openwifi-hw-img/raw/master/openwifi-low-aac.mp4 + sudo rm -rf $SDCARD_DIR/rootfs/root/openwifi_BOOT/ + sudo mkdir -p $SDCARD_DIR/rootfs/root/openwifi_BOOT + sudo cp $SDCARD_DIR/BOOT/openwifi/* $SDCARD_DIR/rootfs/root/openwifi_BOOT/ -rf + ARCH_OPTION_ALL="32 64" for ARCH_OPTION_TMP in $ARCH_OPTION_ALL do