Skip to content

Commit

Permalink
Print DT (for debugging purposes)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-holenko committed Aug 12, 2020
1 parent c1baa2d commit 50284ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/test-renode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ RENODE_REPL="$RENODE_SCRIPTS_DIR/litex_buildenv.repl"
mkdir -p $RENODE_SCRIPTS_DIR

if [ "$FIRMWARE" = "linux" ] && [ "$CPU" = "vexriscv" ]; then
echo "-----"
echo "DT:::"
dtc $TOP_DIR/$TARGET_BUILD_DIR/software/linux/rv32.dtb
echo "-----"


RENODE_CONFIG="--tftp-binary \"$TOP_DIR/$TARGET_BUILD_DIR/software/linux/firmware.bin:Image\"
--tftp-binary \"$TOP_DIR/$TARGET_BUILD_DIR/software/linux/riscv32-rootfs.cpio:rootfs.cpio\"
--tftp-binary \"$TOP_DIR/$TARGET_BUILD_DIR/software/linux/rv32.dtb\"
Expand Down

0 comments on commit 50284ad

Please sign in to comment.