From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Vladimir Oltean <olteanv@gmail.com>
Cc: buildroot@buildroot.org, Ioana Ciornei <ciorneiioana@gmail.com>,
Brandon Maier <Brandon.Maier@collins.com>,
Vincent Jardin <vjardin@free.fr>, Julien Olivain <ju.o@free.fr>,
Romain Naour <romain.naour@smile.fr>,
Akhilesh Nema <nemaakhilesh@gmail.com>
Subject: Re: [Buildroot] [PATCH v2 16/18] package/qoriq-restool: new package
Date: Tue, 22 Apr 2025 23:36:49 +0200 [thread overview]
Message-ID: <20250422233649.5574293c@windsurf> (raw)
In-Reply-To: <20250328180427.3434693-17-olteanv@gmail.com>
Hello Vlad,
On Fri, 28 Mar 2025 20:04:24 +0200
Vladimir Oltean <olteanv@gmail.com> wrote:
> Introduce a package for the restool program, which permits the user to
> modify the network configuration of the DPAA2 subsystem and create one
> that is adequate to their use case.
>
> We integrate the master branch, which is the lf-6.12.3-1.0.0 tag plus
> commit 14a9058c772b ("manpage: it should be optional"). It was pointed
> out on previous patch submissions that the "make install" target also
> converts man pages from Markdown to groff using pandoc, and apart from
> the fact that Buildroot doesn't want manpages, pandoc is also too heavy
> to drag into the build system. So that feedback was considered valid and
> the patch is included here via upstream.
>
> Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
> Reviewed-by: Vincent Jardin <vjardin@free.fr>
> ---
> v1->v2: integrate a patch from Vincent
I wanted to apply this, but unfortunately, the C code fails badly to
compile on ARM 32-bit:
mc_v10/fsl_mc_cmd.h:56:42: error: right shift count >= width of type [-Werror=shift-count-overflow]
56 | (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h))))
| ^~
(lots of similar issues)
dpmac_commands.c: In function ‘print_dpmac_counters’:
dpmac_commands.c:330:31: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
330 | printf("%s: %lu\n", dpaa2_mac_counters[i].name, counter_value);
Seems like it's probably never been built for 32-bit targets. If you
only use it on ARM64, one option is "depends on BR2_aarch64".
Otherwise, those issues need to be addressed.
Minimal reproducer:
BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_VFP=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_QORIQ_RESTOOL=y
# BR2_TARGET_ROOTFS_TAR is not set
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2025-04-22 21:36 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-28 18:04 [Buildroot] [PATCH v2 00/18] Layerscape uprev to lf-6.12.3-1.0.0, initial LX2160A-RDB support Vladimir Oltean
2025-03-28 18:04 ` [Buildroot] [PATCH v2 01/18] configs/ls1046a-frwy: enable the fmc package and dependencies Vladimir Oltean
2025-04-12 14:21 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 02/18] configs/ls1046a-rdb: " Vladimir Oltean
2025-04-12 14:21 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 03/18] configs/ls1043a-rdb: " Vladimir Oltean
2025-04-12 14:22 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 04/18] package/qoriq-cadence-dp-firmware: sync with NXP Yocto download site Vladimir Oltean
2025-04-13 9:44 ` Julien Olivain
2025-04-14 9:11 ` Vladimir Oltean
2025-03-28 18:04 ` [Buildroot] [PATCH v2 05/18] configs/ls1028ardb: update to lf-6.12.3-1.0.0 tag Vladimir Oltean
2025-04-13 9:45 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 06/18] configs/ls1046a-frwy: bump BSP tag to lf-6.12.3-1.0.0 Vladimir Oltean
2025-04-13 9:46 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 07/18] configs/ls1046a-rdb: " Vladimir Oltean
2025-04-13 9:46 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 08/18] configs/ls1043a-rdb: " Vladimir Oltean
2025-04-13 9:47 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 09/18] package/qoriq-rcw: bump " Vladimir Oltean
2025-04-13 9:47 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 10/18] package/fmlib: uprev " Vladimir Oltean
2025-04-13 9:48 ` Julien Olivain
2025-04-14 9:13 ` Vladimir Oltean
2025-03-28 18:04 ` [Buildroot] [PATCH v2 11/18] package/fmc: uprev to lf-6.12 Vladimir Oltean
2025-04-13 9:48 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 12/18] package/qoriq-fm-ucode: uprev to lf-6.12.3-1.0.0 Vladimir Oltean
2025-04-13 9:49 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 13/18] package/qoriq-ddr-phy-binary: new package Vladimir Oltean
2025-04-13 14:04 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 14/18] package/qoriq-mc-binary: " Vladimir Oltean
2025-04-22 21:17 ` Thomas Petazzoni via buildroot
2025-03-28 18:04 ` [Buildroot] [PATCH v2 15/18] package/qoriq-mc-utils: " Vladimir Oltean
2025-04-22 21:31 ` Thomas Petazzoni via buildroot
2025-03-28 18:04 ` [Buildroot] [PATCH v2 16/18] package/qoriq-restool: " Vladimir Oltean
2025-04-22 21:36 ` Thomas Petazzoni via buildroot [this message]
2025-04-24 12:01 ` Vladimir Oltean
2025-03-28 18:04 ` [Buildroot] [PATCH v2 17/18] package/qoriq-firmware-inphi: " Vladimir Oltean
2025-04-22 21:39 ` Thomas Petazzoni via buildroot
2025-03-28 18:04 ` [Buildroot] [PATCH v2 18/18] board/lx2160ardb: new platform Vladimir Oltean
2025-03-29 2:09 ` Vincent Jardin
2025-03-31 10:39 ` Vladimir Oltean
2025-03-31 21:11 ` Vincent Jardin
2025-04-01 8:14 ` Vladimir Oltean
2025-04-02 21:38 ` Vincent Jardin
2025-04-22 21:48 ` Thomas Petazzoni via buildroot
2025-04-22 21:45 ` Thomas Petazzoni via buildroot
2025-05-17 17:35 ` Vladimir Oltean
2025-05-18 15:41 ` Vincent Jardin
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=20250422233649.5574293c@windsurf \
--to=buildroot@buildroot.org \
--cc=Brandon.Maier@collins.com \
--cc=ciorneiioana@gmail.com \
--cc=ju.o@free.fr \
--cc=nemaakhilesh@gmail.com \
--cc=olteanv@gmail.com \
--cc=romain.naour@smile.fr \
--cc=thomas.petazzoni@bootlin.com \
--cc=vjardin@free.fr \
/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