Skip to content

Commit

Permalink
script: modify fw path for bm1690.
Browse files Browse the repository at this point in the history
Signed-off-by: dong.yang <[email protected]>
  • Loading branch information
p7salon authored and xingxg2022 committed Dec 5, 2024
1 parent 828af44 commit fe1796a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ RV_LTP_SRC_DIR=$RV_TOP_DIR/bsp-solutions/ltp
RV_LTP_OUTPUT_DIR=$RV_OUTPUT_DIR/ltp

TPUV7_RUNTIME_DIR=$RV_TOP_DIR/tpuv7-runtime
TPUV7_AP_DAEMON=$TPUV7_RUNTIME_DIR/build/asic/cdmlib/ap/daemon/cdm_daemon/cdm_daemon
TPUV7_TP_DAEMON=$TPUV7_RUNTIME_DIR/build/asic/cdmlib/tp/daemon/tp_daemon
TPUV7_AP_DAEMON=$TPUV7_RUNTIME_DIR/build/fw/ap/daemon/cdm_daemon
TPUV7_TP_DAEMON=$TPUV7_RUNTIME_DIR/build/fw/tp/daemon/tp_daemon

RV_DISTRO_DIR=$RV_TOP_DIR/distro_riscv
RV_UBUNTU_DISTRO=ubuntu
Expand Down Expand Up @@ -1019,8 +1019,8 @@ function build_rv_ramdisk_ci()
if [ -f $TPUV7_AP_DAEMON ]; then
echo "copy cdmlib overlay ap all to rootfs/"
cp $TPUV7_AP_DAEMON $RV_RAMDISK_DIR/build/$RAMDISK_CPU_TYPE/rootfs/
cp $TPUV7_RUNTIME_DIR/build/asic/cdmlib/ap/tools/debug_console_clnt/debug_console_clnt $RV_RAMDISK_DIR/build/ap/rootfs/
cp $TPUV7_RUNTIME_DIR/build/asic/cdmlib/ap/tools/dump_memory/dump $RV_RAMDISK_DIR/build/ap/rootfs/
cp $TPUV7_RUNTIME_DIR/build/fw/ap/tools/debug_console_clnt/debug_console_clnt $RV_RAMDISK_DIR/build/ap/rootfs/
cp $TPUV7_RUNTIME_DIR/build/fw/ap/tools/dump_memory/dump $RV_RAMDISK_DIR/build/ap/rootfs/
else
echo "no ap daemon found"
return 1
Expand Down Expand Up @@ -1109,8 +1109,8 @@ function build_rv_ramdisk()
if [ -f $TPUV7_AP_DAEMON ]; then
echo "copy cdmlib overlay ap all to rootfs/"
cp $TPUV7_AP_DAEMON $RV_RAMDISK_DIR/build/$RAMDISK_CPU_TYPE/rootfs/
cp $TPUV7_RUNTIME_DIR/build/asic/cdmlib/ap/tools/debug_console_clnt/debug_console_clnt $RV_RAMDISK_DIR/build/ap/rootfs/
cp $TPUV7_RUNTIME_DIR/build/asic/cdmlib/ap/tools/dump_memory/dump $RV_RAMDISK_DIR/build/ap/rootfs/
cp $TPUV7_RUNTIME_DIR/build/fw/ap/tools/debug_console_clnt/debug_console_clnt $RV_RAMDISK_DIR/build/ap/rootfs/
cp $TPUV7_RUNTIME_DIR/build/fw/ap/tools/dump_memory/dump $RV_RAMDISK_DIR/build/ap/rootfs/
else
echo "no ap daemon found"
fi
Expand Down

0 comments on commit fe1796a

Please sign in to comment.