blob: ccd61ef4dfd57f6e68caa69ffacab21d74609673 [file] [log] [blame]
xf.li60972982023-06-22 23:27:19 -07001#!/bin/bash
2TOP=$(pwd)
3source update_version.sh
4
xf.li6c8fc1e2023-08-12 00:11:09 -07005cd ap/project/zx297520v3/prj_vehicle_dc_ref/build/
xf.li60972982023-06-22 23:27:19 -07006make allclean all
7cd ../../../../..
xf.li6c8fc1e2023-08-12 00:11:09 -07008cd boot/prj/zx297520v3/vehicle_dc_ref/build/
xf.li60972982023-06-22 23:27:19 -07009make allclean all
10cd ../../../../..
11cd cap/zx297520v3/
12#ln -s ~/T106_downloads/downloads/ ./
xf.li6c8fc1e2023-08-12 00:11:09 -070013DISTRO=vehicle_dc_ref MACHINE=zx297520v3 SDK=yes source zxic-setup-release.sh -b build-vehicle_dc_ref
xf.li60972982023-06-22 23:27:19 -070014bitbake zxic-image && bitbake mkimgsig
15cd ${TOP}/allbins/zx297520v3/prj_vehicle/scripts_linux
xf.li6c8fc1e2023-08-12 00:11:09 -070016bash copybin_vehicle_dc_ref.sh
xf.li60972982023-06-22 23:27:19 -070017cd ${TOP}/cap/zx297520v3
18bitbake zxic-image -c populate_sdk_ext
19cd ${TOP}
xf.li6c8fc1e2023-08-12 00:11:09 -070020cp esdk_patch/mk_esdk.sh cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
21cp esdk_patch/linux_bb.diff cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
22mkdir cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream
23cp -R pub cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
24cp -R tools cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
25cp -R cap/zx297520v3/zxic_code/zxic_source/linux-5.10 cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
26cd cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
xf.li60972982023-06-22 23:27:19 -070027tar -czvf upstream.tar.gz upstream
28mkdir do_package_tool
29cd ${TOP}
xf.li6c8fc1e2023-08-12 00:11:09 -070030cp -R allbins cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/do_package_tool/
31cd cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
xf.li60972982023-06-22 23:27:19 -070032tar -czvf do_package_tool.tar.gz do_package_tool
33rm -rf do_package_tool upstream
34tar -czvf T106_esdk.tar.gz ./*