mirror of
https://github.com/open-sdr/openwifi.git
synced 2024-12-30 02:29:14 +00:00
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
This commit is contained in:
parent
914bc0b9ba
commit
2bde151a31
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user