Layerscape uprev to lf-6.6.52-2.2.0, initial LX2160A support
cover Layerscape uprev to lf-6.6.52-2.2.0, initial LX2160A support
Hello,
This is logically a continuation of "[PATCH v2 00/11] Initial support for SolidRun LX2160A-CEX7":
https://lore.kernel.org/buildroot/[email protected]/
where I was requested to split out the Layerscape BSP uprev and initial LX2160A support from the more problematic Solidrun board support. But as with any splitting of a larger series, the version counter resets here at one.
Overview of the set:
LX2160A needs:
- qoriq-ddr-phy-binary: LX2160A-specific package added by patch 04/15
- qoriq-mc-binary: DPAA2 (Layerscape sub-architecture) specific package added by patch 05/15
- qoriq-mc-utils: DPAA2-specific package added by patch 06/15
- qoriq-restool: DPAA2-specific package added by patch 07/15
- qoriq-rcw: Layerscape-specific package, updated to latest Linux Factory BSP by patch 01/15
Because I updated the common RCW package to the latest BSP tag, I couldn't leave the other Layerscape platforms (LS1028A, LS1043A, LS1046A) not completely updated as well. So in addition, we have:
LS1028A, which needs:
- qoriq-cadence-dp-firmware: BSP tag updated in patch 02/15 LS1043A/LS1046A, which need:
- fmlib: DPAA1 (Layerscape sub-architecture) specific package updated by patch 08/15 to the latest BSP
- fmc: DPAA1-specific package updated by patch 09/15 to the latest BSP
- qoriq-fm-ucode: DPAA1-specific package updated by patch 10/15 to the latest BSP
In addition to the last point. I noticed, while performing the fmc uprev, that no DPAA1 board defconfig defines it by default. To that end, I created patches 13-15/15 which enable it for LS1043A and LS1046A. Also, I noticed that the tclap package (a fmc dependency) has autotools-related compilation issues for me, which were solved by updating to the newest upstream revision. This no longer uses autotools at all, but CMake.
Change logs in individual patches, where applicable.
Disclaimer copied from original cover letter:
Although I also work at NXP, I am submitting this in a personal capacity, and for personal use.
Vladimir Oltean (15):
package/qoriq-rcw: update to tag lf-6.6.52-2.2.0 package/qoriq-cadence-dp-firmware: sync with NXP Yocto download site configs/ls1028ardb: update to lf-6.6.52-2.2.0 tag package/qoriq-ddr-phy-binary: new package package/qoriq-mc-binary: new package package/qoriq-mc-utils: new package package/qoriq-restool: new package
package/fmlib: bump to tag lf-6.6.52-2.2.0
package/fmc: bump to version lf-6.6.52-2.2.0 package/qoriq-fm-ucode: bump to tag lf-6.6.52-2.2.0 configs/ls1046a-frwy: update to tag lf-6.6.52-2.2.0 package/tclap: update to tag 1.4.0-rc2 configs/ls1046a-frwy: enable the fmc package and dependencies configs/ls1046a-rdb: enable the fmc package and dependencies configs/ls1043a-rdb: enable the fmc package and dependencies
DEVELOPERS | 6 +++ .../arm-trusted-firmware.hash | 2 +- .../ls1028ardb/patches/linux/linux.hash | 2 +- .../ls1028ardb/patches/uboot/uboot.hash | 2 +- board/freescale/ls1028ardb/readme.txt | 27 +++++++---- .../arm-trusted-firmware.hash | 2 +- .../ls1046a-frwy/patches/linux/linux.hash | 2 +- .../ls1046a-frwy/patches/uboot/uboot.hash | 2 +- board/freescale/ls1046a-frwy/readme.txt | 31 ++++++++---- configs/ls1028ardb_defconfig | 6 +-- configs/ls1043a-rdb_defconfig | 4 ++ configs/ls1046a-frwy_defconfig | 10 ++-- configs/ls1046a-rdb_defconfig | 4 ++ package/Config.in | 4 ++ package/fmc/fmc.hash | 4 +- package/fmc/fmc.mk | 4 +- package/fmlib/fmlib.hash | 4 +- package/fmlib/fmlib.mk | 4 +- .../qoriq-cadence-dp-firmware.hash | 2 +- .../qoriq-cadence-dp-firmware.mk | 10 ++-- package/qoriq-ddr-phy-binary/Config.in | 6 +++ .../qoriq-ddr-phy-binary.hash | 3 ++ .../qoriq-ddr-phy-binary.mk | 18 +++++++ package/qoriq-fm-ucode/qoriq-fm-ucode.hash | 2 +- package/qoriq-fm-ucode/qoriq-fm-ucode.mk | 2 +- package/qoriq-mc-binary/Config.in | 47 +++++++++++++++++++ package/qoriq-mc-binary/qoriq-mc-binary.hash | 3 ++ package/qoriq-mc-binary/qoriq-mc-binary.mk | 22 +++++++++ package/qoriq-mc-utils/Config.in | 37 +++++++++++++++ package/qoriq-mc-utils/qoriq-mc-utils.hash | 3 ++ package/qoriq-mc-utils/qoriq-mc-utils.mk | 22 +++++++++ package/qoriq-rcw/qoriq-rcw.hash | 2 +- package/qoriq-rcw/qoriq-rcw.mk | 2 +- package/qoriq-restool/Config.in | 22 +++++++++ package/qoriq-restool/qoriq-restool.hash | 3 ++ package/qoriq-restool/qoriq-restool.mk | 24 ++++++++++ package/tclap/tclap.hash | 2 +- package/tclap/tclap.mk | 5 +- 38 files changed, 305 insertions(+), 52 deletions(-) create mode 100644 package/qoriq-ddr-phy-binary/Config.in create mode 100644 package/qoriq-ddr-phy-binary/qoriq-ddr-phy-binary.hash create mode 100644 package/qoriq-ddr-phy-binary/qoriq-ddr-phy-binary.mk create mode 100644 package/qoriq-mc-binary/Config.in create mode 100644 package/qoriq-mc-binary/qoriq-mc-binary.hash create mode 100644 package/qoriq-mc-binary/qoriq-mc-binary.mk create mode 100644 package/qoriq-mc-utils/Config.in create mode 100644 package/qoriq-mc-utils/qoriq-mc-utils.hash create mode 100644 package/qoriq-mc-utils/qoriq-mc-utils.mk create mode 100644 package/qoriq-restool/Config.in create mode 100644 package/qoriq-restool/qoriq-restool.hash create mode 100644 package/qoriq-restool/qoriq-restool.mk
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/15 package/qoriq-rcw: update to tag lf-6.6.52-2.2.0
Change log:b77c789f6fd8 lx2160aqds: new SerDes protocol 19_9_235a7ba376245 lx2162aqds: remove SerDes equalization files for lanes A-D 0fe5b25266cd lx2160aqds_rev2: extend SD1 protocol 13 with 100G MAC 1 split into 4 x 25G ports 6b912edba08e lx2160aqds_rev2: add protocol 7_7_2 with SerDes2 lanes A and E converted to SGMII 729048acf6d1 lx2160asi: add SerDes 28G register description00f1030e9a0c lx2160a: fix SerDes lane documentationa8a91256d190 ls1028a: make all switch PCSes addressable on the MDIO bus 3fee38cec2ae ls1046a: offer SerDes1 protocol 0x3333 with PLL mapping 1111 c60e9195f148 layerscape: introduce macros for the SerDes 10G registers
---
Change log:
- Break out RCW changes out of larger "[PATCH v2 01/11] platform/layerscape: bump Linux Factory tag to lf-6.6.36-2.1.0" patch
- Bump to lf-6.6.52-2.2.0 instead of lf-6.6.36-2.1.0 (new tag appeared in between)
package/qoriq-rcw/qoriq-rcw.hash | 2 +- package/qoriq-rcw/qoriq-rcw.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/qoriq-rcw/qoriq-rcw.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 52dfb95a3d8e811609dd8a982a5c6f3ba88fac096ea8448a27b571b7c25e3a83 qoriq-rcw-lf-6.6.23-2.0.0.tar.gz +sha256 bfb992fcb396894874143257b53d14394ada48df0771f7edb55324fa932bbcdc qoriq-rcw-lf-6.6.52-2.2.0.tar.gz sha256 68f4b15ecc085729419bc60ca6eeadca5af0237bbfec791e8a79da9c943d42e9 LICENSE
package/qoriq-rcw/qoriq-rcw.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -QORIQ_RCW_VERSION = lf-6.6.23-2.0.0 +QORIQ_RCW_VERSION = lf-6.6.52-2.2.0 QORIQ_RCW_SITE = $(call github,nxp-qoriq,rcw,$(QORIQ_RCW_VERSION)) QORIQ_RCW_LICENSE = BSD-3-Clause QORIQ_RCW_LICENSE_FILES = LICENSE
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/15 package/qoriq-cadence-dp-firmware: sync with NXP Yocto download site
In reply to Vladimir OlteanThe updated download path was taken from the Yocto BSP at
https://github.com/nxp-qoriq/yocto-sdk.
The recipe is here:
https://github.com/Freescale/meta-freescale/blob/master/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb
---
Change log:
- Break out DP firmware changes out of larger "[PATCH v2 01/11] platform/layerscape: bump Linux Factory tag to lf-6.6.36-2.1.0" patch
.../qoriq-cadence-dp-firmware.hash | 2 +- .../qoriq-cadence-dp-firmware.mk | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-)
package/qoriq-cadence-dp-firmware/qoriq-cadence-dp-firmware.hash +1 -1
@@ -1,5 +1,5 @@ # Locally calculated -sha256 e267655a47fbe118f6960bca7994bd6b8986ef955344fe006a424be96f868602 firmware-cadence-lsdk2012.bin +sha256 65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84 firmware-imx-8.16.bin sha256 9c16421e7c702f56756650b8ac954d34556327e598a8666e6e8f4eb3a1aa95f1 COPYING sha256 72edc2072c86d93aa1993d15d4d19d96270af3749b0108995ad50c81d1461f52 EULA sha256 53e3eb0b2bd81c171fa04c17514e20b39b7bb1fe1224c593f7717f615fb9d52b EULA.txt
package/qoriq-cadence-dp-firmware/qoriq-cadence-dp-firmware.mk +5 -5
@@ -4,9 +4,9 @@ # ################################################################################ -QORIQ_CADENCE_DP_FIRMWARE_VERSION = lsdk2012 -QORIQ_CADENCE_DP_FIRMWARE_SITE = http://www.nxp.com/lgfiles/sdk/$(QORIQ_CADENCE_DP_FIRMWARE_VERSION) -QORIQ_CADENCE_DP_FIRMWARE_SOURCE = firmware-cadence-$(QORIQ_CADENCE_DP_FIRMWARE_VERSION).bin +QORIQ_CADENCE_DP_FIRMWARE_VERSION = 8.16 +QORIQ_CADENCE_DP_FIRMWARE_SITE = https://www.nxp.com/lgfiles/NMG/MAD/YOCTO +QORIQ_CADENCE_DP_FIRMWARE_SOURCE = firmware-imx-$(QORIQ_CADENCE_DP_FIRMWARE_VERSION).bin QORIQ_CADENCE_DP_FIRMWARE_LICENSE = NXP Semiconductor Software License Agreement QORIQ_CADENCE_DP_FIRMWARE_LICENSE_FILES = COPYING EULA EULA.txt QORIQ_CADENCE_DP_FIRMWARE_REDISTRIBUTE = NO
@@ -20,11 +20,11 @@ define QORIQ_CADENCE_DP_FIRMWARE_EXTRACT_CMDS endef define QORIQ_CADENCE_DP_FIRMWARE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(@D)/dp/ls1028a-dp-fw.bin $(TARGET_DIR)/boot/ls1028a-dp-fw.bin + $(INSTALL) -D -m 0644 $(@D)/firmware/hdmi/cadence/dp_ls1028a.bin $(TARGET_DIR)/boot/ls1028a-dp-fw.bin endef define QORIQ_CADENCE_DP_FIRMWARE_INSTALL_IMAGES_CMDS - $(INSTALL) -D -m 0644 $(@D)/dp/ls1028a-dp-fw.bin $(BINARIES_DIR)/ls1028a-dp-fw.bin + $(INSTALL) -D -m 0644 $(@D)/firmware/hdmi/cadence/dp_ls1028a.bin $(BINARIES_DIR)/ls1028a-dp-fw.bin endef $(eval $(generic-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 02/15] package/qoriq-cadence-dp-firmware: sync with NXP Yocto download site
Hi Vladimir,
Thanks for the patch.
Quoted 7 lines · Vladimir Oltean
The updated download path was taken from the Yocto BSP at
https://github.com/nxp-qoriq/yocto-sdk.The recipe is here:
https://github.com/Freescale/meta-freescale/blob/master/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bbSigned-off-by Vladimir Oltean <[email protected]>
[...]
Quoted 7 lines
package/qoriq-cadence-dp-firmware/qoriq-cadence-dp-firmware.hash +0
-1@@ -1,5 +1,5 @@ # Locally calculated -sha256
Quoted 5 lines
e267655a47fbe118f6960bca7994bd6b8986ef955344fe006a424be96f868602firmware-cadence-lsdk2012.bin +sha25665f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84firmware-imx-8.16.bin
sha2569c16421e7c702f56756650b8ac954d34556327e598a8666e6e8f4eb3a1aa95f1COPYING
With this patch, running command:
make qoriq-cadence-dp-firmware-legal-info
Fail with output:
Quoted 1 line
Quoted 1 line
Quoted 1 line
qoriq-cadence-dp-firmware 8.16 Collecting legal info
ERROR: while checking hashes from
package/qoriq-cadence-dp-firmware/qoriq-cadence-dp-firmware.hash
ERROR: COPYING has wrong sha256 hash:
ERROR: expected:9c16421e7c702f56756650b8ac954d34556327e598a8666e6e8f4eb3a1aa95f1
ERROR: got :4c89574f9a76e861919f80fef84bac30e4ba7fb8732b0fcda4b26d400239f517
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
Can you check and fix the legal info hashes, please?
Quoted 4 lines
sha256
72edc2072c86d93aa1993d15d4d19d96270af3749b0108995ad50c81d1461f52EULA
sha25653e3eb0b2bd81c171fa04c17514e20b39b7bb1fe1224c593f7717f615fb9d52bEULA.txt
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/15 configs/ls1028ardb: update to lf-6.6.52-2.2.0 tag
In reply to Vladimir OlteanUpdate the kernel, U-Boot, ATF tags, as well as documentation, used by the LS1028A-RDB to the latest Linux Factory release.
---
Change log:
- Break out LS1028A defconfig and board patch file changes out of larger "[PATCH v2 01/11] platform/layerscape: bump Linux Factory tag to lf-6.6.36-2.1.0" patch
- Bump to lf-6.6.52-2.2.0 instead of lf-6.6.36-2.1.0 (new tag appeared in between)
.../arm-trusted-firmware.hash | 2 +- .../ls1028ardb/patches/linux/linux.hash | 2 +- .../ls1028ardb/patches/uboot/uboot.hash | 2 +- board/freescale/ls1028ardb/readme.txt | 27 ++++++++++++------- configs/ls1028ardb_defconfig | 6 ++--- 5 files changed, 24 insertions(+), 15 deletions(-)
board/freescale/ls1028ardb/patches/arm-trusted-firmware/arm-trusted-firmware.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 4f4dc78bfb5b7391a65ae0f83856661071f666ac2bf6a9380fddbe376a8bdaaa atf-lf-6.6.23-2.0.0.tar.gz +sha256 f03dad74e5c3df8059554def03e9298b6fbd4ffdd3e940a18b7e84a60b12a37a atf-lf-6.6.52-2.2.0.tar.gz
board/freescale/ls1028ardb/patches/linux/linux.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 6d592722e004516309f8ce33e654f1322e4d1f0f33567acb86ca19229176fd9e linux-lf-6.6.23-2.0.0.tar.gz +sha256 5665b927616a7e27e69f3f8fface6dd693b01f35d42ae4f9a0f0a10be3621487 linux-lf-6.6.52-2.2.0.tar.gz
board/freescale/ls1028ardb/patches/uboot/uboot.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 a2bcd7a34d4908ffbadfea731d0f0fd20f19a31cff6ff6310980e7f6743ceb24 u-boot-lf-6.6.23-2.0.0.tar.gz +sha256 00fc7bd053de19d02c990b3aa214a27c6103f4306e756f3f6d4afb12314556e4 u-boot-lf-6.6.52-2.2.0.tar.gz
board/freescale/ls1028ardb/readme.txt +18 -9
@@ -4,19 +4,28 @@ NXP LS1028ARDB This file documents the Buildroot support for the LS1028A Reference Design Board. -for more details about the board and the QorIQ Layerscape SoC, see the following pages: +For more details about the board and the QorIQ Layerscape SoC, see the following pages: - https://www.nxp.com/design/qoriq-developer-resources/layerscape-ls1028a-reference-design-board:LS1028ARDB - https://www.nxp.com/LS1028A -for the software NXP LSDK (Layerscape Software Development Kit), see - - https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev21.08.pdf +Layerscape platforms are officially supported by NXP under the Layerscape +Debian Linux SDK (LDLSDK). This uses components from Linux Factory, currently +tag lf-6.6.36-2.1.0, one release behind the latest lf-6.6.52-2.2.0. +In Buildroot, the latest Linux Factory release tag is used. -the components from NXP are: - - rcw, lf-6.6.23-2.0.0 - - atf (fork), lf-6.6.23-2.0.0 - - uboot (fork), lf-6.6.23-2.0.0 - - cadence-dp-firmware (blob), LSDK 20.12 - - linux (fork), lf-6.6.23-2.0.0 +For the software Layerscape Debian Linux SDK User Guide, see: + - https://docs.nxp.com/bundle/UG10143/page/topics/about_this_document.html + - https://www.nxp.com/docs/en/user-guide/UG10143.pdf + +Note: the latest Linux Factory release may contain features which are not yet +documented in the LDLSDKUG. + +The components from NXP are: + - rcw, lf-6.6.52-2.2.0 + - atf (fork), lf-6.6.52-2.2.0 + - uboot (fork), lf-6.6.52-2.2.0 + - cadence-dp-firmware (blob), lf-6.6.52-2.2.0 + - linux (fork), lf-6.6.52-2.2.0 Build =====
configs/ls1028ardb_defconfig +3 -3
@@ -12,7 +12,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/freescale/ls1028ardb/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,linux,lf-6.6.23-2.0.0)/linux-lf-6.6.23-2.0.0.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,linux,lf-6.6.52-2.2.0)/linux-lf-6.6.52-2.2.0.tar.gz" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/lsdk.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y
@@ -25,7 +25,7 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="128M" # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,atf,lf-6.6.23-2.0.0)/atf-lf-6.6.23-2.0.0.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,atf,lf-6.6.52-2.2.0)/atf-lf-6.6.52-2.2.0.tar.gz" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="ls1028ardb" BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y
@@ -35,7 +35,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="fip.bin bl2_sd.pbl" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,u-boot,lf-6.6.23-2.0.0)/u-boot-lf-6.6.23-2.0.0.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,u-boot,lf-6.6.52-2.2.0)/u-boot-lf-6.6.52-2.2.0.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="ls1028ardb_tfa" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/15 package/qoriq-ddr-phy-binary: new package
In reply to Vladimir OlteanThe DDR PHY on the NXP LX2160A SoC needs firmware. This is distributed as prebuilt binaries by NXP through GitHub.
---
Change log:
None.
DEVELOPERS | 3 +++ package/Config.in | 1 + package/qoriq-ddr-phy-binary/Config.in | 6 ++++++ .../qoriq-ddr-phy-binary.hash | 3 +++ .../qoriq-ddr-phy-binary.mk | 18 ++++++++++++++++++ 5 files changed, 31 insertions(+) create mode 100644 package/qoriq-ddr-phy-binary/Config.in create mode 100644 package/qoriq-ddr-phy-binary/qoriq-ddr-phy-binary.hash create mode 100644 package/qoriq-ddr-phy-binary/qoriq-ddr-phy-binary.mk
DEVELOPERS +3 -0
@@ -3356,6 +3356,9 @@ N: Vivien Didelot <[email protected]> F: board/technologic/ts5500/ F: configs/ts5500_defconfig +N: Vladimir Oltean <[email protected]> +F: package/qoriq-ddr-phy-binary/ + N: Volkov Viacheslav <[email protected]> F: package/v4l2grab/ F: package/zbar/
package/Config.in +1 -0
@@ -448,6 +448,7 @@ menu "Firmware" source "package/odroidc2-firmware/Config.in" source "package/panel-mipi-dbi-firmware/Config.in" source "package/qcom-db410c-firmware/Config.in" + source "package/qoriq-ddr-phy-binary/Config.in" source "package/qoriq-fm-ucode/Config.in" source "package/rcw-smarc-sal28/Config.in" source "package/rpi-firmware/Config.in"
package/qoriq-ddr-phy-binary/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_QORIQ_DDR_PHY_BINARY + bool "qoriq-ddr-phy-binary" + help + Firmware binary for DDR PHY of NXP LX2160A family of SoCs. + + https://github.com/nxp-qoriq/ddr-phy-binary
package/qoriq-ddr-phy-binary/qoriq-ddr-phy-binary.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated +sha256 b49cb34f941f7e534ec31d3d14d18d4e565e4875b690ecb0d7e2992b72c64dc7 qoriq-ddr-phy-binary-lf-6.6.36-2.1.0.tar.gz +sha256 7a223031d76339df0e4e5a94d193a270fb9963d42b577aa42fe130a4657f3e17 NXP-Binary-EULA.txt
package/qoriq-ddr-phy-binary/qoriq-ddr-phy-binary.mk new file +18 -0
@@ -0,0 +1,18 @@ +################################################################################ +# +# qoriq-ddr-phy-binary +# +################################################################################ + +QORIQ_DDR_PHY_BINARY_VERSION = lf-6.6.36-2.1.0 +QORIQ_DDR_PHY_BINARY_SITE = $(call github,nxp-qoriq,ddr-phy-binary,$(QORIQ_DDR_PHY_BINARY_VERSION)) +QORIQ_DDR_PHY_BINARY_LICENSE = NXP Binary EULA +QORIQ_DDR_PHY_BINARY_LICENSE_FILES = NXP-Binary-EULA.txt +QORIQ_DDR_PHY_BINARY_INSTALL_IMAGES = YES +QORIQ_DDR_PHY_BINARY_INSTALL_TARGET = NO + +define QORIQ_DDR_PHY_BINARY_INSTALL_IMAGES_CMDS + $(INSTALL) -D $(@D)/lx2160a/fip_ddr.bin $(BINARIES_DIR)/fip_ddr.bin +endef + +$(eval $(generic-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 04/15] package/qoriq-ddr-phy-binary: new package
Hi Vladimir,
Quoted 6 lines · Vladimir Oltean
The DDR PHY on the NXP LX2160A SoC needs firmware. This is distributed as prebuilt binaries by NXP through GitHub.
Signed-off-by Vladimir Oltean <[email protected]>Reviewed-by Romain Naour <[email protected]>Reviewed-by Vincent Jardin <[email protected]>
[...]
Quoted 11 lines
package/qoriq-ddr-phy-binary/qoriq-ddr-phy-binary.hash new file +2
-0@@ -0,0 +1,3 @@ +# Locally calculated +sha256
b49cb34f941f7e534ec31d3d14d18d4e565e4875b690ecb0d7e2992b72c64dc7qoriq-ddr-phy-binary-lf-6.6.36-2.1.0.tar.gz +sha2567a223031d76339df0e4e5a94d193a270fb9963d42b577aa42fe130a4657f3e17NXP-Binary-EULA.txt
With this patch, running the command:
make qoriq-ddr-phy-binary-legal-info
Fails with output:
Quoted 1 line
Quoted 1 line
Quoted 1 line
qoriq-ddr-phy-binary lf-6.6.36-2.1.0 Collecting legal info
ERROR: while checking hashes from
package/qoriq-ddr-phy-binary/qoriq-ddr-phy-binary.hash
ERROR: NXP-Binary-EULA.txt has wrong sha256 hash:
ERROR: expected:7a223031d76339df0e4e5a94d193a270fb9963d42b577aa42fe130a4657f3e17
ERROR: got :e7e5f4949f7ac9f9a5d4d68b8f835f3ddc93ad47b594a11de699d90b9175413f
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
Can you check and fix the legal info hashes, please?
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 04/15] package/qoriq-ddr-phy-binary: new package
Hi Julien,
Quoted 16 lines · Julien Olivain
With this patch, running the command:
make qoriq-ddr-phy-binary-legal-info
Fails with output:
Quoted 1 line
Quoted 1 line
Quoted 1 line
qoriq-ddr-phy-binary lf-6.6.36-2.1.0 Collecting legal info
ERROR: while checking hashes from
package/qoriq-ddr-phy-binary/qoriq-ddr-phy-binary.hash
ERROR: NXP-Binary-EULA.txt has wrong sha256 hash:
ERROR: expected:7a223031d76339df0e4e5a94d193a270fb9963d42b577aa42fe130a4657f3e17
ERROR: got :e7e5f4949f7ac9f9a5d4d68b8f835f3ddc93ad47b594a11de699d90b9175413f
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
Quoted 5 lines
Can you check and fix the legal info hashes, please?
Best regards,
Julien.
I've fixed this, thank you for pointing it out.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/15 package/qoriq-mc-binary: new package
In reply to Vladimir OlteanAdd a package which deploys the NXP MC (Management Complex) firmware to the target. This is necessary for NXP DPAA2 SoCs (LS1088A, LS2080A, LS2088A, LX2160A).
---
Change log:
- Shorten help text a little bit
- s/BR2_PACKAGE_QORIQ_MC_TARGET_*/BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_*/
- s/BR2_QORIQ_MC_PLATFORM/BR2_QORIQ_MC_BINARY_PLATFORM/
- s/BR2_QORIQ_MC_DIR/BR2_QORIQ_MC_BINARY_SUBDIR/
- s/MC_PLATFORM/QORIQ_MC_BINARY_PLATFORM/
- s/MC_DIR/QORIQ_MC_BINARY_SUBDIR/
- s/MC_BIN/QORIQ_MC_BINARY_BIN/
DEVELOPERS | 1 + package/Config.in | 1 + package/qoriq-mc-binary/Config.in | 47 ++++++++++++++++++++ package/qoriq-mc-binary/qoriq-mc-binary.hash | 3 ++ package/qoriq-mc-binary/qoriq-mc-binary.mk | 22 +++++++++ 5 files changed, 74 insertions(+) create mode 100644 package/qoriq-mc-binary/Config.in create mode 100644 package/qoriq-mc-binary/qoriq-mc-binary.hash create mode 100644 package/qoriq-mc-binary/qoriq-mc-binary.mk
DEVELOPERS +1 -0
@@ -3358,6 +3358,7 @@ F: configs/ts5500_defconfig N: Vladimir Oltean <[email protected]> F: package/qoriq-ddr-phy-binary/ +F: package/qoriq-mc-binary/ N: Volkov Viacheslav <[email protected]> F: package/v4l2grab/
package/Config.in +1 -0
@@ -450,6 +450,7 @@ menu "Firmware" source "package/qcom-db410c-firmware/Config.in" source "package/qoriq-ddr-phy-binary/Config.in" source "package/qoriq-fm-ucode/Config.in" + source "package/qoriq-mc-binary/Config.in" source "package/rcw-smarc-sal28/Config.in" source "package/rpi-firmware/Config.in" source "package/sunxi-boards/Config.in"
package/qoriq-mc-binary/Config.in new file +47 -0
47 lines not on this page · raw message
package/qoriq-mc-binary/qoriq-mc-binary.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated +sha256 912ad8effd5c7b08eb277719b1e021b8b1fe4022dc3d961b419562e1d2d7a860 qoriq-mc-binary-10.39.0.tar.gz +sha256 7a223031d76339df0e4e5a94d193a270fb9963d42b577aa42fe130a4657f3e17 LICENSE
package/qoriq-mc-binary/qoriq-mc-binary.mk new file +22 -0
@@ -0,0 +1,22 @@ +################################################################################ +# +# qoriq-mc-binary +# +################################################################################ + +QORIQ_MC_BINARY_VERSION = 10.39.0 +QORIQ_MC_BINARY_SITE = $(call github,nxp-qoriq,qoriq-mc-binary,mc_release_$(QORIQ_MC_BINARY_VERSION)) +QORIQ_MC_BINARY_LICENSE = NXP Binary EULA +QORIQ_MC_BINARY_LICENSE_FILES = LICENSE +QORIQ_MC_BINARY_INSTALL_IMAGES = YES +QORIQ_MC_BINARY_INSTALL_TARGET = NO + +QORIQ_MC_BINARY_PLATFORM = $(call qstrip,$(BR2_QORIQ_MC_BINARY_PLATFORM)) +QORIQ_MC_BINARY_SUBDIR = $(call qstrip,$(BR2_QORIQ_MC_BINARY_SUBDIR)) +QORIQ_MC_BINARY_BIN = mc_$(QORIQ_MC_BINARY_PLATFORM)_$(QORIQ_MC_BINARY_VERSION).itb + +define QORIQ_MC_BINARY_INSTALL_IMAGES_CMDS + $(INSTALL) -D $(@D)/$(QORIQ_MC_BINARY_SUBDIR)/$(QORIQ_MC_BINARY_BIN) $(BINARIES_DIR)/mc.itb +endef + +$(eval $(generic-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 05/15] package/qoriq-mc-binary: new package
Hi Vladimir,
Quoted 5 lines · Vladimir Oltean
Add a package which deploys the NXP MC (Management Complex) firmware to the target. This is necessary for NXP DPAA2 SoCs (LS1088A, LS2080A, LS2088A, LX2160A).
Signed-off-by Vladimir Oltean <[email protected]>
See inline
package/qoriq-mc-binary/qoriq-mc-binary.mk line 7
Quoted 6 lines
---
Change log:
- Shorten help text a little bit
- s/BR2_PACKAGE_QORIQ_MC_TARGET_*/BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_*/package/qoriq-mc-binary/qoriq-mc-binary.mk new file +2
-0+ +QORIQ_MC_BINARY_VERSION = 10.39.0
The latest version is 10.39.103, let's use it.
Quoted 1 line
+QORIQ_MC_BINARY_SITE = $(call github,nxp-qoriq,qoriq-mc-binary,mc_release_$(QORIQ_MC_BINARY_VERSION))
best regards,
Vincent
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 05/15] package/qoriq-mc-binary: new package
Hi Vincent, Vladimir, All,
Quoted 11 lines · Vincent Jardin
Hi Vladimir,
Quoted 5 lines · Vladimir Oltean
Add a package which deploys the NXP MC (Management Complex) firmware to the target. This is necessary for NXP DPAA2 SoCs (LS1088A, LS2080A, LS2088A, LX2160A).
Signed-off-by Vladimir Oltean <[email protected]>See inline
Quoted 9 lines
package/qoriq-mc-binary/qoriq-mc-binary.mk line 7
Quoted 7 lines
---
Change log:
- Shorten help text a little bit
- s/BR2_PACKAGE_QORIQ_MC_TARGET_*/BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_*/package/qoriq-mc-binary/qoriq-mc-binary.mk new file +2
-0+ +QORIQ_MC_BINARY_VERSION = 10.39.0The latest version is 10.39.103, let's use it.
I do see a tag "mc_release_10.39.103" here:
https://github.com/nxp-qoriq/qoriq-mc-binary/tree/mc_release_10.39.103/lx216xa
but it contains only the "lx216xa" directory and firmware.
If such a version is used, the Config.in help text should be updated accordingly, to say that only LX216x is supported.
Also, looking the tag lists:
https://github.com/nxp-qoriq/qoriq-mc-binary/tags
I also see a "mc_release_10.39.200" tag, so from here it is hard to tell which one is the "latest".
So, it would be nice to add a comment here describing how to select the version. For example, following the nxp-qoriq yocto bsp:
https://github.com/nxp-qoriq/meta-qoriq/tree/rel_ls_6.6.52_2.2.0/meta-qoriq-bsp/recipes-dpaa2/management-complex
Or even upstream? In:
https://git.yoctoproject.org/meta-freescale/tree/recipes-dpaa2/management-complex/
since the recipe seems to have been removed in later version in:
https://github.com/nxp-qoriq/meta-qoriq/commit/f65a8aa1c1eccbdfe3a563cd1d94ed59ff421056
Anyways, if we follow the Yocto version, it is indeed "10.39.0".
Vladimir: could you add a comment describing how to find the "best" version? And also, describe to what other components version it should be aligned.
To keep track of that, the way we're trying to do it on i.MX components, is to add the tag name of the nxp bsp it's coming from, in the commit log.
For example:
"""
qoriq-mc-binary version 10.39.0 is aligned with nxp-qoriq yocto bsp lf-6.6.36-2.1.0.
"""
This helps further debug, when some components are misaligned.
Quoted 5 lines
Quoted 2 lines
+QORIQ_MC_BINARY_SITE = $(call github,nxp-qoriq,qoriq-mc-binary,mc_release_$(QORIQ_MC_BINARY_VERSION))
best regards,
Vincent
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
A message that is not in the archive (sent off-list or not yet received): pcbstijcbzmyxl5ttv3cths4ysykfqe33o77q5v6vf75bo6tfs@kwpgkgpgxlrh
Re: [Buildroot] [PATCH 05/15] package/qoriq-mc-binary: new package
Sorry for sending this a second time to those in to/cc, I was not subscribed to the buildroot mailing list so the first email was rejected.
Quoted 24 lines · Julien Olivain
Hi Vincent, Vladimir, All,
Quoted 11 lines · Vincent Jardin
Hi Vladimir,
Quoted 5 lines · Vladimir Oltean
Add a package which deploys the NXP MC (Management Complex) firmware to the target. This is necessary for NXP DPAA2 SoCs (LS1088A, LS2080A, LS2088A, LX2160A).
Signed-off-by Vladimir Oltean <[email protected]>See inline
Quoted 9 lines
package/qoriq-mc-binary/qoriq-mc-binary.mk line 7
Quoted 7 lines
---
Change log:
- Shorten help text a little bit
- s/BR2_PACKAGE_QORIQ_MC_TARGET_*/BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_*/package/qoriq-mc-binary/qoriq-mc-binary.mk new file +2
-0+ +QORIQ_MC_BINARY_VERSION = 10.39.0The latest version is 10.39.103, let's use it.
Quoted 4 lines
I do see a tag "mc_release_10.39.103" here:
https://github.com/nxp-qoriq/qoriq-mc-binary/tree/mc_release_10.39.103/lx216xa
but it contains only the "lx216xa" directory and firmware.
The MC 10.39.103 is an engineering release only for the LX216x SoC. We sometimes issue such releases to prototype certain bug fixes or features with select customers before the code reaches into main release tags. Additionally we are skipping regular processes for testing on all platforms and documentation.
The "engineering release" status is mentioned in the commit message adding the binaries.
Quoted 6 lines
If such a version is used, the Config.in help text should be updated accordingly, to say that only LX216x is supported.
Also, looking the tag lists:
https://github.com/nxp-qoriq/qoriq-mc-binary/tags
Quoted 6 lines
I also see a "mc_release_10.39.200" tag, so from here it is hard to tell which one is the "latest".
So, it would be nice to add a comment here describing how to select the version. For example, following the nxp-qoriq yocto bsp:
https://github.com/nxp-qoriq/meta-qoriq/tree/rel_ls_6.6.52_2.2.0/meta-qoriq-bsp/recipes-dpaa2/management-complex
The latest official version of the MC firmware is always located on the "master" branch of the qoriq-mc-binary github tree, any other "eng releases" are tagged and pushed directly without being part of a branch and marked as such.
Quoted 7 lines
Or even upstream? In:
https://git.yoctoproject.org/meta-freescale/tree/recipes-dpaa2/management-complex/
since the recipe seems to have been removed in later version in:
https://github.com/nxp-qoriq/meta-qoriq/commit/f65a8aa1c1eccbdfe3a563cd1d94ed59ff421056Anyways, if we follow the Yocto version, it is indeed "10.39.0".
Yes, MC 10.39.0 is the latest official release. I would advise to use this one.
Ioana
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 05/15] package/qoriq-mc-binary: new package
In reply to Julien OlivainHi Julien,
Quoted 4 lines · Julien Olivain
Vladimir: could you add a comment describing how to find the "best" version? And also, describe to what other components version it should be aligned.
Quoted 9 lines
To keep track of that, the way we're trying to do it on i.MX components, is to add the tag name of the nxp bsp it's coming from, in the commit log.
For example:
"""
qoriq-mc-binary version 10.39.0 is aligned with nxp-qoriq yocto bsp lf-6.6.36-2.1.0.
"""
This helps further debug, when some components are misaligned.
So, if I understand you correctly, a sentence in the commit message is sufficient?
"The API exposed by the MC firmware respects backwards compatibility principles, which means that the latest firmware version can always be (and should always be) used on a platform, irrespective of the Linux, U-Boot, RCW and restool versions, even though the latest features might not be used by older API consumers.
In terms of forwards compatibility, old MC firmware versions can be used as long as the qoriq-restool package is built with a MC_VERSION_COMPATIBLE variable (located in its Makefile, signifying "minimum compatible version") older than, or equal to it.
If the use of qoriq-restool is not desired (networking objects are statically created by the DPL), old MC firmware versions are supported by U-Boot and the Linux kernel with a limited feature set. Thus, it is still possible to an extent to use firmware versions older than MC_VERSION_COMPATIBLE.
According to the upstream maintainer, the latest MC firmware version is identified by the fact that it is always located at the HEAD of the "master" branch:
https://lore.kernel.org/buildroot/[email protected]/T/#m62c3ec04ba546ac9b0a194d13bc35fedeaa9deb0
Currently, the latest MC firmware version is 10.39.0. This version should be in sync with the qoriq-mc-utils package.
At this stage, the latest lf-6.6.52-2.2.0 NXP BSP has qoriq-restool with an MC_VERSION_COMPATIBLE='10.32.0', which means that it supports this MC firmware version.
https://github.com/nxp-qoriq/restool/blob/lf-6.6.52-2.2.0/Makefile#L23"
Should I resend with the above paragraphs appended to the commit message in this way?
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 05/15] package/qoriq-mc-binary: new package
Hi Vladimir,
Quoted 44 lines · Vladimir Oltean
Hi Julien,
Quoted 4 lines · Julien Olivain
Vladimir: could you add a comment describing how to find the "best" version? And also, describe to what other components version it should be aligned.
Quoted 9 lines
To keep track of that, the way we're trying to do it on i.MX components, is to add the tag name of the nxp bsp it's coming from, in the commit log.
For example:
"""
qoriq-mc-binary version 10.39.0 is aligned with nxp-qoriq yocto bsp lf-6.6.36-2.1.0.
"""
This helps further debug, when some components are misaligned.So, if I understand you correctly, a sentence in the commit message is sufficient?
"The API exposed by the MC firmware respects backwards compatibility principles, which means that the latest firmware version can always be (and should always be) used on a platform, irrespective of the Linux, U-Boot, RCW and restool versions, even though the latest features might not be used by older API consumers.
In terms of forwards compatibility, old MC firmware versions can be used as long as the qoriq-restool package is built with a
MC_VERSION_COMPATIBLEvariable (located in itsMakefile, signifying "minimum compatible version") older than, or equal to it.If the use of qoriq-restool is not desired (networking objects are statically created by the DPL), old MC firmware versions are supported by U-Boot and the Linux kernel with a limited feature set. Thus, it is still possible to an extent to use firmware versions older than
MC_VERSION_COMPATIBLE.According to the upstream maintainer, the latest MC firmware version is identified by the fact that it is always located at the HEAD of the "master" branch:
https://lore.kernel.org/buildroot/[email protected]/T/#m62c3ec04ba546ac9b0a194d13bc35fedeaa9deb0
Currently, the latest MC firmware version is 10.39.0. This version should be in sync with the qoriq-mc-utils package.
Quoted 7 lines
At this stage, the latest lf-6.6.52-2.2.0 NXP BSP has qoriq-restool with an MC_VERSION_COMPATIBLE='10.32.0', which means that it supports this MC firmware version.
https://github.com/nxp-qoriq/restool/blob/lf-6.6.52-2.2.0/Makefile#L23"Should I resend with the above paragraphs appended to the commit message in this way?
Yes, please.
Having such a description in the commit log would be great!
If you plan to send an updated series, please consider rebasing on the branch -next instead:
https://gitlab.com/buildroot.org/buildroot/-/commits/next
I applied today few qoriq component updates from Akhilesh Nema. Some of those patches seems identical to some included in this series.
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 05/15] package/qoriq-mc-binary: new package
In reply to Vladimir OlteanHi Vladimir, All,
Quoted 5 lines · Vladimir Oltean
Add a package which deploys the NXP MC (Management Complex) firmware to the target. This is necessary for NXP DPAA2 SoCs (LS1088A, LS2080A, LS2088A, LX2160A).
Signed-off-by Vladimir Oltean <[email protected]>
[...]
Quoted 7 lines
package/qoriq-mc-binary/Config.in new file +1
-0@@ -0,0 +1,47 @@ +config BR2_PACKAGE_QORIQ_MC_BINARY
package/qoriq-mc-binary/Config.in line 11
Quoted 10 lines
package/qoriq-mc-binary/Config.in new file +10
-0+ bool "qoriq-mc-binary" + help + The Management Complex (MC) is a key component of the + networking subsystem named DPAA2 (Data Path Acceleration + Architecture, second version) in some NXP Layerscape SoCs. + + The MC coprocessor runs a closed-source, NXP-supplied + firmware image that simplifies and abstracts the allocation + and configuration of the networking hardware primitives into + DPAA2 "objects".
The DPAA2 Management Complex firmwares are also provided in the linux-firmware repository. See:
https://web.git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/dpaa2/mc?h=20250311
Note that: 1. the MC firmwares in the linux-firmware are older compare to the version you are introducing here and 2. the dpaa2/mc firmwares are currently not supported by the Buildroot linux-firmware recipe.
Could you add a comment in the commit log describing why we are not adding the dpaa2/mc support in the linux-firmware package, please? For example, is this package/version recommended to be used with the nxp-qoriq/linux kernel tree?
Finally, do you think there is a value to add such a dpaa2/mc firmwares support in the linux-firmware package? For example, to be used with the upstream kernel tree?
package/qoriq-mc-binary/Config.in line 14
Quoted 3 lines
package/qoriq-mc-binary/Config.in new file +3
-0+ + https://github.com/nxp-qoriq/qoriq-mc-binary +
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 6/15 package/qoriq-mc-utils: new package
In reply to Vladimir OlteanThe configuration files for the MC firmware binary are distributed through a separate repository on GitHub, and need a different package. They are licensed differently than the firmware itself, and unlike the firmware, they are customizable.
---
Change log:
Reindent help text.
DEVELOPERS | 1 + package/Config.in | 1 + package/qoriq-mc-utils/Config.in | 37 ++++++++++++++++++++++ package/qoriq-mc-utils/qoriq-mc-utils.hash | 3 ++ package/qoriq-mc-utils/qoriq-mc-utils.mk | 22 +++++++++++++ 5 files changed, 64 insertions(+) create mode 100644 package/qoriq-mc-utils/Config.in create mode 100644 package/qoriq-mc-utils/qoriq-mc-utils.hash create mode 100644 package/qoriq-mc-utils/qoriq-mc-utils.mk
DEVELOPERS +1 -0
@@ -3359,6 +3359,7 @@ F: configs/ts5500_defconfig N: Vladimir Oltean <[email protected]> F: package/qoriq-ddr-phy-binary/ F: package/qoriq-mc-binary/ +F: package/qoriq-mc-utils/ N: Volkov Viacheslav <[email protected]> F: package/v4l2grab/
package/Config.in +1 -0
@@ -451,6 +451,7 @@ menu "Firmware" source "package/qoriq-ddr-phy-binary/Config.in" source "package/qoriq-fm-ucode/Config.in" source "package/qoriq-mc-binary/Config.in" + source "package/qoriq-mc-utils/Config.in" source "package/rcw-smarc-sal28/Config.in" source "package/rpi-firmware/Config.in" source "package/sunxi-boards/Config.in"
package/qoriq-mc-utils/Config.in new file +37 -0
@@ -0,0 +1,37 @@ +config BR2_PACKAGE_QORIQ_MC_UTILS + bool "qoriq-mc-utils" + help + The Management Complex (MC) is a key component of the + networking subsystem named DPAA2 (Data Path Acceleration + Architecture, second version) in some NXP Layerscape SoCs. + + The MC firmware is configured through two distinct files + named DPL and DPC, which are customizable by the end user. + Example configuration files for NXP reference boards are + distributed through this package, and are frequently patched + to produce the configuration required in other scenarios. + + https://github.com/nxp-qoriq/mc-utils + # sign in required + https://www.nxp.com/webapp/Download?colCode=DPAA2UM + +if BR2_PACKAGE_QORIQ_MC_UTILS + +config BR2_PACKAGE_QORIQ_MC_UTILS_DPC + string "Data Path Configuration (DPC) file" + help + The DPC file contains the settings defining the behavior + of the MC firmware. Its source code follows the device + tree syntax and is compiled to a device tree blob, which + is the file that must be specified here. + +config BR2_PACKAGE_QORIQ_MC_UTILS_DPL + string "Data Path Layout (DPL) file" + help + The DPL file contains a description of the initial + networking objects created by the MC firmware when it boots. + Its source code follows the device tree syntax and is + compiled to a device tree blob, which is the file that + must be specified here. + +endif
package/qoriq-mc-utils/qoriq-mc-utils.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated +sha256 1d3f4a6b2661cff9cfb5d4fcba3b181eb6febdd88a127fa069e306f51d778fc5 qoriq-mc-utils-10.39.0.tar.gz +sha256 7a223031d76339df0e4e5a94d193a270fb9963d42b577aa42fe130a4657f3e17 LICENSE
package/qoriq-mc-utils/qoriq-mc-utils.mk new file +22 -0
@@ -0,0 +1,22 @@ +################################################################################ +# +# qoriq-mc-utils +# +################################################################################ + +QORIQ_MC_UTILS_VERSION = 10.39.0 +QORIQ_MC_UTILS_SITE = $(call github,nxp-qoriq,mc-utils,mc_release_$(QORIQ_MC_UTILS_VERSION)) +QORIQ_MC_UTILS_LICENSE = BSD-3-Clause +QORIQ_MC_UTILS_INSTALL_IMAGES = YES +QORIQ_MC_UTILS_INSTALL_TARGET = NO + +define QORIQ_MC_UTILS_BUILD_CMDS + $(MAKE) -C $(@D)/config/ +endef + +define QORIQ_MC_UTILS_INSTALL_IMAGES_CMDS + $(INSTALL) -D $(@D)/config/$(call qstrip,$(BR2_PACKAGE_QORIQ_MC_UTILS_DPC)) $(BINARIES_DIR)/dpc.dtb + $(INSTALL) -D $(@D)/config/$(call qstrip,$(BR2_PACKAGE_QORIQ_MC_UTILS_DPL)) $(BINARIES_DIR)/dpl.dtb +endef + +$(eval $(generic-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 06/15] package/qoriq-mc-utils: new package
Quoted 6 lines · Vladimir Oltean
The configuration files for the MC firmware binary are distributed through a separate repository on GitHub, and need a different package. They are licensed differently than the firmware itself, and unlike the firmware, they are customizable.
Signed-off-by Vladimir Oltean <[email protected]>
LGTM
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 06/15] package/qoriq-mc-utils: new package
In reply to Vladimir OlteanHi Vladimir,
Quoted 6 lines · Vladimir Oltean
The configuration files for the MC firmware binary are distributed through a separate repository on GitHub, and need a different package. They are licensed differently than the firmware itself, and unlike the firmware, they are customizable.
Signed-off-by Vladimir Oltean <[email protected]>
[...]
Quoted 22 lines
package/qoriq-mc-utils/Config.in new file +16
-0@@ -0,0 +1,37 @@ +config BR2_PACKAGE_QORIQ_MC_UTILS + bool "qoriq-mc-utils" + help + The Management Complex (MC) is a key component of the + networking subsystem named DPAA2 (Data Path Acceleration + Architecture, second version) in some NXP Layerscape SoCs. + + The MC firmware is configured through two distinct files + named DPL and DPC, which are customizable by the end user. + Example configuration files for NXP reference boards are + distributed through this package, and are frequently patched + to produce the configuration required in other scenarios. + + https://github.com/nxp-qoriq/mc-utils + # sign in required + https://www.nxp.com/webapp/Download?colCode=DPAA2UM
package/qoriq-mc-utils/Config.in line 26
Quoted 10 lines
package/qoriq-mc-utils/Config.in new file +10
-0+ +if BR2_PACKAGE_QORIQ_MC_UTILS + +config BR2_PACKAGE_QORIQ_MC_UTILS_DPC + string "Data Path Configuration (DPC) file" + help + The DPC file contains the settings defining the behavior + of the MC firmware. Its source code follows the device + tree syntax and is compiled to a device tree blob, which + is the file that must be specified here.
If the DPC file is mandatory, could you add a note about that here? (and possibly give an example?)
package/qoriq-mc-utils/Config.in line 35
Quoted 9 lines
package/qoriq-mc-utils/Config.in new file +9
-0+ +config BR2_PACKAGE_QORIQ_MC_UTILS_DPL + string "Data Path Layout (DPL) file" + help + The DPL file contains a description of the initial + networking objects created by the MC firmware when it boots. + Its source code follows the device tree syntax and is + compiled to a device tree blob, which is the file that + must be specified here.
Same comment here as for DPC.
Quoted 2 lines
package/qoriq-mc-utils/Config.in new file +2
-0+ +endif
[...]
Quoted 14 lines
package/qoriq-mc-utils/qoriq-mc-utils.mk new file +8
-0@@ -0,0 +1,22 @@ +################################################################################ +# +# qoriq-mc-utils +# +################################################################################ + +QORIQ_MC_UTILS_VERSION = 10.39.0 +QORIQ_MC_UTILS_SITE = $(call
Quoted 2 lines
github,nxp-qoriq,mc-utils,mc_release_$(QORIQ_MC_UTILS_VERSION)) +QORIQ_MC_UTILS_LICENSE = BSD-3-Clause
Trying to build qoriq-mc-utils in the reference docker image fails. For example, from a configuration enabling the package, the command:
utils/docker-run make qoriq-mc-utils
fails with error:
Quoted 1 line
Quoted 1 line
Quoted 1 line
qoriq-mc-utils 10.39.0 Building
/usr/bin/make -j21 -C
/home/user/buildroot/output/build/qoriq-mc-utils-10.39.0/config/
make[1]: Entering directory
'/home/user/work/buildroot/output/build/qoriq-mc-utils-10.39.0/config'
dtc -q -I dts -O dtb la1575a/LA1575A-WE-RDB/dpc.dts -o la1575a/LA1575A-WE-RDB/dpc.dtb
make[1]: dtc: No such file or directory
This is because mc-utils is using dtc without declaring the dependency. See:
https://github.com/nxp-qoriq/mc-utils/blob/mc_release_10.39.0/config/Makefile
So you should add here:
QORIQ_MC_UTILS_DEPENDENCIES = host-dtc
package/qoriq-mc-utils/qoriq-mc-utils.mk line 14
Quoted 5 lines
package/qoriq-mc-utils/qoriq-mc-utils.mk new file +5
-0+QORIQ_MC_UTILS_INSTALL_IMAGES = YES +QORIQ_MC_UTILS_INSTALL_TARGET = NO + +define QORIQ_MC_UTILS_BUILD_CMDS + $(MAKE) -C $(@D)/config/
You will then need to add the Buildroot host path during the make invocation. Here, we should have:
PATH=$(BR_PATH) $(MAKE) -C $(@D)/config/
Quoted 7 lines
package/qoriq-mc-utils/qoriq-mc-utils.mk new file +4
-0+endef + +define QORIQ_MC_UTILS_INSTALL_IMAGES_CMDS + $(INSTALL) -D $(@D)/config/$(callqstrip,$(BR2_PACKAGE_QORIQ_MC_UTILS_DPC)) $(BINARIES_DIR)/dpc.dtb
package/qoriq-mc-utils/qoriq-mc-utils.mk new file +1
-0+ $(INSTALL) -D $(@D)/config/$(callqstrip,$(BR2_PACKAGE_QORIQ_MC_UTILS_DPL)) $(BINARIES_DIR)/dpl.dtb
The _INSTALL_IMAGES_CMDS fails if either BR2_PACKAGE_QORIQ_MC_UTILS_DPC, or BR2_PACKAGE_QORIQ_MC_UTILS_DPL are empty, which is their default in Kconfig.
If it is really mandatory to have values set for those configuration variables, maybe you could add an explicit error message? See for example:
https://gitlab.com/buildroot.org/buildroot/-/blob/2025.02-rc2/package/panel-mipi-dbi-firmware/panel-mipi-dbi-firmware.mk#L30
package/qoriq-mc-utils/qoriq-mc-utils.mk line 22
Quoted 3 lines
package/qoriq-mc-utils/qoriq-mc-utils.mk new file +3
-0+endef + +$(eval $(generic-package))
Can you send an updated version of the patch, please?
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 06/15] package/qoriq-mc-utils: new package
Hi Julien, Vladimir,
In fact, I believe it requires another minor rework too, mostly for the API version, see below:
Quoted 10 lines
Review
Quoted 7 lines
(quoted diff) +7
-0+config BR2_PACKAGE_QORIQ_MC_UTILS_DPC + string "Data Path Configuration (DPC) file" + help + The DPC file contains the settings defining the behavior + of the MC firmware. Its source code follows the device + tree syntax and is compiled to a device tree blob, which + is the file that must be specified here.If the DPC file is mandatory, could you add a note about that here? (and possibly give an example?)
+1, yes a depency can be added so we enforce the host dpc, something like:
```
config BR2_PACKAGE_QORIQ_MC_UTILS
bool "qoriq-mc-utils"
+ select BR2_PACKAGE_HOST_DTC
```Or a bit more elaborated.
Quoted 6 lines
Review
Quoted 1 line
(quoted diff) +1
-0+ $(MAKE) -C $(@D)/config/You will then need to add the Buildroot host path during the make invocation. Here, we should have:
PATH=$(BR_PATH) $(MAKE) -C $(@D)/config/
@Julien, is it the proper way of doing it ? How to be sure that we'll be using the buildroot's dpc and not the one from the host based on ordering of BR_PATH ?
I'd rather prefer a clean Makefile assuming:
https://github.com/nxp-qoriq/mc-utils/pull/1
+ DTC=$(HOST_DIR)/bin/dtc $(MAKE) -C $(@D)/config/
Then, there is an issue with the version of the API. I faced it since I needed to use something that was not the 10.39.0
Vladmir,
on top of Julien's comments, I believe that we need to be able to configure the version API indepently of the tag version. Somethink like:
...QORIQ_MC_UTILS_VERSION = xyz
+QORIQ_MC_UTILS_LATEST_API_VERSION = mc_release_10.39.0
+
+# Assuming than any git sha version leads to using the latest version +ifneq ($(findstring mc_release_,$(QORIQ_MC_UTILS_VERSION)),)
+ QORIQ_MC_UTILS_API_VERSION = $(QORIQ_MC_UTILS_VERSION)
+else
+ QORIQ_MC_UTILS_API_VERSION = $(QORIQ_MC_UTILS_LATEST_API_VERSION) +endif
+
+$(info QORIQ_MC_UTILS_API_VERSION uses $(QORIQ_MC_UTILS_API_VERSION)) +
+QORIQ_MC_UTILS_SITE = $(call github,nxp-qoriq,mc-utils,$(QORIQ_MC_UTILS_VERSION))
...
Then, once we set this version, we can build the dplib API too:
define QORIQ_MC_UTILS_BUILD_CMDS
+ DTC=$(HOST_DIR)/bin/dtc $(MAKE) -C $(@D)/config/
+ $(MAKE) -C $(@D)/api/$(QORIQ_MC_UTILS_API_VERSION)/
endef
Quoted 10 lines
Quoted 5 lines
(quoted diff) +2
-0+define QORIQ_MC_UTILS_INSTALL_IMAGES_CMDS + $(INSTALL) -D $(@D)/config/$(callqstrip,$(BR2_PACKAGE_QORIQ_MC_UTILS_DPC)) $(BINARIES_DIR)/dpc.dtb
(quoted diff) +1
-0+ $(INSTALL) -D $(@D)/config/$(callqstrip,$(BR2_PACKAGE_QORIQ_MC_UTILS_DPL)) $(BINARIES_DIR)/dpl.dtb
The
_INSTALL_IMAGES_CMDSfails if eitherBR2_PACKAGE_QORIQ_MC_UTILS_DPC, orBR2_PACKAGE_QORIQ_MC_UTILS_DPLare empty, which is their default inKconfig.
Quoted 4 lines
If it is really mandatory to have values set for those configuration variables, maybe you could add an explicit error message? See for example:
https://gitlab.com/buildroot.org/buildroot/-/blob/2025.02-rc2/package/panel-mipi-dbi-firmware/panel-mipi-dbi-firmware.mk#L30
Moreover, the Config.in help should explain that the dpc and dpl names should be a {dpc-*,dpl-*}*.dtb file not a .dts file such as:
BR2_PACKAGE_QORIQ_MC_UTILS_DPC="lx2160a/LX2160A-QDS/dpc.13.dtb" BR2_PACKAGE_QORIQ_MC_UTILS_DPL="lx2160a/LX2160A-QDS/dpl-eth.13.dtb"
Quoted 1 line
Can you send an updated version of the patch, please?
Thanks Vladimir.
It that can help, enclosed my local update that I was using in order to run it quickly from your package:
+++ b/package/qoriq-mc-utils/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_QORIQ_MC_UTILS
bool "qoriq-mc-utils"
+ select BR2_PACKAGE_HOST_DTC
help
The Management Complex (MC) is a key component of the networking subsystem named DPAA2 (Data Path Acceleration
package/qoriq-mc-utils/qoriq-mc-utils.mk +19 -2
@@ -5,13 +5,29 @@ ################################################################################ QORIQ_MC_UTILS_VERSION = ba4be529fa5b315049f237c8bdd123a90da94266 -QORIQ_MC_UTILS_SITE = $(call github,nxp-qoriq,mc-utils,mc_release_$(QORIQ_MC_UTILS_VERSION)) +QORIQ_MC_UTILS_LATEST_API_VERSION = mc_release_10.39.0 + +# Assuming than any git sha version leads to using the latest version +ifneq ($(findstring mc_release_,$(QORIQ_MC_UTILS_VERSION)),) + QORIQ_MC_UTILS_API_VERSION = $(QORIQ_MC_UTILS_VERSION) +else + QORIQ_MC_UTILS_API_VERSION = $(QORIQ_MC_UTILS_LATEST_API_VERSION) +endif + +$(info QORIQ_MC_UTILS_API_VERSION uses $(QORIQ_MC_UTILS_API_VERSION)) + +QORIQ_MC_UTILS_SITE = $(call github,nxp-qoriq,mc-utils,$(QORIQ_MC_UTILS_VERSION)) QORIQ_MC_UTILS_LICENSE = BSD-3-Clause QORIQ_MC_UTILS_INSTALL_IMAGES = YES QORIQ_MC_UTILS_INSTALL_TARGET = NO +# XXX it shall not be needed +BR_NO_CHECK_HASH_FOR += $(QORIQ_MC_UTILS_SOURCE) + +QORIQ_MC_UTILS_DEPENDENCIES = host-dtc + define QORIQ_MC_UTILS_BUILD_CMDS - $(MAKE) -C $(@D)/config/ + DTC=$(HOST_DIR)/bin/dtc $(MAKE) -C $(@D)/config/ + $(MAKE) -C $(@D)/api/$(QORIQ_MC_UTILS_API_VERSION)/ endef
Best regards,
Vincent
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 7/15 package/qoriq-restool: new package
In reply to Vladimir OlteanIntroduce 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.
---
Change log:
- Reindent help text.
- Fix license.
DEVELOPERS | 1 + package/Config.in | 1 + package/qoriq-restool/Config.in | 22 ++++++++++++++++++++++ package/qoriq-restool/qoriq-restool.hash | 3 +++ package/qoriq-restool/qoriq-restool.mk | 24 ++++++++++++++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 package/qoriq-restool/Config.in create mode 100644 package/qoriq-restool/qoriq-restool.hash create mode 100644 package/qoriq-restool/qoriq-restool.mk
DEVELOPERS +1 -0
@@ -3360,6 +3360,7 @@ N: Vladimir Oltean <[email protected]> F: package/qoriq-ddr-phy-binary/ F: package/qoriq-mc-binary/ F: package/qoriq-mc-utils/ +F: package/qoriq-restool/ N: Volkov Viacheslav <[email protected]> F: package/v4l2grab/
package/Config.in +1 -0
@@ -593,6 +593,7 @@ endmenu source "package/pru-software-support/Config.in" source "package/pulseview/Config.in" source "package/qoriq-cadence-dp-firmware/Config.in" + source "package/qoriq-restool/Config.in" source "package/raspi-gpio/Config.in" source "package/rdma-core/Config.in" source "package/read-edid/Config.in"
package/qoriq-restool/Config.in new file +22 -0
@@ -0,0 +1,22 @@ +config BR2_PACKAGE_QORIQ_RESTOOL + bool "qoriq-restool" + help + The DPAA2 architecture in Layerscape SoCs consists of + networking resources that can be assembled into various + nuggets of functionality, called "objects" (DPMAC, DPNI, + DPDMUX, DPSW etc), by the Management Complex (MC) firmware. + + The MC firmware reads a file called Data Path Layout (DPL) + which describes the set of networking objects it should + create statically, at boot time. + + The restool program is able to talk to the Management + Complex at runtime and permits the dynamic reconfiguration + of networking objects, as well as saving the current + configuration into a new DPL file. Without the restool + program, the only possible networking configuration is + that specified in the boot-time DPL file. + + https://github.com/nxp-qoriq/restool + # sign in required + https://www.nxp.com/webapp/Download?colCode=DPAA2UM
package/qoriq-restool/qoriq-restool.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally calculated +sha256 0cfced32caa615266ff633946d40a36660c856d7eb057b81de392570e136c5e5 qoriq-restool-lf-6.6.36-2.1.0.tar.gz +sha256 68f4b15ecc085729419bc60ca6eeadca5af0237bbfec791e8a79da9c943d42e9 LICENSE
package/qoriq-restool/qoriq-restool.mk new file +24 -0
@@ -0,0 +1,24 @@ +################################################################################ +# +# qoriq-restool +# +################################################################################ + +QORIQ_RESTOOL_VERSION = lf-6.6.36-2.1.0 +QORIQ_RESTOOL_SITE = $(call github,nxp-qoriq,restool,$(QORIQ_RESTOOL_VERSION)) +QORIQ_RESTOOL_LICENSE = BSD-3-Clause or GPL-2.0-or-later +QORIQ_RESTOOL_LICENSE_FILES = COPYING + +QORIQ_RESTOOL_MAKE_OPTS = \ + CC="$(TARGET_CC)" \ + CROSS_COMPILE="$(TARGET_CROSS)" + +define QORIQ_RESTOOL_BUILD_CMDS + cd $(@D) && $(TARGET_MAKE_ENV) $(MAKE) $(QORIQ_RESTOOL_MAKE_OPTS) +endef + +define QORIQ_RESTOOL_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usr install +endef + +$(eval $(generic-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 07/15] package/qoriq-restool: new package
Quoted 5 lines · Vladimir Oltean
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.
Signed-off-by Vladimir Oltean <[email protected]>
LGTM
Quoted 5 lines
---
Change log:
- Reindent help text.
- Fix license.
Quoted 9 lines
DEVELOPERS | 1 + package/Config.in | 1 + package/qoriq-restool/Config.in | 22 ++++++++++++++++++++++ package/qoriq-restool/qoriq-restool.hash | 3 +++ package/qoriq-restool/qoriq-restool.mk | 24 ++++++++++++++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 package/qoriq-restool/Config.in create mode 100644 package/qoriq-restool/qoriq-restool.hash create mode 100644 package/qoriq-restool/qoriq-restool.mk
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 07/15] package/qoriq-restool: new package
In reply to Vladimir OlteanHi Vladimir,
Quoted 5 lines · Vladimir Oltean
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.
Signed-off-by Vladimir Oltean <[email protected]>
[...]
Quoted 15 lines
package/qoriq-restool/qoriq-restool.mk new file +8
-0@@ -0,0 +1,24 @@ +################################################################################ +# +# qoriq-restool +# +################################################################################ + +QORIQ_RESTOOL_VERSION = lf-6.6.36-2.1.0 +QORIQ_RESTOOL_SITE = $(callgithub,nxp-qoriq,restool,$(QORIQ_RESTOOL_VERSION))
package/qoriq-restool/qoriq-restool.mk line 17
Quoted 9 lines
package/qoriq-restool/qoriq-restool.mk new file +9
-0+QORIQ_RESTOOL_LICENSE = BSD-3-Clause or GPL-2.0-or-later +QORIQ_RESTOOL_LICENSE_FILES = COPYING + +QORIQ_RESTOOL_MAKE_OPTS = \ + CC="$(TARGET_CC)" \ + CROSS_COMPILE="$(TARGET_CROSS)" + +define QORIQ_RESTOOL_BUILD_CMDS + cd $(@D) && $(TARGET_MAKE_ENV) $(MAKE) $(QORIQ_RESTOOL_MAKE_OPTS)
It seems that restool needs pandoc to generate the man page.
Building in the Docker image with command:
utils/docker-run make qoriq-restool
Fails with error:
pandoc --standalone --to man restool.md -o restool.1 make[1]: pandoc: No such file or directory
See:
https://github.com/nxp-qoriq/restool/blob/lf-6.6.36-2.1.0/Makefile#L56
The package host-pandoc does not exist in Buildroot (this would pull too many dependencies just for one man page).
The restool package does not seem to have a way to disable the man page generation/installation. So it is likely a small package patch is needed here to do that (ideally, something that can be proposed upstream).
Could you have a look to fix this issue, please?
Quoted 10 lines
package/qoriq-restool/qoriq-restool.mk new file +4
-0+endef + +define QORIQ_RESTOOL_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usrinstall
package/qoriq-restool/qoriq-restool.mk new file +3
-1+endef + +$(eval $(generic-package)) --2.43.0
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 07/15] package/qoriq-restool: new package
Julien, Vladimir,
So running without pandonc on the host, what's about the following, see below.
Quoted 7 lines
utils/docker-run make qoriq-restool
Fails with error:
pandoc --standalone --to man restool.md -o restool.1 make[1]: pandoc: No such file or directory
Assuming a patch based on:
https://github.com/nxp-qoriq/restool/pull/2
then, we could have:
define QORIQ_RESTOOL_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usr install
+ MANPAGE="" $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usr install
endef
which allows building without running pandoc.
My 2 cents,
Vincent
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 8/15 package/fmlib: bump to tag lf-6.6.52-2.2.0
In reply to Vladimir OlteanChange log:9fb916f25521 Add support for allow/deny HC usage56f7bd7378e5 Check if valid FMan handle exists on FM_PCD_Open and FM_PORT_Open 01136b83d7db fmlib: rename COPYING to LICENSE
---
Change log:
- Break out fmlib changes out of larger "[PATCH v2 01/11] platform/layerscape: bump Linux Factory tag to lf-6.6.36-2.1.0" patch
- Bump to lf-6.6.52-2.2.0 instead of lf-6.6.36-2.1.0 (new tag appeared in between)
package/fmlib/fmlib.hash | 4 ++-- package/fmlib/fmlib.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
package/fmlib/fmlib.hash +2 -2
@@ -1,3 +1,3 @@ # Locally computed -sha256 64dc76c0adc3aa58bce6aba470dee7dee001d4964ccb1958e899a59d9917b21d fmlib-LSDK-21.08.tar.gz -sha256 5d7770fa9f70f0c6f0b4784bbca8401811259a4b1e03455dbd863ffd0d34d2ca COPYING +sha256 173f1c41207e50dd3908c7dad192962240fd1a9269bca6e368f401134b3503bf fmlib-lf-6.6.52-2.2.0.tar.gz +sha256 5d7770fa9f70f0c6f0b4784bbca8401811259a4b1e03455dbd863ffd0d34d2ca LICENSE
package/fmlib/fmlib.mk +2 -2
@@ -4,10 +4,10 @@ # ################################################################################ -FMLIB_VERSION = LSDK-21.08 +FMLIB_VERSION = lf-6.6.52-2.2.0 FMLIB_SITE = $(call github,nxp-qoriq,fmlib,$(FMLIB_VERSION)) FMLIB_LICENSE = BSD-3-Clause -FMLIB_LICENSE_FILES = COPYING +FMLIB_LICENSE_FILES = LICENSE FMLIB_DEPENDENCIES = linux FMLIB_INSTALL_STAGING = YES
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 9/15 package/fmc: bump to version lf-6.6.52-2.2.0
In reply to Vladimir OlteanChange log:5b9f4b16a864 soft parser: avoid 'register' keyword in lexer files aa63ed53bc9b FMCPCDModel: use const char * for rodata strings 5841ba12d151 Makefile: fix parallel compilation5b695fba6506 YOCIMX-7790: fix build after libxml2 >= 2.12.0 xmlError const change 63c8ac99899a Deny HC usage on fmc cleanup3def2b9b5d86 Check if valid FMan handle exists when create devices a8a257ba10d5 fmc: rename COPYING to LICENSE
---
Change log:
- Break out fmc changes out of larger "[PATCH v2 01/11] platform/layerscape: bump Linux Factory tag to lf-6.6.36-2.1.0" patch
- Bump to lf-6.6.52-2.2.0 instead of lf-6.6.36-2.1.0 (new tag appeared in between)
package/fmc/fmc.hash | 4 ++-- package/fmc/fmc.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
package/fmc/fmc.hash +2 -2
@@ -1,3 +1,3 @@ # Locally calculated -sha256 a58514816108a16d07307f924ebceb67c7d61709e4449978763fc44ed6e1fc44 fmc-LSDK-21.08.tar.gz -sha256 f92862ceb95db5492f50a59d7c799c9395b714db88db92d11891dc0233e2ac42 COPYING +sha256 13a5e327ef1d727946187fbd021513194981e42681c73e56933109af8a5889e7 fmc-lf-6.6.52-2.2.0.tar.gz +sha256 f92862ceb95db5492f50a59d7c799c9395b714db88db92d11891dc0233e2ac42 LICENSE
package/fmc/fmc.mk +2 -2
@@ -4,10 +4,10 @@ # ################################################################################ -FMC_VERSION = LSDK-21.08 +FMC_VERSION = lf-6.6.52-2.2.0 FMC_SITE = $(call github,nxp-qoriq,fmc,$(FMC_VERSION)) FMC_LICENSE = MIT -FMC_LICENSE_FILES = COPYING +FMC_LICENSE_FILES = LICENSE FMC_DEPENDENCIES = libxml2 tclap fmlib FMC_MAKE_OPTS = \
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 10/15 package/qoriq-fm-ucode: bump to tag lf-6.6.52-2.2.0
In reply to Vladimir OlteanSame FMan microcode binaries, just doing this in order for all BSP tags to be in sync.
---
Change log:
- Break out FMan microcode changes out of larger "[PATCH v2 01/11] platform/layerscape: bump Linux Factory tag to lf-6.6.36-2.1.0" patch
- Bump to lf-6.6.52-2.2.0 instead of lf-6.6.36-2.1.0 (new tag appeared in between)
package/qoriq-fm-ucode/qoriq-fm-ucode.hash | 2 +- package/qoriq-fm-ucode/qoriq-fm-ucode.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/qoriq-fm-ucode/qoriq-fm-ucode.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 c994367c74dd2ff6cd70ea269cf1bc775c5f4e11294a8db414491ce6c2eb9dc3 qoriq-fm-ucode-lf-6.6.23-2.0.0.tar.gz +sha256 6b9e2a5c383fb9288db1459821fc696f3abfeddd080b04c11cf9f712f0d36470 qoriq-fm-ucode-lf-6.6.52-2.2.0.tar.gz sha256 7a223031d76339df0e4e5a94d193a270fb9963d42b577aa42fe130a4657f3e17 LICENSE
package/qoriq-fm-ucode/qoriq-fm-ucode.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -QORIQ_FM_UCODE_VERSION = lf-6.6.23-2.0.0 +QORIQ_FM_UCODE_VERSION = lf-6.6.52-2.2.0 QORIQ_FM_UCODE_SITE = $(call github,nxp-qoriq,qoriq-fm-ucode,$(QORIQ_FM_UCODE_VERSION)) QORIQ_FM_UCODE_LICENSE = NXP Binary EULA QORIQ_FM_UCODE_LICENSE_FILES = LICENSE
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 11/15 configs/ls1046a-frwy: update to tag lf-6.6.52-2.2.0
In reply to Vladimir OlteanUpdate the kernel, U-Boot, ATF tags, as well as documentation, used by the LS1046A-FRWY to the latest Linux Factory release.
---
Change log:
- Break out LS1046A-FRWY defconfig changes out of larger "[PATCH v2 01/11] platform/layerscape: bump Linux Factory tag to lf-6.6.36-2.1.0" patch
- Bump to lf-6.6.52-2.2.0 instead of lf-6.6.36-2.1.0 (new tag appeared in between)
.../arm-trusted-firmware.hash | 2 +- .../ls1046a-frwy/patches/linux/linux.hash | 2 +- .../ls1046a-frwy/patches/uboot/uboot.hash | 2 +- board/freescale/ls1046a-frwy/readme.txt | 31 +++++++++++++------ configs/ls1046a-frwy_defconfig | 6 ++-- 5 files changed, 27 insertions(+), 16 deletions(-)
board/freescale/ls1046a-frwy/patches/arm-trusted-firmware/arm-trusted-firmware.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 4f4dc78bfb5b7391a65ae0f83856661071f666ac2bf6a9380fddbe376a8bdaaa atf-lf-6.6.23-2.0.0.tar.gz +sha256 f03dad74e5c3df8059554def03e9298b6fbd4ffdd3e940a18b7e84a60b12a37a atf-lf-6.6.52-2.2.0.tar.gz
board/freescale/ls1046a-frwy/patches/linux/linux.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 6d592722e004516309f8ce33e654f1322e4d1f0f33567acb86ca19229176fd9e linux-lf-6.6.23-2.0.0.tar.gz +sha256 5665b927616a7e27e69f3f8fface6dd693b01f35d42ae4f9a0f0a10be3621487 linux-lf-6.6.52-2.2.0.tar.gz
board/freescale/ls1046a-frwy/patches/uboot/uboot.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 a2bcd7a34d4908ffbadfea731d0f0fd20f19a31cff6ff6310980e7f6743ceb24 u-boot-lf-6.6.23-2.0.0.tar.gz +sha256 00fc7bd053de19d02c990b3aa214a27c6103f4306e756f3f6d4afb12314556e4 u-boot-lf-6.6.52-2.2.0.tar.gz
board/freescale/ls1046a-frwy/readme.txt +21 -10
@@ -4,20 +4,31 @@ NXP LS1046A-FRWY This file documents the Buildroot support for the LS1046A Freeway Board. -for more details about the board and the QorIQ Layerscape SoC, see the following pages: +For more details about the board and the QorIQ Layerscape SoC, see the following pages: - https://www.nxp.com/design/software/qoriq-developer-resources/ls1046a-freeway-board:FRWY-LS1046A - https://www.nxp.com/FRWY-LS1046A - https://www.nxp.com/docs/en/quick-reference-guide/FRWY-LS1046AGSG.pdf -for the software NXP LSDK (Layerscape Software Development Kit), see - - https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev21.08.pdf - -the components from NXP are: - - rcw, lf-6.6.23-2.0.0 - - atf (fork), lf-6.6.23-2.0.0 - - uboot (fork), lf-6.6.23-2.0.0 - - qoriq-fm-ucode (blob), lf-6.6.23-2.0.0 - - linux (fork), lf-6.6.23-2.0.0 +Layerscape platforms are officially supported by NXP under the Layerscape +Debian Linux SDK (LDLSDK). This uses components from Linux Factory, currently +tag lf-6.6.36-2.1.0, one release behind the latest lf-6.6.52-2.2.0. +In Buildroot, the latest Linux Factory release tag is used. + +For the software Layerscape Debian Linux SDK User Guide, see: + - https://docs.nxp.com/bundle/UG10143/page/topics/about_this_document.html + - https://www.nxp.com/docs/en/user-guide/UG10143.pdf + +Note: the latest Linux Factory release may contain features which are not yet +documented in the LDLSDKUG. + +The components from NXP are: + - rcw, lf-6.6.52-2.2.0 + - atf (fork), lf-6.6.52-2.2.0 + - uboot (fork), lf-6.6.52-2.2.0 + - qoriq-fm-ucode (blob), lf-6.6.52-2.2.0 + - linux (fork), lf-6.6.52-2.2.0 + - fmlib, lf-6.6.52-2.2.0 + - fmc, lf-6.6.52-2.2.0 Build =====
configs/ls1046a-frwy_defconfig +3 -3
@@ -12,7 +12,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/freescale/ls1046a-frwy/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,linux,lf-6.6.23-2.0.0)/linux-lf-6.6.23-2.0.0.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,linux,lf-6.6.52-2.2.0)/linux-lf-6.6.52-2.2.0.tar.gz" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm64/configs/lsdk.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y
@@ -25,7 +25,7 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="128M" # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,atf,lf-6.6.23-2.0.0)/atf-lf-6.6.23-2.0.0.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,atf,lf-6.6.52-2.2.0)/atf-lf-6.6.52-2.2.0.tar.gz" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="ls1046afrwy" BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y
@@ -35,7 +35,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="fip.bin bl2_sd.pbl" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,u-boot,lf-6.6.23-2.0.0)/u-boot-lf-6.6.23-2.0.0.tar.gz" +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-qoriq,u-boot,lf-6.6.52-2.2.0)/u-boot-lf-6.6.52-2.2.0.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="ls1046afrwy_tfa" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 12/15 package/tclap: update to tag 1.4.0-rc2
In reply to Vladimir OlteanThis was the only version which got rid of this error (nothing specific, just moved from autotools to cmake):
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2095: checking for a BSD-compatible install
configure:2163: result: /usr/bin/install -c
configure:2174: checking whether build environment is sane
configure:2229: result: yes
configure:2267: WARNING: 'missing' script is too old or missing
configure:2288: checking for aarch64-buildroot-linux-gnu-strip
configure:2315: result: /opt/buildroot/output-ls1046afrwy/host/bin/aarch64-buildroot-linux-gnu-strip
configure:2380: checking for a thread-safe mkdir -p
configure:2419: result: /usr/bin/mkdir -p
configure:2426: checking for gawk
configure:2442: found /opt/buildroot/output-ls1046afrwy/host/bin/gawk
configure:2453: result: gawk
configure:2464: checking whether make sets $(MAKE)
configure:2486: result: yes
configure:2515: checking whether make supports nested variables
configure:2532: result: yes
configure:2770: checking for C++ compiler version
configure:2779: no --version >&5
./configure: line 2781: no: command not found
configure:2790: $? = 127
configure:2779: no -v >&5
./configure: line 2781: no: command not found
configure:2790: $? = 127
configure:2779: no -V >&5
./configure: line 2781: no: command not found
configure:2790: $? = 127
configure:2779: no -qversion >&5
./configure: line 2781: no: command not found
configure:2790: $? = 127
configure:2810: checking whether the C++ compiler works
configure:2832: no -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2834: no: command not found
configure:2836: $? = 127
configure:2874: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tclap"
| #define PACKAGE_TARNAME "tclap"
| #define PACKAGE_VERSION "1.2.4"
| #define PACKAGE_STRING "tclap 1.2.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tclap"
| #define VERSION "1.2.4"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| } configure:2879: error: in `/opt/buildroot/output-ls1046afrwy/build/tclap-1.2.4':
configure:2881: error: C++ compiler cannot create executables
See `config.log' for more details
---
Change log:
Patch is new.
package/tclap/tclap.hash | 2 +- package/tclap/tclap.mk | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-)
package/tclap/tclap.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed: -sha256 634c5b59dbb1ccbc9d6a5f6de494a257e29a3f59dcb6fc30445ff39b45188574 tclap-1.2.4.tar.gz +sha256 ca52ce5badc477aeda59866601aad85c55e014c5400c15ed13e21fe7d0c1c5f7 tclap-1.4.0-rc2.tar.bz2 sha256 cd81a61d47aeb1ed63036ca260baee37719923bbd7ebd988ec4edae128f3b6eb COPYING
package/tclap/tclap.mk +3 -2
@@ -4,8 +4,9 @@ # ################################################################################ -TCLAP_VERSION = 1.2.4 +TCLAP_VERSION = 1.4.0-rc2 TCLAP_SITE = http://downloads.sourceforge.net/project/tclap +TCLAP_SOURCE = tclap-$(TCLAP_VERSION).tar.bz2 TCLAP_LICENSE = MIT TCLAP_LICENSE_FILES = COPYING TCLAP_INSTALL_STAGING = YES
@@ -14,4 +15,4 @@ TCLAP_CPE_ID_VALID = YES # This package is a pure C++ template library, only made of headers. TCLAP_INSTALL_TARGET = NO -$(eval $(autotools-package)) +$(eval $(cmake-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 12/15] package/tclap: update to tag 1.4.0-rc2
Hi Vladimir,
This patch might not be needed in this series. See below.
Quoted 20 lines · Vladimir Oltean
This was the only version which got rid of this error (nothing specific, just moved from autotools to cmake):
## ----------- ##
## Core tests. ##
## ----------- ##configure:2095: checking for a BSD-compatible install configure:2163: result:
/usr/bin/install-c
configure:2174: checking whether build environment is sane configure:2229: result: yes
configure:2267: WARNING: 'missing' script is too old or missing configure:2288: checking for aarch64-buildroot-linux-gnu-strip configure:2315: result:/opt/buildroot/output-ls1046afrwy/host/bin/aarch64-buildroot-linux-gnu-strip
configure:2380: checking for a thread-safe mkdir -p configure:2419: result:/usr/bin/mkdir-p
configure:2426: checking for gawk
configure:2442: found/opt/buildroot/output-ls1046afrwy/host/bin/gawkconfigure:2453: result: gawk
Quoted 8 lines
configure:2464: checking whether make sets $(MAKE) configure:2486: result: yes
configure:2515: checking whether make supports nested variables configure:2532: result: yes
configure:2770: checking for C++ compiler version configure:2779: no --version >&5
./configure: line 2781: no: command not found configure:2790: $? = 127
This error comes probably from CXX=no set here:
https://gitlab.com/buildroot.org/buildroot/-/blob/2025.02-rc2/package/Makefile.in#L435
This should not happen, because tclap can only be selected when there is a C++ compiler available. See:
https://gitlab.com/buildroot.org/buildroot/-/blob/2025.02-rc2/package/tclap/Config.in#L6
So it would be better to understand the root cause of this issue. I tried on my side few configurations with C++ toolchains, and the tclap-1.2.4 (i.e. without this patch) compiles fine.
Also, this tclap-1.4.0-rc2 is marked as a release client. I would prefer sticking to the v1.2.x series until 1.4.0 is released.
Could you double check if this patch is needed? If you still see the issue, can you share the config that reproduces the issue?
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 12/15] package/tclap: update to tag 1.4.0-rc2
Hi Julien,
Quoted 19 lines · Julien Olivain
Hi Vladimir,
This error comes probably from CXX=no set here:
https://gitlab.com/buildroot.org/buildroot/-/blob/2025.02-rc2/package/Makefile.in#L435This should not happen, because tclap can only be selected when there is a C++ compiler available. See:
https://gitlab.com/buildroot.org/buildroot/-/blob/2025.02-rc2/package/tclap/Config.in#L6So it would be better to understand the root cause of this issue. I tried on my
side few configurations with C++ toolchains, and the tclap-1.2.4 (i.e. without
this patch) compiles fine.Also, this tclap-1.4.0-rc2 is marked as a release client. I would prefer sticking to
the v1.2.x series until 1.4.0 is released.
Quoted 6 lines
Could you double check if this patch is needed? If you still see the issue, can you share the config that reproduces the issue?
Best regards,
Julien.
Yes, you are right, I'm sorry, I should have done more research instead of expecting maintainers to do it for me. I think I built this package in a pre-existing output directory where I had just selected BR2_TOOLCHAIN_BUILDROOT_CXX=y, but the toolchain had already been built. If I do a clean build, tclap compiles ok and I do not need this patch.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 13/15 configs/ls1046a-frwy: enable the fmc package and dependencies
In reply to Vladimir OlteanSince LS1046A-FRWY uses the Linux Factory-supplied lsdk.config, it disables the upstream DPAA1 kernel networking drivers and enables their SDK counterparts. These SDK kernel drivers are configured using the fmc tool to do basic things such as apply a default PCD, so it seems a reasonable idea to enable this package by default.
---
Change log:
Patch is new.
configs/ls1046a-frwy_defconfig | 4 ++++ 1 file changed, 4 insertions(+)
configs/ls1046a-frwy_defconfig +4 -0
@@ -41,3 +41,7 @@ BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_QORIQ_RCW=y BR2_PACKAGE_HOST_QORIQ_RCW_INTREE="ls1046afrwy/NN_NNQNNPNP_3040_0506/rcw_1600_sdboot.bin" +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_FMLIB_QORIQ_FAMILY_ARM=y +BR2_PACKAGE_FMLIB=y +BR2_PACKAGE_FMC=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 13/15] configs/ls1046a-frwy: enable the fmc package and dependencies
Hi Vladimir,
Thanks for the patches.
Quoted 23 lines · Vladimir Oltean
Since LS1046A-FRWY uses the Linux Factory-supplied lsdk.config, it disables the upstream DPAA1 kernel networking drivers and enables their SDK counterparts. These SDK kernel drivers are configured using the fmc tool to do basic things such as apply a default PCD, so it seems a reasonable idea to enable this package by default.
Signed-off-by Vladimir Oltean <[email protected]>---
Change log:
Patch is new.configs/ls1046a-frwy_defconfig | 4 ++++ 1 file changed, 4 insertions(+)configs/ls1046a-frwy_defconfig +0
-0@@ -41,3 +41,7 @@ BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_QORIQ_RCW=yBR2_PACKAGE_HOST_QORIQ_RCW_INTREE="ls1046afrwy/NN_NNQNNPNP_3040_0506/rcw_1600_sdboot.bin"
configs/ls1046a-frwy_defconfig BR2_TARGET_UBOOT_NEEDS_DTC=y · line 47
Quoted 4 lines
configs/ls1046a-frwy_defconfig +4
-0+BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_FMLIB_QORIQ_FAMILY_ARM=y +BR2_PACKAGE_FMLIB=y +BR2_PACKAGE_FMC=y
In Buildroot, defconfigs should be kept "minimal", in their default order. So you can do that with the commands:
make ls1046a-frwy_defconfig
make savedefconfig
BR2_PACKAGE_FMLIB=y is not needed as it is selected by BR2_PACKAGE_FMC=y.
And BR2_FMLIB_QORIQ_FAMILY_ARM=y is also not needed, as it is selected by default.
Can you send an updated patch with the minimal changes after a "make savedefconfig" please?
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 14/15 configs/ls1046a-rdb: enable the fmc package and dependencies
In reply to Vladimir OlteanSince LS1046A-RDB uses the Linux Factory-supplied lsdk.config, it disables the upstream DPAA1 kernel networking drivers and enables their SDK counterparts. These SDK kernel drivers are configured using the fmc tool to do basic things such as apply a default PCD, so it seems a reasonable idea to enable this package by default.
---
Change log:
Patch is new.
configs/ls1046a-rdb_defconfig | 4 ++++ 1 file changed, 4 insertions(+)
configs/ls1046a-rdb_defconfig +4 -0
@@ -41,3 +41,7 @@ BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_QORIQ_RCW=y BR2_PACKAGE_HOST_QORIQ_RCW_INTREE="ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_sdboot.rcw" +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_FMLIB_QORIQ_FAMILY_ARM=y +BR2_PACKAGE_FMLIB=y +BR2_PACKAGE_FMC=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 15/15 configs/ls1043a-rdb: enable the fmc package and dependencies
In reply to Vladimir OlteanSince LS1043A-RDB uses the Linux Factory-supplied lsdk.config, it disables the upstream DPAA1 kernel networking drivers and enables their SDK counterparts. These SDK kernel drivers are configured using the fmc tool to do basic things such as apply a default PCD, so it seems a reasonable idea to enable this package by default.
---
Change log:
Patch is new.
configs/ls1043a-rdb_defconfig | 4 ++++ 1 file changed, 4 insertions(+)
configs/ls1043a-rdb_defconfig +4 -0
@@ -41,3 +41,7 @@ BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_QORIQ_RCW=y BR2_PACKAGE_HOST_QORIQ_RCW_INTREE="ls1043ardb/RR_FQPP_1455/rcw_1600_sdboot.bin" +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_FMLIB_QORIQ_FAMILY_ARM=y +BR2_PACKAGE_FMLIB=y +BR2_PACKAGE_FMC=y
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot