blob: 2a53128dceaa7c78c34038f40261fbab4a751d43 [file] [log] [blame]
xf.li60972982023-06-22 23:27:19 -07001#!/bin/bash
2TOP=$(pwd)
3source update_version.sh
xf.liaa077c42024-01-23 01:04:10 -08004mkdir esdk_patch/Uboot
5cp -R boot/ build/ cp/ pub/ rpm/ tools/ esdk_patch/Uboot/
6cd esdk_patch
7tar -czvf Uboot.tar.gz Uboot
8cd ${TOP}
xf.li6c8fc1e2023-08-12 00:11:09 -07009cd ap/project/zx297520v3/prj_vehicle_dc_ref/build/
xf.li60972982023-06-22 23:27:19 -070010make allclean all
11cd ../../../../..
xf.li6c8fc1e2023-08-12 00:11:09 -070012cd boot/prj/zx297520v3/vehicle_dc_ref/build/
xf.li60972982023-06-22 23:27:19 -070013make allclean all
xf.liaa4d92f2023-09-13 00:18:58 -070014cd ../../bootrom/
15bash merge_boorom.sh
16cd ../../../../
xf.li60972982023-06-22 23:27:19 -070017cd cap/zx297520v3/
18#ln -s ~/T106_downloads/downloads/ ./
xf.li6c8fc1e2023-08-12 00:11:09 -070019DISTRO=vehicle_dc_ref MACHINE=zx297520v3 SDK=yes source zxic-setup-release.sh -b build-vehicle_dc_ref
xf.li60972982023-06-22 23:27:19 -070020bitbake zxic-image && bitbake mkimgsig
21cd ${TOP}/allbins/zx297520v3/prj_vehicle/scripts_linux
xf.li6c8fc1e2023-08-12 00:11:09 -070022bash copybin_vehicle_dc_ref.sh
xf.li60972982023-06-22 23:27:19 -070023cd ${TOP}/cap/zx297520v3
24bitbake zxic-image -c populate_sdk_ext
25cd ${TOP}
xf.li6c8fc1e2023-08-12 00:11:09 -070026cp esdk_patch/mk_esdk.sh cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
27cp esdk_patch/linux_bb.diff cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
28mkdir cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream
29cp -R pub cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
30cp -R tools cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
31cp -R cap/zx297520v3/zxic_code/zxic_source/linux-5.10 cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
32cd cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
xf.li60972982023-06-22 23:27:19 -070033tar -czvf upstream.tar.gz upstream
34mkdir do_package_tool
35cd ${TOP}
xf.liaa077c42024-01-23 01:04:10 -080036cp esdk_patch/Uboot.tar.gz allbins cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
xf.li6c8fc1e2023-08-12 00:11:09 -070037cp -R allbins cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/do_package_tool/
38cd cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
xf.li60972982023-06-22 23:27:19 -070039tar -czvf do_package_tool.tar.gz do_package_tool
40rm -rf do_package_tool upstream
41tar -czvf T106_esdk.tar.gz ./*