[PATCH] mkimage: Use PATH_MAX for path length

Simon Glass sjg at chromium.org
Tue Jun 20 12:27:17 CEST 2023


On Mon, 19 Jun 2023 at 17:25, <mingli.yu at eng.windriver.com> wrote:
>
> From: Mingli Yu <mingli.yu at windriver.com>
>
> Fixed when build xilinx_zynqmp in long directory ( >256):
>   |  /buildarea1/testtest/wr_build/wr1023test_secureboot/test1-what/test2-what/test3-what/test4-what/test5-what/test6-what/test7-what/test8-what/test9-what/test10-what/test11-what/test12-what/build/tmp-glibc/work/xilinx_zynqmp-wrs-linux/u-boot-xlnx/1_v2023.01-xilinx-v2023.1+gitAUTOINC+40a08d69e7-r0/build/fitImage-linux: Image file name (uboot-mkimage) too long, can't create tmpfile.
>   | Error: Bad parameters for FIT image type
>
> Signed-off-by: Mingli Yu <mingli.yu at windriver.com>
> ---
>  tools/mkimage.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list