Initial support for SolidRun LX2160A-CEX7
cover Initial support for SolidRun LX2160A-CEX7
Hello,
This series aims to introduce basic initial support for the CX LX2 and HoneyComb LX2 boards by SolidRun (both of which are based on the LX2160A-CEX7 SoM):
https://shop.solid-run.com/product/SRLX216S00D00GE064C08CH/
https://shop.solid-run.com/product/SRLX216S00D00GE064H09CH/
Although I also work at NXP, I am submitting this in a personal capacity, and for personal use.
Patch 1/7 performs an uprev of existing NXP Layerscape BSP packages to the latest tag. This is necessary because packages such as the RCW do not permit versioning per board defconfig like Linux/U-Boot/ATF do, instead the version is global. I've tested the uprev on an LS1028A-RDB.
Patches 2-5/7 add extra packages which are critical for the operation of the NXP LX2160A SoC.
Patch 6/7 introduces the board files for the new platform. In my use case, Buildroot makes the firmware and recovery Linux rootfs for the main Debian operating system.
Note that the platform doesn't achieve everything that I wish just yet. For example, U-Boot doesn't boot properly from a USB stick with a Debian installer on it.
To launch the Debian installer, U-Boot attempts to push its own device tree to Linux (and that doesn't go very well, because they have partially incompatible formats). Thus, one would need to uprev the bootloader to the current upstream master branch, rather than continue developing on top of NXP Linux Factory tags, then sync the U-Boot device trees with Linux, and upstream that work.
For this reason, the entire effort should be considered WIP, though in itself, it is bootable and usable. I am submitting relatively early because the speed of development in Buildroot appears fast, and the existing work would go out of sync quickly. I intend to work with Josua Mayer for developing further U-Boot/ATF patches, and including them in Buildroot only once they are available through
https://github.com/SolidRun/lx2160a_build/, rather than Buildroot behaving as its own upstream of sorts.
Finally, patch 7/7 is a cleanup made as I noticed that board/freescale/common/patches has become a leftover since I started working on the LX2160ACEX7 support.
Vladimir Oltean (7):
platform/layerscape: bump Linux Factory tag to lf-6.6.36-2.1.0 package/qoriq-ddr-phy-binary: new package package/qoriq-mc-binary: new package package/qoriq-mc-utils: new package package/qoriq-restool: new package board/lx2160acex7: new platform
board/freescale: get rid of common patch folder
DEVELOPERS | 6 +
...Makefile-Suppress-array-bounds-error.patch | 51 -
.../arm-trusted-firmware.hash | 2 +-
.../ls1028ardb/patches/linux/linux.hash | 2 +-
.../ls1028ardb/patches/uboot/uboot.hash | 2 +-
board/freescale/ls1028ardb/readme.txt | 15 +-
.../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 | 17 +-
board/solidrun/lx2160acex7/extlinux.conf | 4 +
board/solidrun/lx2160acex7/genimage.cfg | 54 +
board/solidrun/lx2160acex7/linux.config | 1 +
.../0001-plat-nxp-lx2160a-auto-boot.patch | 219 +
...ccount-MEM_PLL_CFG_SHIFT-for-ddr-fre.patch | 85 +
...sert-SUS_S5-GPIO-to-poweroff-the-COM.patch | 29 +
...assert-IRQ0-GPIO-to-poweroff-the-EVB.patch | 29 +
...ptional-S5-gpio-from-Makefile-consta.patch | 63 +
...te-platform-for-solidrun-cex7-module.patch | 418 ++
...flexible-value-for-CONFIG_DDR_NODIMM.patch | 33 +
...tform-for-solidrun-internal-cex6-eva.patch | 544 +++
...ort-flushing-i2c-bus-before-ddr-init.patch | 365 ++
...h-i2c-bus-with-spd-eeprom-before-ddr.patch | 30 +
...h-i2c-bus-with-spd-eeprom-before-ddr.patch | 30 +
...-building-without-NXP_NV_SW_MAINT_LA.patch | 49 +
...-boot-without-spi-flash-disable-non-.patch | 33 +
...te-platform-for-solidrun-lx2162a-som.patch | 597 +++
...d-support-for-new-binutils-versions.patch} | 0
.../arm-trusted-firmware.hash | 2 +
.../patches/linux-headers/linux-headers.hash | 1 +
.../lx2160acex7/patches/linux/linux.hash | 2 +
...x2160-cex7-based-clearfog-cx-dpl-dpc.patch | 937 +++++
...160-cex6-based-evaluation-board-dpl-.patch | 1454 +++++++
...n-for-lx2162a-som-and-clearfog-board.patch | 3622 +++++++++++++++++
...som-clearfog-enable-dpni-connections.patch | 188 +
...rfog-cx-configure-qsfp-ports-type-ph.patch | 52 +
...n-solidrun-lx2160a-cex-7-on-clearfog.patch | 951 +++++
...-MEM_PLL_CFG-into-ddr-speed-specific.patch | 112 +
...separate-configurations-for-flexspi-.patch | 894 ++++
...me-sdhc1-config-to-generic-sdhc-for-.patch | 149 +
...c-jumpc-and-jump-to-pbi-instructions.patch | 55 +
...add-configuration-for-both-sdhc-xspi.patch | 836 ++++
...ootlocptr-reduce-size-of-pbi-section.patch | 90 +
...ge-2.2GHz-configuration-platform-clo.patch | 475 +++
...configuration-for-fraction-ddr-speed.patch | 421 ++
...n-solidrun-internal-lx2160a-cex6-eva.patch | 220 +
...le-A-050426-workaround-for-silicon-o.patch | 35 +
...le-pci-errata-workarounds-for-all-ac.patch | 87 +
...-configuration-for-2.2GHz-binned-soc.patch | 42 +
.../0014-lx2162aqds-re-enable-dpmac11.patch | 27 +
...n-for-lx2162a-som-and-clearfog-evalu.patch | 532 +++
...rfog-cx-add-configuration-for-serdes.patch | 2000 +++++++++
...d-solidrun-lx2160-cex7-board-support.patch | 1342 ++++++
...ait-100ms-for-Link-Up-in-ls_pcie_g4_.patch | 65 +
...t-100ms-for-Link-Up-in-ls_pcie_probe.patch | 64 +
...-calculation-of-ddr-clock-rate-to-in.patch | 63 +
...able-workaround-for-SPI-erratum-A-05.patch | 102 +
...x2160-cex7-enable-additional-drivers.patch | 96 +
.../lx2160acex7/patches/uboot/uboot.hash | 2 +
board/solidrun/lx2160acex7/post-build.sh | 8 +
board/solidrun/lx2160acex7/readme.txt | 112 +
.../udev/rules.d/74-dpaa2-networking.rules | 12 +
.../lx2160acex7/u-boot-environment-sd.txt | 96 +
configs/ls1028ardb_defconfig | 6 +-
configs/ls1046a-frwy_defconfig | 6 +-
configs/solidrun_lx2160acex7_defconfig | 53 +
package/Config.in | 4 +
package/fmc/fmc.hash | 2 +-
package/fmc/fmc.mk | 2 +-
package/fmlib/fmlib.hash | 2 +-
package/fmlib/fmlib.mk | 2 +-
.../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 | 48 +
package/qoriq-mc-binary/qoriq-mc-binary.hash | 3 +
package/qoriq-mc-binary/qoriq-mc-binary.mk | 22 +
package/qoriq-mc-utils/Config.in | 35 +
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 | 21 +
package/qoriq-restool/qoriq-restool.hash | 3 +
package/qoriq-restool/qoriq-restool.mk | 24 +
89 files changed, 18044 insertions(+), 91 deletions(-)
delete mode 100644 board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch
create mode 100644 board/solidrun/lx2160acex7/extlinux.conf
create mode 100644 board/solidrun/lx2160acex7/genimage.cfg
create mode 100644 board/solidrun/lx2160acex7/linux.config
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0001-plat-nxp-lx2160a-auto-boot.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0002-dcfg-Take-into-account-MEM_PLL_CFG_SHIFT-for-ddr-fre.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0003-lx2160acex7-assert-SUS_S5-GPIO-to-poweroff-the-COM.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0004-lx2160acex6-assert-IRQ0-GPIO-to-poweroff-the-EVB.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0005-lx2160a-assert-optional-S5-gpio-from-Makefile-consta.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0006-add-separate-platform-for-solidrun-cex7-module.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0007-lx2160a-support-flexible-value-for-CONFIG_DDR_NODIMM.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0008-add-separate-platform-for-solidrun-internal-cex6-eva.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0009-lx2160a-support-flushing-i2c-bus-before-ddr-init.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0010-lx2160acex6-flush-i2c-bus-with-spd-eeprom-before-ddr.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0011-lx2160acex7-flush-i2c-bus-with-spd-eeprom-before-ddr.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0012-plat-lx2160a-fix-building-without-NXP_NV_SW_MAINT_LA.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0013-plat-lx2160a-fix-boot-without-spi-flash-disable-non-.patch
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0014-add-separate-platform-for-solidrun-lx2162a-som.patch
rename board/{freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch => solidrun/lx2160acex7/patches/arm-trusted-firmware/0015-feat-build-add-support-for-new-binutils-versions.patch} (100%)
create mode 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/arm-trusted-firmware.hash
create mode 120000 board/solidrun/lx2160acex7/patches/linux-headers/linux-headers.hash
create mode 100644 board/solidrun/lx2160acex7/patches/linux/linux.hash
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-mc-utils/0001-add-solidrun-lx2160-cex7-based-clearfog-cx-dpl-dpc.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-mc-utils/0002-add-solidrun-lx2160-cex6-based-evaluation-board-dpl-.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-mc-utils/0003-add-configuration-for-lx2162a-som-and-clearfog-board.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-mc-utils/0004-lx2162-som-clearfog-enable-dpni-connections.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-mc-utils/0005-lx2160acex7-clearfog-cx-configure-qsfp-ports-type-ph.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0001-add-configuration-solidrun-lx2160a-cex-7-on-clearfog.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0002-lx2160acex7-move-MEM_PLL_CFG-into-ddr-speed-specific.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0003-lx2160acex7-add-separate-configurations-for-flexspi-.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0004-lx2160acex7-rename-sdhc1-config-to-generic-sdhc-for-.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0005-add-loadc-jumpc-and-jump-to-pbi-instructions.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0006-lx2160acex7-add-configuration-for-both-sdhc-xspi.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0007-bootlocptr-reduce-size-of-pbi-section.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0008-lx2160acex7-change-2.2GHz-configuration-platform-clo.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0009-lx2160acex7-add-configuration-for-fraction-ddr-speed.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0010-add-configuration-solidrun-internal-lx2160a-cex6-eva.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0011-lx2160acex7-enable-A-050426-workaround-for-silicon-o.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0012-lx2160acex6-enable-pci-errata-workarounds-for-all-ac.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0013-lx2160acex6-add-configuration-for-2.2GHz-binned-soc.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0014-lx2162aqds-re-enable-dpmac11.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0015-add-configuration-for-lx2162a-som-and-clearfog-evalu.patch
create mode 100644 board/solidrun/lx2160acex7/patches/qoriq-rcw/0016-lx2160acex7-clearfog-cx-add-configuration-for-serdes.patch
create mode 100644 board/solidrun/lx2160acex7/patches/uboot/0001-add-solidrun-lx2160-cex7-board-support.patch
create mode 100644 board/solidrun/lx2160acex7/patches/uboot/0002-pci-ls_pcie_g4-Wait-100ms-for-Link-Up-in-ls_pcie_g4_.patch
create mode 100644 board/solidrun/lx2160acex7/patches/uboot/0003-pci-ls_pcie-Wait-100ms-for-Link-Up-in-ls_pcie_probe.patch
create mode 100644 board/solidrun/lx2160acex7/patches/uboot/0004-fsl-lsch3-update-calculation-of-ddr-clock-rate-to-in.patch
create mode 100644 board/solidrun/lx2160acex7/patches/uboot/0005-armv8-lx2160a-enable-workaround-for-SPI-erratum-A-05.patch
create mode 100644 board/solidrun/lx2160acex7/patches/uboot/0006-configs-lx2160-cex7-enable-additional-drivers.patch
create mode 100644 board/solidrun/lx2160acex7/patches/uboot/uboot.hash
create mode 100755 board/solidrun/lx2160acex7/post-build.sh
create mode 100644 board/solidrun/lx2160acex7/readme.txt
create mode 100644 board/solidrun/lx2160acex7/rootfs_overlay/etc/udev/rules.d/74-dpaa2-networking.rules
create mode 100644 board/solidrun/lx2160acex7/u-boot-environment-sd.txt
create mode 100644 configs/solidrun_lx2160acex7_defconfig
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.mkSignature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/7 platform/layerscape: bump Linux Factory tag to lf-6.6.36-2.1.0
Update the following packages to the latest Linux Factory tag:
- qoriq-cadence-dp-firmware
- 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.bb
- arm-trusted-firmware
- linux
- u-boot
- fmc
- fmlib
- qoriq-rcw
--- .../arm-trusted-firmware.hash | 2 +- .../ls1028ardb/patches/linux/linux.hash | 2 +- .../ls1028ardb/patches/uboot/uboot.hash | 2 +- board/freescale/ls1028ardb/readme.txt | 15 ++++++++------- .../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 | 17 ++++++++++------- configs/ls1028ardb_defconfig | 6 +++--- configs/ls1046a-frwy_defconfig | 6 +++--- package/fmc/fmc.hash | 2 +- package/fmc/fmc.mk | 2 +- package/fmlib/fmlib.hash | 2 +- package/fmlib/fmlib.mk | 2 +- .../qoriq-cadence-dp-firmware.hash | 2 +- .../qoriq-cadence-dp-firmware.mk | 10 +++++----- package/qoriq-fm-ucode/qoriq-fm-ucode.hash | 2 +- package/qoriq-fm-ucode/qoriq-fm-ucode.mk | 2 +- package/qoriq-rcw/qoriq-rcw.hash | 2 +- package/qoriq-rcw/qoriq-rcw.mk | 2 +- 20 files changed, 44 insertions(+), 40 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 4562efdc08efae7d36f3ee481871aac8ed0c856f8023d2186e4affdc5b768270 atf-lf-6.6.36-2.1.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 26e0db3dda786d939269f85df0f605e28cb55646ab8c541fc9bbbb4ab7fd9bf3 linux-lf-6.6.36-2.1.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 51adf233d53af875f70cf451e5950dd0b6af09ff35e546eacc4ec6998454c7eb u-boot-lf-6.6.36-2.1.0.tar.gz
board/freescale/ls1028ardb/readme.txt +8 -7
@@ -8,15 +8,16 @@ for more details about the board and the QorIQ Layerscape SoC, see the following - 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 +for the software Layerscape Linux Distribution PoC (LLDP), the latest public +user guide lags several revisions behind: + - https://docs.nxp.com/bundle/LLDPUG_L6.1.36_2.1.0/page/topics/about_this_document.html 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 + - rcw, lf-6.6.36-2.1.0 + - atf (fork), lf-6.6.36-2.1.0 + - uboot (fork), lf-6.6.36-2.1.0 + - cadence-dp-firmware (blob), lf-6.6.36-2.1.0 + - linux (fork), lf-6.6.36-2.1.0 Build =====
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 4562efdc08efae7d36f3ee481871aac8ed0c856f8023d2186e4affdc5b768270 atf-lf-6.6.36-2.1.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 26e0db3dda786d939269f85df0f605e28cb55646ab8c541fc9bbbb4ab7fd9bf3 linux-lf-6.6.36-2.1.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 51adf233d53af875f70cf451e5950dd0b6af09ff35e546eacc4ec6998454c7eb u-boot-lf-6.6.36-2.1.0.tar.gz
board/freescale/ls1046a-frwy/readme.txt +10 -7
@@ -9,15 +9,18 @@ for more details about the board and the QorIQ Layerscape SoC, see the following - 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 +for the software Layerscape Linux Distribution PoC (LLDP), the latest public +user guide lags several revisions behind: + - https://docs.nxp.com/bundle/LLDPUG_L6.1.36_2.1.0/page/topics/about_this_document.html 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 + - rcw, lf-6.6.36-2.1.0 + - atf (fork), lf-6.6.36-2.1.0 + - uboot (fork), lf-6.6.36-2.1.0 + - qoriq-fm-ucode (blob), lf-6.6.36-2.1.0 + - linux (fork), lf-6.6.36-2.1.0 + - fmlib, lf-6.6.36-2.1.0 + - fmc, lf-6.6.36-2.1.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.36-2.1.0)/linux-lf-6.6.36-2.1.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.36-2.1.0)/atf-lf-6.6.36-2.1.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.36-2.1.0)/u-boot-lf-6.6.36-2.1.0.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="ls1028ardb_tfa" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_PACKAGE_HOST_GENIMAGE=y
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.36-2.1.0)/linux-lf-6.6.36-2.1.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.36-2.1.0)/atf-lf-6.6.36-2.1.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.36-2.1.0)/u-boot-lf-6.6.36-2.1.0.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="ls1046afrwy_tfa" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_PACKAGE_HOST_GENIMAGE=y
package/fmc/fmc.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 a58514816108a16d07307f924ebceb67c7d61709e4449978763fc44ed6e1fc44 fmc-LSDK-21.08.tar.gz +sha256 a58514816108a16d07307f924ebceb67c7d61709e4449978763fc44ed6e1fc44 fmc-lf-6.6.36-2.1.0.tar.gz sha256 f92862ceb95db5492f50a59d7c799c9395b714db88db92d11891dc0233e2ac42 COPYING
package/fmc/fmc.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -FMC_VERSION = LSDK-21.08 +FMC_VERSION = lf-6.6.36-2.1.0 FMC_SITE = $(call github,nxp-qoriq,fmc,$(FMC_VERSION)) FMC_LICENSE = MIT FMC_LICENSE_FILES = COPYING
package/fmlib/fmlib.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 64dc76c0adc3aa58bce6aba470dee7dee001d4964ccb1958e899a59d9917b21d fmlib-LSDK-21.08.tar.gz +sha256 64dc76c0adc3aa58bce6aba470dee7dee001d4964ccb1958e899a59d9917b21d fmlib-lf-6.6.36-2.1.0.tar.gz sha256 5d7770fa9f70f0c6f0b4784bbca8401811259a4b1e03455dbd863ffd0d34d2ca COPYING
package/fmlib/fmlib.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -FMLIB_VERSION = LSDK-21.08 +FMLIB_VERSION = lf-6.6.36-2.1.0 FMLIB_SITE = $(call github,nxp-qoriq,fmlib,$(FMLIB_VERSION)) FMLIB_LICENSE = BSD-3-Clause FMLIB_LICENSE_FILES = COPYING
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))
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 2c6b69c34cf689178f8ee7db312c1bfd0e5e4d12dfe1e7f097ab35212f7776b0 qoriq-fm-ucode-lf-6.6.36-2.1.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.36-2.1.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
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 ed952fa73b290cff67603aeb6a37970d69ea56b66656f002f531912782416a35 qoriq-rcw-lf-6.6.36-2.1.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.36-2.1.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
Re: [Buildroot] [PATCH 1/7] platform/layerscape: bump Linux Factory tag to lf-6.6.36-2.1.0
board/freescale/ls1046a-frwy/readme.txt for more details about the board and the QorIQ Layerscape SoC, see the following · line 14
Quoted 13 lines · Vladimir Oltean
board/freescale/ls1046a-frwy/readme.txt +3
-2@@ -9,15 +9,18 @@ for more details about the board and the QorIQ Layerscape SoC, see the following - 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 +for the software Layerscape Linux Distribution PoC (LLDP), the latest public +user guide lags several revisions behind: + - https://docs.nxp.com/bundle/LLDPUG_L6.1.36_2.1.0/page/topics/about_this_document.html
Actually, I've found newer documentation, this will need updating.
https://docs.nxp.com/bundle/UG10143/page/topics/about_this_document.html
https://www.nxp.com/docs/en/user-guide/UG10143.pdf
I've noticed patch 6/7 "board/lx2160acex7: new platform" didn't reach the mailing lists. I got a message it was moderated by the email server due to its large size. Is there something actionable for me?
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/7 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.
--- 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
@@ -3305,6 +3305,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
@@ -454,6 +454,7 @@ menu "Firmware" source "package/murata-cyw-fw/Config.in" source "package/odroidc2-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
PATCH 3/7 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).
--- DEVELOPERS | 1 + package/Config.in | 1 + package/qoriq-mc-binary/Config.in | 48 ++++++++++++++++++++ package/qoriq-mc-binary/qoriq-mc-binary.hash | 3 ++ package/qoriq-mc-binary/qoriq-mc-binary.mk | 22 +++++++++ 5 files changed, 75 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
@@ -3307,6 +3307,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
@@ -456,6 +456,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 +48 -0
48 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 + +MC_PLATFORM = $(call qstrip,$(BR2_QORIQ_MC_PLATFORM)) +MC_DIR = $(call qstrip,$(BR2_QORIQ_MC_DIR)) +MC_BIN = mc_$(MC_PLATFORM)_$(QORIQ_MC_BINARY_VERSION).itb + +define QORIQ_MC_BINARY_INSTALL_IMAGES_CMDS + $(INSTALL) -D $(@D)/${MC_DIR}/${MC_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
PATCH 4/7 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.
--- DEVELOPERS | 1 + package/Config.in | 1 + package/qoriq-mc-utils/Config.in | 35 ++++++++++++++++++++++ package/qoriq-mc-utils/qoriq-mc-utils.hash | 3 ++ package/qoriq-mc-utils/qoriq-mc-utils.mk | 22 ++++++++++++++ 5 files changed, 62 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
@@ -3308,6 +3308,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
@@ -457,6 +457,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 +35 -0
@@ -0,0 +1,35 @@ +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 + https://www.nxp.com/webapp/Download?colCode=DPAA2UM # sign in required + +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
PATCH 5/7 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.
--- DEVELOPERS | 1 + package/Config.in | 1 + package/qoriq-restool/Config.in | 21 +++++++++++++++++++++ package/qoriq-restool/qoriq-restool.hash | 3 +++ package/qoriq-restool/qoriq-restool.mk | 24 ++++++++++++++++++++++++ 5 files changed, 50 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
@@ -3309,6 +3309,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
@@ -598,6 +598,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 +21 -0
@@ -0,0 +1,21 @@ +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 + https://www.nxp.com/webapp/Download?colCode=DPAA2UM # sign in required
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 = GPL2.0 +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
PATCH 7/7 board/freescale: get rid of common patch folder
In reply to Vladimir OlteanSince commit 7cbc240ac2c3 ("configs/ls1028ardb: update to Linux 6.6"), no config file references this through BR2_GLOBAL_PATCH_DIR.
Special case [PATCH] feat(build): add support for new binutils versions, which is symlinked by board/solidrun/lx2160acex7. Instead of removing this, just move it there and delete the symlink.
--- ...dd-support-for-new-binutils-versions.patch | 61 ------------------ ...Makefile-Suppress-array-bounds-error.patch | 51 --------------- ...dd-support-for-new-binutils-versions.patch | 62 ++++++++++++++++++- 3 files changed, 61 insertions(+), 113 deletions(-) delete mode 100644 board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch delete mode 100644 board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch mode change 120000 => 100644 board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0015-feat-build-add-support-for-new-binutils-versions.patch
board/freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch deleted +0 -61
@@ -1,61 +0,0 @@ -From 0f75b03c008eacb9818af3a56dc088e72a623d17 Mon Sep 17 00:00:00 2001 -From: Marco Felsch <[email protected]> -Date: Wed, 9 Nov 2022 12:59:09 +0100 -Subject: [PATCH] feat(build): add support for new binutils versions - -Users of GNU ld (BPF) from binutils 2.39+ will observe multiple instaces -of a new warning when linking the bl*.elf in the form: - - ld.bfd: warning: stm32mp1_helper.o: missing .note.GNU-stack section implies executable stack - ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker - ld.bfd: warning: bl2.elf has a LOAD segment with RWX permissions - ld.bfd: warning: bl32.elf has a LOAD segment with RWX permissions - -These new warnings are enbaled by default to secure elf binaries: - - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 - - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0d38576a34ec64a1b4500c9277a8e9d0f07e6774 - -Fix it in a similar way to what the Linux kernel does, see: -https://lore.kernel.org/all/[email protected]/ - -Following the reasoning there, we set "-z noexecstack" for all linkers -(although LLVM's LLD defaults to it) and optional add ---no-warn-rwx-segments since this a ld.bfd related. - -Signed-off-by: Marco Felsch <[email protected]> -Signed-off-by: Robert Schwebel <[email protected]> -Change-Id: I9430f5fa5036ca88da46cd3b945754d62616b617 -Signed-off-by: Heiko Thiery <[email protected]> -Upstream: https://github.com/ARM-software/arm-trusted-firmware/commit/1f49db5f25cdd4e43825c9bcc0575070b80f628c ---- - Makefile | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 1ddb7b844..470956b19 100644 ---- a/Makefile -+++ b/Makefile -@@ -416,6 +416,8 @@ endif - - GCC_V_OUTPUT := $(shell $(CC) -v 2>&1) - -+TF_LDFLAGS += -z noexecstack -+ - # LD = armlink - ifneq ($(findstring armlink,$(notdir $(LD))),) - TF_LDFLAGS += --diag_error=warning --lto_level=O1 -@@ -442,7 +444,10 @@ TF_LDFLAGS += $(subst --,-Xlinker --,$(TF_LDFLAGS_$(ARCH))) - - # LD = gcc-ld (ld) or llvm-ld (ld.lld) or other - else --TF_LDFLAGS += --fatal-warnings -O1 -+# With ld.bfd version 2.39 and newer new warnings are added. Skip those since we -+# are not loaded by a elf loader. -+TF_LDFLAGS += $(call ld_option, --no-warn-rwx-segments) -+TF_LDFLAGS += -O1 - TF_LDFLAGS += --gc-sections - # ld.lld doesn't recognize the errata flags, - # therefore don't add those in that case --- -2.30.2 -
board/freescale/common/patches/arm-trusted-firmware/0002-LF-7968-01-fix-Makefile-Suppress-array-bounds-error.patch deleted +0 -51
51 lines not on this page · raw message
board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0015-feat-build-add-support-for-new-binutils-versions.patch deleted +0 -1
@@ -1 +0,0 @@ -../../../../freescale/common/patches/arm-trusted-firmware/0001-feat-build-add-support-for-new-binutils-versions.patch
board/solidrun/lx2160acex7/patches/arm-trusted-firmware/0015-feat-build-add-support-for-new-binutils-versions.patch new file +61 -0
61 lines not on this page · raw message
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot