summaryrefslogtreecommitdiff
path: root/conf/machine
AgeCommit message (Collapse)Author
4 daysaquila-am69: enable spidev overlayskirkstone-6.x.yParth Pancholi
Enable spidev overlays for Aquila SPI_1 and SPI_2. Related-to: ELB-5815 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-06-12u-boot-toradex-ti: stop building a second tiboot3 for usb dfuMax Krummenacher
The usb dfu configs have been merged into one defconfig. If the R5 SPL loads further binaries from eMMC or from USB is decided at runtime. Related-to: ELB-5758 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-10machines: k3r5: fix uboot_config configuration type namesMax Krummenacher
UBOOT_CONFIG was changed to use 'sd' as one of the configs built for the R5 SPL. However the same is already in use when building the TEZI specific U-Boot for the Cortex A53 and is set from within the TEZI distro. Thus the two configuration clash and the build fails. Change the config name to include the suffix '-r5' to have the two seperate. Fixes: 979d850 ("verdin-am62-k3r5: drop -gp from the u-boot config names") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-08aquila-am69: use the aquila defconfigsMax Krummenacher
Aquila AM69 was added to u-boot-toradex-ti. Change the machine to use that. Related-to: ELB-5482 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-06machine: add aquila-am69 and aquila-am69-k3r5 machinesMax Krummenacher
Related-to: ELB-5482 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-06verdin-am62: drop setting the unused default dtbMax Krummenacher
The TORADEX_PRODUCT_IDS[<PID4>] flag is only used to choose the installed dtb on modules with raw NAND storage. Drop defining that as the setting is not used at all. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-06verdin-am62-k3r5: drop -gp from the u-boot config namesMax Krummenacher
The R5 U-Boot now builds binaries for all SoC variants (gp, hs-fs, hs). Reflect that in the UBOOT_CONFIG variable. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-06verdin-am62-k3r5: set the default tiboot3 to be hs-fsMax Krummenacher
All AM62 based SKUs were moved to a hs-fs based SoC. While with a tezi image this does not matter create the tiboot3.bin symlink to point to the hs-fs based binary to be consistent. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-04-24machine: verdin-am62: make verdin-am62.inc name more genericHiago De Franco
The make_dtb_boot_files python function can be also used to other future machines added to meta-toradex-ti, therefore make it naming more generic instead of calling it verdin-am62.inc. Related-to: ELB-5482 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-03-05machines: verdin-am62: use HSFS FW for Solo PID4Francesco Dolcini
Starting from V1.1B Verdin AM62 Solo variants (0071 and 0072 PID4s) use HSFS SOC and not GP, this requires to use a different firmware. After this change V1.1A variants will no longer work out of the box. Related-to: ELB-5592 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-12-18verdin-am62: add tpm2 machine featureJoao Paulo Goncalves
Verdin SoM can have a hardware TPM with them (for now on carrier boards), so add the tpm2 machine feature to enable software support for the device. The tmp2 means that the software supports TPM 2.0 specification. Related-to: ELB-5500 Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2023-11-23verdin-am62: add mallow device treeJoao Paulo Goncalves
Add Mallow device tree to machine configuration. Related-to: ELB-5217 Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2023-11-03machines: verdin-am62: fix wifi firmware dependencyFrancesco Dolcini
MACHINE_FIRMWARE is a variable existing and managed only on meta-freescale, to have the Wi-Fi firmware properly deployed we need it to be added to the standard MACHINE_EXTRA_RRECOMMENDS variable. Related-To: ELB-5457 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-10-17machines: verdin-am62: add btnxpuartconfMarcel Ziswiler
Add btnxpuartconf as Verdin AM62 is (optionally) featuring Bluetooth. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-09-28machines: verdin-am62: add mwifiexconfMarcel Ziswiler
Add mwifiexconf as Verdin AM62 is (optionally) featuring Wi-Fi. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-09-12verdin-am62: use device-tree-overlays-mainline with upstreamMax Krummenacher
Currently we don't have any overlays against a mainline kernel. This prepares to actually deploy overlays meant for a Verdin AM62 when using an upstream distro. Related-to: ELB-5331 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-08-31verdin-am62: build mainline u-boot with upstream distroMax Krummenacher
Latest master of U-Boot allows building for a Verdin AM62 SoM. If using a upstream distro build the upstream u-boot-toradex recipe. Related-to: ELB-5331 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-08-16verdin-am62: drop last use of use-mainline-bspMax Krummenacher
For non NXP SoM we decided to directly use the `upstream` override specified in the distro. Fix the last occurrence of `use-mainline-bsp`. Related-to: ELB-5331 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-08-12verdin-am62.conf: upstream: don't build for gpuMax Krummenacher
The driver does currently not compile if compiled against an upstream kernel, initial solution does compile but fails at runtime: https://lore.kernel.org/yocto-meta-ti/20230728160005.905140-2-rs@ti.com/T/#u Additionally for kernel 6.3 a used API changed which makes it fail compiling against such kernels, see kernel commit bc292ab00f6c7 ("mm: introduce vma->vm_flags wrapper functions"). Related-to: ELB-5331 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-08-10verdin-am62: build mainline kernel with upstream distroMax Krummenacher
Related-to: ELB-5331 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-08-10verdin-am62.conf: stop deploying tiboot3* into bootfsMax Krummenacher
By booting from eMMC the file content is read from the eMMC boot area, not from a filesystem. Keeping them additionally in the bootfs might confuse people. Fixes: 4c40178 ("u-boot: updated to the toradex_ti-u-boot-2023.04 branch") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-08-07verdin-am62.conf: rename vars related to tiboot3Max Krummenacher
The variables TPL_BINARY and OFFSET_TPL_PAYLOAD are not choosen wisely as they are not used to specify a TPL (Tertiary Program Loader). The tiboot3 binary is not a TPL (Tertiary Program Loader) but actually contains the binaries first booted by the boot ROM. Rename TPL_BINARY and OFFSET_TPL_PAYLOAD to FIRMWARE_BINARY and OFFSET_FW_PAYLOAD respectively. Related-to: ELB-5244 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-07-27verdin-am62: don't deploy a u-boot splashscreenMax Krummenacher
Remove the from meta-ti inherited u-boot splashsceen. The configured Verdin AM62 U-Boot doesn't support any splashscreen. Related-to: ELB-5238 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-07-25u-boot: updated to the toradex_ti-u-boot-2023.04 branchMax Krummenacher
- Update to the toradex_ti-u-boot-2023.04 branch, based on the ti-u-boot-2023.04. - This includes/requires the move to use binman to assemble the binaries used for boot. - With the change to binman the R5 SPL is now built from one OE machine only, not one machine per SoC flavour (GP, HS-FS, HS). - With binman we also change the name for the tiboot3* files to match the machine they are built form, not claiming to be the evm. E.g. tiboot3-am62x-hs-fs-verdin.bin. - With the binman and HS-FS we need to package the kernel also as a fitimage to prevent a build error in U-Boot, however we keep using Image.gz - Drop the '-staging' from the recipe name. Related-to: ELB-5238 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-07-14machines: verdin-am62: add iw416 wifi firmwareAndrejs Cainikovs
This change adds linux-firmware-iw416 package, which makes iw416 wifi firmware available on verdin-am62 root filesystem, since this is required on the HW V1.1 where the NXP IW416 chip is used. Related-to: ELB-5247 Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-07-07machines: arch arm64: use var to set relative path to dtbMax Krummenacher
Follow the pattern used in meta-toradex nxp commit ce9a5ef ("machines: arch arm: follow change to vendor subdir for dtbs") Set the variable KERNEL_DTB_PREFIX with the relative path to the device tree source files and then use it. This variable can then be used in the creation of the u-boot-distro-boot script. Related-to: ELB-5263 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-06-16machines: verdin-am62: add verdin am62 launch configuration SKUsEmanuele Ghidoli
Add the following PID4s SOMs: - 0071 Verdin AM62 Solo 512MB - 0072 Verdin AM62 Solo 512MB WB IT - 0073 Verdin AM62 Dual 1GB ET - 0074 Verdin AM62 Dual 1GB IT - 0075 Verdin AM62 Dual 1GB WB IT - 0076 Verdin AM62 Quad 2GB WB IT to the list of Toradex modules. Related-to: ELB-5222 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
2023-06-16verdin-am62: select third boot binary based on PID4Emanuele Ghidoli
Change TPL_BINARY to a varflags variable, following the changes in commit 7fd635f58748 ("image_type_tezi: select TPL binary based on PID4") in meta-toradex-bsp-common and f538188f86c1 ("image_type_tezi_run: select TPL binary based on PID4") in meta-toradex-tezi. There are three different AM62x SoC types: - General Purpose (GP) - High Security - Field Securable state (HS-FS) - High Security - Security Enforced state (HS-SE) Each type must be flashed with the relevant SYSFW (tiboot3) binary and every Verdin AM62 SKU has its own specific SoC type. Select GP binary for 0069 PID4. Related-to: ELB-5227 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
2023-06-13verdin-am62: add hs-fs soc type binariesEmanuele Ghidoli
Add HS-FS SoC type binaries (different SYSFW), GP SoC type is still the default one and the one used in the generated tezi image, HS-FS binaries are just deployed and not used yet. tiboot3.bin renamed to tiboot3-gp.bin to make it clear that this is the binary for the GP variant. Related-to: ELB-5226 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
2023-06-05verdin-am62: remove hackish adaption of meta-tiMax Krummenacher
Now that we build our own machine verdin-am62 we don't need the hackish and hidden overrides of certain variables. Move these settings into the machine configuration. Related-to: ELB-5190 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-05-26verdin-am62: enable dsi-to-hdmi overlayFrancesco Dolcini
Enable HDMI to DSI adapter overlay by default. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-05-17verdin-am62: use compressed image.gz for the kernelMax Krummenacher
This deploys Image.gz instead of Image into the boot partition. The boot.scr will pick that up and direct U-Boot to decompress the kernel before passing control to the kernel. Related-to: ELB-5205 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-05-17verdin-am62: remove unneeded boot filesMax Krummenacher
U-Boot is now fixed and now uses the raw binary blobs from the eMMC boot area. Don't inherit meta-ti's deployment of the boot binary blobs into the boot FAT partition. Completes commit 25be292 ("Revert "verdin-am62: workaround, deploy u-boot to boot partition"") Related-to: ELB-5080 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-05-15Revert "verdin-am62: workaround, deploy u-boot to boot partition"Max Krummenacher
This reverts commit d99284cfa23f114de55126af2647d58cf7ba3a54. U-Boot is now fixed and now uses the raw binary blobs from the eMMC boot area. Related-to: ELB-5080 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-05-11machine/am62xx-tdx: follow meta-ti's gpu driver handlingMax Krummenacher
The used driver is now set with virtual/gpudriver and installed automatically. This additionally allows to not use a GPU driver at all as used by the Toradex Easy Installer. Related-to: TEI-1066, ELB-5190 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-05-10verdin-am62: provide load and entry addressesMax Krummenacher
Set UBOOT_ENTRYPOIN and UBOOT_LOADADDRESS to the same address as kernel_comp_addr_r. These are used when putting the kernel in a fitimage. Related-to: TEI-1066 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-05-10image_type_dfu: drop this image typeMax Krummenacher
As we now have a working Toradex Easy Installer this bringup way of flashing images is no longer needed. Related-to: TEI-1066 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-05-10verdin-am62: workaround, deploy u-boot to boot partitionMax Krummenacher
Currently the R5 U-Boot doesn't load the A53 SPL and U-Boot proper from the raw eMMC boot area but from the first fat partition of the eMMC user area. As a workaround deploy these binaries additionally to FAT FS. Related-to: TEI-1066, ELB-5080 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-05-09verdin-am62: add yavia dtbs to machine confFrancesco Dolcini
Add Yavia dtbs to the machine.conf file. Related-to: ELB-5174 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-05-04verdin-am62: add dahlia dtbs to machine confFrancesco Dolcini
Add Dahlia dtbs to the machine.conf file. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-04-27verdin-am62: fix gp/hs-fs/hs-se handlingMax Krummenacher
meta-ti changed to additionally handle HS-FS and HS-SE devices, i.e. to provide tiboot3 for the different flavours of the SoC. They added a multiconfig for each of the flavours also renaming stuff for the gp device we use. Follow the change to have GP build again, but opt out of additionally building tiboot3 for HS-FS and HS-SE devices. meta-ti commit 12bb9e20 ("machine: Add AM62x HS-SE evm configuration") commit 053002fb ("am62xx-evm: Add AM62x HS-FS evm configuration") Related-to: ELB-5170 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-04-27am62xx-tdx.inc: drop forcing ti-linux-fw and image-gen versionsMax Krummenacher
meta-ti kirkstone recipes have been updated to latest, i.e. sdk v08.06.04. Related-to: ELB-5068 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-03-07verdin-am62: enable spidev overlay by defaultFrancesco Dolcini
Add spidev dtb overlay to overlays.txt Related-to: ELB-5085 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-02-23verdin-am62: drop deploying the am62 evm device treesMax Krummenacher
Related-to: ELB-5045 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-02-22image_type_dfu: add an image class usefull for dfuMax Krummenacher
This generates a tarball with an image plus helper files to install a Verdin AM62 over dfu. Untar it, enter the created directory and run recovery-linux.sh with the Verdin AM62 in 'DFU mode' aka. 'recovery mode' connected. Related-to: ELB-5045 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-02-22u-boot-toradex-ti-staging: verdin-am62: build for our target and add dfuMax Krummenacher
Change from building the U-Boot am62x-sdk target to verdin-am62. Additionally build the R5 DFU SPL and deploy it. Note the u-boot-initial-env no longer gets deleted due to the use of UBOOT_CONFIG. Thus the deployment of u-boot-initial-env got simplified. Related-to: ELB-5045 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-02-13verdin-am62: remove efi from machine featuresMax Krummenacher
These creates and deploys files in the /boot/EFI/ directories currently unused. Related-to: ELB-5012 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-02-13verdin-am62: don't deploy kernel artifacts into rootfsMax Krummenacher
We have these in the separate bootfs partition. Also only build the Image, Image.gz binaries, not additionally vmlinux.gz and fitImage as set in the k3.inc file. Deploy currently Image, as U-Boot loadaddr and kernel_addr_r are not yet ready to cope with the decompression. Related-to: ELB-5012 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-02-13verdin-am62: add kernel and friends to bootfsMax Krummenacher
We want to load the kernel/device tree/device tree overlays from the first partition. So deploy them there and stop having them in the rootfs /boot/. Related-to: ELB-5012 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-02-13verdin-am62: prepare to have a tezi imageMax Krummenacher
This sets the needed variables for the image_type_tezi class to create the tezi image. Related-to: ELB-5012 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>