pushd common/build
if [ -f “setenv.sh” ]; then
mv setenv.sh setenv.sh_bak
fi
python build.py –nonhlos
python ../../boot_images/core/boot/secboot3/scripts/cdt_generator.py ../../boot_images/core/boot/secboot3/scripts/jedec_lpddr3_single_channel.xml platform_ddr.bin
python ../../boot_images/core/storage/tools/ptool/ptool.py -x ../../boot_images/core/boot/secboot3/scripts/emmc_cdt_program_scripts/partition.xml -gpt -p2
python ../../boot_images/core/storage/tools/ptool/ptool.py -x ../config/partition.xml
popd