Age | Commit message (Collapse) | Author |
|
Enable ICSSG driver, DP83869 phy driver, REMOTEPROC and PRU_REMOTEPROC
in am64x_evm_a53_defconfig. All these configs are needed for ICSSG
driver.
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
|
|
We want SPL to apply DTB overlays (e.g. ICSSG2 overlay) so enable
SPL_LOAD_FIT_APPLY_OVERLAY.
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
|
|
Enable ICSSG driver in am65x_evm_a53_defconfig
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
|
|
Add config fragment to enable USB MSC boot.
USB Host boot is supported only from USB0 port. By default USB0
is configured in peripheral mode to support DFU. Inorder to support
USB Host boot, "dr_mode" property needs to be changed from "peripheral"
to "host" in the device tree.
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
|
|
Add config fragment to enable USB DFU support
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
|
|
Enable CONFIG_BOARD_HAS_32K_RTC_CRYSTAL to enable 32k crystal.
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
|
|
Enable AVS and TPS6287X configs
Signed-off-by: Keerthy <j-keerthy@ti.com>
|
|
Enable CONFIG_SPL_DRIVERS_MISC, CONFIG_SPL_MISC, CONFIG_ESM_K3
to probe the Main ESM and MCU ESM nodes.
Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
|
|
Enable CONFIG_TI_COMMON_CMD_OPTIONS and CONFIG_CMD_DDRSS to use the
'ddrss' command for testing ECC.
Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
|
|
Include the configuration required for booting from NAND.
Signed-off-by: Roger Quadros <rogerq@kernel.org>
|
|
Expansion cards like NAND are available as a
Device Tree Overlay blob in the FIT image.
Enable CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY to R5 SPL can
apply the overlay before loading next stage.
Signed-off-by: Roger Quadros <rogerq@kernel.org>
|
|
Add config fragment to disable splashscreen related Kconfigs and also
revert back to older memory map to save space.
It is especially required to disable U-boot splash screen when using
custom device manager firmware which use RTOS based splash screen
during bootup.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
- Enable BMP and Splash screen related configs
- Enable bloblist support to pass video blob from SPL stage
to U-boot proper.
- Use same memory map for enabling splash screen as used for AM62x[1] :
-> Create space for loading bmp image file by moving the malloc area
and BSS region down to 0x80b80000 and 0x80c80000 respectively
-> Increase the SPL size limit and SPL stack size to 512 KiB and 2KiB
respectively to accommodate splash support
-> Set stack above the malloc region and report stack overflow by
setting CONFIG_SPL_SYS_REPORT_STACK_F_USAGE
- Enable simple malloc() for A53 SPL
[1]:
https://source.denx.de/u-boot/u-boot/-/blob/v2024.01/doc/board/ti/am62x_sk.rst?ref_type=tags
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
Run `make savedefconfig` to sort the defconfig.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
Increase the SPL_MAX_SIZE to 0x6ce00 as J7AEN SRAM has larger
loadable memory space for SBL (0x7e000).
This also ensures that the SPL does not go beyond the limit while
having a single defconfig for different boot modes.
Correspondingly, increase CONFIG_SPL_BSS_START_ADDR from 0x43c4b000
to 0x43c7b000 ensuring no overlap in memory.
SRAM memory allocation map:
┌─────────────────────────────────────┐ (0x43c00000)
│ SPL (0x6ce00) │
├─────────────────────────────────────┤ (0x43c6ce00)
│ EMPTY (0x50) │
├─────────────────────────────────────┤ (0x43C6CE50)
│ STACK │
│ SPL_SIZE_LIMIT_PROVIDE_STACK=0x5000 │
├─────────────────────────────────────┤ (0x43C71E50)
│ Global data │
│ sizeof(struct global_data) = 0x1ac |
| (+0x4) │
├─────────────────────────────────────┤ (0x43C72000)
│ HEAP │
│ CONFIG_SYS_MALLOC_F_LEN = 0x9000 │
├─────────────────────────────────────┤ CONFIG_SPL_BSS_START_ADDR
│ SPL BSS │ (0x43c7b000)
│ CONFIG_SPL_BSS_MAX_SIZE = 0x3000 │
├─────────────────────────────────────┤ (0x43c7e000)
│ ROM Boot parameter table │
└─────────────────────────────────────┘CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX
(0x43c7f290)
Fixes: b5d58d70642f ("configs: introduce configs needed for the J722S")
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
|
|
We need the I2C GPIO drivers to detect expansion cards.
Gets rid of below error message at R5 SPL on AM64-EVM
"Failed to lookup gpio gpio@38_0: -22"
Signed-off-by: Roger Quadros <rogerq@kernel.org>
|
|
Adds the default config for K3_OPP_LOW in J7200
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Reid Tonking <reidt@ti.com>
|
|
Introduce the initial configs needed to support the J722S SoC family.
Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
|
|
Increase the SPL_STACK_R_MALLOC_SIMPLE_LEN to 0x200000 to accommodate the
size of tispl.bin fit image. With the recent upgrade of ti-linux-firmware
from version v9.1.0 to v9.2.5, the size of tispl.bin fit image has
increased to 1.4MB, causing allocation errors in the R5 SPL:
```
alloc space exhausted
Could not get FIT buffer of 1325056 bytes
check CONFIG_SPL_SYS_MALLOC_SIZE
```
Upstream-Status: Submitted [https://lore.kernel.org/all/20240320164845.141894-1-hiagofranco@gmail.com/]
- Only the verdin-am62_r5_defconfig was submmited because USB support is
missing upstream, and there is no verdin-am62_r5_usbdfu_defconfig file
yet.
Related-to: ELB-5658
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
RC Release 09.01.00.008
|
|
Disable CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY, this is not required nor used
on verdin am62, disable it to save precious binary size.
Update defconfig using savedefconfig, this adds CONFIG_OF_LIBFDT_OVERLAY
explicitly.
Upstream-Status: Submitted [https://lore.kernel.org/all/20231211134520.162773-1-francesco@dolcini.it/]
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
Size of malloc was standardized to 2M for all am6*_r5_*_defconfigs, but
USB MSC defconfig was missed, update this config option now.
Fixes: 794614311a6 (configs: am6*_r5_defconfig: Standardize SPL_STACK_R_MALLOC_SIMPLE_LEN to 2M)
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Size of malloc was standardized to 2M for all am6*_r5_defconfigs, but
USB DFU defconfig was missed, update this config option now.
The following warning can be seen with usb-dfu boot:
SPL possible initial stack overflow detected!!
so increase SIZE_LIMIT_PROVIDE_STACK to match the default defconfig.
Fixes: 794614311a6 (configs: am6*_r5_defconfig: Standardize SPL_STACK_R_MALLOC_SIMPLE_LEN to 2M)
Fixes: beee2418683 (configs: am62ax: Add a new USB DFU defconfig)
Signed-off-by: Judith Mendez <jm@ti.com>
|
|
Size of malloc was standardized to 2M for all am6*_r5_defconfigs, but
USB DFU defconfig was missed, update this config option now.
Fixes: 794614311a6 (configs: am6*_r5_defconfig: Standardize SPL_STACK_R_MALLOC_SIMPLE_LEN to 2M)
Signed-off-by: Judith Mendez <jm@ti.com>
|
|
Enable UHS support in the am62p5 defconfigs, allowing us to enter
the UHS modes for mmc1.
Signed-off-by: Judith Mendez <jm@ti.com>
|
|
Enable AVS in config and probing of AVS node.
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
|
|
Increasing SPL_STACK_R_MALLOC_SIMPLE_LEN to 16M seems to break
USB DFU boot. The default of 4M seems to be OK for NAND case
as well so stick to defaults.
Reported-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
Fixes: b1ba64d9bab0 ("configs: am64x_evm_a53_defconfig: add SPL_LOAD_FIT_APPLY_OVERLAY")
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Judith Mendez <jm@ti.com>
Tested-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
|
|
RC Release 09.01.00.006
|
|
OSPI Flashes have 256K sector size, match the DFU buffer size to the
same so that entire sector can be written at once.
W/o this OSPI DFU update fails with timeouts like
=> setenv dfu_alt_info ${dfu_alt_info_ospi}; dfu 0 sf 0:0;
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
|
|
Enable NAND support for DFU.
Signed-off-by: Roger Quadros <rogerq@kernel.org>
|
|
Enables configuration required for NAND in SPL and u-boot.
Enable MTD Driver model and MTD + UBI command line utilities.
Add mtdids/mtdparts for NAND as it is required for u-boot's
MTD subsystem commands to recognize NAND partitions.
Add u-boot partition location.
Signed-off-by: Roger Quadros <rogerq@kernel.org>
|
|
We want SPL to apply DTB overlays (e.g. NAND card overlay) so
enable SPL_LOAD_FIT_APPLY_OVERLAY.
Increase SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ and
SPL_STACK_R_MALLOC_SIMPLE_LEN. Without this SPL hangs.
Signed-off-by: Roger Quadros <rogerq@kernel.org>
|
|
Enable support for using PHY mode in cadence-qspi driver for better data
rate.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
|
|
EMMC boot is broken for AM64x platform. This is due to the size of
tiboot3.bin growing beyond the 500KB of memory allocated in eMMC.
There was effort to move the offsets and give more space to tiboot3.bin,
but the offsets in defconfig were not updated. Update offsets in
defconfig to load each binary from the correct adress in eMMC according
to the following eMMC layout:
boot0/1 partition
0x0+----------------------------------+
| tiboot3.bin (1 MB) |
0x800+----------------------------------+
| tispl.bin (2 MB) |
0x1800+-----------------------------------+
| u-boot.img (4 MB) |
0x3800+-----------------------------------+
| environment (128 KB) |
0x3900+-----------------------------------+
Signed-off-by: Judith Mendez <jm@ti.com>
|
|
The u-boot environment variable emmc_android_boot total size increased
to more than 1KB. U-boot hangs when the emmc_android_boot variable is
reused in the u-boot prompt as the maximum size of the u-boot commandÂ
line buffer is 1KB. Increase the CB_SIZE to 2KB for AM57x SoC family
Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
|
|
Add UUU fastboot support to make it possible to download files with
UUU tool from A53 U-boot instead of DFU A53 SPL for verdin am62.
Upstream-Status: Pending
Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
|
|
The am62px utilizes the same 32k crystal for a more accurate RTC clock
source. Enable the configuration to set this up for Linux.
Signed-off-by: Bryan Brattlof <bb@ti.com>
|
|
The am62x utilizes the same 32k crystal for a more accurate RTC clock
source. Enable the configuration to set this up for Linux.
Signed-off-by: Bryan Brattlof <bb@ti.com>
|
|
The am62ax utilizes the same 32k crystal for a more accurate RTC clock
source. Enable the configuration to set this up for Linux.
Signed-off-by: Bryan Brattlof <bb@ti.com>
|
|
Add new R5 defconfig for USB MSC boot support based on usbdfu_defconfig
USB Host boot is supported only from USB0 port. By default USB0
is configured in peripheral mode to support DFU. Inorder to support
USB Host boot, "dr_mode" property needs to be changed from "peripheral"
to "host" in the device tree.
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
|
|
Add support for USB DFU bootmode by having a separate config
file.
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
|
|
Add configs to enable AM62 USB wrapper.
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
|
|
Introduce the initial configs needed to support the am62px SoC family
[bb@ti.com: rebased on TI's 2023.10 uboot]
Signed-off-by: Bryan Brattlof <bb@ti.com>
|
|
Disable FIT_SINGATURE_ENFORCE config as it's not needed.
Upstream-Status: Inappropriate [configuration]
This configuration does not exist on mailine U-Boot.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
Add support for R5F remote proc driver.
Signed-off-by: Hari Nagalla <hnagalla@ti.com>
|
|
Similar to other K3 platforms, drop specifying source of env to avoid
picking up stale env. This enables proper FitImage boot on HS-SE
devices which used to fail due to stale env from older releases.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
|
|
Enable ESM & PMIC ESM configs
Signed-off-by: Keerthy <j-keerthy@ti.com>
|
|
Enable ESM & PMIC ESM configs
Signed-off-by: Keerthy <j-keerthy@ti.com>
|
|
Enable the configs for J784S4 EVM OSPI NAND support.
Signed-off-by: Apurva Nandan <a-nandan@ti.com>
|
|
Enable CONFIG_TI_I2C_BOARD_DETECT inorder to probe the daughter
cards plugged in and update the "eth", "name_overlays" environment
variables.
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
|