summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine/j721s2-evm.conf
Commit message (Collapse)AuthorAgeFilesLines
* conf: machine: Move IMAGE_BOOT_FILES to the SoC inc for J721s2 and J784s4Andrew Davis2023-11-081-6/+0
| | | | | | | | | | | These defines are specific to a SoC, not any specific board. Move these to the SoC level for these boards to be consistent with boards already doing this correctly. J7200 didn't have these at all, add them while we are here. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j7*: Update KERNERL_DEVICETREE_PREFIX to match latest filenamesAniket Limaye2023-06-291-1/+2
| | | | | | | | 1) The k3-fpdlink-* dtbs were missing. 2) k3-j7200-mcspi-loopback.dts -> k3-j7200-evm-mcspi-loopback.dtso Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Switch all the machines over to U-Boot binmanAndrew Davis2023-06-071-4/+0
| | | | | Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Add extra tiboot3.bin version that matches defaultRyan Eatmon2023-05-111-0/+1
| | | | | | | | | | | | | | | | | | | When creating the boot partition we copy all of the images for the different board types (gp, hs-fs, hs-se), but one of those we consider to be a default. That default is not copied with the longer name, but rather with the tiboot3.bin name. The issue comes when someone wants to boot with a different bin file. They need to copy the approriate longer named .bin file to tiboot3.bin. But then the original name of what tiboot3.bin is lost unless the use backs it up. This patch just additionally copies that longer named bin file so that anyone who wants to look at the boot partiion and decide to boot for a different board can know which file to copy to tiboot3.bin and does not need to worry about making a backup. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Add AM68 SK dtbs to KERNEL_DEVICETREE_PREFIXRyan Eatmon2023-05-091-0/+1
| | | | | | | Add in missing am68 based dtbs that were added in dunfell at the end of the 8.6 release cycle. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Set common default SERIAL_CONSOLES for all K3Andrew Davis2023-04-181-2/+0
| | | | | | | | | | | The traditional order of serial consoles for K3 has ttyS2 being the primary UART attached console. ttyS0 is also a common choice for distros and the TI kernel may switch at some point. To prepare we check both UARTs on all K3 devices. Move this common check to a K3 common location. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: change from do_image_wic/tar to do_image_completeRyan Eatmon2023-04-051-2/+2
| | | | | | | | | When trying to support OpenBMC, we found that our use of do_image_wic and do_image_tar for adding depends and mcdepends was too limiting. Moving to do_image_complete is a higher level in the tree that means for any image type the dependencies will be correct. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* linux-ti-*: Add filtering for which dtb/dtbo to includeRyan Eatmon2023-03-311-27/+5
| | | | | | | | | | | | | | | | | | | We often carry more dtbs/dtbos in our kernel than we have upstreamed. The inclusion of all of the dtb/dtbo in the KERNEL_DEVICETREE has become problematic as we start testing the linux-next and 6.1 as part of our LTS migration. To address this issue we are adding in two step method for managing the KERNEL_DEVICETREE. Going forward we will only accept dtb/dtbo in KERNEL_DEVICETREE if it is available in upstream. This way we ensure that the variable is more accurate for whichever kernel you might be looking at. We have also added a new variable KERNEL_DEVICETREE_PREFIX which our kernel recipes will use to auto set KERNEL_DEVICETREE based on what files are in the kernel and not a fixed list in the conf files. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2-evm: Add MCSPI loopback overlay for J721S2Vaishnav Achath2023-03-211-0/+1
| | | | | | | | | | | | Add the MCSPI loopback overlay file for J721S2 EVM which helps users to enable MCU-MAIN MCSPI loopback applications, even though the overlay is named j7200-mcspi-loopback.dtbo, same can be used for testing on other J7 platforms as well. Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2-evm: Add uarts overlay for J721S2Bhavya Kapoor2023-03-211-0/+1
| | | | | | | | | | | Add device tree overlay for extending support for mcu_uart0 as well as wkup_uart0 for boards with J721S2 SoC. This overlay will mainly be used for the purpose of testing uart instances. Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2-evm: Add camera overlays for J721S2 EVMVaishnav Achath2023-03-211-0/+2
| | | | | | | | | | | | Add the following overlay files on J721S2 EVM: 1. Fusion board (For FPDLink-III cameras) 2. OV5640 camera module Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Add ehrpwm overlay for am68-skSinthu Raja2023-03-211-0/+1
| | | | | | | | | | The AM68 SK has PWM output pins connected to its RPi headers. Add overlay file to enable PWM pins. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Add FPDLink overlays for am68-skSinthu Raja2023-03-211-0/+17
| | | | | | | | | | | | | Add the overlay files, over AM68 SK, for the following: 1. Fusion board (For FPDLink-III cameras). 2. IMX390 FPDLink-III camera module which includes both the CM and RCM type of modules. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Fix DTB overlay extension for OV5640Sinthu Raja2023-03-211-1/+1
| | | | | | | | | | | The extension for OV5640 overlay is incorrect. Therefore, update the correct extension to build the overlay with .dtbo Fixes: f67e9805 ("conf: machine: j721s2: Add AM68 SK specific dtb and dtbo to KERNEL_DEVICETREE") Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Add AM68 SK specific dtb and dtbo to KERNEL_DEVICETREESinthu Raja2023-03-211-0/+4
| | | | | | | | | | | | | | | | AM68 Starter Kit is a low cost, small form factor board designed for TI's AM68/J721S2 SoC[1] which is optimized to provide best in class performance for industrial applications. Add DTB entry for the same. AM68 SK features camera support with MIPI(OV5640) and RPi(IMX219) connectors. Add DTBO for the same. Also, add DTBO entry for the DDR memory carveout. [1]:http://www.ti.com/lit/zip/spruj28 Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2-evm: Add support for J721S2 HS-FSSinthu Raja2023-03-211-0/+9
| | | | | | | | | | | | | | | Add the basic J721S2 HS-FS configuration. - Add configurations to support both HS-FS and GP keeping GP as default. - Add ti-sci-firmware overrides for HS-FS. - Remove evm conf file inclusion in hs-evm conf. - Add j721s2 hs-evm specific config to hs-evm conf. Signed-off-by: Aniket Limaye <a-limaye@ti.com> Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Rework do_image_wic dependenciesAndrew Davis2023-01-241-3/+0
| | | | | | | | | | | | | | | | | | The WIC image for K3 depends on the TI-SCI firmware, on AM65x and J721e also the bootloader. Make this clear by only depending on firmware in the base k3.inc file, then adding the bootloader dependency in AM65x and J721e specific includes. Remove unneeded overrides from the evm level files. Remove do_image_tar dependencies as the tar files do not include the bootloader nor TI-SCI firmware, only the boot partition of the WIC file needs these. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Move TFA_BOARD and OPTEEMACHINE to the SoC levelAndrew Davis2023-01-241-1/+0
| | | | | | | | | These defines are specific to a SoC, not a SoC family (K3) nor any specific board. Move these to the SoC level for all boards to be consistent with boards already doing this correctly. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: Add OP-TEE flavourJayesh Choudhary2022-11-231-0/+1
| | | | | | | | | | | Change the OP-TEE flavour from default k3-j721e to k3-j784s4 as sa3ul support for j784s4 is upstreamed in OP-TEE and we can use the same settings in j721s2 to access TRNG. Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* j721s2 and j784s4: Correct serial console deviceRyan Eatmon2022-11-231-1/+1
| | | | | | | | | | | | | Serial console in J721S2/J784S4 EVM config was set to ttyS10. It should be ttyS2. This caused sysv based systems (eg, tiny) to apparently hang because of no login prompt. This didn't show up as a problem on systemd systems (eg, default) because systemd will automatically setup a serial tty with the console option passed in on the kernel command line (using console=...), which U-Boot correctly passes in as ttyS2 for J721S2/J784S4. Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: Make multi-certificate image the defaultAndrew Davis2022-09-221-3/+0
| | | | | | | | | | | | Only the first two K3 devices do not support multi-cert boot so lets make multi-cert the default and only add back sysfw.itb for these two devices. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: lines be preserved? Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* conf: machine: j721s2: add new dtb for GESIRyan Eatmon2022-09-221-0/+1
| | | | | | | | | | | | The following commits in ti-linux-5.10.y kernel has introduced a new dtb. commit: 9b05b2a89ff ("arm64: dts: ti: Add overlay for GESI to enable main CPSW2G in J721S2") This patch on j721s2 conf is to include the new dtb. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* am62xx, j721s2: move "gpu" machine feature from machine to soc configDenys Dmytriyenko2022-05-051-2/+0
| | | | | | | | In most cases machine features should be set in the corresponding SoC config to be applicable to different machine variants, like GP, HS or custom board. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* ti-graphics: gpu enable and move all platforms to ddk 1.15Etheridge, Darren2022-05-021-0/+2
| | | | | | | | | | | Enable the GPU for am62xx and j721s2 and use IMG DDK 1.15 Migrate Imagination DDK 1.13 to DDK 1.15 for J721e Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* meta-ti-bsp: add SoC families for the J7 SoCsAndrew Davis2022-03-291-1/+1
| | | | | | | | | | This allows us to be more specific around what SoCs we support and lets us add features based on the SoC family not just at the EVM or whole J7family level. Signed-off-by: Andrew Davis <afd@ti.com> Tested-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* machine: Add j721s2 evm configurationNishanth Menon2022-02-221-0/+22
Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>