package/qoriq-firmware-inphi: new package

The NXP BSPs have custom support for a 25G Ethernet retimer
(drivers/net/phy/in112525.c in U-Boot) for the LX2160A-RDB board.
That driver requires a text file to be located at a given offset in the
same storage device as U-Boot itself. The text file contains a list of
register addresses and values which are programmed into the retimer.

All in all, a pretty convoluted mechanism, but the driver is
non-upstreamable, and to support the board we need this "firmware" file
deployed.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Vladimir Oltean
2025-03-28 20:04:25 +02:00
committed by Thomas Petazzoni
parent 4440f8a245
commit d2f5f519ec
5 changed files with 30 additions and 0 deletions

View File

@@ -3388,6 +3388,7 @@ F: configs/ts5500_defconfig
N: Vladimir Oltean <olteanv@gmail.com>
F: package/qoriq-ddr-phy-binary/
F: package/qoriq-firmware-inphi/
F: package/qoriq-mc-binary/
F: package/qoriq-mc-utils/

View File

@@ -450,6 +450,7 @@ menu "Firmware"
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-firmware-inphi/Config.in"
source "package/qoriq-fm-ucode/Config.in"
source "package/qoriq-mc-binary/Config.in"
source "package/qoriq-mc-utils/Config.in"

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_QORIQ_FIRMWARE_INPHI
bool "qoriq-firmware-inphi"
help
Firmware image for the Inphi IN112525 2x 25GbE SFP+
retimer, exclusively for use on the NXP LX2160A-RDB.
https://github.com/nxp-qoriq/qoriq-firmware-inphi

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 bc04d6b7ca578ad4bba053a8ec3929af305f296f23c32557dc290540cb49ac18 qoriq-firmware-inphi-f22e9ff3bfed8342da6efb699e473b11fbad5695.tar.gz
sha256 53e3eb0b2bd81c171fa04c17514e20b39b7bb1fe1224c593f7717f615fb9d52b EULA.txt

View File

@@ -0,0 +1,18 @@
################################################################################
#
# qoriq-firmware-inphi
#
################################################################################
# Unlikely to ever be updated, keep a fixed version instead of following BSP tags
QORIQ_FIRMWARE_INPHI_VERSION = f22e9ff3bfed8342da6efb699e473b11fbad5695
QORIQ_FIRMWARE_INPHI_SITE = $(call github,nxp,qoriq-firmware-inphi,$(QORIQ_FIRMWARE_INPHI_VERSION))
QORIQ_FIRMWARE_INPHI_LICENSE = NXP Binary EULA
QORIQ_FIRMWARE_INPHI_LICENSE_FILES = EULA.txt
QORIQ_FIRMWARE_INPHI_INSTALL_IMAGES = YES
define QORIQ_FIRMWARE_INPHI_INSTALL_IMAGES_CMDS
$(INSTALL) -D $(@D)/in112525-phy-ucode.txt $(BINARIES_DIR)/in112525-phy-ucode.txt
endef
$(eval $(generic-package))