summaryrefslogtreecommitdiff
path: root/configs
AgeCommit message (Collapse)Author
2023-07-07configs: verdin-am62_a53: enable spl_gpio_hogAndrejs Cainikovs
Enable CONFIG_SPL_GPIO_HOG option to be able to control GPIO hogs from A53 SPL. Upstream-Status: Pending Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-05-08config: verdin-am62: enable micrel ksz90x1 phy driverMarcel Ziswiler
Enable Micrel KSZ90X1 Ethernet PHY driver e.g. as found on the Verdin Development Board. Upstream-Status: Pending Initial U-Boot to be used for bring-up and validation of the V1.0 design, we'll decide on the step forward to mainline this once the bring-up and validation will be done. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-05-05verdin-am62: migrate and sync to using linux kernel device treesMarcel Ziswiler
Migrate and sync to using Linux kernel (albeit still downstream) device trees. Upstream-Status: Pending Initial U-Boot to be used for bring-up and validation of the V1.0 design, we'll decide on the step forward to mainline this once the bring-up and validation will be done. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-05-05Merge tag '08.06.00.007' into toradex_ti-u-boot-2021.01_bringup-ELB-5176Marcel Ziswiler
Merge TI U-Boot RC Release 08.06.00.007
2023-02-23Revert "configs: am57xx_evm: Enable Android commands"Praneeth Bajjuri
This reverts commit 7d9dbeafe637a25267f0902ead02f61843edb7f3. commit 7988f626336a ("common: avb_verify: Add CONFIG_AVB_PUBKEY_FILE to specify the root avb public key") was introduced to support AVB on am62x android. But this broke am57x builds. Android on am57xx is not validated currently hence reverting the patch till a right fix is identified that scales to all supported platforms. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Reported-by: Ryan Eatmon <reatmon@ti.com> Suggested-by: Andrew Davis <afd@ti.com>
2023-02-23configs: am62ax_evm_a53_defconfig: Enable BOARD_LATE_INIT configSiddharth Vadapalli
Enable the config CONFIG_BOARD_LATE_INIT to allow functionality of EEPROM related features including detecting the board name and fetching the MAC address. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
2023-02-22configs: am62_evm_a53: early boot support for m4fHari Nagalla
Add support for early boot of m4f in u-boot Signed-off-by: Hari Nagalla <hnagalla@ti.com>
2023-02-21board: toradex: add verdin am62 supportMarcel Ziswiler
This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT V1.0A module. They are strapped to boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC, or, via separate verdin-am62_r5_usbdfu_defconfig from USB DFU based recovery mode. Upstream-Status: Pending Initial U-Boot to be used for bring-up and validation of the V1.0 design, we'll decide on the step forward to mainline this once the bring-up and validation will be done. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-02-21board: toradex: drop colibri pxa270 supportMarcel Ziswiler
The Colibri PXA270 has been end-of-life since quite a while and would require more and more maintenance (e.g. DM conversions). Upstream-Status: Backport [fc102c87c11dfd52039326534ff831d3edd8340d] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-02-21toradex: apalis-imx8x: drop support for apalis imx8xDenys Drozdov
Drop Apalis iMX8X platform as it never left sample state and is no longer supported. Upstream-Status: Backport [47bcc0d056aa243a31d2a1edb44bdcd155f5335b] Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-02-14configs: j784s4_evm_a72: Enable support for building multiple dtbs into FITDasnavis Sabiya
Enable configs for building multiple dtbs into a single fit image and load the appropriate dtb for next stage. Add k3-am69-sk dtb along with the evm dtb. This facilitates the use of common defconfig for both EVM and SK. Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2023-02-14configs: j784s4_evm_r5: Enable support for building multiple dtbs into FITDasnavis Sabiya
Enable configs for building multiple dtbs into a single fit image and load the appropriate dtb for next stage. This facilitates the use of common defconfig for both EVM and SK. Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2023-02-09configs: j721s2_evm: Merge the GP and HS-FS defconfigsSinthu Raja
J721S2 supports both secure and non-secure devices, including HS-FS and GP devices. Update the default defconfig to include configuration for both GP and HS-FS. Because of runtime device type detection, both GP and HS-FS devices will continue to boot. Additionally, if TI_SECURE_DEV_PKG is not set the build emits warnings, the same shall be ignored for GP devices. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Acked-by: Manorit Chawdhry <m-chawdhry@ti.com>
2023-02-08configs: am62x_lpsk_r5_gpmc_defconfig: Add GPMC NAND specific defconfigVignesh Raghavendra
Add separate config to support GPMC NAND boot as the default defconfig cannot be extended to support NAND due to SRAM size limitations. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by: Roger Quadros <rogerq@kernel.org>
2023-02-08configs: am62x_lpsk_a53_defconfig: Enable NAND supportNitin Yadav
Add mtdids/mtdparts for NAND as it is required for u-boot mtd subsystem and commands to recognize NAND partitions. Enable NAND support for A53 SPL. Enable GPIO support for detecting NAND and I2C EEPROM. Signed-off-by: Nitin Yadav <n-yadav@ti.com>
2023-01-30configs: am62x_*_a53_defconfig: Enable more DFU optionsVignesh Raghavendra
Enable DFU_MTD to allow update OSPI NAND over USB. usage wrt OSPI NAND for example: On EVM => setenv dfu_alt_info $dfu_alt_info_ospi_nand => dfu 0 mtd spi-nand0 On PC $ sudo dfu-util -l $ sudo dfu-util -a tispl.bin -D tispl.bin Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2023-01-30configs: am62ax_evm_a53_defconfig: Enable more DFU optionsVignesh Raghavendra
Enable DFU MTD, RAM, SF and MMC to allow update of respective media over USB. Usage wrt OSPI NAND for example: => setenv dfu_alt_info $dfu_alt_info_ospi_nand => dfu 0 mtd spi-nand0 On PC $ sudo dfu-util -l $ sudo dfu-util -a tispl.bin -D tispl.bin Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2023-01-25configs: am62ax_evm_a53_defconfig: Enable few useful U-Boot cmdsVignesh Raghavendra
Enable GPIO, I2C for raw manipulations of GPIO pins and I2C devices CMD_DM shows state of device/drivers in the system which is useful to debugging. CMD_TIME helps to measure performance Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2023-01-25configs: am62ax_evm_a53_defconfig: Add MTD and OSPI NAND configsVignesh Raghavendra
Enable configs required to support OSPI NAND at A53 SPL and U-Boot Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2023-01-25configs: am62ax_evm_a53_defconfig: Reorder using savedefconfigVignesh Raghavendra
This rearranges configs as required, to easy additional new config options Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2023-01-25configs: am62ax_evm_r5_defconfig: Add configs for OSPI NAND bootVignesh Raghavendra
Enable configs required to support OSPI NAND boot. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2023-01-25configs: am62ax_evm_r5_defconfig: Fix R5 SPL stack, heap sizeVignesh Raghavendra
Update stack, heap size to max available memory, without this R5 SPL DT gets corrupted in certain boot modes Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2023-01-25configs: am62x_lpsk: Update partitioning scheme and namesApurva Nandan
Use more conventional naming scheme for NAND partitions and enable listing of partitions in prompt. Signed-off-by: Apurva Nandan <a-nandan@ti.com>
2023-01-25configs: am62x_evm: Enable OSPI NAND kernel boot through UBIFSApurva Nandan
User can specify/override the NAND partition and UBIFS volume for booting via ${nbootpart} and ${nbootvolume} variables respectively. Signed-off-by: Apurva Nandan <a-nandan@ti.com>
2023-01-25spl: mtd: Remove MTD device after loading imagesApurva Nandan
Releasing the flash into proper state, after the loading completes, is important for the next stage bootloader/kernel to be able to use the MTD device. This would enable to reset the device for fresh use by next boot stage. Signed-off-by: Apurva Nandan <a-nandan@ti.com>
2023-01-23configs: am62ax_evm_a53: Enable UMS commandAradhya Bhatia
The u-boot ums command models the EVM as a card reader and shows the SD Card latched on the evm as a memory device in the host PC. The Type - C dual role port should be used for this functionality. This helps in automating the linux debugging process. Enable this command in the defconfig. Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
2023-01-17configs: j721s2_evm: Enable configs to store env in MMC FAT partitionSinthu Raja
J721S2 EVM used to store env on eMMC, since EVM and SK uses same defconfig and there is no eMMC on SK, we need to keep env in an interface which available on both EVM and SK. So, save env in FAT partition of MMC SD Card. Enable defconfigs relevant for storing env on FAT partion of MMC. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
2023-01-17configs: j721s2_evm_a72: Enable support for building multiple dtbs into FITSinthu Raja
Enable configs for building multiple dtbs into a single fit image and load the right dtb for next stage. Add k3-am68-sk-base-board dtb along with evm dtb inside DTB FIT image. This helps to use same defconfig for both EVM and SK Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
2023-01-17configs: j721s2_evm_r5: Enable support for building multiple dtbs into FITSinthu Raja
Enable configs for building multiple dtbs into a single fit image and load the right dtb for next stage. This will help to use same defconfig for both EVM and SK. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
2023-01-11configs: am62ax_evm_a53_defconfig: Enable USB DFU configsBryan Brattlof
Add the configs needed for USB DFU support Signed-off-by: Bryan Brattlof <bb@ti.com> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
2023-01-11configs: am62ax: Add a new USB DFU defconfigBryan Brattlof
To ensure we continue to have enough space in our SRAM, split the device firmware upgrade protocol bootmode into a separate configuration Signed-off-by: Bryan Brattlof <bb@ti.com> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
2023-01-11configs: am62ax_evm_a53_defconfig: Enable eMMC related configsVignesh Raghavendra
Enable eMMC related configs to support booting from eMMC Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2023-01-05configs: enable remote proc driversHari Nagalla
Enable R5F and DSP remote proc drivers Signed-off-by: Hari Nagalla <hnagalla@ti.com>
2023-01-03configs: am62ax: enable a53 ethernet configsBryan Brattlof
With the needed device tree nodes and DMA channels, we can now enable the ethernet drivers for uboot. Signed-off-by: Bryan Brattlof <bb@ti.com>
2022-12-16configs: am62ax: Enable config option for am62ax HS EVMJudith Mendez
Common defconfig for HS and non HS devices. Enabled configuration needed for HS devices to boot. Non-HS devices will continue to boot due to runtime device type detection. If TI_SECURE_DEV_PKG is not set the build will emit warnings, for non-HS devices these can be ignored. Signed-off-by: Judith Mendez <jm@ti.com>
2022-12-01configs: introduce configs for the am62aBryan Brattlof
Introduce the minimum configs, only SD-MMC and UART boot related settings, to serve as a good starting point for the am62a as we add more functionality. Signed-off-by: Bryan Brattlof <bb@ti.com>
2022-12-01configs: am62x_lpsk_a53_defconfig: Enable secure configurationJudith Mendez
For AM62x LPSK HS devices, make the a53 default defconfig include the secure configuration in order for the HS device to boot to linux. Signed-off-by: Judith Mendez <jm@ti.com>
2022-12-01configs: am62x_lpsk_a53_defconfig: cleanup the defconfigJudith Mendez
This patch is to cleanup the am62x_lpsk_a53_defconfig. Signed-off-by: Judith Mendez <jm@ti.com>
2022-11-24configs: am62x_evm_a53: remove bootcmd from defconfigGuillaume La Roque
After commit to enable HS mode android boot was broken. So remove bootcmd from defconfig to use distrocmd from config file Fixes: 767a83a972ce ("configs: am62x: Enable config option for am62x HS EVM") Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
2022-11-16configs: am62x_lpsk_r5_defconfig: Enable HS SupportVignesh Raghavendra
Enable CONFIG_TI_SECURE_DEVICE to support AM62x LP SK with HS devices. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2022-11-16configs: am62x_lpsk_r5_defconfig: Add HS SupportVignesh Raghavendra
Similar to commit 525f95f8e7f4 ("configs: am62x: Move stack and heap from OC SRAM to HSMRAM") move stack/heap to HSM SRAM and resize according to available space Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2022-11-16configs: am62x_lpsk_r5_defconfig: Drop SPI NOR supportVignesh Raghavendra
AM62x LP SK board has SPI NAND flash and no SPI NOR flash, therefore drop SPI NOR support in order to reduce R5 SPL memory footprint. This is pre requisite to add AM62x HS Support Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2022-11-15Revert "configs: am62x_evm_a53_defconfig: Enable configs required to add ↵Nitin Yadav
support for UHS modes" This essentially reverts ("Revert "configs: am62x_evm_a53_defconfig: Enable configs required to add support for UHS modes"") Class U1 UHS cards are failing at U-Boot. Given that now OTAP and ITAP delay values are updated, Revert above commit to renable UHS mode support at U-Boot. Signed-off-by: Nitin Yadav <n-yadav@ti.com>
2022-11-10configs: am62x: Move stack and heap from OC SRAM to HSMRAMKamlesh Gurudasani
OCSRAM is firewalled by ROM, so before TIFS opens up that firewall, we can't access it. Because of this, we were getting firewall exception in r5 core. Moving STACK/HEAP to HSM SRAM as it is not firewalled. Due to space constraint on HSMRAM, reduced malloc to 28672 bytes. Max actual usage noticed was 26340 bytes Max stack size 13568, SPL initial stack usage: 13424 bytes Enabled option to subtract size of HEAP, GD and stack section from SPL_SIZE_LIMIT. Updated SPL_SIZE_LIMIT will consist of text, heap, stack, gd. Text section is 193160 bytes, allocated max size is 196607. Removing CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY=y as it is increasing size of text section by 10k and we don't need it as of now. from am62x_evm_r5_usbdfu_defconfig, removed CONFIG_MMC_SDHCI_AM654=y as it wasn't fitting and adding 10k more. This breaks mmc boot using usbdfu_defconfig old map: HSM SRAM (256KB) PSRAM (64KB) 0x43c00000┌───────────────┐ ┌──────────────┐0x70000000 │ │ │ ▲ │ │ │ │ Stack │ │ │ SPL IMAGE │ │ │ │ MAX 204KB │ ├──────────────┤0x70006f1f │(excluding BSS)│ │Global Data │ │ │ ├──────────────┤0x70006fff │ │ │ Heap (36KB) │ 0x43c33000├───────────────┤ └──────────────┘0x7000ffff │ EMPTY (18KB) │ 0x43c37800├───────────────┤ │ │ │ BSS (20KB max)│ 0x43c3c800├───────────────┤ │ │ │ DM data(1.5KB)│ 0x43c3cd82├───────────────┤ │ │ │ EMPTY (9KB) │ 0x43c3f290├───────────────┤ │ ROM extended │ │ boot info │ │ (3.5KB) │ 0x43c3ffff└───────────────┘ New map: HSM SRAM (256KB) 0x43c00000┌───────────────┐ │ │ │ │ │ SPL IMAGE │ │ MAX 204KB │ │(excluding BSS)│ │ 196607 B max │ │ │ 0x43c32fff├───────────────┤ │STACK 13568Bmax│ ├───────────────┤ │GD (428B max) │ ├───────────────┤ │ │ │HEAP (28KB max)│ 0x43c3a7f0├───────────────┤ │ 16B empty │ 0x43c3a800├───────────────┤ │ DM data(2KB) )│ 0x43c3b000├───────────────┤ │ │ │ BSS (12KB) )│ 0x43c3e000├───────────────┤ │ EMPTY (4.5KB) │ │Reserve for ROM│ 0x43c3f1e0├───────────────┤ │ ROM extended │ │ boot info │ │ (3.5KB) │ 0x43c3ffff└───────────────┘ Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com> [gadiyar@ti.com: fixed table formatting in commit message] Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
2022-11-08configs: enable configs for J784S4 High Security EVMManorit Chawdhry
Add J784S4 High Security EVM defconfig. These configs are same as for the non-secure part, except for: CONFIG_TI_SECURE_DEVICE option set to 'y' CONFIG_FIT_IMAGE_POST_PROCESS option set to 'y' CONFIG_SPL_FIT_IMAGE_POST_PROCESS option set to 'y' CONFIG_BOOTCOMMAND option is changed to use fitImage Non-HS devices will continue to boot due to runtime device type detection. If TI_SECURE_DEV_PKG is not set the build will emit warnings, for non-HS devices these can be ignored. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Andrew Davis <afd@ti.com>
2022-09-29configs: am62x: Enable config option for am62x HS EVMKamlesh Gurudasani
Common defconfig for HS and non HS devices. Enabled configuration needed for HS devices to boot. Non-HS devices will continue to boot due to runtime device type detection. If TI_SECURE_DEV_PKG is not set the build will emit warnings, for non-HS devices these can be ignored. Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
2022-09-29configs: am62x_lpsk_a53: Enable UMS commandAnand Gadiyar
The u-boot ums command models the EVM as a card reader and shows the SD Card latched on the evm as a memory device in the host PC. The Type - C dual role port should be used for this functionality. This helps in automating the linux debugging process. Enable this command in the defconfig. Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
2022-09-29configs: am62x_evm_a53: Enable UMS commandAradhya Bhatia
The u-boot ums command models the EVM as a card reader and shows the SD Card latched on the evm as a memory device in the host PC. The Type - C dual role port should be used for this functionality. This helps in automating the linux debugging process. Enable this command in the defconfig. Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
2022-09-18arch: arm: mach-k3: Workaround errata ID i2331Nitin Yadav
Errata doc: https://www.ti.com/lit/er/sprz457e/sprz457e.pdf Errata ID i2331 CPSW: Device lockup when reading CPSW registers Details: A device lockup can occur during the second read of any CPSW subsystem register after any MAIN domain power on reset (POR). A MAIN domain POR occurs using the hardware MCU_PORz signal, or via software using CTRLMMR_RST_CTRL.SW_MAIN_POR or CTRLMMR_MCU_RST_CTRL.SW_MAIN_POR. After these resets, the processor and internal bus structures may get into a state which is only recoverable with full device reset using MCU_PORz. Due to this errata, Ethernet boot should not be used on this device. Workaround(s): To avoid the lockup, a warm reset should be issued after a MAIN domain POR and before any access to the CPSW registers. The warm reset realigns internal clocks and prevents the lockup from happening. Workaround above errata by calling do_reset() in case of cold boot in order to trigger warm reset. This needs enabling SYSRESET driver in R5 SPL to enable TI SCI reset driver. Signed-off-by: Nitin Yadav <n-yadav@ti.com>
2022-09-08configs: j784s4_evm: Add R5 SPL and A72 configsHari Nagalla
Enable R5 SPL specific and A72 specific configs for J784S4. Signed-off-by: Hari Nagalla <hnagalla@ti.com> Signed-off-by: Apurva Nandan <a-nandan@ti.com>