diff options
| author | Tom Rini <[email protected]> | 2022-09-22 10:29:29 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-09-22 10:29:29 -0400 |
| commit | 435596d57f8beedf36b5dc858fe7ba9d6c03334b (patch) | |
| tree | fab17be6ba8a30740508d6228d9d200a831acf61 /doc | |
| parent | 179a9320c0a258fba0736fe16fd90d1cee8fc223 (diff) | |
| parent | 1d8f4c85e3c04f596b0464542221b3507af0014e (diff) | |
Merge tag 'u-boot-imx-20220922' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
u-boot-imx-20220922
-------------------
Fixes for 2022.10
CI : https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/13548
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/imx/habv4/csf_examples/mx8m/csf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/imx/habv4/csf_examples/mx8m/csf.sh b/doc/imx/habv4/csf_examples/mx8m/csf.sh index 6898513be51..7d267a7218d 100644 --- a/doc/imx/habv4/csf_examples/mx8m/csf.sh +++ b/doc/imx/habv4/csf_examples/mx8m/csf.sh @@ -40,7 +40,7 @@ dd if=csf_spl.bin of=flash.bin bs=1 seek=${spl_dd_offset} conv=notrunc # fitImage tree fit_block_base=$(printf "0x%x" $(( $(sed -n "/CONFIG_SYS_TEXT_BASE=/ s@.*=@@p" .config) - $(sed -n "/CONFIG_FIT_EXTERNAL_OFFSET=/ s@.*=@@p" .config) - 0x200 - 0x40)) ) fit_block_offset=$(printf "0x%s" $(fdtget -t x u-boot.dtb /binman/imx-boot/uboot offset)) -fit_block_size=$(printf "0x%x" $(( ( $(fdtdump u-boot.itb 2>/dev/null | sed -n "/^...totalsize:/ s@.*\(0x[0-9a-f]\+\).*@\1@p") + 0x1000 - 0x1 ) & ~(0x1000 - 0x1) + 0x20 )) ) +fit_block_size=$(printf "0x%x" $(( ( ($(fdtdump u-boot.itb 2>/dev/null | sed -n "/^...totalsize:/ s@.*\(0x[0-9a-f]\+\).*@\1@p") + 0x1000 - 0x1 ) & ~(0x1000 - 0x1)) + 0x20 )) ) sed -i "/Blocks = / s@.*@ Blocks = $fit_block_base $fit_block_offset $fit_block_size \"flash.bin\", \\\\@" csf_fit.tmp # U-Boot |
