From: Tom Rini <trini@konsulko.com>
To: "Jacky.Cao@sony.com" <Jacky.Cao@sony.com>
Cc: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>,
"u-boot@lists.denx.de" <u-boot@lists.denx.de>,
"nora.schiffer@ew.tq-group.com" <nora.schiffer@ew.tq-group.com>,
"Steffen.Doster@tq-group.com" <Steffen.Doster@tq-group.com>,
"alexander.feilke@ew.tq-group.com"
<alexander.feilke@ew.tq-group.com>,
"Max.Merchel@ew.tq-group.com" <Max.Merchel@ew.tq-group.com>
Subject: Re: [PATCH v1] env: Fix compile error for envtools
Date: Mon, 13 Jul 2026 19:53:24 -0600 [thread overview]
Message-ID: <20260714015324.GZ749385@bill-the-cat> (raw)
In-Reply-To: <KL1PR04MB6734F919E17C467C8B29DBD787F92@KL1PR04MB6734.apcprd04.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]
On Tue, Jul 14, 2026 at 01:35:42AM +0000, Jacky.Cao@sony.com wrote:
> >> 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
What host distribution are you building on? And, <config.h> *must* come
first in the include list, for it to function correctly.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-07-14 1:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-13 8:31 [PATCH v1] env: Fix compile error for envtools Jacky Cao
2026-07-13 10:31 ` Peng Fan (OSS)
2026-07-14 1:35 ` Jacky.Cao
2026-07-14 1:53 ` Tom Rini [this message]
2026-07-14 3:04 ` Jacky.Cao
2026-07-14 21:38 ` Tom Rini
2026-07-15 5:02 ` Jacky.Cao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260714015324.GZ749385@bill-the-cat \
--to=trini@konsulko.com \
--cc=Jacky.Cao@sony.com \
--cc=Max.Merchel@ew.tq-group.com \
--cc=Steffen.Doster@tq-group.com \
--cc=alexander.feilke@ew.tq-group.com \
--cc=nora.schiffer@ew.tq-group.com \
--cc=peng.fan@oss.nxp.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox