mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 09:30:21 +00:00
Compare commits
72 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea8c0b1cf1 | ||
|
|
221f4e6873 | ||
|
|
71de48a722 | ||
|
|
5d61bafe6e | ||
|
|
da65de7886 | ||
|
|
802cd01e78 | ||
|
|
ee5c640438 | ||
|
|
e174e2d73c | ||
|
|
ea43ed2a39 | ||
|
|
cd8647a36c | ||
|
|
9ebba4118d | ||
|
|
f483464c72 | ||
|
|
f9194de549 | ||
|
|
4265d50ec4 | ||
|
|
52b9de1bcb | ||
|
|
de333d2b94 | ||
|
|
5b095d968e | ||
|
|
92a0b3c1bc | ||
|
|
7ab1c14537 | ||
|
|
879abf6914 | ||
|
|
f7cd5f9213 | ||
|
|
6245469825 | ||
|
|
1bbb246166 | ||
|
|
b5523559e6 | ||
|
|
406339d5ce | ||
|
|
e96ce234d8 | ||
|
|
cd2b3b8981 | ||
|
|
e56e34653d | ||
|
|
341fa32d41 | ||
|
|
2375a811dc | ||
|
|
c19e080cc4 | ||
|
|
c8c3142da3 | ||
|
|
9e0fdb560b | ||
|
|
e1fd715c84 | ||
|
|
78ecd5e0bb | ||
|
|
0996df51df | ||
|
|
668e764a68 | ||
|
|
c66d9f5be2 | ||
|
|
a788c6f02e | ||
|
|
72d53e886f | ||
|
|
9a30c7b97a | ||
|
|
bd71e17c75 | ||
|
|
58c58429ee | ||
|
|
f6ea17b5da | ||
|
|
3dda9db492 | ||
|
|
d99cff5534 | ||
|
|
d89a382c3a | ||
|
|
f7230c4868 | ||
|
|
903bc12962 | ||
|
|
51cf5738f7 | ||
|
|
954a631aa3 | ||
|
|
f99bb55265 | ||
|
|
0e2876e2ea | ||
|
|
11a60314cf | ||
|
|
a0a480a189 | ||
|
|
eb8b398f65 | ||
|
|
813a58e1ca | ||
|
|
2e648fa3fd | ||
|
|
fbd924cfb1 | ||
|
|
fec8c90525 | ||
|
|
76f78bab9b | ||
|
|
0a02cd559a | ||
|
|
7ea7feede0 | ||
|
|
53ba440227 | ||
|
|
b2e9a43534 | ||
|
|
a09b2e73e7 | ||
|
|
49354b88a8 | ||
|
|
d9556f3fd7 | ||
|
|
72b2e09640 | ||
|
|
eeaade3f1d | ||
|
|
12a5234ea4 | ||
|
|
5632ab93f4 |
@@ -24,6 +24,23 @@
|
||||
"GUARD-2" : {
|
||||
"skip_vars" : [ "k3" , "ti-soc" ]
|
||||
},
|
||||
"GUARD-3" : {
|
||||
"skip_files" : [
|
||||
"meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend"
|
||||
]
|
||||
},
|
||||
"PV-1" : {
|
||||
"skip_files": [
|
||||
"meta-ti-bsp/recipes-multimedia/ti-multimedia-udev/ti-multimedia-udev.bb",
|
||||
"meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb",
|
||||
"meta-ti-extras/recipes-connectivity/cc33xx-target-scripts/cc33xx-target-scripts_git.bb",
|
||||
"meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb",
|
||||
"meta-ti-extras/recipes-ti/beagleboard/beaglebone-getting-started.bb",
|
||||
"meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb",
|
||||
"meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb",
|
||||
"meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb"
|
||||
]
|
||||
},
|
||||
"SUMMARY-1" : {
|
||||
"skip_files" : [
|
||||
"meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb"
|
||||
|
||||
@@ -10,12 +10,35 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/omap/am57xx-idk-lcd \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/omap/am57xx-beagle-x15.dtb \
|
||||
ti/omap/am57xx-beagle-x15-revb1.dtb \
|
||||
ti/omap/am57xx-beagle-x15-revc.dtb \
|
||||
ti/omap/am57xx-idk-lcd-osd101t2045.dtbo \
|
||||
ti/omap/am57xx-idk-lcd-osd101t2587.dtbo \
|
||||
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
|
||||
ti/omap/am571x-idk.dtb \
|
||||
ti/omap/am571x-idk-touchscreen.dtbo \
|
||||
ti/omap/am5729-beagleboneai.dtb \
|
||||
ti/omap/am572x-idk.dtb \
|
||||
ti/omap/am572x-idk-touchscreen.dtbo \
|
||||
ti/omap/am574x-idk.dtb \
|
||||
ti/omap/am57xx-beagle-x15.dtb \
|
||||
ti/omap/am57xx-beagle-x15-revb1.dtb \
|
||||
ti/omap/am57xx-beagle-x15-revc.dtb \
|
||||
ti/omap/am57xx-evm.dtbo \
|
||||
ti/omap/am57xx-idk-lcd-osd101t2045.dtbo \
|
||||
ti/omap/am57xx-idk-lcd-osd101t2587.dtbo \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
|
||||
ti/omap/am571x-idk.dtb \
|
||||
ti/omap/am571x-idk-touchscreen.dtbo \
|
||||
ti/omap/am5729-beagleboneai.dtb \
|
||||
ti/omap/am572x-idk.dtb \
|
||||
ti/omap/am572x-idk-touchscreen.dtbo \
|
||||
ti/omap/am574x-idk.dtb \
|
||||
ti/omap/am57xx-beagle-x15.dtb \
|
||||
ti/omap/am57xx-beagle-x15-revb1.dtb \
|
||||
ti/omap/am57xx-beagle-x15-revc.dtb \
|
||||
ti/omap/am57xx-evm.dtbo \
|
||||
ti/omap/am57xx-evm-ov10635.dtbo \
|
||||
ti/omap/am57xx-idk-lcd-osd101t2045.dtbo \
|
||||
ti/omap/am57xx-idk-lcd-osd101t2587.dtbo \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
@@ -5,11 +5,6 @@
|
||||
require conf/machine/include/j721e.inc
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
IMAGE_SR1_1_HS_FS_FILES = ""
|
||||
IMAGE_SR1_1_HS_SE_FILES = ""
|
||||
IMAGE_SR2_HS_FS_FILES = ""
|
||||
IMAGE_SR2_HS_SE_FILES = ""
|
||||
|
||||
UBOOT_MACHINE = "j721e_beagleboneai64_a72_defconfig"
|
||||
|
||||
SPL_BINARY = "tispl.bin_unsigned"
|
||||
@@ -18,12 +13,78 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-j721e \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
|
||||
ti/k3-j721e-beagleboneai64-BBORG_MOTOR.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
|
||||
ti/k3-j721e-beagleboneai64.dtb \
|
||||
ti/k3-j721e-beagleboneai64-microtips-mf070zima-lcd3.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13-p8_19.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_19.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14-p9_16.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_16.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm4-p9_25.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0-no-miso.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi2-cs0.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi3-cs0-no-miso.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0-cs1.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs1-no-miso.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi7-cs0.dtbo \
|
||||
ti/k3-j721e-common-proc-board.dtb \
|
||||
ti/k3-j721e-common-proc-board-infotainment.dtbo \
|
||||
ti/k3-j721e-evm-csi2-ov5640.dtbo \
|
||||
ti/k3-j721e-evm-ethfw.dtbo \
|
||||
ti/k3-j721e-evm-fusion.dtbo \
|
||||
ti/k3-j721e-evm-gesi-exp-board.dtbo \
|
||||
ti/k3-j721e-evm-ina2xx.dtbo \
|
||||
ti/k3-j721e-evm-pcie0-ep.dtbo \
|
||||
ti/k3-j721e-evm-pcie1-ep.dtbo \
|
||||
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
|
||||
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
|
||||
ti/k3-j721e-sk-csi2-ov5640.dtbo \
|
||||
ti/k3-j721e-sk.dtb \
|
||||
ti/k3-j721e-sk-fpdlink-fusion.dtbo \
|
||||
ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
|
||||
ti/k3-j721e-beagleboneai64-BBORG_MOTOR.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
|
||||
ti/k3-j721e-beagleboneai64.dtb \
|
||||
ti/k3-j721e-beagleboneai64-microtips-mf070zima-lcd3.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_13-p8_19.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm0-p8_19.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_14-p9_16.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm2-p9_16.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-pwm-epwm4-p9_25.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi1-cs0-no-miso.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi2-cs0.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi3-cs0-no-miso.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0-cs1.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs0.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi6-cs1-no-miso.dtbo \
|
||||
ti/k3-j721e-beagleboneai64-spi-mcspi7-cs0.dtbo \
|
||||
ti/k3-j721e-common-proc-board.dtb \
|
||||
ti/k3-j721e-common-proc-board-infotainment.dtbo \
|
||||
ti/k3-j721e-evm-csi2-ov5640.dtbo \
|
||||
ti/k3-j721e-evm-ethfw.dtbo \
|
||||
ti/k3-j721e-evm-fusion.dtbo \
|
||||
ti/k3-j721e-evm-gesi-exp-board.dtbo \
|
||||
ti/k3-j721e-evm-pcie0-ep.dtbo \
|
||||
ti/k3-j721e-evm-pcie1-ep.dtbo \
|
||||
ti/k3-j721e-evm-pcie-ntb.dtbo \
|
||||
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
|
||||
ti/k3-j721e-evm-ub954.dtbo \
|
||||
ti/k3-j721e-sk-csi2-dual-imx219.dtbo \
|
||||
ti/k3-j721e-sk-csi2-ov5640.dtbo \
|
||||
ti/k3-j721e-sk.dtb \
|
||||
ti/k3-j721e-sk-fpdlink-fusion.dtbo \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
@@ -11,17 +11,49 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/omap/am335x-sancloud-bbe \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/omap/am335x-bone.dtb \
|
||||
ti/omap/am335x-boneblack.dtb \
|
||||
ti/omap/am335x-boneblack-wireless.dtb \
|
||||
ti/omap/am335x-boneblue.dtb \
|
||||
ti/omap/am335x-bonegreen.dtb \
|
||||
ti/omap/am335x-bonegreen-wireless.dtb \
|
||||
ti/omap/am335x-pocketbeagle.dtb \
|
||||
ti/omap/am335x-sancloud-bbe.dtb \
|
||||
ti/omap/am335x-sancloud-bbe-extended-wifi.dtb \
|
||||
ti/omap/am335x-sancloud-bbe-lite.dtb \
|
||||
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
|
||||
ti/omap/am335x-boneblack.dtb \
|
||||
ti/omap/am335x-boneblack-revd.dtb \
|
||||
ti/omap/am335x-boneblack-uboot.dtb \
|
||||
ti/omap/am335x-boneblack-uboot-univ.dtb \
|
||||
ti/omap/am335x-boneblack-wireless.dtb \
|
||||
ti/omap/am335x-boneblue.dtb \
|
||||
ti/omap/am335x-bone.dtb \
|
||||
ti/omap/am335x-bonegreen.dtb \
|
||||
ti/omap/am335x-bonegreen-gateway.dtb \
|
||||
ti/omap/am335x-bonegreen-wireless.dtb \
|
||||
ti/omap/am335x-bonegreen-wireless-uboot-univ.dtb \
|
||||
ti/omap/am335x-evm.dtb \
|
||||
ti/omap/am335x-evmsk.dtb \
|
||||
ti/omap/am335x-icev2.dtb \
|
||||
ti/omap/am335x-osd3358-sm-red.dtb \
|
||||
ti/omap/am335x-pocketbeagle.dtb \
|
||||
ti/omap/am335x-sancloud-bbe.dtb \
|
||||
ti/omap/am335x-sancloud-bbe-extended-wifi.dtb \
|
||||
ti/omap/am335x-sancloud-bbe-lite.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
|
||||
ti/omap/am335x-boneblack.dtb \
|
||||
ti/omap/am335x-boneblack-revd.dtb \
|
||||
ti/omap/am335x-boneblack-uboot.dtb \
|
||||
ti/omap/am335x-boneblack-uboot-univ.dtb \
|
||||
ti/omap/am335x-boneblack-wireless.dtb \
|
||||
ti/omap/am335x-boneblue.dtb \
|
||||
ti/omap/am335x-bone.dtb \
|
||||
ti/omap/am335x-bonegreen.dtb \
|
||||
ti/omap/am335x-bonegreen-eco.dtb \
|
||||
ti/omap/am335x-bonegreen-gateway.dtb \
|
||||
ti/omap/am335x-bonegreen-wireless.dtb \
|
||||
ti/omap/am335x-bonegreen-wireless-uboot-univ.dtb \
|
||||
ti/omap/am335x-evm.dtb \
|
||||
ti/omap/am335x-evmsk.dtb \
|
||||
ti/omap/am335x-icev2.dtb \
|
||||
ti/omap/am335x-osd3358-sm-red.dtb \
|
||||
ti/omap/am335x-pocketbeagle.dtb \
|
||||
ti/omap/am335x-sancloud-bbe.dtb \
|
||||
ti/omap/am335x-sancloud-bbe-extended-wifi.dtb \
|
||||
ti/omap/am335x-sancloud-bbe-lite.dtb \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
@@ -6,7 +6,7 @@ require conf/machine/beagleplay-ti.conf
|
||||
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
KERNEL_DEVICETREE:append:bsp-bb_org-6_6 = " \
|
||||
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
|
||||
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay.dtb \
|
||||
@@ -32,3 +32,31 @@ ti/k3-am62x-sk-mcan.dtbo \
|
||||
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
|
||||
ti/k3-am62x-sk-pwm.dtbo \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
|
||||
ti/k3-am625-beagleplay-bcfserial-no-firmware.dtbo \
|
||||
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay.dtb \
|
||||
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
|
||||
ti/k3-am625-sk.dtb \
|
||||
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
|
||||
ti/k3-am625-sk-m2-cc3351.dtbo \
|
||||
ti/k3-am625-sk-mcspi-loopback.dtbo \
|
||||
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
|
||||
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
|
||||
ti/k3-am62x-sk-csi2-imx219.dtbo \
|
||||
ti/k3-am62x-sk-csi2-ov5640.dtbo \
|
||||
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
|
||||
ti/k3-am62x-sk-dmtimer-pwm.dtbo \
|
||||
ti/k3-am62x-sk-ecap-capture.dtbo \
|
||||
ti/k3-am62x-sk-eqep.dtbo \
|
||||
ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \
|
||||
ti/k3-am62x-sk-hdmi-audio.dtbo \
|
||||
ti/k3-am62x-sk-lpm-io-ddr-wkup-sources.dtbo \
|
||||
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
|
||||
ti/k3-am62x-sk-mcan.dtbo \
|
||||
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
|
||||
ti/k3-am62x-sk-pwm.dtbo \
|
||||
"
|
||||
|
||||
@@ -9,5 +9,7 @@ SYSFW_SOC = "j722s"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "j722s_evm_r5_defconfig"
|
||||
UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_r5_defconfig"
|
||||
UBOOT_MACHINE = "am67a_beagley_ai_r5_defconfig"
|
||||
UBOOT_MACHINE:bsp-bb_org-6_6 = "j722s_evm_r5_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_6 = "j722s_evm_r5_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_12 = "j722s_evm_r5_defconfig"
|
||||
|
||||
@@ -5,18 +5,104 @@
|
||||
require conf/machine/include/j722s.inc
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
UBOOT_MACHINE = "j722s_evm_a53_config"
|
||||
UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_a53_defconfig"
|
||||
UBOOT_MACHINE = "am67a_beagley_ai_a53_defconfig"
|
||||
UBOOT_MACHINE:bsp-bb_org-6_6 = "j722s_evm_a53_config"
|
||||
UBOOT_MACHINE:bsp-ti-6_6 = "j722s_evm_a53_config"
|
||||
UBOOT_MACHINE:bsp-ti-6_12 = "j722s_evm_a53_config"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am67a \
|
||||
ti/k3-j722s \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = ""
|
||||
|
||||
KERNEL_DEVICETREE:append:bsp-bb_org-6_12 = " \
|
||||
ti/k3-j722s-evm.dtb \
|
||||
KERNEL_DEVICETREE:bsp-bb_org-6_6 = " \
|
||||
ti/k3-am67a-beagley-ai.dtb \
|
||||
ti/k3-am67a-beagley-ai-i2c1-400000.dtbo \
|
||||
ti/k3-am67a-beagley-ai-i2c1-ads1115.dtbo \
|
||||
ti/k3-am67a-beagley-ai-i2c1-rtc-rv3028.dtbo \
|
||||
ti/k3-am67a-beagley-ai-i2c1-ssd1306.dtbo \
|
||||
ti/k3-am67a-beagley-ai-mikroe-eth.dtbo \
|
||||
ti/k3-am67a-beagley-ai-mikroe-microsd.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pps-gpio18.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-ecap0-gpio12.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio16.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio21.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio17.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio18.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio12.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio14.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio12.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio14.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio12.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio14.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio13.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio20.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio13.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio20.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio13.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio20.dtbo \
|
||||
ti/k3-am67a-beagley-ai-spi0-1cs.dtbo \
|
||||
ti/k3-am67a-beagley-ai-spi0-2cs.dtbo \
|
||||
ti/k3-am67a-beagley-ai-spidev0.dtbo \
|
||||
ti/k3-am67a-beagley-ai-uart-ttyama0.dtbo \
|
||||
ti/k3-j722s-evm-csi2-ov5640.dtbo \
|
||||
ti/k3-j722s-evm-csi2-quad-rpi-cam-imx219.dtbo \
|
||||
ti/k3-j722s-evm-csi2-quad-tevi-ov5640.dtbo \
|
||||
ti/k3-j722s-evm-dsi-rpi-7inch-panel.dtbo \
|
||||
ti/k3-j722s-evm.dtb \
|
||||
ti/k3-j722s-evm-fpdlink-fusion.dtbo \
|
||||
ti/k3-j722s-evm-microtips-mf101hie-panel.dtbo \
|
||||
ti/k3-j722s-evm-pwm.dtbo \
|
||||
ti/k3-j722s-evm-v3link-fusion.dtbo \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE:bsp-bb_org-6_12 = " \
|
||||
ti/k3-am67a-beagley-ai.dtb \
|
||||
ti/k3-am67a-beagley-ai-i2c1-400000.dtbo \
|
||||
ti/k3-am67a-beagley-ai-i2c1-ads1115.dtbo \
|
||||
ti/k3-am67a-beagley-ai-i2c1-rtc-rv3028.dtbo \
|
||||
ti/k3-am67a-beagley-ai-i2c1-ssd1306.dtbo \
|
||||
ti/k3-am67a-beagley-ai-mikroe-eth.dtbo \
|
||||
ti/k3-am67a-beagley-ai-mikroe-microsd.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pps-gpio18.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-ecap0-gpio12.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio16.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-ecap1-gpio21.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio17.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-ecap2-gpio18.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio12.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio14.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio12.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio15-gpio14.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio12.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm0-gpio5-gpio14.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio13.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio20.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio13.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio21-gpio20.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio13.dtbo \
|
||||
ti/k3-am67a-beagley-ai-pwm-epwm1-gpio6-gpio20.dtbo \
|
||||
ti/k3-am67a-beagley-ai-spi0-1cs.dtbo \
|
||||
ti/k3-am67a-beagley-ai-spi0-2cs.dtbo \
|
||||
ti/k3-am67a-beagley-ai-spidev0.dtbo \
|
||||
ti/k3-am67a-beagley-ai-uart-ttyama0.dtbo \
|
||||
ti/k3-j722s-evm-csi2-quad-rpi-cam-imx219.dtbo \
|
||||
ti/k3-j722s-evm-csi2-quad-tevi-ov5640.dtbo \
|
||||
ti/k3-j722s-evm-dsi-rpi-7inch-panel.dtbo \
|
||||
ti/k3-j722s-evm.dtb \
|
||||
ti/k3-j722s-evm-fpdlink-fusion.dtbo \
|
||||
ti/k3-j722s-evm-fpdlink-iv-fusion.dtbo \
|
||||
ti/k3-j722s-evm-microtips-mf101hie-panel.dtbo \
|
||||
ti/k3-j722s-evm-pwm.dtbo \
|
||||
ti/k3-j722s-evm-v3link-fusion.dtbo \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
@@ -18,10 +18,8 @@ KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_12 = ""
|
||||
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_12 = "1.17%"
|
||||
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_12 = "1.17%"
|
||||
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-img-rogue-driver"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_12 = "24%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_12 = "24%"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_12 = "25%"
|
||||
BSP_MESA_PVR_VERSION:bsp-bb_org-6_12 = "24%"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.12
|
||||
@@ -41,10 +39,8 @@ KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_6 = ""
|
||||
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_6 = "1.17%"
|
||||
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_6 = "1.17%"
|
||||
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-img-rogue-driver"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_6 = "24%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_6 = "24%"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_6 = "25%"
|
||||
BSP_MESA_PVR_VERSION:bsp-bb_org-6_6 = "24%"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.6
|
||||
|
||||
@@ -9,4 +9,4 @@ SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "am6232_pocketbeagle2_r5_defconfig"
|
||||
UBOOT_MACHINE = "am62_pocketbeagle2_r5_defconfig"
|
||||
|
||||
@@ -16,13 +16,43 @@ TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
OPTEEMACHINE = "k3-am62x"
|
||||
|
||||
UBOOT_MACHINE = "am6232_pocketbeagle2_a53_defconfig"
|
||||
UBOOT_MACHINE = "am62_pocketbeagle2_a53_defconfig"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am6232 \
|
||||
ti/k3-am62-pocket \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am6232-pocketbeagle2.dtb \
|
||||
ti/k3-am6232-pocketbeagle2-techlab-cape.dtbo \
|
||||
ti/k3-am6232-pocketbeagle2.dtb \
|
||||
ti/k3-am6232-pocketbeagle2-techlab-cape.dtbo \
|
||||
ti/k3-am625-beagleplay-bcfserial-no-firmware.dtbo \
|
||||
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay.dtb \
|
||||
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
|
||||
ti/k3-am625-sk.dtb \
|
||||
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
|
||||
ti/k3-am625-sk-m2-cc3351.dtbo \
|
||||
ti/k3-am625-sk-mcspi-loopback.dtbo \
|
||||
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
|
||||
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
|
||||
ti/k3-am62-pocketbeagle2-ardupilot-cape.dtbo \
|
||||
ti/k3-am62-pocketbeagle2.dtb \
|
||||
ti/k3-am62-pocketbeagle2-leds-off.dtbo \
|
||||
ti/k3-am62-pocketbeagle2-techlab-cape.dtbo \
|
||||
ti/k3-am62x-sk-csi2-imx219.dtbo \
|
||||
ti/k3-am62x-sk-csi2-ov5640.dtbo \
|
||||
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
|
||||
ti/k3-am62x-sk-dmtimer-pwm.dtbo \
|
||||
ti/k3-am62x-sk-ecap-capture.dtbo \
|
||||
ti/k3-am62x-sk-eqep.dtbo \
|
||||
ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \
|
||||
ti/k3-am62x-sk-hdmi-audio.dtbo \
|
||||
ti/k3-am62x-sk-lpm-io-ddr-wkup-sources.dtbo \
|
||||
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
|
||||
ti/k3-am62x-sk-mcan.dtbo \
|
||||
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
|
||||
ti/k3-am62x-sk-pwm.dtbo \
|
||||
"
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
require recipes-bsp/u-boot/u-boot-ti.inc
|
||||
|
||||
SUMMARY = "BeagleBoard.org U-Boot"
|
||||
|
||||
COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*"
|
||||
|
||||
PV = "2025.04"
|
||||
|
||||
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
|
||||
UBOOT_GIT_PROTOCOL = "https"
|
||||
BRANCH = "v2025.04-Beagle"
|
||||
SRCREV = "ea2aeefcb2de36f8ca1b51d0580826d13c01f143"
|
||||
|
||||
BRANCH:beagley-ai = "v2025.04-rc3-BeagleY-AI"
|
||||
BRANCH:beagley-ai-k3r5 = "v2025.04-rc3-BeagleY-AI"
|
||||
SRCREV:beagley-ai = "cc376f9faef201670c7bb1734f42f5475c73f85d"
|
||||
SRCREV:beagley-ai-k3r5 = "cc376f9faef201670c7bb1734f42f5475c73f85d"
|
||||
|
||||
SRC_URI:append:beagley-ai = " file://bootcmd-ti-mmc.cfg"
|
||||
|
||||
BRANCH:pocketbeagle2 = "v2025.04-pocketbeagle2"
|
||||
BRANCH:pocketbeagle2-k3r5 = "v2025.04-pocketbeagle2"
|
||||
SRCREV:pocketbeagle2 = "f7439516453b7728bda496ff6496ef6f1411aae3"
|
||||
SRCREV:pocketbeagle2-k3r5 = "f7439516453b7728bda496ff6496ef6f1411aae3"
|
||||
|
||||
SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg"
|
||||
19
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb
Normal file
19
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.10.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
require recipes-bsp/u-boot/u-boot-ti.inc
|
||||
|
||||
SUMMARY = "BeagleBoard.org U-Boot"
|
||||
|
||||
COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*"
|
||||
|
||||
PV = "2025.10"
|
||||
|
||||
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
|
||||
UBOOT_GIT_PROTOCOL = "https"
|
||||
BRANCH = "v2025.10-Beagle"
|
||||
SRCREV = "6825d60bea17774358f4199c4c7062801cfb931e"
|
||||
|
||||
BRANCH:pocketbeagle2 = "v2025.10-am62-pocketbeagle2"
|
||||
BRANCH:pocketbeagle2-k3r5 = "v2025.10-am62-pocketbeagle2"
|
||||
SRCREV:pocketbeagle2 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f"
|
||||
SRCREV:pocketbeagle2-k3r5 = "4e0b6294a1185029d34eff6ed91f3ad1734b643f"
|
||||
|
||||
SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg"
|
||||
@@ -19,7 +19,6 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
|
||||
|
||||
# Extra DT overlays/capes
|
||||
KERNEL_DEVICETREE:append:armv7a = " \
|
||||
ti/omap/AM335X-PRU-UIO-00A0.dtbo \
|
||||
ti/omap/BB-ADC-00A0.dtbo \
|
||||
ti/omap/BB-BBBW-WL1835-00A0.dtbo \
|
||||
ti/omap/BB-BBGG-WL1835-00A0.dtbo \
|
||||
@@ -55,14 +54,14 @@ KERNEL_DEVICETREE:append:armv7a = " \
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# 6.12.22 version for 32-bit
|
||||
SRCREV:armv7a = "d7f560ef48a867b94959f040b4c3c57053f4e32d"
|
||||
PV:armv7a = "6.12.22+git"
|
||||
BRANCH:armv7a = "v6.12.22-ti-arm32-r10"
|
||||
# 6.12.34 version for 32-bit
|
||||
SRCREV:armv7a = "9e419b26243bd7efcd103ae0f6456f828592b34b"
|
||||
PV:armv7a = "6.12.34+git"
|
||||
BRANCH:armv7a = "v6.12.34-ti-arm32-r12"
|
||||
|
||||
# 6.12.22 version for 64-bit
|
||||
SRCREV:aarch64 = "9e43fd19ece3affb9406e87ec3df733b91b77a4f"
|
||||
PV:aarch64 = "6.12.22+git"
|
||||
BRANCH:aarch64 = "v6.12.22-ti-arm64-r35"
|
||||
# 6.12.43 version for 64-bit
|
||||
SRCREV:aarch64 = "84c4b4613a852db269620a3fdfed65de90569fa1"
|
||||
PV:aarch64 = "6.12.43+git"
|
||||
BRANCH:aarch64 = "v6.12.43-ti-arm64-r54"
|
||||
|
||||
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
|
||||
|
||||
@@ -56,14 +56,14 @@ KERNEL_DEVICETREE:append:armv7a = " \
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# 6.6.58 version for 32-bit
|
||||
SRCREV:armv7a = "0d043a88f69f48789e43526d7a807ab744708071"
|
||||
SRCREV:armv7a = "3d519995234675748a38b1e3bc087baa03e3ac25"
|
||||
PV:armv7a = "6.6.58+git"
|
||||
BRANCH:armv7a = "v6.6.58-ti-arm32-r10"
|
||||
BRANCH:armv7a = "v6.6.58-ti-arm32-r12"
|
||||
|
||||
# 6.6.58 version for 64-bit
|
||||
SRCREV:aarch64 = "0987ef737c9812374607475972f0868b8fecbbf7"
|
||||
SRCREV:aarch64 = "1de9481cd5749807550148086aea959295bd11db"
|
||||
PV:aarch64 = "6.6.58+git"
|
||||
BRANCH:aarch64 = "v6.6.58-ti-arm64-r23"
|
||||
BRANCH:aarch64 = "v6.6.58-ti-arm64-r30"
|
||||
|
||||
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
|
||||
|
||||
|
||||
@@ -36,3 +36,8 @@ TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti"
|
||||
DEPLOY_DIR_IMAGE:ti-soc = "${TI_COMMON_DEPLOY}/images/${MACHINE}"
|
||||
SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk"
|
||||
PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}"
|
||||
|
||||
MIRRORS += " \
|
||||
git://git.ti.com/.* git://github.com/TexasInstruments/BASENAME;protocol=https \
|
||||
gitsm://git.ti.com/.* gitsm://github.com/TexasInstruments/BASENAME;protocol=https \
|
||||
"
|
||||
|
||||
@@ -22,7 +22,7 @@ SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 16000"
|
||||
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 18000"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
|
||||
@@ -21,7 +21,7 @@ SERIAL_CONSOLES = "115200;ttyS0"
|
||||
# UBI: logical eraseblock size: 253952 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 994 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 8000"
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 10000"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
|
||||
# from dmesg:
|
||||
|
||||
@@ -11,6 +11,10 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE_DTBMERGE = " \
|
||||
ti/k3-am62a7-sk-ub954-evm-ov2312.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am62a7-phyboard-lyra-rdk.dtb \
|
||||
ti/k3-am62a7-sk.dtb \
|
||||
|
||||
@@ -7,6 +7,8 @@ require conf/machine/include/am62dxx.inc
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62d2 \
|
||||
ti/k3-am62a7-sk-edgeai \
|
||||
ti/k3-am62x-sk \
|
||||
ti/k3-am62a7-sk-rpi-hdr-ehrpwm \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = ""
|
||||
@@ -15,4 +17,4 @@ FIT_CONF_DEFAULT_DTB = "ti/k3-am62d2-evm.dtb"
|
||||
|
||||
UBOOT_MACHINE = "am62dx_evm_a53_defconfig"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-dac-fw"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-dac-fw ti-adc-fw"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62L EVM
|
||||
|
||||
require conf/machine/include/am62lxx.inc
|
||||
require conf/machine/include/ti-extras.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi"
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62Px EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
require conf/machine/include/ti-extras.inc
|
||||
|
||||
SYSFW_SOC = "am62px"
|
||||
SYSFW_CONFIG = "evm"
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62PX EVM
|
||||
|
||||
require conf/machine/include/am62pxx.inc
|
||||
require conf/machine/include/ti-extras.inc
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62p5 \
|
||||
ti/k3-am62x-sk-csi2 \
|
||||
ti/k3-am62x-sk-hdmi \
|
||||
ti/k3-am62x-sk-lpm \
|
||||
ti/k3-am62x-sk-mcspi-loopback \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
require conf/machine/include/ti-extras.inc
|
||||
|
||||
SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62XX EVM
|
||||
|
||||
require conf/machine/include/am62xx.inc
|
||||
require conf/machine/include/ti-extras.inc
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am625 \
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62xx LP GP EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
require conf/machine/include/ti-extras.inc
|
||||
|
||||
SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM
|
||||
|
||||
require conf/machine/include/am62xx.inc
|
||||
require conf/machine/include/ti-extras.inc
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62-lp \
|
||||
@@ -13,6 +12,7 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62x-sk-hdmi \
|
||||
ti/k3-am62x-sk-lpm \
|
||||
ti/k3-am62x-sk-mcan \
|
||||
ti/k3-am62x-sk-mcspi-loopback \
|
||||
ti/k3-am62x-sk-pwm \
|
||||
"
|
||||
|
||||
|
||||
21
meta-ti-bsp/conf/machine/beaglebadge-ti.conf
Normal file
21
meta-ti-bsp/conf/machine/beaglebadge-ti.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM62L Badge
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62L Badge
|
||||
|
||||
require conf/machine/include/am62lxx.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi"
|
||||
|
||||
MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500"
|
||||
|
||||
UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62l3-badge \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = ""
|
||||
|
||||
UBOOT_MACHINE = "am62lx_badge_defconfig"
|
||||
|
||||
TFA_BOARD = "am62l-badge"
|
||||
@@ -7,7 +7,7 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":am62xx"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
|
||||
@@ -7,12 +7,6 @@ MACHINE_FEATURES += "screen touchscreen"
|
||||
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
# Default tiboot3.bin on AM62A is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM62A is for HS-FS, add a version for HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
OPTEEMACHINE = "k3-am62x"
|
||||
|
||||
|
||||
@@ -5,11 +5,5 @@ SOC_FAMILY:append = ":am62dxx"
|
||||
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
# Default tiboot3.bin on AM62D is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62dx-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM62D is for HS-FS, add a version for HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62dx-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
OPTEEMACHINE = "k3-am62x"
|
||||
|
||||
@@ -3,17 +3,11 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":am62pxx"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
# Default tiboot3.bin on AM62Px is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62px-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM62Px is for HS-FS, add a version for HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62px-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
|
||||
@@ -3,20 +3,11 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":am62xx"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
# Default tiboot3.bin on AM62x is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62x-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM62x is for HS-FS, add a version for GP
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62x-gp-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM62x is for HS-FS, add a version for HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62x-hs-evm.bin"
|
||||
|
||||
# Bitmap image tarball for early splashscreen
|
||||
IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz"
|
||||
|
||||
|
||||
@@ -5,6 +5,10 @@ SOC_FAMILY:append = ":am64xx"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = "ti/k3-am642"
|
||||
|
||||
KERNEL_DEVICETREE_DTBMERGE = " \
|
||||
ti/k3-am642-evm-nand.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \
|
||||
ti/k3-am642-evm-icssg1-dualemac.dtbo \
|
||||
@@ -20,19 +24,10 @@ KERNEL_DEVICETREE = " \
|
||||
ti/k3-am642-tqma64xxl-mbax4xxl.dtb \
|
||||
"
|
||||
|
||||
# Default tiboot3.bin on AM64x is for SR2.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for GP
|
||||
IMAGE_BOOT_FILES += "tiboot3-am64x-gp-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for SR2.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-am64x_sr2-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
|
||||
OPTEEMACHINE = "k3-am64x"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw pruprp-fw"
|
||||
|
||||
TI_WKS_BOOTLOADER_APPEND = "console=ttyS2,115200n8"
|
||||
|
||||
@@ -3,13 +3,21 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":am65xx"
|
||||
|
||||
MACHINE_FEATURES += "screen touchscreen gpu"
|
||||
MACHINE_FEATURES += "screen touchscreen"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = "ti/k3-am654"
|
||||
|
||||
KERNEL_DEVICETREE_DTBMERGE = " \
|
||||
ti/k3-am654-gp-evm.dtb \
|
||||
ti/k3-am654-evm.dtb \
|
||||
ti/k3-am654-idk.dtb \
|
||||
ti/k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtb \
|
||||
ti/k3-am6548-iot2050-advanced-m2-bkey-usb3.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am654-base-board-rocktech-rk101-panel.dtbo \
|
||||
ti/k3-am654-base-board.dtb \
|
||||
@@ -25,15 +33,8 @@ KERNEL_DEVICETREE = " \
|
||||
ti/k3-am6548-iot2050-advanced.dtb \
|
||||
"
|
||||
|
||||
IMAGE_BOOT_FILES += "sysfw.itb"
|
||||
|
||||
# Default on AM65x is for GP
|
||||
IMAGE_BOOT_FILES += "tiboot3-am65x_sr2-gp-evm.bin"
|
||||
IMAGE_BOOT_FILES += "sysfw-am65x_sr2-gp-evm.itb"
|
||||
|
||||
# Since default on AM65x is for GP, add a version for HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-am65x_sr2-hs-evm.bin"
|
||||
IMAGE_BOOT_FILES += "sysfw-am65x_sr2-hs-evm.itb"
|
||||
# Deploy SYSFW and any variants
|
||||
IMAGE_BOOT_FILES += "sysfw.itb sysfw-*-evm.itb"
|
||||
|
||||
TFA_BOARD = "generic"
|
||||
|
||||
|
||||
@@ -3,17 +3,11 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":j721s2"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
# Default tiboot3.bin on AM68 is for SR1.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM68 is for HS-FS, add a version for SR1.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "generic"
|
||||
|
||||
OPTEEMACHINE = "k3-j784s4"
|
||||
|
||||
@@ -3,17 +3,11 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":j784s4"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
# Default tiboot3.bin on AM69 is for SR1.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM69 is for HS-FS, add a version for SR1.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "j784s4"
|
||||
|
||||
OPTEEMACHINE = "k3-j784s4"
|
||||
|
||||
@@ -3,25 +3,6 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":j7200"
|
||||
|
||||
# Default tiboot3.bin on J7200 is for GP
|
||||
IMAGE_BOOT_FILES += "tiboot3-j7200-gp-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J7200 is for GP, add a version for SR1.0 HS-FS
|
||||
IMAGE_SR1_HS_FS_FILES = "tiboot3-j7200-hs-fs-evm.bin"
|
||||
IMAGE_SR1_HS_FS_FILES:bsp-mainline = ""
|
||||
IMAGE_BOOT_FILES += "${IMAGE_SR1_HS_FS_FILES}"
|
||||
|
||||
# Since default tiboot3.bin on J7200 is for GP, add a version for SR1.0 HS-SE
|
||||
IMAGE_SR1_HS_SE_FILES = "tiboot3-j7200-hs-evm.bin"
|
||||
IMAGE_SR1_HS_SE_FILES:bsp-mainline = ""
|
||||
IMAGE_BOOT_FILES += "${IMAGE_SR1_HS_SE_FILES}"
|
||||
|
||||
# Since default tiboot3.bin on J7200 is for GP, add a version for SR2.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j7200_sr2-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J721e is for GP, add a version for SR2.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j7200_sr2-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "generic"
|
||||
|
||||
OPTEEMACHINE = "k3-j721e"
|
||||
|
||||
@@ -3,34 +3,13 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":j721e"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
IMAGE_BOOT_FILES += "sysfw.itb"
|
||||
|
||||
# Default on J721e is for GP
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721e-gp-evm.bin"
|
||||
IMAGE_BOOT_FILES += "sysfw-j721e-gp-evm.itb"
|
||||
|
||||
# Since default on J721e is for GP, add a version for SR1.1 HS-FS
|
||||
IMAGE_SR1_1_HS_FS_FILES = "tiboot3-j721e_sr1_1-hs-fs-evm.bin sysfw-j721e_sr1_1-hs-fs-evm.itb"
|
||||
IMAGE_SR1_1_HS_FS_FILES:bsp-mainline = ""
|
||||
IMAGE_BOOT_FILES += "${IMAGE_SR1_1_HS_FS_FILES}"
|
||||
|
||||
# Since default on J721e is for GP, add a version for SR1.1 HS-SE
|
||||
IMAGE_SR1_1_HS_SE_FILES = "tiboot3-j721e_sr1_1-hs-evm.bin sysfw-j721e_sr1_1-hs-evm.itb"
|
||||
IMAGE_BOOT_FILES += "${IMAGE_SR1_1_HS_SE_FILES}"
|
||||
|
||||
# Since default on J721e is for GP, add a version for SR2.0 HS-FS
|
||||
IMAGE_SR2_HS_FS_FILES = "tiboot3-j721e_sr2-hs-fs-evm.bin sysfw-j721e_sr2-hs-fs-evm.itb"
|
||||
IMAGE_BOOT_FILES += "${IMAGE_SR2_HS_FS_FILES}"
|
||||
|
||||
# Since default on J721e is for GP, add a version for SR2.0 HS-SE
|
||||
IMAGE_SR2_HS_SE_FILES = "tiboot3-j721e_sr2-hs-evm.bin sysfw-j721e_sr2-hs-evm.itb"
|
||||
IMAGE_SR2_HS_SE_FILES:bsp-mainline = ""
|
||||
IMAGE_BOOT_FILES += "${IMAGE_SR2_HS_SE_FILES}"
|
||||
# Deploy SYSFW and any variants
|
||||
IMAGE_BOOT_FILES += "sysfw.itb sysfw-*-evm.itb"
|
||||
|
||||
TFA_BOARD = "generic"
|
||||
|
||||
|
||||
@@ -3,20 +3,11 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":j721s2"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
# Default tiboot3.bin on J721S2 is for GP
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721s2-gp-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J721S2 is for GP, add a version for SR1.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J721S2 is for GP, add a version for SR1.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "generic"
|
||||
|
||||
OPTEEMACHINE = "k3-j784s4"
|
||||
|
||||
@@ -3,20 +3,11 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":j722s"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
# Default tiboot3.bin on J722S is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j722s-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J722S is for HS-FS, add a version for HS-SE
|
||||
IMAGE_SR1_HS_SE_FILES = "tiboot3-j722s-hs-evm.bin"
|
||||
IMAGE_SR1_HS_SE_FILES:bsp-mainline = ""
|
||||
IMAGE_SR1_HS_SE_FILES:bsp-next = ""
|
||||
IMAGE_BOOT_FILES += "${IMAGE_SR1_HS_SE_FILES}"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
|
||||
@@ -3,17 +3,11 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":j742s2"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
# Default tiboot3.bin on J742S2 is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j742s2-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J742S2 is for HS-FS, add a version for SR1.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j742s2-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "j784s4"
|
||||
|
||||
OPTEEMACHINE = "k3-j784s4"
|
||||
|
||||
@@ -3,20 +3,11 @@ require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":j784s4"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
# Default tiboot3.bin on J784S4 is for GP
|
||||
IMAGE_BOOT_FILES += "tiboot3-j784s4-gp-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J784S4 is for GP, add a version for SR1.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J784S4 is for GP, add a version for SR1.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "j784s4"
|
||||
|
||||
OPTEEMACHINE = "k3-j784s4"
|
||||
|
||||
@@ -44,7 +44,7 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-pka-fw"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin tiboot3-*-evm.bin"
|
||||
IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}"
|
||||
|
||||
EFI_PROVIDER ?= "grub-efi"
|
||||
|
||||
@@ -9,7 +9,6 @@ require conf/machine/include/ti-bsp.inc
|
||||
# Graphics providers and variables
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
|
||||
PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPES = "zImage uImage"
|
||||
@@ -42,10 +41,10 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "vpdma-fw goodix-fw"
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc320"
|
||||
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa mmip dsp gc320"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
|
||||
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
||||
do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
|
||||
do_image_wic[depends] += "ti-rtos-messageq-test-fw:do_deploy"
|
||||
|
||||
@@ -18,10 +18,6 @@ BSP_KERNEL_VERSION:bsp-mainline = "%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-mainline = "u-boot-ti-mainline"
|
||||
BSP_BOOTLOADER_VERSION:bsp-mainline = "%"
|
||||
|
||||
# GPU support requires out-of-tree SGX and Rogue drivers not available
|
||||
# in mainline, usually present in TI staging or derivative like BB.org
|
||||
MACHINE_FEATURES:remove:bsp-mainline = "gpu"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not available in mainline
|
||||
MACHINE_FEATURES:remove:bsp-mainline = "gc320"
|
||||
|
||||
@@ -34,10 +30,6 @@ BSP_KERNEL_VERSION:bsp-next = "%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-next = "u-boot-ti-next"
|
||||
BSP_BOOTLOADER_VERSION:bsp-next = "%"
|
||||
|
||||
# GPU support requires out-of-tree SGX and Rogue drivers not available
|
||||
# in next, usually present in TI staging or derivative like BB.org
|
||||
MACHINE_FEATURES:remove:bsp-next = "gpu"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not available in next
|
||||
MACHINE_FEATURES:remove:bsp-next = "gc320"
|
||||
|
||||
@@ -52,10 +44,8 @@ BSP_BOOTLOADER_VERSION:bsp-ti-6_12 = "2025.01%"
|
||||
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_12 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-ti-6_12 = "1.17%"
|
||||
BSP_SGX_UMLIBS_VERSION:bsp-ti-6_12 = "1.17%"
|
||||
BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_12 = "ti-img-rogue-driver"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_12 = "24%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_12 = "24%"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_12 = "25%"
|
||||
BSP_MESA_PVR_VERSION:bsp-ti-6_12 = "24%"
|
||||
|
||||
# ==========
|
||||
@@ -69,10 +59,8 @@ BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%"
|
||||
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-ti-6_6 = "1.17%"
|
||||
BSP_SGX_UMLIBS_VERSION:bsp-ti-6_6 = "1.17%"
|
||||
BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "24%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_6 = "24%"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "25%"
|
||||
BSP_MESA_PVR_VERSION:bsp-ti-6_6 = "24%"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not yet available in 6.6
|
||||
@@ -92,8 +80,6 @@ BSP_SGX_DRIVER_PROVIDER ?= ""
|
||||
BSP_SGX_DRIVER_VERSION ?= ""
|
||||
BSP_ROGUE_DRIVER_PROVIDER ?= ""
|
||||
BSP_ROGUE_DRIVER_VERSION ?= ""
|
||||
BSP_SGX_UMLIBS_VERSION ?= ""
|
||||
BSP_ROGUE_UMLIBS_VERSION ?= ""
|
||||
BSP_MESA_PVR_VERSION ?= ""
|
||||
|
||||
# ==========
|
||||
@@ -109,7 +95,7 @@ PREFERRED_VERSION_${BSP_BOOTLOADER_PROVIDER} ?= "${BSP_BOOTLOADER_VERSION}"
|
||||
# GPU provider gets set in machine configs, as some machines are headless
|
||||
# Select default preferred versions here
|
||||
PREFERRED_VERSION_ti-sgx-ddk-km ?= "${BSP_SGX_DRIVER_VERSION}"
|
||||
PREFERRED_VERSION_ti-sgx-ddk-um ?= "${BSP_SGX_UMLIBS_VERSION}"
|
||||
PREFERRED_VERSION_ti-sgx-ddk-um ?= "${BSP_SGX_DRIVER_VERSION}"
|
||||
PREFERRED_VERSION_ti-img-rogue-driver ?= "${BSP_ROGUE_DRIVER_VERSION}"
|
||||
PREFERRED_VERSION_ti-img-rogue-umlibs ?= "${BSP_ROGUE_UMLIBS_VERSION}"
|
||||
PREFERRED_VERSION_ti-img-rogue-umlibs ?= "${BSP_ROGUE_DRIVER_VERSION}"
|
||||
PREFERRED_VERSION_mesa-pvr ?= "${BSP_MESA_PVR_VERSION}"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Add TI_EXTRAS to machine overrides so we get access to e.g. 'jailhouse'
|
||||
|
||||
TI_EXTRAS ??= ""
|
||||
MACHINEOVERRIDES =. "${@ '${TI_EXTRAS}:' if d.getVar('TI_EXTRAS').startswith('tie-') else ''}"
|
||||
MACHINEOVERRIDES =. "${@ ':'.join('${TI_EXTRAS}'.strip().split()) + ':' if d.getVar('TI_EXTRAS') else ''}"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
# and platforms defined in meta-ti to allow BSP-level overrides.
|
||||
SOC_FAMILY = "ti-soc"
|
||||
require conf/machine/include/soc-family.inc
|
||||
require conf/machine/include/ti-extras.inc
|
||||
|
||||
# kernel, initrd load addresses for the fitImage in all TI platforms
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
|
||||
@@ -9,7 +9,6 @@ require conf/machine/include/ti-bsp.inc
|
||||
# Graphics providers and variables
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
|
||||
PVR_DISPLAY_CONTROLLER_ALIAS ?= "tilcdc"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
@@ -88,7 +87,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "amx3-cm3 prueth-fw pruhsr-fw pruprp-fw"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa gpu"
|
||||
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
|
||||
@@ -9,7 +9,6 @@ require conf/machine/include/ti-bsp.inc
|
||||
# Graphics providers and variables
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}"
|
||||
PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
@@ -60,7 +59,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "amx3-cm3 prueth-fw pruhsr-fw pruprp-fw"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu"
|
||||
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
|
||||
@@ -6,6 +6,10 @@ require conf/machine/include/j7200.inc
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = "ti/k3-j7200"
|
||||
|
||||
KERNEL_DEVICETREE_DTBMERGE = " \
|
||||
ti/k3-j7200-evm.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j7200-common-proc-board.dtb \
|
||||
ti/k3-j7200-evm-quad-port-eth-exp.dtbo \
|
||||
|
||||
@@ -10,6 +10,10 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-j7200-evm-mcspi-loopback \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE_DTBMERGE = " \
|
||||
ti/k3-j721e-evm.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j721e-beagleboneai64.dtb \
|
||||
ti/k3-j721e-common-proc-board-infotainment.dtbo \
|
||||
|
||||
@@ -15,6 +15,10 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE_DTBMERGE = " \
|
||||
ti/k3-j721s2-evm.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am68-sk-base-board.dtb \
|
||||
ti/k3-j721s2-common-proc-board.dtb \
|
||||
|
||||
@@ -7,7 +7,7 @@ require conf/machine/include/j722s.inc
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-j722s \
|
||||
ti/k3-fpdlink \
|
||||
ti/k3-am625-sk-mcspi-loopback \
|
||||
ti/k3-am62x-sk-mcspi-loopback \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
|
||||
@@ -27,3 +27,5 @@ do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/cnm
|
||||
install -m 0644 ${S}/cnm/${SOURCE_WAVE521C} ${D}${nonarch_base_libdir}/firmware/cnm/${TARGET_WAVE521C}
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} += "ti-multimedia-udev"
|
||||
|
||||
@@ -19,7 +19,7 @@ SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "8eaff654a8871118c08cfafe53795f57e3b6b396"
|
||||
SRCREV = "a838ac0074db640ebd1b64be6364417b1bbca3cd"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
TARGET_PRODUCT:j721s2 = "j721s2_linux"
|
||||
15
meta-ti-bsp/recipes-bsp/ti-adc-fw/ti-adc-fw.bb
Normal file
15
meta-ti-bsp/recipes-bsp/ti-adc-fw/ti-adc-fw.bb
Normal file
@@ -0,0 +1,15 @@
|
||||
DESCRIPTION = "TI ADC PCM6240 config prebuild binary firmware"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PV = "${PCM6240_FW_VERSION}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "am62dxx"
|
||||
|
||||
PCM6240_2DEV = "pcm6240-2dev-reg.bin"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware
|
||||
install -m 0644 ${S}/ti/pcm6240/${PCM6240_2DEV} ${D}${nonarch_base_libdir}/firmware/
|
||||
}
|
||||
@@ -29,7 +29,7 @@ PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
PLAT_SFX:am62axx = "am62axx"
|
||||
PLAT_SFX:am62dxx = "am62axx"
|
||||
PLAT_SFX:am62dxx = "am62dxx"
|
||||
PLAT_SFX:am62lxx = "am62lxx"
|
||||
PLAT_SFX:am62pxx = "am62pxx"
|
||||
|
||||
@@ -87,7 +87,7 @@ do_deploy() {
|
||||
ALTERNATIVE:${PN}:am62xx = "am62-main-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:am62pxx = "am62p-main-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:am62axx = "am62a-main-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:am62dxx = "am62a-main-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:am62dxx = "am62d-main-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:j721e = "j7-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:j7200 = "j7200-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:j721s2 = "j721s2-mcu-r5f0_0-fw"
|
||||
@@ -99,6 +99,7 @@ ALTERNATIVE:${PN}:j742s2 = "j742s2-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[am62-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62-main-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[am62p-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62p-main-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[am62a-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62a-main-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[am62d-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62d-main-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7200-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[j721s2-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j721s2-mcu-r5f0_0-fw"
|
||||
@@ -110,6 +111,7 @@ ALTERNATIVE_LINK_NAME[j742s2-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j
|
||||
ALTERNATIVE_TARGET[am62-main-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
ALTERNATIVE_TARGET[am62p-main-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
ALTERNATIVE_TARGET[am62a-main-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
ALTERNATIVE_TARGET[am62d-main-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
ALTERNATIVE_TARGET[j7200-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
ALTERNATIVE_TARGET[j721s2-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
|
||||
@@ -14,10 +14,12 @@ BRANCH = "scarthgap/k${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/multimedia/img-vxe-vxd.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
SRCREV = "038d9263c67900ea4eff631820b088a3dc3a6ad5"
|
||||
SRCREV = "0bcbb20af32ea13275b452f0e84f5a49966d0bf6"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE += 'KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'
|
||||
|
||||
RDEPENDS:${PN} += "ti-multimedia-udev"
|
||||
|
||||
@@ -9,18 +9,20 @@ INC_PR = "r4"
|
||||
# Firmware versions
|
||||
CORESDK_RTOS_VERSION = "08.02.00.04"
|
||||
PRUETH_FW_AM65X_VERSION = "08.00.00.20"
|
||||
PRUETH_FW_AM65X_SR2_VERSION = "02.02.15.04"
|
||||
PRUETH_FW_AM65X_SR2_VERSION = "02.02.15.10"
|
||||
GOODIX_FW_VERSION = "1.0.0.0"
|
||||
CADENCE_MHDP_FW_VERSION = "2.1.0"
|
||||
IMG_DEC_FW_VERSION = "1.0"
|
||||
CNM_WAVE521_FW_VERSION = "1.0.8"
|
||||
TI_DM_FW_VERSION = "11.01.09"
|
||||
TI_SYSFW_VERSION = "11.01.05"
|
||||
TI_DM_FW_VERSION = "11.02.07"
|
||||
TI_SYSFW_VERSION = "11.02.05"
|
||||
TI_HSM_DEMO_FW_VERSION = "11.00.09"
|
||||
TAD5212_FW_VERSION = "1.0.0.0"
|
||||
TI_PKA_FW_VERSION = "2.1.0"
|
||||
TI_IPC_EXAMPLES_FW_VERSION = "3.52.00.01"
|
||||
PCM6240_FW_VERSION = "1.0.0.0"
|
||||
|
||||
TI_LINUX_FW_SRCREV ?= "e89a348f4618a26812fb353a04ed9532ef890a2f"
|
||||
TI_LINUX_FW_SRCREV ?= "8ec0c42b8ccf2c9e8bebfd7c4e03d93fed555442"
|
||||
SRCREV = "${TI_LINUX_FW_SRCREV}"
|
||||
|
||||
BRANCH ?= "ti-linux-firmware"
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
SUMMARY = "TI MessageQ prebuilt binary firmware images"
|
||||
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/TI-TFL;md5=a1b59cb7ba626b9dbbcbf00f3fbc438a"
|
||||
|
||||
COMPATIBLE_MACHINE = "am57xx"
|
||||
|
||||
inherit update-alternatives
|
||||
inherit deploy
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PV = "${TI_IPC_EXAMPLES_FW_VERSION}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
INSTALL_IPC_FW_DIR = "${nonarch_base_libdir}/firmware/ipc"
|
||||
|
||||
IPU_1_FW = "messageq_server_ipu1.xem4"
|
||||
IPU_2_FW = "messageq_server_ipu2.xem4"
|
||||
DSP_1_FW = "messageq_server_dsp1.xe66"
|
||||
DSP_2_FW = "messageq_server_dsp2.xe66"
|
||||
|
||||
IPU_1_FW_DIR = "ti_platforms_evmDRA7XX_ipu1"
|
||||
IPU_2_FW_DIR = "ti_platforms_evmDRA7XX_ipu2"
|
||||
DSP_1_FW_DIR = "ti_platforms_evmDRA7XX_dsp1"
|
||||
DSP_2_FW_DIR = "ti_platforms_evmDRA7XX_dsp2"
|
||||
|
||||
do_install() {
|
||||
# Install Firmware
|
||||
install -d ${D}${INSTALL_IPC_FW_DIR}/${IPU_1_FW_DIR}
|
||||
install -d ${D}${INSTALL_IPC_FW_DIR}/${IPU_2_FW_DIR}
|
||||
install -d ${D}${INSTALL_IPC_FW_DIR}/${DSP_1_FW_DIR}
|
||||
install -d ${D}${INSTALL_IPC_FW_DIR}/${DSP_2_FW_DIR}
|
||||
|
||||
install -m 0644 ${S}/ti-ipc/am57xx/${IPU_1_FW} ${D}${INSTALL_IPC_FW_DIR}/${IPU_1_FW_DIR}
|
||||
install -m 0644 ${S}/ti-ipc/am57xx/${IPU_2_FW} ${D}${INSTALL_IPC_FW_DIR}/${IPU_2_FW_DIR}
|
||||
install -m 0644 ${S}/ti-ipc/am57xx/${DSP_1_FW} ${D}${INSTALL_IPC_FW_DIR}/${DSP_1_FW_DIR}
|
||||
install -m 0644 ${S}/ti-ipc/am57xx/${DSP_2_FW} ${D}${INSTALL_IPC_FW_DIR}/${DSP_2_FW_DIR}
|
||||
}
|
||||
|
||||
do_deploy() {
|
||||
install -d ${DEPLOYDIR}/ipc
|
||||
install -m 0644 ${S}/ti-ipc/am57xx/${IPU_1_FW} ${DEPLOYDIR}/ipc/dra7-ipu1-fw.xem4
|
||||
}
|
||||
|
||||
addtask deploy after do_install
|
||||
|
||||
# Set up names for the firmwares
|
||||
|
||||
ALTERNATIVE:${PN} = "\
|
||||
dra7-ipu1-fw.xem4 \
|
||||
dra7-ipu2-fw.xem4 \
|
||||
dra7-dsp1-fw.xe66 \
|
||||
dra7-dsp2-fw.xe66 \
|
||||
"
|
||||
|
||||
ALTERNATIVE_LINK_NAME[dra7-ipu1-fw.xem4] = "${nonarch_base_libdir}/firmware/dra7-ipu1-fw.xem4"
|
||||
ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/dra7-ipu2-fw.xem4"
|
||||
ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/dra7-dsp1-fw.xe66"
|
||||
ALTERNATIVE_LINK_NAME[dra7-dsp2-fw.xe66] = "${nonarch_base_libdir}/firmware/dra7-dsp2-fw.xe66"
|
||||
|
||||
ALTERNATIVE_TARGET[dra7-ipu1-fw.xem4] = "${INSTALL_IPC_FW_DIR}/${IPU_1_FW_DIR}/${IPU_1_FW}"
|
||||
ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${INSTALL_IPC_FW_DIR}/${IPU_2_FW_DIR}/${IPU_2_FW}"
|
||||
ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${INSTALL_IPC_FW_DIR}/${DSP_1_FW_DIR}/${DSP_1_FW}"
|
||||
ALTERNATIVE_TARGET[dra7-dsp2-fw.xe66] = "${INSTALL_IPC_FW_DIR}/${DSP_2_FW_DIR}/${DSP_2_FW}"
|
||||
|
||||
ALTERNATIVE_PRIORITY = "30"
|
||||
@@ -1,5 +1,7 @@
|
||||
# NOTE: This .inc file with customizations only gets included for K3 platforms
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/trusted-firmware-a:"
|
||||
|
||||
PV = "2.13+git"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=6ed7bace7b0bc63021c6eba7b524039e"
|
||||
@@ -8,7 +10,7 @@ SRC_URI_TRUSTED_FIRMWARE_A = "git://git.trustedfirmware.org/TF-A/trusted-firmwar
|
||||
SRCBRANCH = "master"
|
||||
|
||||
LIC_FILES_CHKSUM:am62lxx = "file://docs/license.rst;md5=1118e32884721c0be33267bd7ae11130"
|
||||
SRCREV_tfa:am62lxx = "ed89d963b00e8dbdb91cea87e1ba43db0a64fba9"
|
||||
SRCREV_tfa:am62lxx = "11e6effa9128d62f7fb085f47adbf01a7c4a1134"
|
||||
SRC_URI_TRUSTED_FIRMWARE_A:am62lxx = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
|
||||
SRCBRANCH:am62lxx = "ti-master"
|
||||
|
||||
@@ -22,10 +24,20 @@ TFA_SPD = "opteed"
|
||||
|
||||
# For am62lxx, install bl1 & bl31 using TFA_INSTALL_TARGET
|
||||
TFA_INSTALL_TARGET:am62lxx = "bl31 bl1"
|
||||
TFA_SPD:am62lxx = ""
|
||||
|
||||
EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
|
||||
EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}"
|
||||
EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}"
|
||||
EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
|
||||
EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000"
|
||||
|
||||
# LPM support patches for Jacinto platforms (J7200, J742S2, J784S4)
|
||||
TFA_JACINTO_LPM_PATCHES = " \
|
||||
file://0001-feat-k3-choose-cluster_start_id-depending-on-the-soc.patch \
|
||||
file://0002-feat-ti-add-message-to-encrypt-tfa-during-suspend.patch \
|
||||
file://0003-feat-k3-handle-suspend-in-case-of-LPM_BOARDCFG_MANAG.patch \
|
||||
"
|
||||
|
||||
SRC_URI:append:j7200 = " ${TFA_JACINTO_LPM_PATCHES}"
|
||||
SRC_URI:append:j742s2 = " ${TFA_JACINTO_LPM_PATCHES}"
|
||||
SRC_URI:append:j784s4 = " ${TFA_JACINTO_LPM_PATCHES}"
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
From 3de4f871d9bfe29c3862860e494bfa70ba72af3e Mon Sep 17 00:00:00 2001
|
||||
From: Abhash Kumar Jha <a-kumar2@ti.com>
|
||||
Date: Mon, 20 Oct 2025 11:26:17 +0530
|
||||
Subject: [PATCH 1/3] feat(k3): choose cluster_start_id depending on the soc
|
||||
|
||||
The CLUSTER_DEVICE_START_ID denotes the device id of the A-core cluster.
|
||||
It is utilized when powering off the entire cluster.
|
||||
|
||||
J7200, J721E and J721S2 have a different cluster_start_id than their
|
||||
"generic" counterparts.
|
||||
|
||||
Query the JTAG_ID register to get the part id and choose the
|
||||
cluster_start_id depending on that.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Change-Id: I44d3ac0ec646c39019e4c0167d34f410015a147a
|
||||
Signed-off-by: Abhash Kumar Jha <a-kumar2@ti.com>
|
||||
---
|
||||
plat/ti/k3/common/k3_bl31_setup.c | 1 +
|
||||
plat/ti/k3/common/k3_psci.c | 25 ++++++++++++++++++++++++-
|
||||
plat/ti/k3/include/platform_def.h | 16 ++++++++++++++++
|
||||
3 files changed, 41 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/plat/ti/k3/common/k3_bl31_setup.c b/plat/ti/k3/common/k3_bl31_setup.c
|
||||
index 1b93dc860..79a9c924c 100644
|
||||
--- a/plat/ti/k3/common/k3_bl31_setup.c
|
||||
+++ b/plat/ti/k3/common/k3_bl31_setup.c
|
||||
@@ -20,6 +20,7 @@ const mmap_region_t plat_k3_mmap[] = {
|
||||
K3_MAP_REGION_FLAT(SEC_PROXY_RT_BASE, SEC_PROXY_RT_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
|
||||
K3_MAP_REGION_FLAT(SEC_PROXY_SCFG_BASE, SEC_PROXY_SCFG_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
|
||||
K3_MAP_REGION_FLAT(SEC_PROXY_DATA_BASE, SEC_PROXY_DATA_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
|
||||
+ K3_MAP_REGION_FLAT(WKUP_CTRL_MMR0_BASE, WKUP_CTRL_MMR0_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
|
||||
diff --git a/plat/ti/k3/common/k3_psci.c b/plat/ti/k3/common/k3_psci.c
|
||||
index ec37d9f4c..a443dd851 100644
|
||||
--- a/plat/ti/k3/common/k3_psci.c
|
||||
+++ b/plat/ti/k3/common/k3_psci.c
|
||||
@@ -11,6 +11,8 @@
|
||||
#include <common/debug.h>
|
||||
#include <lib/el3_runtime/cpu_data.h>
|
||||
#include <lib/psci/psci.h>
|
||||
+#include <lib/mmio.h>
|
||||
+#include <lib/utils_def.h>
|
||||
#include <plat/common/platform.h>
|
||||
|
||||
#include <ti_sci_protocol.h>
|
||||
@@ -83,6 +85,27 @@ static int k3_pwr_domain_on(u_register_t mpidr)
|
||||
return PSCI_E_SUCCESS;
|
||||
}
|
||||
|
||||
+uint32_t get_plat_cluster_start_id()
|
||||
+{
|
||||
+ static uint32_t cluster_id;
|
||||
+ uint32_t part_id, jtag_id_reg;
|
||||
+
|
||||
+ if (cluster_id) {
|
||||
+ return cluster_id;
|
||||
+ }
|
||||
+
|
||||
+ jtag_id_reg = mmio_read_32(WKUP_CTRL_MMR0_BASE + JTAG_ID);
|
||||
+ part_id = EXTRACT(JTAG_PART_ID, jtag_id_reg);
|
||||
+
|
||||
+ if ((part_id == J7200_PART_ID) || (part_id == J721E_PART_ID) || (part_id == J721S2_PART_ID)) {
|
||||
+ cluster_id = J7_PLAT_CLUSTER_DEVICE_START_ID;
|
||||
+ } else {
|
||||
+ cluster_id = PLAT_CLUSTER_DEVICE_START_ID;
|
||||
+ }
|
||||
+
|
||||
+ return cluster_id;
|
||||
+}
|
||||
+
|
||||
void k3_pwr_domain_off(const psci_power_state_t *target_state)
|
||||
{
|
||||
int core, cluster, proc_id, device_id, cluster_id, ret;
|
||||
@@ -97,7 +120,7 @@ void k3_pwr_domain_off(const psci_power_state_t *target_state)
|
||||
cluster = MPIDR_AFFLVL1_VAL(read_mpidr_el1());
|
||||
proc_id = PLAT_PROC_START_ID + core;
|
||||
device_id = PLAT_PROC_DEVICE_START_ID + core;
|
||||
- cluster_id = PLAT_CLUSTER_DEVICE_START_ID + (cluster * 2);
|
||||
+ cluster_id = get_plat_cluster_start_id() + (cluster * 2);
|
||||
|
||||
/*
|
||||
* If we are the last core in the cluster then we take a reference to
|
||||
diff --git a/plat/ti/k3/include/platform_def.h b/plat/ti/k3/include/platform_def.h
|
||||
index db5e31d95..d191781a6 100644
|
||||
--- a/plat/ti/k3/include/platform_def.h
|
||||
+++ b/plat/ti/k3/include/platform_def.h
|
||||
@@ -25,6 +25,22 @@
|
||||
#define SEC_PROXY_RT_SIZE 0x80000
|
||||
#endif /* K3_SEC_PROXY_LITE */
|
||||
|
||||
+#define WKUP_CTRL_MMR0_BASE UL(0x43000000)
|
||||
+#define WKUP_CTRL_MMR0_SIZE UL(0x20000)
|
||||
+#define JTAG_ID U(0x14)
|
||||
+#define JTAG_PART_ID_MASK GENMASK(27, 12)
|
||||
+
|
||||
+#define J721E_PART_ID U(0xBB64)
|
||||
+#define J7200_PART_ID U(0xBB6D)
|
||||
+#define J721S2_PART_ID U(0xBB75)
|
||||
+#define J784S4_J742S2_PART_ID U(0xBB80)
|
||||
+
|
||||
+#define JTAG_PART_ID_WIDTH U(0x10)
|
||||
+#define JTAG_PART_ID_SHIFT U(0xC)
|
||||
+
|
||||
+/* A-core Cluster Device ID for j721e, j7200 and j721s2 */
|
||||
+#define J7_PLAT_CLUSTER_DEVICE_START_ID U(0x4)
|
||||
+
|
||||
#define SEC_PROXY_TIMEOUT_US 1000000
|
||||
#define SEC_PROXY_MAX_MESSAGE_SIZE 56
|
||||
|
||||
--
|
||||
2.34.1
|
||||
@@ -0,0 +1,194 @@
|
||||
From c79ff3679a4360bb848b01d4036c365533fcf791 Mon Sep 17 00:00:00 2001
|
||||
From: Richard Genoud <richard.genoud@bootlin.com>
|
||||
Date: Tue, 11 Feb 2025 18:20:17 +0100
|
||||
Subject: [PATCH 2/3] feat(ti): add message to encrypt tfa during suspend
|
||||
|
||||
At suspend, BL31 with its context will be encrypted by TIFS in DDR.
|
||||
Encryption is needed for security matters, so that the BL31 is not
|
||||
modified before entering suspend or early at resume.
|
||||
|
||||
We only need the encryption function here because the decryption message
|
||||
will be send by the R5 SPL at resume.
|
||||
|
||||
Also introduce the LPM_ENCRYPT_IMAGE cap signals that FW has the support
|
||||
to encrypt the image using the TISCI_MSG_LPM_ENCRYPT tisci message.
|
||||
|
||||
This is useful in suspend to ram cases where we would like to
|
||||
store the encrypted image of a secure fw instead of the original image
|
||||
itself in the DDR.
|
||||
|
||||
Check for LPM_ENCRYPT_IMAGE flag in the FW capabilities, and only then
|
||||
call encrypt.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Change-Id: I266472da87dd0821493019b2d9853f8886f33811
|
||||
Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
|
||||
Signed-off-by: Abhash Kumar Jha <a-kumar2@ti.com>
|
||||
---
|
||||
drivers/ti/ti_sci/ti_sci.c | 36 +++++++++++++++++++++++++++++
|
||||
drivers/ti/ti_sci/ti_sci.h | 7 ++++++
|
||||
drivers/ti/ti_sci/ti_sci_protocol.h | 32 +++++++++++++++++++++++++
|
||||
plat/ti/k3/common/k3_psci.c | 10 ++++++++
|
||||
4 files changed, 85 insertions(+)
|
||||
|
||||
diff --git a/drivers/ti/ti_sci/ti_sci.c b/drivers/ti/ti_sci/ti_sci.c
|
||||
index f0813e5b0..ee5f7166f 100644
|
||||
--- a/drivers/ti/ti_sci/ti_sci.c
|
||||
+++ b/drivers/ti/ti_sci/ti_sci.c
|
||||
@@ -1784,3 +1784,39 @@ int ti_sci_lpm_get_next_sys_mode(uint8_t *next_mode)
|
||||
|
||||
return 0;
|
||||
}
|
||||
+/*
|
||||
+ * ti_sci_encrypt_tfa - Ask TIFS to encrypt TFA at a specific address
|
||||
+ *
|
||||
+ * @src_tfa_addr: Address where the TFA lies unencrypted
|
||||
+ * @src_tfa_len: Size of the TFA unencrypted
|
||||
+ *
|
||||
+ * Return: 0 if all goes well, else appropriate error message
|
||||
+ */
|
||||
+int ti_sci_encrypt_tfa(uint64_t src_tfa_addr,
|
||||
+ uint32_t src_tfa_len)
|
||||
+{
|
||||
+ struct ti_sci_msg_req_encrypt_tfa req = { 0 };
|
||||
+ struct ti_sci_msg_resp_encrypt_tfa resp = { 0 };
|
||||
+ struct ti_sci_xfer xfer;
|
||||
+ int ret;
|
||||
+
|
||||
+ ret = ti_sci_setup_one_xfer(TISCI_MSG_LPM_ENCRYPT_TFA, 0,
|
||||
+ &req, sizeof(req),
|
||||
+ &resp, sizeof(resp),
|
||||
+ &xfer);
|
||||
+ if (ret != 0U) {
|
||||
+ ERROR("Message alloc failed (%d)\n", ret);
|
||||
+ return ret;
|
||||
+ }
|
||||
+
|
||||
+ req.src_tfa_addr = src_tfa_addr;
|
||||
+ req.src_tfa_len = src_tfa_len;
|
||||
+
|
||||
+ ret = ti_sci_do_xfer(&xfer);
|
||||
+ if (ret != 0U) {
|
||||
+ ERROR("Transfer send failed (%d)\n", ret);
|
||||
+ return ret;
|
||||
+ }
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
diff --git a/drivers/ti/ti_sci/ti_sci.h b/drivers/ti/ti_sci/ti_sci.h
|
||||
index 1f1963274..2afa11317 100644
|
||||
--- a/drivers/ti/ti_sci/ti_sci.h
|
||||
+++ b/drivers/ti/ti_sci/ti_sci.h
|
||||
@@ -258,6 +258,11 @@ int ti_sci_proc_wait_boot_status_no_wait(uint8_t proc_id,
|
||||
*
|
||||
* Return: 0 if all goes well, else appropriate error message
|
||||
*
|
||||
+ * - ti_sci_encrypt_tfa - Ask TIFS to encrypt TFA at a specific address
|
||||
+ *
|
||||
+ * @src_tfa_addr: Address where the TFA lies unencrypted
|
||||
+ * @src_tfa_len: Size of the TFA unencrypted
|
||||
+ *
|
||||
* NOTE: for all these functions, the following are generic in nature:
|
||||
* Returns 0 for successful request, else returns corresponding error message.
|
||||
*/
|
||||
@@ -265,5 +270,7 @@ int ti_sci_enter_sleep(uint8_t proc_id,
|
||||
uint8_t mode,
|
||||
uint64_t core_resume_addr);
|
||||
int ti_sci_lpm_get_next_sys_mode(uint8_t *next_mode);
|
||||
+int ti_sci_encrypt_tfa(uint64_t src_tfa_addr,
|
||||
+ uint32_t src_tfa_len);
|
||||
|
||||
#endif /* TI_SCI_H */
|
||||
diff --git a/drivers/ti/ti_sci/ti_sci_protocol.h b/drivers/ti/ti_sci/ti_sci_protocol.h
|
||||
index bdd24622a..a165cda99 100644
|
||||
--- a/drivers/ti/ti_sci/ti_sci_protocol.h
|
||||
+++ b/drivers/ti/ti_sci/ti_sci_protocol.h
|
||||
@@ -53,6 +53,9 @@
|
||||
#define TISCI_MSG_GET_PROC_BOOT_STATUS 0xc400
|
||||
#define TISCI_MSG_WAIT_PROC_BOOT_STATUS 0xc401
|
||||
|
||||
+/* TFA encrypt/decrypt messages */
|
||||
+#define TISCI_MSG_LPM_ENCRYPT_TFA 0x030F
|
||||
+
|
||||
/**
|
||||
* struct ti_sci_secure_msg_hdr - Header that prefixes all TISCI messages sent
|
||||
* via secure transport.
|
||||
@@ -160,6 +163,7 @@ struct ti_sci_msg_resp_query_fw_caps {
|
||||
#define MSG_FLAG_CAPS_LPM_STANDBY TI_SCI_MSG_FLAG(3)
|
||||
#define MSG_FLAG_CAPS_LPM_PARTIAL_IO TI_SCI_MSG_FLAG(4)
|
||||
#define MSG_FLAG_CAPS_LPM_DM_MANAGED TI_SCI_MSG_FLAG(5)
|
||||
+#define MSG_FLAG_CAPS_LPM_ENCRYPT_IMAGE TI_SCI_MSG_FLAG(11)
|
||||
uint64_t fw_caps;
|
||||
} __packed;
|
||||
|
||||
@@ -810,4 +814,32 @@ struct ti_sci_msg_resp_lpm_get_next_sys_mode {
|
||||
uint8_t mode;
|
||||
} __packed;
|
||||
|
||||
+/*
|
||||
+ * struct ti_sci_msg_req_encrypt_tfa - Request for TISCI_MSG_LPM_ENCRYPT_TFA.
|
||||
+ *
|
||||
+ * @hdr Generic Header
|
||||
+ * @src_tfa_addr: Address where the TFA lies unencrypted
|
||||
+ * @src_tfa_len: Size of the TFA unencrypted
|
||||
+ *
|
||||
+ * This message is to be sent when the system is going in suspend, just before
|
||||
+ * TI_SCI_MSG_ENTER_SLEEP.
|
||||
+ * The TIFS will then encrypt the TFA and store it in RAM, along with a private
|
||||
+ * header.
|
||||
+ * Upon resume, the SPL will ask TIFS to decrypt it back.
|
||||
+ */
|
||||
+struct ti_sci_msg_req_encrypt_tfa {
|
||||
+ struct ti_sci_msg_hdr hdr;
|
||||
+ uint64_t src_tfa_addr;
|
||||
+ uint32_t src_tfa_len;
|
||||
+} __packed;
|
||||
+
|
||||
+/*
|
||||
+ * struct ti_sci_msg_req_encrypt_tfa - Request for TISCI_MSG_LPM_ENCRYPT_TFA.
|
||||
+ *
|
||||
+ * @hdr Generic Header
|
||||
+ */
|
||||
+struct ti_sci_msg_resp_encrypt_tfa {
|
||||
+ struct ti_sci_msg_hdr hdr;
|
||||
+} __packed;
|
||||
+
|
||||
#endif /* TI_SCI_PROTOCOL_H */
|
||||
diff --git a/plat/ti/k3/common/k3_psci.c b/plat/ti/k3/common/k3_psci.c
|
||||
index a443dd851..c2017666b 100644
|
||||
--- a/plat/ti/k3/common/k3_psci.c
|
||||
+++ b/plat/ti/k3/common/k3_psci.c
|
||||
@@ -24,6 +24,7 @@
|
||||
#define SYSTEM_PWR_STATE(state) ((state)->pwr_domain_state[PLAT_MAX_PWR_LVL])
|
||||
|
||||
uintptr_t k3_sec_entrypoint;
|
||||
+bool encrypt_image;
|
||||
|
||||
static void k3_cpu_standby(plat_local_state_t cpu_state)
|
||||
{
|
||||
@@ -282,6 +283,11 @@ static void k3_pwr_domain_suspend_to_mode(const psci_power_state_t *target_state
|
||||
k3_gic_cpuif_disable();
|
||||
k3_gic_save_context();
|
||||
|
||||
+ if (encrypt_image)
|
||||
+ {
|
||||
+ ti_sci_encrypt_tfa((uint64_t)__TEXT_START__, BL31_SIZE);
|
||||
+ }
|
||||
+
|
||||
k3_pwr_domain_off(target_state);
|
||||
|
||||
ti_sci_enter_sleep(proc_id, mode, k3_sec_entrypoint);
|
||||
@@ -347,6 +353,10 @@ int plat_setup_psci_ops(uintptr_t sec_entrypoint,
|
||||
ERROR("Unable to query firmware capabilities (%d)\n", ret);
|
||||
}
|
||||
|
||||
+ if (fw_caps & MSG_FLAG_CAPS_LPM_ENCRYPT_IMAGE) {
|
||||
+ encrypt_image = true;
|
||||
+ }
|
||||
+
|
||||
/* If firmware does not support any known suspend mode */
|
||||
if (!(fw_caps & (MSG_FLAG_CAPS_LPM_DEEP_SLEEP |
|
||||
MSG_FLAG_CAPS_LPM_MCU_ONLY |
|
||||
--
|
||||
2.34.1
|
||||
@@ -0,0 +1,68 @@
|
||||
From 470cf022d03e350beab36605d4250944d2c92ffe Mon Sep 17 00:00:00 2001
|
||||
From: Abhash Kumar Jha <a-kumar2@ti.com>
|
||||
Date: Tue, 28 Oct 2025 23:24:22 +0530
|
||||
Subject: [PATCH 3/3] feat(k3): handle suspend in case of LPM_BOARDCFG_MANAGED
|
||||
|
||||
The J7 platforms support LPM_BOARDCFG_MANAGED capability where the
|
||||
low power mode configuration is done statically for the DM via the
|
||||
pm-boardcfg.
|
||||
|
||||
This is entirely opposite to the case of DM_MANAGED, where the DM fw
|
||||
decides the low power mode to enter into.
|
||||
|
||||
Introduce LPM_BOARDCFG_MANAGED cap to handle suspend for those
|
||||
platforms as well.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Change-Id: Iaa0ab478cbe0db6652f61e9d733c0fddb4bab234
|
||||
Signed-off-by: Abhash Kumar Jha <a-kumar2@ti.com>
|
||||
---
|
||||
drivers/ti/ti_sci/ti_sci_protocol.h | 1 +
|
||||
plat/ti/k3/common/k3_psci.c | 13 ++++++++-----
|
||||
2 files changed, 9 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/drivers/ti/ti_sci/ti_sci_protocol.h b/drivers/ti/ti_sci/ti_sci_protocol.h
|
||||
index a165cda99..b83174b0d 100644
|
||||
--- a/drivers/ti/ti_sci/ti_sci_protocol.h
|
||||
+++ b/drivers/ti/ti_sci/ti_sci_protocol.h
|
||||
@@ -164,6 +164,7 @@ struct ti_sci_msg_resp_query_fw_caps {
|
||||
#define MSG_FLAG_CAPS_LPM_PARTIAL_IO TI_SCI_MSG_FLAG(4)
|
||||
#define MSG_FLAG_CAPS_LPM_DM_MANAGED TI_SCI_MSG_FLAG(5)
|
||||
#define MSG_FLAG_CAPS_LPM_ENCRYPT_IMAGE TI_SCI_MSG_FLAG(11)
|
||||
+#define MSG_FLAG_CAPS_LPM_BOARDCFG_MANAGED TI_SCI_MSG_FLAG(12)
|
||||
uint64_t fw_caps;
|
||||
} __packed;
|
||||
|
||||
diff --git a/plat/ti/k3/common/k3_psci.c b/plat/ti/k3/common/k3_psci.c
|
||||
index c2017666b..9cf41b4cb 100644
|
||||
--- a/plat/ti/k3/common/k3_psci.c
|
||||
+++ b/plat/ti/k3/common/k3_psci.c
|
||||
@@ -357,17 +357,20 @@ int plat_setup_psci_ops(uintptr_t sec_entrypoint,
|
||||
encrypt_image = true;
|
||||
}
|
||||
|
||||
- /* If firmware does not support any known suspend mode */
|
||||
- if (!(fw_caps & (MSG_FLAG_CAPS_LPM_DEEP_SLEEP |
|
||||
+ /* If firmware is capabale of low power modes */
|
||||
+ if (fw_caps & (MSG_FLAG_CAPS_LPM_DM_MANAGED |
|
||||
+ MSG_FLAG_CAPS_LPM_BOARDCFG_MANAGED)) {
|
||||
+ k3_plat_psci_ops.pwr_domain_suspend = k3_pwr_domain_suspend_dm_managed;
|
||||
+ } else if (!(fw_caps & (MSG_FLAG_CAPS_LPM_DEEP_SLEEP |
|
||||
MSG_FLAG_CAPS_LPM_MCU_ONLY |
|
||||
MSG_FLAG_CAPS_LPM_STANDBY |
|
||||
MSG_FLAG_CAPS_LPM_PARTIAL_IO))) {
|
||||
- /* Disable PSCI suspend support */
|
||||
+ /* If firmware does not support any known suspend mode
|
||||
+ * disable PSCI suspend support
|
||||
+ */
|
||||
k3_plat_psci_ops.pwr_domain_suspend = NULL;
|
||||
k3_plat_psci_ops.pwr_domain_suspend_finish = NULL;
|
||||
k3_plat_psci_ops.get_sys_suspend_power_state = NULL;
|
||||
- } else if (fw_caps & MSG_FLAG_CAPS_LPM_DM_MANAGED) {
|
||||
- k3_plat_psci_ops.pwr_domain_suspend = k3_pwr_domain_suspend_dm_managed;
|
||||
}
|
||||
|
||||
*psci_ops = &k3_plat_psci_ops;
|
||||
--
|
||||
2.34.1
|
||||
@@ -1,12 +1,10 @@
|
||||
#
|
||||
# Jailhouse settings
|
||||
#
|
||||
COMPATIBLE_MACHINE:tie-jailhouse = "am62xx|am62pxx|am62lxx"
|
||||
|
||||
# This will have priority over generic uboot path
|
||||
BRANCH:tie-jailhouse:bsp-ti-6_12 = "ti-u-boot-2025.01-jailhouse"
|
||||
|
||||
COMPATIBLE_MACHINE = "am62xx|am62pxx|am62lxx"
|
||||
SRCREV_uboot:tie-jailhouse:bsp-ti-6_12 = "e718bbcec3ebf663c021839753034a224be4cc53"
|
||||
|
||||
BRANCH = "ti-u-boot-2025.01"
|
||||
BRANCH:tie-jailhouse = "ti-u-boot-2025.01-jailhouse"
|
||||
|
||||
SRCREV = "e718bbcec3ebf663c021839753034a224be4cc53"
|
||||
SRCREV:tie-jailhouse = "e718bbcec3ebf663c021839753034a224be4cc53"
|
||||
|
||||
UBOOT_GIT_URI = "git://git.ti.com/git/processor-sdk/u-boot.git"
|
||||
UBOOT_GIT_URI:tie-jailhouse = "git://git.ti.com/git/processor-sdk/u-boot.git"
|
||||
|
||||
@@ -6,4 +6,4 @@ PV = "2025.07"
|
||||
|
||||
UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
|
||||
|
||||
SRCREV = "e37de002fac3895e8d0b60ae2015e17bb33e2b5b"
|
||||
SRCREV_uboot = "e37de002fac3895e8d0b60ae2015e17bb33e2b5b"
|
||||
|
||||
@@ -6,4 +6,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2024.04"
|
||||
|
||||
SRCREV = "29d0c23d67ee7b88e46fe1753cd020e2b04c2ef6"
|
||||
SRCREV_uboot = "29d0c23d67ee7b88e46fe1753cd020e2b04c2ef6"
|
||||
|
||||
@@ -6,4 +6,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2025.01"
|
||||
|
||||
SRCREV = "05d141ca0739756a0cdd7a19268e3ad07279a17e"
|
||||
SRCREV_uboot = "df1fe238230433ba3e5b731356156e145aa90917"
|
||||
|
||||
@@ -25,7 +25,9 @@ BRANCH ?= "master"
|
||||
UBOOT_GIT_URI ?= "git://git.ti.com/git/ti-u-boot/ti-u-boot.git"
|
||||
UBOOT_GIT_PROTOCOL ?= "https"
|
||||
UBOOT_GIT_BRANCH ?= "branch=${BRANCH}"
|
||||
SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};${UBOOT_GIT_BRANCH}"
|
||||
SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};${UBOOT_GIT_BRANCH};name=uboot"
|
||||
|
||||
SRCREV_FORMAT = "uboot"
|
||||
|
||||
PV:append = "+git"
|
||||
|
||||
@@ -61,7 +63,7 @@ PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
PLAT_SFX:am62axx = "am62axx"
|
||||
PLAT_SFX:am62dxx = "am62axx"
|
||||
PLAT_SFX:am62dxx = "am62dxx"
|
||||
PLAT_SFX:am62lxx = "am62lxx"
|
||||
PLAT_SFX:am62pxx = "am62pxx"
|
||||
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
SUMMARY = "VPE test program"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
|
||||
|
||||
DEPENDS = "virtual/kernel vpdma-fw"
|
||||
|
||||
PR = "r3"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"
|
||||
BRANCH ?= "master"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/vpe_tests/vpe_tests.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FLOATABI = "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
|
||||
|
||||
# The test application needs additional include headers from the kernel
|
||||
EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${FLOATABI}" KDIR="${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"'
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR="${D}" install
|
||||
rm -rf ${D}${nonarch_base_libdir}/firmware/vpdma-*.bin
|
||||
rmdir -p ${D}${nonarch_base_libdir}/firmware || true
|
||||
}
|
||||
@@ -10,7 +10,7 @@ PV = "0.3+git"
|
||||
COMPATIBLE_MACHINE = "k3"
|
||||
|
||||
BRANCH ?= "master"
|
||||
SRCREV = "b35ec6f6c6e11471c5d06f8c24ac396077f893be"
|
||||
SRCREV = "4e3a44c4b961831f2de80606942dd0d8eb508eca"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
|
||||
@@ -23,25 +23,15 @@ SRC_URI = " \
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PACKAGECONFIG:append = " \
|
||||
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', 'pvr', '', d)} \
|
||||
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
|
||||
"
|
||||
|
||||
SRCREV = "82e6a9293c476267417c5b6b906b01fb73a34e38"
|
||||
SRCREV = "68af6a102c2298569e77d1aa8bccc1ff61438b3e"
|
||||
PV = "24.0.1"
|
||||
|
||||
PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
|
||||
PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
|
||||
PACKAGECONFIG[sgx] = "-Dgallium-sgx-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
|
||||
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}"
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', ',sgx', '', d)}"
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', ',sgx', '', d)}"
|
||||
|
||||
VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}"
|
||||
VULKAN_DRIVERS:append = "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', ',pvr', '', d)}"
|
||||
|
||||
do_install:append () {
|
||||
# remove pvr custom pkgconfig
|
||||
|
||||
@@ -6,11 +6,9 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de52
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2|am62xx|am62pxx|j722s"
|
||||
|
||||
PR = "r4"
|
||||
|
||||
BRANCH = "linuxws/scarthgap/k6.12/${PV}"
|
||||
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
|
||||
SRCREV = "1ed9ee185cd876200e6747192854015b8e94a7b0"
|
||||
SRCREV = "adcbb5c620ff172da4152c02a2fee8f42dc4c472"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
@@ -40,9 +40,7 @@ TARGET_PRODUCT:ti43x = "ti437x_linux"
|
||||
TARGET_PRODUCT:omap-a15 = "ti572x_linux"
|
||||
TARGET_PRODUCT:am65xx = "ti654x_linux"
|
||||
|
||||
RDEPENDS:${PN} += "libdrm"
|
||||
|
||||
RRECOMMENDS:${PN} += "ti-sgx-ddk-km"
|
||||
RDEPENDS:${PN} += "libdrm ti-sgx-ddk-km"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ BRANCH_ARM64 = "ti-linux-6.12.y"
|
||||
BRANCH = "${BRANCH_ARM64}"
|
||||
|
||||
BRANCH_ARM32 = "ti-rt-linux-6.12.y-arm32"
|
||||
SRCREV_ARM32 = "2bcb6e9caabf65ef182dde7dc0332a7fe53622a2"
|
||||
PV_ARM32 = "6.12.35+git"
|
||||
SRCREV_ARM32 = "1379a8eb9786e78509f67ff8eac658bde5ddc66d"
|
||||
PV_ARM32 = "6.12.57+git"
|
||||
|
||||
BRANCH:ti33x = "${BRANCH_ARM32}"
|
||||
BRANCH:ti43x = "${BRANCH_ARM32}"
|
||||
|
||||
@@ -22,8 +22,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.12.y"
|
||||
|
||||
SRCREV ?= "c94f90807b390a224fd087549b4bd5d84d5fc971"
|
||||
PV = "6.12.35+git"
|
||||
SRCREV ?= "15b58b1dcd0e0a79d83740b81da1a1367f6f3f68"
|
||||
PV = "6.12.57+git"
|
||||
|
||||
# Special configuration for remoteproc/rpmsg IPC modules
|
||||
module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
#
|
||||
# Jailhouse settings
|
||||
#
|
||||
BRANCH:tie-jailhouse:bsp-ti-6_12 = "ti-linux-6.12.y-jailhouse"
|
||||
|
||||
# Use different commit, repo and branch for TI extras build
|
||||
# This will have priority over generic rt path
|
||||
|
||||
COMPATIBLE_MACHINE = "am62xx|am62pxx|am62lxx"
|
||||
|
||||
BRANCH = "ti-linux-6.12.y"
|
||||
BRANCH:tie-jailhouse = "ti-linux-6.12.y-jailhouse"
|
||||
|
||||
SRCREV = "c9e21a1ebd757f2b4487035382bbf65299cf8170"
|
||||
SRCREV:tie-jailhouse = "229a48602ad1557612a4ffabec6a3cbcdd745f87"
|
||||
SRCREV:tie-jailhouse:bsp-ti-6_12 = "229a48602ad1557612a4ffabec6a3cbcdd745f87"
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
|
||||
# Use different commit, repo and branch for TI extras build
|
||||
# This will have priority over generic rt path
|
||||
|
||||
COMPATIBLE_MACHINE = "am62xx|am62pxx|am62lxx"
|
||||
#
|
||||
# Jailhouse settings
|
||||
#
|
||||
COMPATIBLE_MACHINE:tie-jailhouse = "am62xx|am62pxx|am62lxx"
|
||||
|
||||
BRANCH = "ti-linux-6.12.y"
|
||||
BRANCH:tie-jailhouse = "ti-linux-6.12.y-jailhouse"
|
||||
BRANCH:tie-jailhouse:bsp-ti-6_12 = "ti-linux-6.12.y-jailhouse"
|
||||
|
||||
SRCREV = "c9e21a1ebd757f2b4487035382bbf65299cf8170"
|
||||
SRCREV:tie-jailhouse = "229a48602ad1557612a4ffabec6a3cbcdd745f87"
|
||||
|
||||
KERNEL_GIT_URI = "git://git.ti.com/git/processor-sdk/linux.git"
|
||||
SRCREV:tie-jailhouse:bsp-ti-6_12 = "229a48602ad1557612a4ffabec6a3cbcdd745f87"
|
||||
|
||||
KERNEL_GIT_URI:tie-jailhouse = "git://git.ti.com/git/processor-sdk/linux.git"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
SUBSYSTEM=="video4linux", DEVPATH=="/devices/*/*210000.video-codec/video4linux/video*", ATTR{name}=="C&M Wave5 VPU decoder", SYMLINK+="video-dec0"
|
||||
SUBSYSTEM=="video4linux", DEVPATH=="/devices/*/*210000.video-codec/video4linux/video*", ATTR{name}=="C&M Wave5 VPU encoder", SYMLINK+="video-enc0"
|
||||
SUBSYSTEM=="video4linux", DEVPATH=="/devices/*/4220000.video-codec/video4linux/video*", ATTR{name}=="C&M Wave5 VPU decoder", SYMLINK+="video-dec1"
|
||||
SUBSYSTEM=="video4linux", DEVPATH=="/devices/*/4220000.video-codec/video4linux/video*", ATTR{name}=="C&M Wave5 VPU encoder", SYMLINK+="video-enc1"
|
||||
SUBSYSTEM=="video4linux", DEVPATH=="/devices/*/fd20000.jpeg-encoder/video4linux/video*", ATTR{name}=="e5010", SYMLINK+="jpeg-enc0"
|
||||
@@ -0,0 +1,11 @@
|
||||
SUMMARY = "Udev rules for device naming of VPU devices and JPEG encoder"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
SRC_URI += "file://67-multimedia.rules"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/udev/rules.d
|
||||
install -m 0644 ${WORKDIR}/67-multimedia.rules ${D}${sysconfdir}/udev/rules.d/
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
PV = "4.6.0+git"
|
||||
SRCREV = "02e7f9213b0d7db9c35ebf1e41e733fc9c5a3f75"
|
||||
PV = "4.7.0+git"
|
||||
SRCREV = "23c112a6f05cc5e39bd4aaf52ad515cad532237d"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PV = "4.6.0+git"
|
||||
SRCREV = "5306d2c7c618bb4a91df17a2d5d79ae4701af4a3"
|
||||
PV = "4.7.0+git"
|
||||
SRCREV = "14321a0607db16099d158478b21a2b2e37b3a935"
|
||||
|
||||
@@ -6,4 +6,8 @@ require ${OPTEE_TI_VERSION}
|
||||
OPTEE_TI_OVERRIDES = ""
|
||||
OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc"
|
||||
|
||||
SRC_URI:remove = " \
|
||||
file://0003-optee-enable-clang-support.patch \
|
||||
"
|
||||
|
||||
require ${OPTEE_TI_OVERRIDES}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Use TI SECDEV for signing
|
||||
inherit ti-secdev
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os:"
|
||||
|
||||
EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
|
||||
|
||||
EXTRA_OEMAKE:append:k3 = " ${@ 'CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
|
||||
@@ -76,3 +78,12 @@ RDEPENDS:${PN} += "${PN}-ta"
|
||||
|
||||
# This is needed for bl32.elf
|
||||
INSANE_SKIP:${PN}:append:k3 = " textrel"
|
||||
|
||||
# LPM support patch for Jacinto platforms (J7200, J742S2, J784S4)
|
||||
OPTEE_JACINTO_LPM_PATCHES = " \
|
||||
file://0001-plat-k3-drivers-Open-TRNG-firewall-for-TIFS-on-all-k.patch \
|
||||
"
|
||||
|
||||
SRC_URI:append:j7200 = " ${OPTEE_JACINTO_LPM_PATCHES}"
|
||||
SRC_URI:append:j742s2 = " ${OPTEE_JACINTO_LPM_PATCHES}"
|
||||
SRC_URI:append:j784s4 = " ${OPTEE_JACINTO_LPM_PATCHES}"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
PV = "4.6.0+git"
|
||||
SRCREV = "71785645fa6ce42db40dbf5a54e0eaedc4f61591"
|
||||
|
||||
PV = "4.7.0+git"
|
||||
SRCREV = "a9690ae39995af36a31b7a4f446f27ea0787e3a4"
|
||||
SRC_URI:remove = " \
|
||||
file://0001-checkconf.mk-do-not-use-full-path-to-generate-guard-.patch \
|
||||
file://0001-arm64.h-fix-compile-error-with-Clang.patch \
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
From 00f74ba2ab00088d51e6da3c0eefe50599ef5c82 Mon Sep 17 00:00:00 2001
|
||||
From: Prasanth Babu Mantena <p-mantena@ti.com>
|
||||
Date: Mon, 3 Nov 2025 12:42:57 +0530
|
||||
Subject: [PATCH] plat-k3: drivers: Open TRNG firewall for TIFS on all k3 devs
|
||||
|
||||
On k3 devices, TRNG is firewalled to be accessed only by OPTEE.
|
||||
|
||||
TIFS needs this for the encryption and decryption services to support
|
||||
different low power modes. So, open firewall to TIFS as well.
|
||||
|
||||
There is no concurrent usage of TRNG, as TIFS uses TRNG only at suspend
|
||||
when OPTEE is down and resume, when firewalls are restored but OPTEE is
|
||||
not up yet.
|
||||
|
||||
As this is a firewall that required to be shared along with TIFS on all
|
||||
devices, making this a common change and open on all devs.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/OP-TEE/optee_os/pull/7582]
|
||||
|
||||
Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
|
||||
Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>
|
||||
Reviewed-by: Andrew Davis <afd@ti.com>
|
||||
---
|
||||
core/arch/arm/plat-k3/drivers/sa2ul.c | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/core/arch/arm/plat-k3/drivers/sa2ul.c b/core/arch/arm/plat-k3/drivers/sa2ul.c
|
||||
index c50757b2c..e10bde131 100644
|
||||
--- a/core/arch/arm/plat-k3/drivers/sa2ul.c
|
||||
+++ b/core/arch/arm/plat-k3/drivers/sa2ul.c
|
||||
@@ -121,12 +121,7 @@ static TEE_Result sa2ul_init(void)
|
||||
start_address = RNG_BASE;
|
||||
end_address = RNG_BASE + RNG_REG_SIZE - 1;
|
||||
permissions[num_perm++] = (FW_BIG_ARM_PRIVID << 16) | FW_SECURE_ONLY;
|
||||
-#if defined(PLATFORM_FLAVOR_am62x) || \
|
||||
- defined(PLATFORM_FLAVOR_am62ax) || \
|
||||
- defined(PLATFORM_FLAVOR_am62px)
|
||||
-
|
||||
permissions[num_perm++] = (FW_TIFS_PRIVID << 16) | FW_NON_SECURE;
|
||||
-#endif
|
||||
ret = ti_sci_set_fwl_region(fwl_id, rng_region, num_perm,
|
||||
control, permissions,
|
||||
start_address, end_address);
|
||||
--
|
||||
2.34.1
|
||||
@@ -6,4 +6,8 @@ require ${OPTEE_TI_VERSION}
|
||||
OPTEE_TI_OVERRIDES = ""
|
||||
OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc"
|
||||
|
||||
SRC_URI:remove = " \
|
||||
file://0003-optee-enable-clang-support.patch \
|
||||
"
|
||||
|
||||
require ${OPTEE_TI_OVERRIDES}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a8fa504109e4cd7ea575bc49ea4be560"
|
||||
|
||||
PV = "4.6.0+git"
|
||||
SRCREV = "a9e9495f4d57b97022008ad11198195e7e044c5d"
|
||||
PV = "4.7.0+git"
|
||||
SRCREV = "a15be9eca1b7e935917d834284726027dffc8cfb"
|
||||
|
||||
SRC_URI:remove = " \
|
||||
file://0001-xtest-stats-remove-unneeded-stat.h-include.patch \
|
||||
|
||||
@@ -9,8 +9,8 @@ TI_IPC_GIT_URI = "git://git.ti.com/git/ipc/ipcdev.git"
|
||||
TI_IPC_GIT_PROTOCOL = "https"
|
||||
TI_IPC_GIT_BRANCH = "master"
|
||||
|
||||
#Corresponds to 3.51.00.00A
|
||||
TI_IPC_SRCREV = "7a6e343a208d2849139b7272a67abc01db806e00"
|
||||
#Corresponds to 3.52.00.01
|
||||
TI_IPC_SRCREV = "7f76e5cc15c634b70efee18d1aa0474d603224a6"
|
||||
|
||||
BRANCH = "${TI_IPC_GIT_BRANCH}"
|
||||
SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
SUMMARY = "RPMsg DMA shared library"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=744e63d2bb8c6151dcdd97f49aa02c53"
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=91dc4ee6d125d0aaba4e5bd2fcc50ed3"
|
||||
|
||||
SRC_URI = "git://github.com/TexasInstruments/rpmsg-dma.git;protocol=https;branch=main"
|
||||
SRCREV = "609fd72f458ba56f80d06810509ef88d010d2c03"
|
||||
SRC_URI = "git://github.com/TexasInstruments/rpmsg-dma.git;protocol=https;branch=scarthgap"
|
||||
SRCREV = "153951932925a72346b76d98b2774952c48a82fc"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -11,6 +11,6 @@ inherit cmake
|
||||
|
||||
DEPENDS = "ti-rpmsg-char"
|
||||
|
||||
EXTRA_OECMAKE += "-DBUILD_LIB=ON -DBUILD_EXAMPLE=OFF"
|
||||
EXTRA_OECMAKE += "-DBUILD_LIB=ON -DBUILD_AUDIO_OFFLOAD_EXAMPLE=OFF -DBUILD_2DFFT_OFFLOAD_EXAMPLE=OFF"
|
||||
|
||||
COMPATIBLE_MACHINE = "^(k3)$"
|
||||
|
||||
@@ -13,11 +13,11 @@ paths to linker/compiler commandline
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
examples/Makefile.am | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
examples/Makefile.am | 6 +-----
|
||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
||||
|
||||
diff --git a/examples/Makefile.am b/examples/Makefile.am
|
||||
index 5a9bedb..d547e41 100644
|
||||
index da34204..34ac7a8 100644
|
||||
--- a/examples/Makefile.am
|
||||
+++ b/examples/Makefile.am
|
||||
@@ -1,6 +1,4 @@
|
||||
@@ -26,13 +26,19 @@ index 5a9bedb..d547e41 100644
|
||||
-AM_CFLAGS = -Wall -g -O2 $(INCLUDE)
|
||||
+AM_CFLAGS = -Wall -g -O2
|
||||
|
||||
bin_PROGRAMS = rpmsg_char_simple
|
||||
bin_PROGRAMS = rpmsg_char_simple rpmsg_char_benchmark
|
||||
|
||||
@@ -8,4 +6,3 @@ bin_PROGRAMS = rpmsg_char_simple
|
||||
@@ -8,10 +6,8 @@ bin_PROGRAMS = rpmsg_char_simple rpmsg_char_benchmark
|
||||
rpmsg_char_simple_SOURCES = rpmsg_char_simple.c
|
||||
rpmsg_char_simple_CPPFLAGS = $(AM_CFLAGS)
|
||||
rpmsg_char_simple_LDADD = -lpthread -lti_rpmsg_char
|
||||
-rpmsg_char_simple_LDFLAGS = -L${libdir}
|
||||
|
||||
# rpmsg_char_benchmark program
|
||||
rpmsg_char_benchmark_SOURCES = rpmsg_char_benchmark.c
|
||||
rpmsg_char_benchmark_CPPFLAGS = $(AM_CFLAGS)
|
||||
rpmsg_char_benchmark_LDADD = -lpthread -lti_rpmsg_char
|
||||
-rpmsg_char_benchmark_LDFLAGS = -L${libdir}
|
||||
--
|
||||
2.29.1
|
||||
|
||||
|
||||
@@ -7,10 +7,10 @@ PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/git/rpmsg/ti-rpmsg-char.git;protocol=${PROTOCOL};branch=${BRANCH};"
|
||||
|
||||
# 0.6.9 release
|
||||
SRCREV = "09b064c6663ed46e4a402291dd87c8fe96135bd7"
|
||||
# 0.6.10 release
|
||||
SRCREV = "057b1a249261e26d00c501b59646957160ec815b"
|
||||
|
||||
PV = "0.6.9+git"
|
||||
PV = "0.6.10+git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@ SUMMARY = "Firmware files for use with TI cc33xx"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE;md5=df68504cbd0a4da1643ebcfd5783dbc9"
|
||||
|
||||
SRCREV = "988ded3a7d4d0e46de62e9ebfcb685c502bd9edf"
|
||||
SRCREV = "0b4f850d6c0fd8e0fe0ae1d3e80ac6733aced29b"
|
||||
SRC_URI = "git://git.ti.com/git/cc33xx-wlan/cc33xx-fw.git;protocol=https;branch=master"
|
||||
|
||||
PV = "1.7.0.120"
|
||||
PV = "1.7.0.323"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
|
||||
@@ -8,13 +8,9 @@ S = "${WORKDIR}/git/debugss_module/debugss-mod"
|
||||
|
||||
inherit module
|
||||
|
||||
PLATFORM = ""
|
||||
PLATFORM:dra7xx = "DRA7xx_PLATFORM"
|
||||
COMPATIBLE_MACHINE = "omap-a15"
|
||||
|
||||
EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}' KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
|
||||
|
||||
include dsptop.inc
|
||||
|
||||
|
||||
@@ -8,19 +8,15 @@ PR = "${INC_PR}.2"
|
||||
|
||||
S = "${WORKDIR}/git/dsptop"
|
||||
|
||||
DEVICE = ""
|
||||
DEVICE:dra7xx = "DRA7xx"
|
||||
COMPATIBLE_MACHINE = "omap-a15"
|
||||
|
||||
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
|
||||
EXTRA_OEMAKE = "release DEVICE=DRA7xx CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D}
|
||||
chown -R root:root ${D}
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
RDEPENDS:${PN} = "debugss-module-drv bash"
|
||||
|
||||
include dsptop.inc
|
||||
|
||||
@@ -11,10 +11,9 @@ PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/git/dsptop/ulm"
|
||||
|
||||
DEVICE = ""
|
||||
DEVICE:dra7xx = "DRA7xx"
|
||||
COMPATIBLE_MACHINE = "omap-a15"
|
||||
|
||||
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
|
||||
EXTRA_OEMAKE = "release DEVICE=DRA7xx CROSS_COMPILE=${TARGET_PREFIX}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake arm XPORT_ONLY CC="${CC}"
|
||||
@@ -31,9 +30,6 @@ do_install() {
|
||||
cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
FILES:${PN}-dev += "\
|
||||
${datadir}/ti/ulm \
|
||||
"
|
||||
|
||||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://debian/copyright;md5=bf0fe2872eb3dfeebb2cbe38206fe81f
|
||||
|
||||
DEPENDS = "ncurses bison-native texinfo flex-native gettext"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
COMPATIBLE_MACHINE = "omap-a15"
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
|
||||
@@ -8,10 +8,9 @@ PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/git/gdbserver-c6x/src"
|
||||
|
||||
PLATFORM = ""
|
||||
PLATFORM:dra7xx = "DRA7xx_PLATFORM"
|
||||
COMPATIBLE_MACHINE = "omap-a15"
|
||||
|
||||
EXTRA_OEMAKE = "PLATFORM=${PLATFORM}"
|
||||
EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM"
|
||||
|
||||
export XDAIS_DIR = "${XDAIS_INSTALL_DIR}"
|
||||
export FC_DIR = "${FC_INSTALL_DIR}"
|
||||
@@ -33,9 +32,6 @@ do_install() {
|
||||
cp -f ../lib/* ${D}${datadir}/ti/gdbc6x/lib
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
FILES:${PN}-dev += "\
|
||||
${datadir}/ti/gdbc6x \
|
||||
"
|
||||
|
||||
@@ -13,10 +13,9 @@ S = "${WORKDIR}/git/kernel_module/gdbproxy-mod"
|
||||
|
||||
inherit module
|
||||
|
||||
PLATFORM = ""
|
||||
PLATFORM:dra7xx = "DRA7xx_PLATFORM"
|
||||
COMPATIBLE_MACHINE = "omap-a15"
|
||||
|
||||
EXTRA_OEMAKE = "PLATFORM=${PLATFORM} KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
|
||||
EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
|
||||
|
||||
# The following is to prevent an unused configure.ac from erroneously
|
||||
# triggering the QA check for gettext.
|
||||
@@ -25,9 +24,6 @@ do_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
include gdbc6x.inc
|
||||
|
||||
KERNEL_MODULE_AUTOLOAD += "gdbserverproxy"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user