[PATCH v1] env: Fix compile error for envtools
Jacky.Cao at sony.com
Jacky.Cao at sony.com
Tue Jul 14 03:35:42 CEST 2026
>> Following error happens when build envtools for mx6qsabrelite.
>>
>> $ make tools envtools
>> UPD include/generated/timestamp_autogenerated.h
>> HOSTCC tools/printinitialenv
>> GENENV u-boot-initial-env
>> COPY tools/version.h
>> HOSTCC tools/env/crc32.o
>> HOSTCC tools/env/ctype.o
>> HOSTCC tools/env/env_attr.o
>> HOSTCC tools/env/env_flags.o
>> In file included from ./arch/arm/include/asm/mach-imx/regs-lcdif.h:16,
>> from ./arch/arm/include/asm/arch/imx-regs.h:371,
>> from include/configs/mx6_common.h:21,
>> from include/configs/nitrogen6x.h:13,
>> from include/config.h:3,
>> from include/env.h:12,
>> from tools/env/../../env/flags.c:7,
>> from tools/env/env_flags.c:1:
>> ./arch/arm/include/asm/mach-imx/regs-common.h:51:9: error:
>> unknown type name 'uint8_t'
>
>"#include <linux/types.h>" was already in
>arch/arm/include/asm/mach-imx/regs-common.h
>
>Are u using an old tree?
I use master branch of OSS u-boot repo and meet the issue with
below commands:
make mx6qsabrelite_defconfig
make -j8
make tools envtools
More information about the U-Boot
mailing list