Skip to content

Commit

Permalink
Merge pull request #2 from Googulator/master
Browse files Browse the repository at this point in the history
  • Loading branch information
strongtz authored Jan 16, 2023
2 parents 4f6b1ce + 17c74c1 commit c82240a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,16 @@ function _build_idblock(){
rm -f rk35*_spl_loader_*.bin idblock.bin rk35*_ddr_*.bin rk35*_usbplug*.bin UsbHead.bin ${FLASHFILES}

# Create idblock.bin
if [ "x${IDBLOCK_BUILDTOOL}" == "xmkimage" ]
then
${ROOTDIR}/misc/rkbin/tools/mkimage -n rk3588 -T rksd -d ${ROOTDIR}/misc/rkbin/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.08.bin:${ROOTDIR}/misc/rkbin/bin/rk35/rk3588_spl_v1.11.bin idblock.bin
else
# Generate spl_loader
(cd ${ROOTDIR}/misc/rkbin && ./tools/boot_merger RKBOOT/${MINIALL_INI} && mv ${SOC_L}_spl_loader_*.bin ${WORKSPACE})
# Produce ${FLASHFILES} UsbHead.bin ddr usbplug
${ROOTDIR}/misc/rkbin/tools/boot_merger unpack -i ${SOC_L}_spl_loader_*.bin -o ${WORKSPACE}
cat ${FLASHFILES} > idblock.bin

fi
popd
echo " => idblock.bin build done"
}
Expand Down

0 comments on commit c82240a

Please sign in to comment.