summaryrefslogtreecommitdiff
path: root/conf/machine/verdin-am62.conf
AgeCommit message (Collapse)Author
2024-05-22verdin-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> (cherry picked from commit 98b06e1c7ee86731a26ef4016fad0b206c308b40)
2024-05-22machine: 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> (cherry picked from commit 3c042fdce2c8d4e2fea5836be9fc49b49400fe7a)
2024-03-13machines: verdin-am62: add powervr firmwareMarcel Ziswiler
Add linux-firmware-powervr required for the GPU found on the AM62. Related-to: ELB-5607 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2024-03-13verdin-am62: use regular mesa for upstreamMarcel Ziswiler
Override meta-ti-bsp setting this to downstream mesa-pvr if nothing else is set. Revert this commit once upstream meta-ti-bsp has this properly solved. Related-to: ELB-5607 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2024-03-13machines: 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> (cherry picked from commit f0f61eb26607d15a3d77feaa789a6d7edd02c5bf)
2024-03-04Revert "verdin-am62: remove mallow device trees for upstream"Max Krummenacher
This reverts commit 8d479786dcec3cbfb1e1ef6ed8f53b89b7d9bc0b. The dts files made it into 6.8. Revert the commit which excludes those device tree files from the build. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-01-29verdin-am62: remove mallow device trees for upstreamMax Krummenacher
The mallow device tree sources are not yet merged in mainline. Don't try to build them for now. Revert this commit once mainline has the sources merged. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-01-21verdin-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> (cherry picked from commit 86652d4cf3bb2291e8c936e1fa20cabf81b3bfae)
2024-01-21verdin-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> (cherry picked from commit 74e73502e653e7ee9acb126d4335393695b053b3)
2023-11-29machines: 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> (cherry picked from commit 98c579337436e55e09bcc032e54f00ed9b9f0464)
2023-11-29machines: verdin-am62: add btnxpuartconfMarcel Ziswiler
Add btnxpuartconf as Verdin AM62 is (optionally) featuring Bluetooth. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 390791c4d1e29958dc330d481a6c6dada8591ec2)
2023-11-29machines: verdin-am62: add mwifiexconfMarcel Ziswiler
Add mwifiexconf as Verdin AM62 is (optionally) featuring Wi-Fi. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit b91f7ff504a9c767070960f29fe8bf96f2e4ac35)
2023-11-24verdin-am62: Add device tree overlay to upstream distroFrancesco Dolcini
Add device tree overlays to upstream distro, latest kernel supports the default overlays enabled. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-10-11verdin-am62: follow upstream linux recipe changesMax Krummenacher
The upstream Linux recipe in meta-toradex-bsp-common was renamed to linux-toradex-upstream and currently only builds latest mainline. For a next BSP we will add a recipe which will build the to be used stable tree. Related-to: ELB-5359 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-20verdin-am62: follow upstream u-boot recipe changesMax Krummenacher
The upstream U-Boot recipe in meta-toradex-bsp-common was split into a always pinned and a latest head recipe. For a OE master branch we always use the latest development version. Related-to: ELB-5357 Signed-off-by: Max Krummenacher <max.krummenacher@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-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-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>
2023-02-13wic: don't modify fstab for bootfsMax Krummenacher
During creation of the wic image by default /etc/fstab is modified with an entry in to mount the boot partition at /boot. Prevent that default behaviour. Related-to: ELB-5012 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-02-13verdin-am62: set u-boot provider and dtbsMax Krummenacher
Set u-boot-toradex-ti-staging as the U-Boot provider. Set the kernel device tree names to be built. Related-to: ELB-5012 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>