blob: 6a218cc2702af6aa0228e17bda7a95b0c1ade057 [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
xf.liaa4d92f2023-09-13 00:18:58 -070010cd ../../bootrom/
11bash merge_boorom.sh
12cd ../../../../
xf.li60972982023-06-22 23:27:19 -070013cd cap/zx297520v3/
14#ln -s ~/T106_downloads/downloads/ ./
xf.li6c8fc1e2023-08-12 00:11:09 -070015DISTRO=vehicle_dc_ref MACHINE=zx297520v3 SDK=yes source zxic-setup-release.sh -b build-vehicle_dc_ref
xf.li60972982023-06-22 23:27:19 -070016bitbake zxic-image && bitbake mkimgsig
17cd ${TOP}/allbins/zx297520v3/prj_vehicle/scripts_linux
xf.li6c8fc1e2023-08-12 00:11:09 -070018bash copybin_vehicle_dc_ref.sh
xf.li60972982023-06-22 23:27:19 -070019cd ${TOP}/cap/zx297520v3
20bitbake zxic-image -c populate_sdk_ext
21cd ${TOP}
xf.li6c8fc1e2023-08-12 00:11:09 -070022cp esdk_patch/mk_esdk.sh cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
23cp esdk_patch/linux_bb.diff cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
24mkdir cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream
25cp -R pub cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
26cp -R tools cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
27cp -R cap/zx297520v3/zxic_code/zxic_source/linux-5.10 cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
28cd cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
xf.li60972982023-06-22 23:27:19 -070029tar -czvf upstream.tar.gz upstream
30mkdir do_package_tool
31cd ${TOP}
xf.li6c8fc1e2023-08-12 00:11:09 -070032cp -R allbins cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/do_package_tool/
33cd cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
xf.li60972982023-06-22 23:27:19 -070034tar -czvf do_package_tool.tar.gz do_package_tool
35rm -rf do_package_tool upstream
36tar -czvf T106_esdk.tar.gz ./*