xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | TOP=$(pwd) |
| 3 | source update_version.sh |
| 4 | |
xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 5 | cd ap/project/zx297520v3/prj_vehicle_dc_ref/build/ |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 6 | make allclean all |
| 7 | cd ../../../../.. |
xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 8 | cd boot/prj/zx297520v3/vehicle_dc_ref/build/ |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 9 | make allclean all |
xf.li | aa4d92f | 2023-09-13 00:18:58 -0700 | [diff] [blame^] | 10 | cd ../../bootrom/ |
| 11 | bash merge_boorom.sh |
| 12 | cd ../../../../ |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 13 | cd cap/zx297520v3/ |
| 14 | #ln -s ~/T106_downloads/downloads/ ./ |
xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 15 | DISTRO=vehicle_dc_ref MACHINE=zx297520v3 SDK=yes source zxic-setup-release.sh -b build-vehicle_dc_ref |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 16 | bitbake zxic-image && bitbake mkimgsig |
| 17 | cd ${TOP}/allbins/zx297520v3/prj_vehicle/scripts_linux |
xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 18 | bash copybin_vehicle_dc_ref.sh |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 19 | cd ${TOP}/cap/zx297520v3 |
| 20 | bitbake zxic-image -c populate_sdk_ext |
| 21 | cd ${TOP} |
xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 22 | cp esdk_patch/mk_esdk.sh cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/ |
| 23 | cp esdk_patch/linux_bb.diff cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/ |
| 24 | mkdir cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream |
| 25 | cp -R pub cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/ |
| 26 | cp -R tools cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/ |
| 27 | cp -R cap/zx297520v3/zxic_code/zxic_source/linux-5.10 cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/upstream/ |
| 28 | cd cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/ |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 29 | tar -czvf upstream.tar.gz upstream |
| 30 | mkdir do_package_tool |
| 31 | cd ${TOP} |
xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 32 | cp -R allbins cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/do_package_tool/ |
| 33 | cd cap/zx297520v3/build-vehicle_dc_ref/tmp/deploy/sdk/ |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 34 | tar -czvf do_package_tool.tar.gz do_package_tool |
| 35 | rm -rf do_package_tool upstream |
| 36 | tar -czvf T106_esdk.tar.gz ./* |