diff --git a/bsp/sifive-hifive-unleashed/settings.mk b/bsp/sifive-hifive-unleashed/settings.mk index 5af96dd6a..ea5df9034 100644 --- a/bsp/sifive-hifive-unleashed/settings.mk +++ b/bsp/sifive-hifive-unleashed/settings.mk @@ -1,8 +1,8 @@ # Copyright (C) 2020 SiFive Inc # SPDX-License-Identifier: Apache-2.0 -RISCV_ARCH = rv64imafdc -RISCV_ABI = lp64d +RISCV_ARCH = rv64imac +RISCV_ABI = lp64 RISCV_CMODEL = medany RISCV_SERIES = sifive-5-series diff --git a/bsp/update-targets.sh b/bsp/update-targets.sh index b8799c1c1..50b7973c2 100755 --- a/bsp/update-targets.sh +++ b/bsp/update-targets.sh @@ -7,7 +7,7 @@ help() { $0: BSP Generator for the SiFive Freedom E SDK --help Prints this help text. --target-name Specify bsp target name. - --target-type Specify bsp target type [rtl | arty | vc707]. + --target-type Specify bsp target type [rtl | arty | vc707 | vcu118]. --sdk-path=* The path to the freedom-e-sdk clone directory, public or private. --target-dts=*.dts The path to the target device tree that will be used. EOF @@ -131,7 +131,7 @@ update_target() { pushd $TARGET && $BARE_HEADER_GENERATOR -d $DTB_FILENAME -o $BARE_HEADER_FILENAME || warn "Failed to produce $TARGET/$BARE_HEADER_FILENAME" && popd . ${FREEDOM_E_SDK_VENV_PATH}/bin/activate && $CMSIS_SVD_GENERATOR -d $TARGET/$DESIGN_DTS_FILENAME -o $TARGET/$CMSIS_SVD_FILENAME || warn "Failed to produce $TARGET/$CMSIS_SVD_FILENAME" - if [[ "$TARGET_TYPE" =~ "arty" || "$TARGET_TYPE" =~ "vc707" || "$TARGET_TYPE" =~ "hifive" ]] ; then + if [[ "$TARGET_TYPE" =~ "arty" || "$TARGET_TYPE" =~ "vc707" || "$TARGET_TYPE" =~ "vcu118" || "$TARGET_TYPE" =~ "hifive" ]] ; then if [ `grep -c "jlink" $TARGET/$SETTINGS_FILENAME` -ne 1 ] ; then echo "generating $OPENOCDCFG_FILENAME" . ${FREEDOM_E_SDK_VENV_PATH}/bin/activate && $OPENOCDCFG_GENERATOR -d $TARGET/$DESIGN_DTS_FILENAME -b $TARGET_TYPE -o $TARGET/$OPENOCDCFG_FILENAME || warn "Failed to produce $TARGET/$OPENOCDCFG_FILENAME" diff --git a/scripts/devicetree-overlay-generator b/scripts/devicetree-overlay-generator index c294344b1..69650c55f 160000 --- a/scripts/devicetree-overlay-generator +++ b/scripts/devicetree-overlay-generator @@ -1 +1 @@ -Subproject commit c294344b115b926d0c7b03073593cc417a6f5db7 +Subproject commit 69650c55fe381b642e493e93a7408038e1b5d434 diff --git a/scripts/esdk-settings-generator b/scripts/esdk-settings-generator index c97486399..9e82c3473 160000 --- a/scripts/esdk-settings-generator +++ b/scripts/esdk-settings-generator @@ -1 +1 @@ -Subproject commit c974863998bf05d96d25bbb153a6f6e80ffd90e2 +Subproject commit 9e82c3473032481e6a6d969b9d168b2bbe109744 diff --git a/scripts/openocdcfg-generator b/scripts/openocdcfg-generator index e91034b8b..b766f5cd7 160000 --- a/scripts/openocdcfg-generator +++ b/scripts/openocdcfg-generator @@ -1 +1 @@ -Subproject commit e91034b8b8e7994b2c23f9e7e7cfff36bf031a91 +Subproject commit b766f5cd74f6ab0980079dfded145144189e4325 diff --git a/wit-manifest.json b/wit-manifest.json index 7ee3c5bd2..be667d3e4 100644 --- a/wit-manifest.json +++ b/wit-manifest.json @@ -15,7 +15,7 @@ "source": "git@github.com:sifive/elf2hex.git" }, { - "commit": "c294344b115b926d0c7b03073593cc417a6f5db7", + "commit": "69650c55fe381b642e493e93a7408038e1b5d434", "name": "devicetree-overlay-generator", "source": "git@github.com:sifive/devicetree-overlay-generator.git" }, @@ -30,12 +30,12 @@ "source": "git@github.com:sifive/cmsis-svd-generator.git" }, { - "commit": "e91034b8b8e7994b2c23f9e7e7cfff36bf031a91", + "commit": "b766f5cd74f6ab0980079dfded145144189e4325", "name": "openocdcfg-generator", "source": "git@github.com:sifive/openocdcfg-generator.git" }, { - "commit": "c974863998bf05d96d25bbb153a6f6e80ffd90e2", + "commit": "9e82c3473032481e6a6d969b9d168b2bbe109744", "name": "esdk-settings-generator", "source": "git@github.com:sifive/esdk-settings-generator.git" },