From 97c19c470c6858d2097c7960829ed75b2e7abff6 Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Fri, 11 Oct 2019 15:12:04 -0700 Subject: [PATCH 1/2] Support generating vc707 FPGA bsps Signed-off-by: Nathaniel Graff --- bsp/update-targets.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/update-targets.sh b/bsp/update-targets.sh index 27859b666..1db54266b 100755 --- a/bsp/update-targets.sh +++ b/bsp/update-targets.sh @@ -5,7 +5,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]. + --target-type Specify bsp target type [rtl | arty | vc707]. --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 @@ -119,7 +119,7 @@ update_target() { pushd $TARGET && $MAKEATTRIB_GENERATOR -d $DTB_FILENAME -b $TARGET_TYPE -o $SETTINGS_FILENAME || warn "Failed to produce $TARGET/$SETTINGS_FILENAME" && popd pushd $TARGET && $BARE_HEADER_GENERATOR -d $DTB_FILENAME -o $BARE_HEADER_FILENAME || warn "Failed to produce $TARGET/$BARE_HEADER_FILENAME" && popd - if [[ "$TARGET_TYPE" =~ "arty" || "$TARGET_TYPE" =~ "hifive" ]] ; then + if [[ "$TARGET_TYPE" =~ "arty" || "$TARGET_TYPE" =~ "vc707" || "$TARGET_TYPE" =~ "hifive" ]] ; then if [ `grep -c "jlink" $TARGET/$SETTINGS_FILENAME` -ne 1 ] ; then echo "generating $OPENOCDCFG_FILENAME" $OPENOCDCFG_GENERATOR -d $TARGET/$DTB_FILENAME -b $TARGET_TYPE -o $TARGET/$OPENOCDCFG_FILENAME || warn "Failed to produce $TARGET/$OPENOCDCFG_FILENAME" From 72f9d5adeafd0bb1b9b5689641dd6173f3250b63 Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Wed, 20 Nov 2019 15:44:16 -0800 Subject: [PATCH 2/2] Bump devicetree tools for vc707 support Signed-off-by: Nathaniel Graff --- freedom-devicetree-tools | 2 +- wit-manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freedom-devicetree-tools b/freedom-devicetree-tools index 98d0909b0..d96b0a2f9 160000 --- a/freedom-devicetree-tools +++ b/freedom-devicetree-tools @@ -1 +1 @@ -Subproject commit 98d0909b0df295ec9af04cc30a69bd5297e0a8eb +Subproject commit d96b0a2f9dc40c2e5468aec3f21a31c42946d6e6 diff --git a/wit-manifest.json b/wit-manifest.json index 0ddbf9ebd..7327a8390 100644 --- a/wit-manifest.json +++ b/wit-manifest.json @@ -1,6 +1,6 @@ [ { - "commit": "98d0909b0df295ec9af04cc30a69bd5297e0a8eb", + "commit": "d96b0a2f9dc40c2e5468aec3f21a31c42946d6e6", "name": "freedom-devicetree-tools", "source": "git@github.com:sifive/freedom-devicetree-tools.git" },