diff --git a/iMX8QM/soc.mak b/iMX8QM/soc.mak index ec7938f4a12ace1c15a3caa3c3ffbba29ac56e3d..3e43e1b13e8ea0d00a247391c641515b3486779c 100755 --- a/iMX8QM/soc.mak +++ b/iMX8QM/soc.mak @@ -34,6 +34,12 @@ u-boot-atf.bin: u-boot.bin bl31.bin ./$(MKIMG) -commit > head.hash @cat u-boot.bin head.hash > u-boot-hash.bin @dd if=u-boot-hash.bin of=u-boot-atf.bin bs=1K seek=128 + @if [ ! -d "hdmitxfw.bin" ]; then \ + cp u-boot-atf.bin u-boot-atf-b.bin; \ + objcopy -I binary -O binary --pad-to 0x20000 --gap-fill=0x0 hdmitxfw.bin hdmitxfw-pad.bin; \ + cat u-boot-atf.bin hdmitxfw-pad.bin > u-boot-atf-hdmi.bin; \ + cp u-boot-atf-hdmi.bin u-boot-atf.bin; \ + fi .PHONY: clean clean: