diff options
Diffstat (limited to 'meta-ti-bsp')
29 files changed, 362 insertions, 36 deletions
diff --git a/meta-ti-bsp/README b/meta-ti-bsp/README index c5780531..ceff85ed 100644 --- a/meta-ti-bsp/README +++ b/meta-ti-bsp/README | |||
| @@ -1,18 +1,19 @@ | |||
| 1 | The official OpenEmbedded/Yocto BSP layer for Texas Instruments platforms. | 1 | The official OpenEmbedded/Yocto BSP layer for Texas Instruments platforms. |
| 2 | 2 | ||
| 3 | It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the | 3 | The source repository is hosted at https://git.yoctoproject.org/meta-ti |
| 4 | source repository at git://git.yoctoproject.org/meta-ti | ||
| 5 | 4 | ||
| 6 | 5 | ||
| 7 | This layer depends on: | 6 | This layer depends on: |
| 8 | 7 | ||
| 9 | URI: git://git.openembedded.org/openembedded-core | 8 | URI: https://git.openembedded.org/openembedded-core |
| 10 | layers: meta | ||
| 11 | branch: master | 9 | branch: master |
| 10 | revision: HEAD | ||
| 11 | layers: meta | ||
| 12 | 12 | ||
| 13 | URI: git://git.yoctoproject.org/meta-arm | 13 | URI: https://git.yoctoproject.org/meta-arm |
| 14 | layers: meta-arm | ||
| 15 | branch: master | 14 | branch: master |
| 15 | revision: HEAD | ||
| 16 | layers: meta-arm | ||
| 16 | 17 | ||
| 17 | 18 | ||
| 18 | The base BSP part of meta-ti should work with different OpenEmbedded/Yocto | 19 | The base BSP part of meta-ti should work with different OpenEmbedded/Yocto |
diff --git a/meta-ti-bsp/conf/machine/am62dxx-evm.conf b/meta-ti-bsp/conf/machine/am62dxx-evm.conf index ef9df2f7..b723d457 100644 --- a/meta-ti-bsp/conf/machine/am62dxx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62dxx-evm.conf | |||
| @@ -6,10 +6,14 @@ require conf/machine/include/am62dxx.inc | |||
| 6 | 6 | ||
| 7 | KERNEL_DEVICETREE_PREFIX = " \ | 7 | KERNEL_DEVICETREE_PREFIX = " \ |
| 8 | ti/k3-am62d2 \ | 8 | ti/k3-am62d2 \ |
| 9 | ti/k3-am62a7-sk-edgeai \ | 9 | ti/k3-am62a7-sk \ |
| 10 | ti/k3-am62x-sk \ | 10 | ti/k3-am62x-sk-csi2 \ |
| 11 | ti/k3-am62a7-sk-rpi-hdr-ehrpwm \ | 11 | ti/k3-am62x-sk-ecap-capture \ |
| 12 | ti/k3-am62a7-sk-e3-max-opp \ | 12 | ti/k3-am62x-sk-eqep \ |
| 13 | ti/k3-am62x-sk-hdmi \ | ||
| 14 | ti/k3-am62x-sk-lpm \ | ||
| 15 | ti/k3-am62x-sk-mcspi-loopback \ | ||
| 16 | ti/k3-am62x-sk-pwm \ | ||
| 13 | " | 17 | " |
| 14 | 18 | ||
| 15 | KERNEL_DEVICETREE = "" | 19 | KERNEL_DEVICETREE = "" |
diff --git a/meta-ti-bsp/conf/machine/include/am62axx.inc b/meta-ti-bsp/conf/machine/include/am62axx.inc index 0577ffaa..59d83c06 100644 --- a/meta-ti-bsp/conf/machine/include/am62axx.inc +++ b/meta-ti-bsp/conf/machine/include/am62axx.inc | |||
| @@ -5,8 +5,6 @@ SOC_FAMILY:append = ":am62axx" | |||
| 5 | 5 | ||
| 6 | MACHINE_FEATURES += "screen touchscreen" | 6 | MACHINE_FEATURES += "screen touchscreen" |
| 7 | 7 | ||
| 8 | TFA_K3_SYSTEM_SUSPEND = "1" | ||
| 9 | |||
| 10 | TFA_BOARD = "lite" | 8 | TFA_BOARD = "lite" |
| 11 | OPTEEMACHINE = "k3-am62x" | 9 | OPTEEMACHINE = "k3-am62x" |
| 12 | 10 | ||
diff --git a/meta-ti-bsp/conf/machine/include/am62dxx.inc b/meta-ti-bsp/conf/machine/include/am62dxx.inc index fc2ce4a3..7a11bb1a 100644 --- a/meta-ti-bsp/conf/machine/include/am62dxx.inc +++ b/meta-ti-bsp/conf/machine/include/am62dxx.inc | |||
| @@ -3,7 +3,5 @@ require conf/machine/include/mc_k3r5.inc | |||
| 3 | 3 | ||
| 4 | SOC_FAMILY:append = ":am62dxx" | 4 | SOC_FAMILY:append = ":am62dxx" |
| 5 | 5 | ||
| 6 | TFA_K3_SYSTEM_SUSPEND = "1" | ||
| 7 | |||
| 8 | TFA_BOARD = "lite" | 6 | TFA_BOARD = "lite" |
| 9 | OPTEEMACHINE = "k3-am62x" | 7 | OPTEEMACHINE = "k3-am62x" |
diff --git a/meta-ti-bsp/conf/machine/include/am62lxx.inc b/meta-ti-bsp/conf/machine/include/am62lxx.inc index 26abe479..b626119a 100644 --- a/meta-ti-bsp/conf/machine/include/am62lxx.inc +++ b/meta-ti-bsp/conf/machine/include/am62lxx.inc | |||
| @@ -6,7 +6,6 @@ MACHINE_FEATURES += "screen" | |||
| 6 | SERIAL_CONSOLES = "115200;ttyS0" | 6 | SERIAL_CONSOLES = "115200;ttyS0" |
| 7 | 7 | ||
| 8 | TFA_BOARD = "am62lx" | 8 | TFA_BOARD = "am62lx" |
| 9 | TFA_K3_SYSTEM_SUSPEND = "1" | ||
| 10 | TFA_PLATFORM = "k3low" | 9 | TFA_PLATFORM = "k3low" |
| 11 | 10 | ||
| 12 | OPTEEMACHINE = "k3-am62lx" | 11 | OPTEEMACHINE = "k3-am62lx" |
diff --git a/meta-ti-bsp/conf/machine/include/am62pxx.inc b/meta-ti-bsp/conf/machine/include/am62pxx.inc index 560334c1..6bf20ee4 100644 --- a/meta-ti-bsp/conf/machine/include/am62pxx.inc +++ b/meta-ti-bsp/conf/machine/include/am62pxx.inc | |||
| @@ -9,7 +9,6 @@ require conf/machine/include/mesa-pvr.inc | |||
| 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
| 10 | 10 | ||
| 11 | TFA_BOARD = "lite" | 11 | TFA_BOARD = "lite" |
| 12 | TFA_K3_SYSTEM_SUSPEND = "1" | ||
| 13 | 12 | ||
| 14 | OPTEEMACHINE = "k3-am62x" | 13 | OPTEEMACHINE = "k3-am62x" |
| 15 | 14 | ||
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc index 9e24898c..fc20893b 100644 --- a/meta-ti-bsp/conf/machine/include/am62xx.inc +++ b/meta-ti-bsp/conf/machine/include/am62xx.inc | |||
| @@ -12,7 +12,6 @@ PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | |||
| 12 | IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz" | 12 | IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz" |
| 13 | 13 | ||
| 14 | TFA_BOARD = "lite" | 14 | TFA_BOARD = "lite" |
| 15 | TFA_K3_SYSTEM_SUSPEND = "1" | ||
| 16 | 15 | ||
| 17 | OPTEEMACHINE = "k3-am62x" | 16 | OPTEEMACHINE = "k3-am62x" |
| 18 | 17 | ||
diff --git a/meta-ti-bsp/conf/machine/include/j722s.inc b/meta-ti-bsp/conf/machine/include/j722s.inc index c2732b70..097c4e24 100644 --- a/meta-ti-bsp/conf/machine/include/j722s.inc +++ b/meta-ti-bsp/conf/machine/include/j722s.inc | |||
| @@ -9,7 +9,6 @@ require conf/machine/include/mesa-pvr.inc | |||
| 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
| 10 | 10 | ||
| 11 | TFA_BOARD = "lite" | 11 | TFA_BOARD = "lite" |
| 12 | TFA_K3_SYSTEM_SUSPEND = "1" | ||
| 13 | 12 | ||
| 14 | OPTEEMACHINE = "k3-am62x" | 13 | OPTEEMACHINE = "k3-am62x" |
| 15 | 14 | ||
diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc index f7e2710c..a48c4f07 100644 --- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc +++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc | |||
| @@ -43,7 +43,7 @@ BSP_BOOTLOADER_PROVIDER:bsp-ti-6_18 = "u-boot-ti-staging" | |||
| 43 | BSP_BOOTLOADER_VERSION:bsp-ti-6_18 = "2026.01%" | 43 | BSP_BOOTLOADER_VERSION:bsp-ti-6_18 = "2026.01%" |
| 44 | 44 | ||
| 45 | BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_18 = "ti-img-rogue-driver" | 45 | BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_18 = "ti-img-rogue-driver" |
| 46 | BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_18 = "25%" | 46 | BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_18 = "26%" |
| 47 | BSP_MESA_PVR_VERSION:bsp-ti-6_18 = "24%" | 47 | BSP_MESA_PVR_VERSION:bsp-ti-6_18 = "24%" |
| 48 | 48 | ||
| 49 | # ========== | 49 | # ========== |
diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb new file mode 100644 index 00000000..876c3e50 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | SUMMARY = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs" | ||
| 2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver" | ||
| 3 | LICENSE = "MIT | GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2" | ||
| 5 | |||
| 6 | inherit module | ||
| 7 | |||
| 8 | PROVIDES = "virtual/gpudriver" | ||
| 9 | |||
| 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 11 | |||
| 12 | COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2|am62xx|am62pxx|j722s" | ||
| 13 | |||
| 14 | DEPENDS = "virtual/kernel" | ||
| 15 | |||
| 16 | BRANCH = "linuxws/wrynose/k6.18/${PV}" | ||
| 17 | |||
| 18 | SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}" | ||
| 19 | |||
| 20 | SRCREV = "50e14e425cbac240b2da93fac0cfcc987a4959c3" | ||
| 21 | |||
| 22 | |||
| 23 | TARGET_PRODUCT:j721e = "j721e_linux" | ||
| 24 | TARGET_PRODUCT:j721s2 = "j721s2_linux" | ||
| 25 | TARGET_PRODUCT:j784s4 = "j784s4_linux" | ||
| 26 | TARGET_PRODUCT:j742s2 = "j784s4_linux" | ||
| 27 | TARGET_PRODUCT:am62xx = "am62_linux" | ||
| 28 | TARGET_PRODUCT:am62pxx = "am62p_linux" | ||
| 29 | TARGET_PRODUCT:j722s = "j722s_linux" | ||
| 30 | PVR_BUILD = "release" | ||
| 31 | PVR_WS = "lws-generic" | ||
| 32 | |||
| 33 | EXTRA_OEMAKE += 'KERNELDIR="${KBUILD_OUTPUT}" BUILD=${PVR_BUILD} PVR_BUILD_DIR=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}' | ||
| 34 | |||
| 35 | do_compile(){ | ||
| 36 | unset CC | ||
| 37 | oe_runmake | ||
| 38 | } | ||
| 39 | |||
| 40 | do_install() { | ||
| 41 | make -C ${STAGING_KERNEL_DIR} M=${B}/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install | ||
| 42 | } | ||
| 43 | |||
| 44 | RRECOMMENDS:${PN} += "ti-img-rogue-umlibs" | ||
diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc index 85b73854..126c46df 100644 --- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | |||
| @@ -21,7 +21,7 @@ TI_PKA_FW_VERSION = "2.1.0" | |||
| 21 | TI_IPC_EXAMPLES_FW_VERSION = "3.52.00.01" | 21 | TI_IPC_EXAMPLES_FW_VERSION = "3.52.00.01" |
| 22 | PCM6240_FW_VERSION = "1.0.0.0" | 22 | PCM6240_FW_VERSION = "1.0.0.0" |
| 23 | 23 | ||
| 24 | TI_LINUX_FW_SRCREV ?= "9e9d50ff563f83db86d36b72cd7fb4f487d6b414" | 24 | TI_LINUX_FW_SRCREV ?= "ec029baad8b4b147af8331a5e099ef891e5ae1f4" |
| 25 | SRCREV = "${TI_LINUX_FW_SRCREV}" | 25 | SRCREV = "${TI_LINUX_FW_SRCREV}" |
| 26 | 26 | ||
| 27 | BRANCH ?= "ti-linux-firmware" | 27 | BRANCH ?= "ti-linux-firmware" |
diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc index 695b8b90..10697fa2 100644 --- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc +++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc | |||
| @@ -10,7 +10,7 @@ SRC_URI_TRUSTED_FIRMWARE_A = "git://git.trustedfirmware.org/TF-A/trusted-firmwar | |||
| 10 | SRCBRANCH = "master" | 10 | SRCBRANCH = "master" |
| 11 | 11 | ||
| 12 | LIC_FILES_CHKSUM:am62lxx = "file://docs/license.rst;md5=6ed7bace7b0bc63021c6eba7b524039e" | 12 | LIC_FILES_CHKSUM:am62lxx = "file://docs/license.rst;md5=6ed7bace7b0bc63021c6eba7b524039e" |
| 13 | SRCREV_tfa:am62lxx = "17d2997c0e7d4549720a5d176916f5ea0f63b009" | 13 | SRCREV_tfa:am62lxx = "bd4afc7d9dcc492b8894fe88a666c880b2fb1734" |
| 14 | SRC_URI_TRUSTED_FIRMWARE_A:am62lxx = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https" | 14 | SRC_URI_TRUSTED_FIRMWARE_A:am62lxx = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https" |
| 15 | SRCBRANCH:am62lxx = "ti-tfa-2.14.y" | 15 | SRCBRANCH:am62lxx = "ti-tfa-2.14.y" |
| 16 | 16 | ||
| @@ -28,5 +28,4 @@ TFA_INSTALL_TARGET:am62lxx = "bl31 bl1" | |||
| 28 | EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" | 28 | EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" |
| 29 | EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}" | 29 | EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}" |
| 30 | EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}" | 30 | EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}" |
| 31 | EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}" | ||
| 32 | EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000" | 31 | EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000" |
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb index d03cae2b..31fd341a 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb | |||
| @@ -4,6 +4,6 @@ PR = "r0" | |||
| 4 | 4 | ||
| 5 | BRANCH = "ti-u-boot-2025.01" | 5 | BRANCH = "ti-u-boot-2025.01" |
| 6 | 6 | ||
| 7 | SRCREV_uboot = "19795f63be7ee27e38b6e800ff6c88a2feaae13f" | 7 | SRCREV_uboot = "f6338e22d2ac0777a68fb0f295f4cf1e3e63f659" |
| 8 | 8 | ||
| 9 | SRC_URI += "file://0001-binman-migrate-form-pkg_resources-to-importlib.patch" | 9 | SRC_URI += "file://0001-binman-migrate-form-pkg_resources-to-importlib.patch" |
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb index a7225293..d3a00652 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb | |||
| @@ -4,4 +4,4 @@ PR = "r0" | |||
| 4 | 4 | ||
| 5 | BRANCH = "ti-u-boot-2026.01" | 5 | BRANCH = "ti-u-boot-2026.01" |
| 6 | 6 | ||
| 7 | SRCREV_uboot = "ee3048ee0822c35312379b6e24b5c80e9a845110" | 7 | SRCREV_uboot = "617c6fa1c50fab2acb3955b8888ec71ae7630769" |
diff --git a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb index 3e3205ba..e33a1e91 100644 --- a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb +++ b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb | |||
| @@ -10,6 +10,6 @@ PV = "0.3+git" | |||
| 10 | COMPATIBLE_MACHINE = "k3" | 10 | COMPATIBLE_MACHINE = "k3" |
| 11 | 11 | ||
| 12 | BRANCH ?= "master" | 12 | BRANCH ?= "master" |
| 13 | SRCREV = "c50875c7c4ad112d5e632bea3301e06a0aa8669f" | 13 | SRCREV = "eaa148f9640a047511be89f7652f8b1e93a4249c" |
| 14 | 14 | ||
| 15 | SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}" | 15 | SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}" |
diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb new file mode 100644 index 00000000..ff631c2d --- /dev/null +++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb | |||
| @@ -0,0 +1,152 @@ | |||
| 1 | SUMMARY = "Userspace libraries for PowerVR Rogue GPU on TI SoCs" | ||
| 2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs" | ||
| 3 | LICENSE = "TI-TFL" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f" | ||
| 5 | |||
| 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 7 | COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2|am62xx|am62pxx|j722s" | ||
| 8 | |||
| 9 | BRANCH = "linuxws/wrynose/k6.18/${PV}" | ||
| 10 | SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}" | ||
| 11 | SRCREV = "a59e0e6b92dfee7aad046b839cf6ae644355b89d" | ||
| 12 | |||
| 13 | TARGET_PRODUCT:j721e = "j721e_linux" | ||
| 14 | TARGET_PRODUCT:j721s2 = "j721s2_linux" | ||
| 15 | TARGET_PRODUCT:j784s4 = "j784s4_linux" | ||
| 16 | TARGET_PRODUCT:j742s2 = "j784s4_linux" | ||
| 17 | TARGET_PRODUCT:am62xx = "am62_linux" | ||
| 18 | TARGET_PRODUCT:am62pxx = "am62p_linux" | ||
| 19 | TARGET_PRODUCT:j722s = "j722s_linux" | ||
| 20 | PVR_BUILD = "release" | ||
| 21 | PVR_WS = "lws-generic" | ||
| 22 | |||
| 23 | RDEPENDS:${PN} = " \ | ||
| 24 | libdrm \ | ||
| 25 | ti-img-rogue-driver \ | ||
| 26 | ${PN}-firmware \ | ||
| 27 | " | ||
| 28 | |||
| 29 | PACKAGECONFIG ?= " \ | ||
| 30 | ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan wayland', 'vulkan', '', d)} \ | ||
| 31 | ${@bb.utils.filter('DISTRO_FEATURES', 'opengl opencl', d)} \ | ||
| 32 | " | ||
| 33 | |||
| 34 | PACKAGECONFIG[opengl] = ",,,,${GLES_PACKAGES}" | ||
| 35 | PACKAGECONFIG[vulkan] = ",,,,${VULKAN_PACKAGES}" | ||
| 36 | PACKAGECONFIG[opencl] = ",,,,${OPENCL_PACKAGES}" | ||
| 37 | |||
| 38 | def get_file_list(package_list_var, d): | ||
| 39 | file_list = [] | ||
| 40 | package_list = d.getVar(package_list_var) | ||
| 41 | prefix = f"{d.getVar('D')}/" | ||
| 42 | if package_list: | ||
| 43 | for package in package_list.split(): | ||
| 44 | package_file_string = d.getVar(f"FILES:{package}") | ||
| 45 | if package_file_string: | ||
| 46 | for package_file in package_file_string.split(): | ||
| 47 | file_list.append(f"{prefix}{package_file}") | ||
| 48 | return " ".join(file_list) | ||
| 49 | |||
| 50 | EXTRA_OEMAKE += 'BUILD=${PVR_BUILD} TARGET_PRODUCT=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}' | ||
| 51 | |||
| 52 | do_configure[noexec] = "1" | ||
| 53 | do_compile[noexec] = "1" | ||
| 54 | do_install() { | ||
| 55 | oe_runmake 'DESTDIR=${D}' install | ||
| 56 | if ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'false', 'true', d)}; then | ||
| 57 | for file in ${@get_file_list('GLES_PACKAGES', d)}; do | ||
| 58 | rm -rf ${file} | ||
| 59 | done | ||
| 60 | fi | ||
| 61 | if ${@bb.utils.contains('PACKAGECONFIG', 'vulkan', 'false', 'true', d)}; then | ||
| 62 | for file in ${@get_file_list('VULKAN_PACKAGES', d)}; do | ||
| 63 | rm -rf ${file} | ||
| 64 | done | ||
| 65 | fi | ||
| 66 | if ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'false', 'true', d)}; then | ||
| 67 | for file in ${@get_file_list('OPENCL_PACKAGES', d)}; do | ||
| 68 | rm -rf ${file} | ||
| 69 | done | ||
| 70 | fi | ||
| 71 | if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then | ||
| 72 | if [ -e ${D}/lib/firmware ]; then | ||
| 73 | mv ${D}/lib/firmware ${D}${nonarch_base_libdir} | ||
| 74 | fi | ||
| 75 | fi | ||
| 76 | |||
| 77 | # clean up any empty directories | ||
| 78 | find "${D}" -empty -type d -delete | ||
| 79 | |||
| 80 | # fix permissions | ||
| 81 | chown -R root:root "${D}" | ||
| 82 | } | ||
| 83 | |||
| 84 | GLES_PACKAGES = "libgles1-rogue libgles2-rogue libgles3-rogue" | ||
| 85 | VULKAN_PACKAGES = "libvk-rogue" | ||
| 86 | OPENCL_PACKAGES = "libopencl-rogue libopencl-rogue-tools" | ||
| 87 | |||
| 88 | PACKAGES = " \ | ||
| 89 | ${@bb.utils.contains('PACKAGECONFIG', 'opengl', d.getVar('GLES_PACKAGES'), '', d)} \ | ||
| 90 | ${@bb.utils.contains('PACKAGECONFIG', 'vulkan', d.getVar('VULKAN_PACKAGES'), '', d)} \ | ||
| 91 | ${@bb.utils.contains('PACKAGECONFIG', 'opencl', d.getVar('OPENCL_PACKAGES'), '', d)} \ | ||
| 92 | ${PN}-tools \ | ||
| 93 | ${PN}-firmware \ | ||
| 94 | ${PN} \ | ||
| 95 | " | ||
| 96 | |||
| 97 | # Inject variables so that packages don't get Debian-renamed (which would | ||
| 98 | # remove the -rogue suffix), but don't RPROVIDEs/RCONFLICTs on the generic | ||
| 99 | # libgl name to prevent colliding with swrast libs | ||
| 100 | python __anonymous() { | ||
| 101 | suffix = "" | ||
| 102 | if "-native" in d.getVar("PN"): | ||
| 103 | suffix = "-native" | ||
| 104 | for p in (("vulkan", "libvk",), | ||
| 105 | ("gles", "libgles1", "libglesv1-cm1"), | ||
| 106 | ("gles", "libgles2", "libglesv2-2"), | ||
| 107 | ("gles", "libgles3",), | ||
| 108 | ("opencl", "libopencl",)): | ||
| 109 | mlprefix = d.getVar("MLPREFIX") | ||
| 110 | fullp = mlprefix + p[1] + "-rogue" + suffix | ||
| 111 | mlprefix = d.getVar("MLPREFIX") | ||
| 112 | pkgs = " " + " ".join(mlprefix + x + suffix for x in p[1:]) | ||
| 113 | d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1") | ||
| 114 | d.setVar("INSANE_SKIP:" + fullp, "dev-so ldflags") | ||
| 115 | d.appendVar("RRECOMMENDS:" + fullp, " ${MLPREFIX}ti-img-rogue-umlibs" + suffix) | ||
| 116 | } | ||
| 117 | |||
| 118 | # gles specific shared objects | ||
| 119 | FILES:libgles1-rogue = "${libdir}/libGLESv1*.so*" | ||
| 120 | FILES:libgles2-rogue = "${libdir}/libGLESv2*.so*" | ||
| 121 | RDEPENDS:libgles1-rogue += "mesa-megadriver" | ||
| 122 | RDEPENDS:libgles2-rogue += "mesa-megadriver" | ||
| 123 | |||
| 124 | # vulkan specific shared objects and configs | ||
| 125 | FILES:libvk-rogue = "${libdir}/libVK_IMG.so* ${datadir}/vulkan" | ||
| 126 | RDEPENDS:libvk-rogue += "vulkan-loader wayland libdrm" | ||
| 127 | |||
| 128 | # opencl specific shared objects and configs | ||
| 129 | FILES:libopencl-rogue = "${libdir}/libPVROCL.so* ${sysconfdir}/OpenCL" | ||
| 130 | RDEPENDS:libopencl-rogue += "opencl-icd-loader" | ||
| 131 | RRECOMMENDS:libopencl-rogue += "libopencl-rogue-tools" | ||
| 132 | FILES:libopencl-rogue-tools += "${bindir}/ocl*" | ||
| 133 | DEBIAN_NOAUTONAME:libopencl-rogue-tools = "1" | ||
| 134 | INSANE_SKIP:libopencl-rogue-tools = "ldflags" | ||
| 135 | |||
| 136 | # optional tools and tests | ||
| 137 | FILES:${PN}-tools = "${bindir}/" | ||
| 138 | RDEPENDS:${PN}-tools = "python3-core libdrm ${PN}" | ||
| 139 | INSANE_SKIP:${PN}-tools = "ldflags" | ||
| 140 | |||
| 141 | # required firmware | ||
| 142 | FILES:${PN}-firmware = "${base_libdir}/firmware/*" | ||
| 143 | INSANE_SKIP:${PN}-firmware += "arch" | ||
| 144 | |||
| 145 | # common libraries | ||
| 146 | FILES:${PN} = "${libdir}" | ||
| 147 | |||
| 148 | RRECOMMENDS:${PN} += " \ | ||
| 149 | ${PN}-tools \ | ||
| 150 | " | ||
| 151 | |||
| 152 | INSANE_SKIP:${PN} += "already-stripped dev-so ldflags" | ||
diff --git a/meta-ti-bsp/recipes-graphics/wayland/weston-ti-version.inc b/meta-ti-bsp/recipes-graphics/wayland/weston-ti-version.inc index 42e6b6ac..c8624f0e 100644 --- a/meta-ti-bsp/recipes-graphics/wayland/weston-ti-version.inc +++ b/meta-ti-bsp/recipes-graphics/wayland/weston-ti-version.inc | |||
| @@ -4,4 +4,5 @@ PR:append = ".tisoc1" | |||
| 4 | 4 | ||
| 5 | SRC_URI += " \ | 5 | SRC_URI += " \ |
| 6 | file://0001-Revert-require-GL_EXT_unpack_subimage-commit.patch \ | 6 | file://0001-Revert-require-GL_EXT_unpack_subimage-commit.patch \ |
| 7 | file://0002-surface-state-Fix-assert-firing-when-subsurfaces-hav.patch \ | ||
| 7 | " | 8 | " |
diff --git a/meta-ti-bsp/recipes-graphics/wayland/weston/0002-surface-state-Fix-assert-firing-when-subsurfaces-hav.patch b/meta-ti-bsp/recipes-graphics/wayland/weston/0002-surface-state-Fix-assert-firing-when-subsurfaces-hav.patch new file mode 100644 index 00000000..d370577c --- /dev/null +++ b/meta-ti-bsp/recipes-graphics/wayland/weston/0002-surface-state-Fix-assert-firing-when-subsurfaces-hav.patch | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | From 12ecd8d4b5095c120efef76493546ead3f41ab5b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Derek Foreman <derek.foreman@collabora.com> | ||
| 3 | Date: Wed, 27 May 2026 14:12:36 -0500 | ||
| 4 | Subject: [PATCH] surface-state: Fix assert firing when subsurfaces have no | ||
| 5 | views | ||
| 6 | |||
| 7 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/2085] | ||
| 8 | |||
| 9 | I've not been able to reproduce this, but have a report that this fires | ||
| 10 | when running Chromium on aarch64. | ||
| 11 | |||
| 12 | It seems plausible that we can get here when none of the subsurfaces have | ||
| 13 | views, and thus the flag won't be set. | ||
| 14 | |||
| 15 | Let's just remove the assert. | ||
| 16 | |||
| 17 | Fixes 6a280a8f | ||
| 18 | Fixes #1117 | ||
| 19 | |||
| 20 | Signed-off-by: Derek Foreman <derek.foreman@collabora.com> | ||
| 21 | Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com> | ||
| 22 | --- | ||
| 23 | libweston/surface-state.c | 2 -- | ||
| 24 | 1 file changed, 2 deletions(-) | ||
| 25 | |||
| 26 | diff --git a/libweston/surface-state.c b/libweston/surface-state.c | ||
| 27 | index 3c31a0aa..65dc70bb 100644 | ||
| 28 | --- a/libweston/surface-state.c | ||
| 29 | +++ b/libweston/surface-state.c | ||
| 30 | @@ -268,7 +268,6 @@ weston_surface_attach(struct weston_surface *surface, | ||
| 31 | static void | ||
| 32 | weston_surface_apply_subsurface_order(struct weston_surface *surface) | ||
| 33 | { | ||
| 34 | - struct weston_compositor *comp = surface->compositor; | ||
| 35 | struct weston_subsurface *sub; | ||
| 36 | struct weston_view *view; | ||
| 37 | |||
| 38 | @@ -279,7 +278,6 @@ weston_surface_apply_subsurface_order(struct weston_surface *surface) | ||
| 39 | wl_list_for_each(view, &sub->surface->views, surface_link) | ||
| 40 | weston_view_geometry_dirty(view); | ||
| 41 | } | ||
| 42 | - weston_assert_true(comp, comp->view_list_needs_rebuild); | ||
| 43 | } | ||
| 44 | |||
| 45 | /* Translate pending damage in buffer co-ordinates to surface | ||
| 46 | -- | ||
| 47 | 2.34.1 | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb index 0d974c0b..21baed23 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb | |||
| @@ -10,7 +10,7 @@ BRANCH_ARM64 = "ti-linux-6.12.y" | |||
| 10 | BRANCH = "${BRANCH_ARM64}" | 10 | BRANCH = "${BRANCH_ARM64}" |
| 11 | 11 | ||
| 12 | BRANCH_ARM32 = "ti-rt-linux-6.12.y-arm32" | 12 | BRANCH_ARM32 = "ti-rt-linux-6.12.y-arm32" |
| 13 | SRCREV_ARM32 = "62fdc7890cde3197051743120ff44162b7356cc5" | 13 | SRCREV_ARM32 = "d7f2b5b19f14fb51ad279f76fbeedd0dfd40b69c" |
| 14 | PV_ARM32 = "6.12.57+git" | 14 | PV_ARM32 = "6.12.57+git" |
| 15 | 15 | ||
| 16 | BRANCH:ti33x = "${BRANCH_ARM32}" | 16 | BRANCH:ti33x = "${BRANCH_ARM32}" |
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb index 8a86e1d8..33972782 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb | |||
| @@ -21,7 +21,7 @@ S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}" | |||
| 21 | 21 | ||
| 22 | BRANCH ?= "ti-linux-6.12.y" | 22 | BRANCH ?= "ti-linux-6.12.y" |
| 23 | 23 | ||
| 24 | SRCREV ?= "c52c5589aab8c376f975b1feb7b8746b7b6624bd" | 24 | SRCREV ?= "4e3bcc10a5d1e9822e0ed2dad5cdd16f7cf30fe6" |
| 25 | PV = "6.12.57+git" | 25 | PV = "6.12.57+git" |
| 26 | 26 | ||
| 27 | SRC_URI += "file://0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch" | 27 | SRC_URI += "file://0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch" |
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb index 16d26a3a..306ac881 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb | |||
| @@ -22,8 +22,8 @@ S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}" | |||
| 22 | 22 | ||
| 23 | BRANCH ?= "ti-linux-6.18.y" | 23 | BRANCH ?= "ti-linux-6.18.y" |
| 24 | 24 | ||
| 25 | SRCREV ?= "4495407cc08e68dd65abaa542e1f13ad2ec90045" | 25 | SRCREV ?= "4c3bfa15a22a5c6729519e730459c483c125d5db" |
| 26 | PV = "6.18.13+git" | 26 | PV = "6.18.15+git" |
| 27 | 27 | ||
| 28 | KERNEL_REPRODUCIBILITY_PATCHES = " \ | 28 | KERNEL_REPRODUCIBILITY_PATCHES = " \ |
| 29 | file://0001-perf-python-Fix-compile-for-32bit-platforms.patch \ | 29 | file://0001-perf-python-Fix-compile-for-32bit-platforms.patch \ |
diff --git a/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc index 68b6b262..7968f3fb 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | PV = "4.9.0+git" | 1 | PV = "4.10.0+git" |
| 2 | SRCREV = "9f5e90918093c1d1cd264d8149081b64ab7ba672" | 2 | SRCREV = "9f5e90918093c1d1cd264d8149081b64ab7ba672" |
diff --git a/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc index 6ec2a83d..eea7762f 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | PV = "4.9.0+git" | 1 | PV = "4.10.0+git" |
| 2 | SRCREV = "934c7edb74a26e90f68024cf441073528444177f" | 2 | SRCREV = "934c7edb74a26e90f68024cf441073528444177f" |
diff --git a/meta-ti-bsp/recipes-security/optee/optee-ftpm-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-ftpm-ti-version.inc index 350eb9c9..b961c70f 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-ftpm-ti-version.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-ftpm-ti-version.inc | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | PV = "4.9.0+git" | 1 | PV = "4.10.0+git" |
| 2 | OPTEE_TA_GIT_TAG = "${@'branch=master' if d.getVar('PV') == 'git' or d.getVar('PV').endswith('+git') else 'tag=%s;nobranch=1' % d.getVar('PV')}" | 2 | OPTEE_TA_GIT_TAG = "${@'branch=master' if d.getVar('PV') == 'git' or d.getVar('PV').endswith('+git') else 'tag=%s;nobranch=1' % d.getVar('PV')}" |
| 3 | SRCREV_optee-ta = "a09269b15de635e1816fe832e26adfbfb44c5455" | 3 | SRCREV_optee-ta = "a09269b15de635e1816fe832e26adfbfb44c5455" |
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc index db18c696..473c5282 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | PV = "4.9.0+git" | 1 | PV = "4.10.0+git" |
| 2 | SRCREV = "f2a7ad0638aeff5243593b33cc56ad064cae7615" | 2 | SRCREV = "753afbbee1682f5d16fd30e87b31058a4fd4f4b8" |
diff --git a/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc index 15b43063..8a8e9ac8 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/optee-test:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/optee-test:" |
| 2 | 2 | ||
| 3 | PV = "4.9.0+git" | 3 | PV = "4.10.0+git" |
| 4 | SRCREV = "b27648ea8472cceceb8dda368a965c709066f7aa" | 4 | SRCREV = "88c93e87a5c172363ee986ded036a25cafcc9d2c" |
diff --git a/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup/83-netsetup b/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup/83-netsetup new file mode 100644 index 00000000..8e76bac4 --- /dev/null +++ b/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup/83-netsetup | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | # Configure network via DHCP before NFS root mount. Polls for an Ethernet | ||
| 3 | # interface with sleep 1 per iteration to allow the Ethernet driver deferred | ||
| 4 | # probe chain to settle after udev loads the modules. | ||
| 5 | |||
| 6 | netsetup_enabled() { | ||
| 7 | [ "${bootparam_root}" = "/dev/nfs" ] || return 1 | ||
| 8 | return 0 | ||
| 9 | } | ||
| 10 | |||
| 11 | netsetup_run() { | ||
| 12 | local iface timeout devtype | ||
| 13 | |||
| 14 | # Extract interface from ip= kernel param (format: client:server:gw:mask:host:device:autoconf) | ||
| 15 | iface="" | ||
| 16 | case "${bootparam_ip}" in | ||
| 17 | dhcp|on|any|"") | ||
| 18 | ;; | ||
| 19 | *) | ||
| 20 | iface=$(echo "${bootparam_ip}" | cut -d: -f6) | ||
| 21 | ;; | ||
| 22 | esac | ||
| 23 | |||
| 24 | udevadm trigger --action=add --subsystem-match=net | ||
| 25 | udevadm settle --timeout=10 | ||
| 26 | |||
| 27 | # Poll up to 60 seconds for an Ethernet interface (ARPHRD_ETHER = type 1). | ||
| 28 | msg "netsetup: waiting for ethernet interface..." | ||
| 29 | timeout=60 | ||
| 30 | while [ "${timeout}" -gt 0 ]; do | ||
| 31 | if [ -n "${iface}" ] && [ -d "/sys/class/net/${iface}" ]; then | ||
| 32 | break | ||
| 33 | fi | ||
| 34 | for dev in /sys/class/net/*; do | ||
| 35 | [ -f "${dev}/type" ] || continue | ||
| 36 | devtype=$(cat "${dev}/type") | ||
| 37 | [ "${devtype}" = "1" ] || continue | ||
| 38 | iface=$(basename "${dev}") | ||
| 39 | break | ||
| 40 | done | ||
| 41 | [ -n "${iface}" ] && [ -d "/sys/class/net/${iface}" ] && break | ||
| 42 | sleep 1 | ||
| 43 | timeout=$((timeout - 1)) | ||
| 44 | done | ||
| 45 | |||
| 46 | if [ -z "${iface}" ] || [ ! -d "/sys/class/net/${iface}" ]; then | ||
| 47 | msg "netsetup: no ethernet interface found after 60s, skipping DHCP" | ||
| 48 | return | ||
| 49 | fi | ||
| 50 | |||
| 51 | msg "netsetup: configuring ${iface} via DHCP" | ||
| 52 | |||
| 53 | udhcpc -q -i "${iface}" | ||
| 54 | } | ||
diff --git a/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb b/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb new file mode 100644 index 00000000..ec04ea9d --- /dev/null +++ b/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | SUMMARY = "initramfs support for DHCP network configuration before NFS root mount" | ||
| 2 | |||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 5 | |||
| 6 | SRC_URI = "file://83-netsetup" | ||
| 7 | |||
| 8 | S = "${UNPACKDIR}" | ||
| 9 | |||
| 10 | do_install() { | ||
| 11 | install -d ${D}/init.d | ||
| 12 | install -m 0755 ${UNPACKDIR}/83-netsetup ${D}/init.d/83-netsetup | ||
| 13 | } | ||
| 14 | |||
| 15 | FILES:${PN} = "/init.d/83-netsetup" | ||
| 16 | |||
| 17 | RDEPENDS:${PN} = "\ | ||
| 18 | initramfs-framework-base \ | ||
| 19 | " | ||
| 20 | |||
| 21 | RDEPENDS:${PN}:append:bsp-next = " \ | ||
| 22 | kernel-module-ti-am65-cpsw-nuss \ | ||
| 23 | kernel-module-k3-cppi-desc-pool \ | ||
| 24 | kernel-module-davinci-mdio \ | ||
| 25 | kernel-module-ti-cpsw-ale \ | ||
| 26 | kernel-module-ti-cpsw-sl \ | ||
| 27 | kernel-module-phylink \ | ||
| 28 | kernel-module-mdio-bitbang \ | ||
| 29 | kernel-module-phy-gmii-sel \ | ||
| 30 | " | ||
diff --git a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb index a9eff847..b4e6adff 100644 --- a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb +++ b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb | |||
| @@ -23,3 +23,5 @@ RDEPENDS:${PN} += "\ | |||
| 23 | initramfs-module-nfsrootfs \ | 23 | initramfs-module-nfsrootfs \ |
| 24 | nfs-utils-mount \ | 24 | nfs-utils-mount \ |
| 25 | " | 25 | " |
| 26 | |||
| 27 | RDEPENDS:${PN}:append:bsp-next = " initramfs-module-netsetup" | ||
