123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #!/bin/sh -x
- #
- # below repo images have proprietary, need Yocto to copy out:
- # npu_ax3386
- # fce_thead
- # thead_ddr_pmu
- #
- # vpu_vc8000d, vpu_vc8000e
- # vpu_openmax_il
- #
- # isp_isp8000l
- #
- # gpu_bxm_4_64
- #
- # libgal-viv
- # libcsi-g2d
- #
- MACHINE=light-a-val
- PROJECT=light-fm-bsp-v1.2.3
- export YOCTO_DIR=`pwd`
- if [ ! -d "yocto_rootfs_proprietary" ]
- then
- mkdir yocto_rootfs_proprietary
- fi
- export LIGHT_SDK_PROPRIETARY_YOCTO_DIR=$YOCTO_DIR/yocto_rootfs_proprietary
- export LOCAL_ROOTFS_DIR=$YOCTO_DIR/thead-build/light-fm/tmp-glibc/work/$MACHINE-oe-linux/light-fm-image/1.0-r0/rootfs
- export BUILD_DIR=$YOCTO_DIR/thead-build/light-fm/tmp-glibc/work/riscv64-oe-linux
- # start to copy images:
- # npu_ax3386
- NPU_SRC=$BUILD_DIR/npu-ax3386/1.0-r0/git
- cp -r $NPU_SRC/output/rootfs/bsp/npu $LIGHT_SDK_PROPRIETARY_YOCTO_DIR/
- # fce_thead
- FCE_SRC=$BUILD_DIR/thead-fce/1.0-r0/git
- cp -r $FCE_SRC/output/rootfs/bsp/fce $LIGHT_SDK_PROPRIETARY_YOCTO_DIR/
- # thead_ddr_pmu
- DDR_PMU=$BUILD_DIR/thead-ddr-pmu/1.0-r0/git
- cp -r $DDR_PMU/output/rootfs/bsp/ddr-pmu $LIGHT_SDK_PROPRIETARY_YOCTO_DIR/
- # vpu_openmax_il
- VPU_OPENMAX_IL=$BUILD_DIR/vpu-omxil/1.0-r0/image
- cp -r $VPU_OPENMAX_IL $LIGHT_SDK_PROPRIETARY_YOCTO_DIR/vpu-omxil
- # isp_isp8000l
- ISP8000L=$BUILD_DIR/isp-isp8000l/1.0-r0/image
- cp -r $ISP8000L $LIGHT_SDK_PROPRIETARY_YOCTO_DIR/isp-isp8000l
- # gpu_bxm_4_64
- GPU_SRC=$BUILD_DIR/gpu-bxm-4-64/1.0-r0/git
- cp -r $GPU_SRC/../image $LIGHT_SDK_PROPRIETARY_YOCTO_DIR/gpu_bxm_4_64
- # libgal-viv
- G2D_SRC=$BUILD_DIR/libgal-viv/6.4.6.9-r0/git
- cp -r $G2D_SRC/build/sdk $LIGHT_SDK_PROPRIETARY_YOCTO_DIR/libgal-viv-sdk
- # libcsi-g2d
- G2D_HAL_SRC=$BUILD_DIR/libcsi-g2d/1.0.0-r0/git
- cp -r $G2D_HAL_SRC/build $LIGHT_SDK_PROPRIETARY_YOCTO_DIR/libcsi-g2d-sdk
|