Age | Commit message (Collapse) | Author |
|
Follow commit 4a5d8a5cac0b ("configs: j7*_evm_r5_defconfig: Set
NR_DRAM_BANKS to 2"). (The A72 config already sets 2)
SPL_FIT_IMAGE_POST_PROCESS is selected by default, removed
by `make savedefconfig`.
Upstream-Status: Pending
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
RC Release 09.02.00.010
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Enable gpio driver in R5 and A72.
Upstream-Status: Pending
This patch will be part of a series when Aquila AM69 support
will be upstreamed.
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
This adds initial support for the Toradex Aquila AM69 module.
Upstream-Status: Pending
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
Set CONFIG_NR_DRAM_BANKS to 2 as we have two banks described in the
memory/ node for lower and higher addressible DDR regions.
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
|
|
RC Release 09.02.00.009
|
|
- 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
- Enable simplefb and fb reservation for A53 SPL
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
Run `make savedefconfig` to sort the defconfig.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
Update size of tiboot3.bin is exceeding allocated
area of 512KB, 1MB assigned to tiboot3.bin. Default offset for
tispl.bin will not work for OSPI NAND. Add config for tispl.bin
offset.
Signed-off-by: Apurva Nandan <a-nandan@ti.com>
|
|
Enable simple-framebuffer support for AM62x and AM62p platforms which
have early splash screen enabled. This updates the simple-framebuffer
node in Linux device-tree on the fly with framebuffer address and
meta-data and also reserves framebuffer region in device-tree.
Also disable the simple-framebuffer support in am62p's prune
splashscreen config fragment as it is not required without splashscreen
support.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
Run `make savedefconfig` to sort the A53 defconfig files for AM62x and
AM62p.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
Bump up malloc length to 3MiB for R5 SPL, as the size of tispl.bin is
increased now after introduction of splash and caching support and with
display-cluster enabled DM firmware, R5 SPL fails to load tispl.bin with
below issue :
"U-Boot SPL 2023.04-g7d05009917 (Feb 15 2024 - 18:08:11 +0000) SYSFW
ABI: 3.1 (firmware rev 0x0009 '9.2.1--v09.02.01 (Kool Koala)') SPL
initial stack usage: 17072 bytes Trying to boot from MMC2 alloc space
exhausted SPL: failed to boot from all boot devices"
Fixes: a7e8f56abf9 ("board: ti: am62p: Add splash screen support")
Reviewed-by: Kamlesh Gurudasani <kamlesh@ti.com>
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
On AM69 board, build image was going beyond wrt defined
offsets.
So increasing offset for eMMC and OSPI boot. Along with
update in corresponding device tree.
Cc: Neha Francis <n-francis@ti.com>
Cc: Vaishnav Achath <vaishnav.a@ti.com>
Cc: Apurva Nandan <a-nandan@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Tested-by: Beleswar Padhi <b-padhi@ti.com>
|
|
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>
|
|
When booting Android from eMMC, loading the splashscreen file fails:
U-Boot SPL 2023.04 (Mar 18 2024 - 13:00:32 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.5--v09.02.05 (Kool Koala)')
SPL initial stack usage: 1856 bytes
MMC: no card present
** Bad device specification mmc 1 **
Couldn't find partition mmc 1:1
Error: could not access storage.
Trying to boot from DFU
Authentication passed
Authentication passed
Since commit b66b203247a2 ("video: Fill video handoff in video post probe"),
U-Boot proper crashes because of this:
U-Boot 2023.04 (Mar 18 2024 - 13:00:32 +0000)
SoC: AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
EEPROM not available at 80, trying to read at 81
Board: AM62B-SKEVM-P1 rev A
DRAM: initcall sequence 00000000808ada08 failed at call 000000008082740c (err=-2)
### ERROR ### Please RESET the board ###
Disable splashcreen for Android to fix the crash.
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-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
- Enable simplefb and fb reservation for A53 SPL
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
Run `make savedefconfig` to sort the defconfig.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
Update size of tiboot3.bin is exceeding allocated
area of 512KB, 1MB assigned to tiboot3.bin. Default offset for
tispl.bin will not work for OSPI NAND. Add config for tispl.bin
offset.
Signed-off-by: Apurva Nandan <a-nandan@ti.com>
|
|
Enable simple-framebuffer support for AM62x and AM62p platforms which
have early splash screen enabled. This updates the simple-framebuffer
node in Linux device-tree on the fly with framebuffer address and
meta-data and also reserves framebuffer region in device-tree.
Also disable the simple-framebuffer support in am62p's prune
splashscreen config fragment as it is not required without splashscreen
support.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
Run `make savedefconfig` to sort the A53 defconfig files for AM62x and
AM62p.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
Bump up malloc length to 3MiB for R5 SPL, as the size of tispl.bin is
increased now after introduction of splash and caching support and with
display-cluster enabled DM firmware, R5 SPL fails to load tispl.bin with
below issue :
"U-Boot SPL 2023.04-g7d05009917 (Feb 15 2024 - 18:08:11 +0000) SYSFW
ABI: 3.1 (firmware rev 0x0009 '9.2.1--v09.02.01 (Kool Koala)') SPL
initial stack usage: 17072 bytes Trying to boot from MMC2 alloc space
exhausted SPL: failed to boot from all boot devices"
Fixes: a7e8f56abf9 ("board: ti: am62p: Add splash screen support")
Reviewed-by: Kamlesh Gurudasani <kamlesh@ti.com>
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
|
|
On AM69 board, build image was going beyond wrt defined
offsets.
So increasing offset for eMMC and OSPI boot. Along with
update in corresponding device tree.
Cc: Neha Francis <n-francis@ti.com>
Cc: Vaishnav Achath <vaishnav.a@ti.com>
Cc: Apurva Nandan <a-nandan@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Tested-by: Beleswar Padhi <b-padhi@ti.com>
|
|
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>
|