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