blob: 6d3a5da977e709facea1be5b092ae04127b4815f [file] [log] [blame]
xf.li60972982023-06-22 23:27:19 -07001#!/bin/bash
2TOP=$(pwd)
jb.qif6c7dab2024-02-21 02:07:42 -08003cd ap
4bash choose_wifi.sh $1
5cd ${TOP}
xf.li60972982023-06-22 23:27:19 -07006source update_version.sh
xf.liaa077c42024-01-23 01:04:10 -08007mkdir esdk_patch/Uboot
8cp -R boot/ build/ cp/ pub/ rpm/ tools/ esdk_patch/Uboot/
9cd esdk_patch
10tar -czvf Uboot.tar.gz Uboot
11cd ${TOP}
xf.li6c8fc1e2023-08-12 00:11:09 -070012cd ap/project/zx297520v3/prj_vehicle_dc_ref/build/
xf.li60972982023-06-22 23:27:19 -070013make allclean all
14cd ../../../../..
xf.li6c8fc1e2023-08-12 00:11:09 -070015cd boot/prj/zx297520v3/vehicle_dc_ref/build/
xf.li60972982023-06-22 23:27:19 -070016make allclean all
xf.liaa4d92f2023-09-13 00:18:58 -070017cd ../../bootrom/
18bash merge_boorom.sh
19cd ../../../../
xf.li60972982023-06-22 23:27:19 -070020cd cap/zx297520v3/
21#ln -s ~/T106_downloads/downloads/ ./
xf.li6c8fc1e2023-08-12 00:11:09 -070022DISTRO=vehicle_dc_ref MACHINE=zx297520v3 SDK=yes source zxic-setup-release.sh -b build-vehicle_dc_ref
xf.li60972982023-06-22 23:27:19 -070023bitbake zxic-image && bitbake mkimgsig
24cd ${TOP}/allbins/zx297520v3/prj_vehicle/scripts_linux
xf.li6c8fc1e2023-08-12 00:11:09 -070025bash copybin_vehicle_dc_ref.sh
xf.li60972982023-06-22 23:27:19 -070026cd ${TOP}/cap/zx297520v3
27bitbake zxic-image -c populate_sdk_ext
28cd ${TOP}
xf.li6c8fc1e2023-08-12 00:11:09 -070029cp esdk_patch/mk_esdk.sh cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
30cp esdk_patch/linux_bb.diff cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
31mkdir cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream
32cp -R pub cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
33cp -R tools cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
34cp -R cap/zx297520v3/zxic_code/zxic_source/linux-5.10 cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/
35cd cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
xf.li60972982023-06-22 23:27:19 -070036tar -czvf upstream.tar.gz upstream
37mkdir do_package_tool
38cd ${TOP}
xf.liaa077c42024-01-23 01:04:10 -080039cp esdk_patch/Uboot.tar.gz allbins cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
xf.li6c8fc1e2023-08-12 00:11:09 -070040cp -R allbins cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/do_package_tool/
41cd cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/
xf.li60972982023-06-22 23:27:19 -070042tar -czvf do_package_tool.tar.gz do_package_tool
43rm -rf do_package_tool upstream
44tar -czvf T106_esdk.tar.gz ./*