| #
613892cf |
| 12-Feb-2025 |
Yann Gautier <yann.gautier@st.com> |
Merge changes from topic "imx8mq_build_fix" into integration
* changes: fix(imx8m): fix imx8mq build break fix(imx8mq): fix imx8mq build break due to hab
|
| #
1b65be59 |
| 17-Oct-2024 |
Jacky Bai <ping.bai@nxp.com> |
fix(imx8m): fix imx8mq build break
Fix the build break for i.MX8MQ to make it boot with basic function enabled.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I2ff7976e3fb7960d6876d26fe0b4a
fix(imx8m): fix imx8mq build break
Fix the build break for i.MX8MQ to make it boot with basic function enabled.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I2ff7976e3fb7960d6876d26fe0b4a78e51219ae2
show more ...
|
| #
3a36f70b |
| 14-Jan-2020 |
Jacky Bai <ping.bai@nxp.com> |
fix(imx8mq): fix imx8mq build break due to hab
Add the HAB secure boot support for the i.MX8MQ to fix the build break.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I806de2dc42806e008355cc
fix(imx8mq): fix imx8mq build break due to hab
Add the HAB secure boot support for the i.MX8MQ to fix the build break.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I806de2dc42806e008355cc185065e774570362f0
show more ...
|
| #
a681e767 |
| 10-Jun-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(imx): disable DRAM retention by default on i.MX8MQ" into integration
|
| #
108146ce |
| 13-Mar-2024 |
Ahmad Fatoum <a.fatoum@pengutronix.de> |
fix(imx): disable DRAM retention by default on i.MX8MQ
Building the default upstream configuration for the imx8mq-evk is no longer possible: The linker will complain that the TF-A image will no long
fix(imx): disable DRAM retention by default on i.MX8MQ
Building the default upstream configuration for the imx8mq-evk is no longer possible: The linker will complain that the TF-A image will no longer fit On-Chip SRAM.
In order to make the i.MX8MQ Image buildable again, let's make the DRAM retention feature optional: It was added in v2.9 and it's possible to boot the systems without it. Users that make space elsewhere and wish to enable it can use the newly introduced IMX_DRAM_RETENTION parameter to configure it. The parameter is added to all i.MX8M variants, but only for i.MX8MQ, we disable it by default, as that's the one that currently has binary size problems.
Change-Id: I714f8ea96f18154db02390ba500f4a2dc5329ee7 Fixes: dd108c3c1fe3 ("feat(imx8mq): add the dram retention support for imx8mq") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
show more ...
|
| #
fbd5a2c3 |
| 01-Apr-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "feat(imx8mq): detect console base address during runtime" into integration
|
| #
52ee8173 |
| 13-Mar-2024 |
Leonard Göhrs <l.goehrs@pengutronix.de> |
feat(imx8mq): detect console base address during runtime
On the i.MX8M SoCs, TF-A doesn't itself initialize the UART, but depends on BL2 to set it up beforehand. To allow using the same TF-A binary
feat(imx8mq): detect console base address during runtime
On the i.MX8M SoCs, TF-A doesn't itself initialize the UART, but depends on BL2 to set it up beforehand. To allow using the same TF-A binary on boards with different UART assignment, TF-A On i.MX8M M/N/P supports dynamically determining the UART in use. The code is also applicable to the i.MX8MQ, so enable it there too.
Change-Id: I9ba70f7068e762da979bd103390fa006c3a5d480 Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
show more ...
|
| #
32455d90 |
| 10-Jan-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "feat(imx8m): make bl33 start configurable via PRELOADED_BL33_BASE" into integration
|
| #
9260a8c8 |
| 09-Jan-2024 |
Marco Felsch <m.felsch@pengutronix.de> |
feat(imx8m): make bl33 start configurable via PRELOADED_BL33_BASE
The TF-A does have a official PRELOADED_BL33_BASE define which is used to tell the TF-A where to jump and that no bl33 loading is re
feat(imx8m): make bl33 start configurable via PRELOADED_BL33_BASE
The TF-A does have a official PRELOADED_BL33_BASE define which is used to tell the TF-A where to jump and that no bl33 loading is requied. Use this to make the platform specific PLAT_NS_IMAGE_OFFSET configurable.
This becomes necessary if one would like to place the bl33 code to other places.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Change-Id: I9d462c0e9df8e6d2ad78ee770bfa59e680739a51
show more ...
|
| #
5864b58a |
| 09-Mar-2023 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "imx8m_misc_changes" into integration
* changes: feat(imx8mq): enable dram dvfs support on imx8mq feat(imx8m): use non-fast wakeup stop mode for system suspend feat(im
Merge changes from topic "imx8m_misc_changes" into integration
* changes: feat(imx8mq): enable dram dvfs support on imx8mq feat(imx8m): use non-fast wakeup stop mode for system suspend feat(imx8mq): correct the slot ack setting for STOP mode feat(imx8mq): add anamix pll override setting for DSM mode feat(imx8mq): add workaround code for ERR11171 on imx8mq feat(imx8mq): add the dram retention support for imx8mq feat(imx8mq): add version for B2 fix(imx8m): backup mr12/14 value from lpddr4 chip fix(imx8m): add ddr4 dvfs sw workaround for ERR050712 fix(imx8m): fix coverity out of bound access issue fix(imx8m): fix the dram retention random hang on some imx8mq Rev2.0 feat(imx8m): add more dram pll setting fix(imx8m): fix the current fsp init fix(imx8m): fix the rank to rank space issue fix(imx8m): fix the dfiphymaster setting after dvfs feat(imx8m): update the ddr4 dvfs flow to include ddr3l support fix(imx8m): correct the rank info get fro mstr feat(imx8m): fix the ddr4 dvfs random hang on imx8m
show more ...
|
| #
88a26465 |
| 08-Jan-2020 |
Jacky Bai <ping.bai@nxp.com> |
feat(imx8mq): add workaround code for ERR11171 on imx8mq
This new workaround takes advantage of the per core IMR registers in GPC in order to unmask the IRQ0, still generated by the 12bit in IOMUX_G
feat(imx8mq): add workaround code for ERR11171 on imx8mq
This new workaround takes advantage of the per core IMR registers in GPC in order to unmask the IRQ0, still generated by the 12bit in IOMUX_GPR register (which now remains always set), so it can only wake up one core at the time.Also, this entire workaround has now been moved here in TF-A, allowing the kernel side to be minimal.
Another advantage this workaround brings is the removal of the 50us delay (which was necessary before in gic_raise_softirq in kernel) by allowing the core that is waking up to mask his own IRQ0 in the suspend finish callback.
One important change here is the way the cores are woken up in dram_dvfs_handler. Since the wake up mechanism has changed from asserting the 12th bit in IOMUX_GPR and leaving the IMR1 1st bit on for each core to exactly the reverse, that is, leaving the IOMUX_GPR 12th bit always set and then masking/unmasking the IMR1 1st bit for each independent core, we need to use the imx_gpc_core_wake to wake up the cores.
Also, the 50us udelay is moved to TF-A (inside imx_pwr_domain_off) from kernel(gic_raise_softirq), since the new cpuidle workaround does not need it in order to clean the IOMUX_GPC 12bit. For now, the udelay seems to be still needed in order to delay the affinity info OFF for the dying core. This is something that needs further investigation.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I9f17ff6fc3452b8225a50b232964712aafeab78a
show more ...
|
| #
dd108c3c |
| 07-Jan-2020 |
Jacky Bai <ping.bai@nxp.com> |
feat(imx8mq): add the dram retention support for imx8mq
Add the dram retention support for i.MX8MQ. As there is no enough ocram space available before entering TF-A, so the timing info need to be co
feat(imx8mq): add the dram retention support for imx8mq
Add the dram retention support for i.MX8MQ. As there is no enough ocram space available before entering TF-A, so the timing info need to be copied from dram into ocram.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: Id8264c342fd62e297b1969cba5ed505450c78a25
show more ...
|
| #
8b1d186a |
| 13-Dec-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes Ie6a13e4a,I517074b8,Ifd29b748,I1279d9cb,I3b78e0c5, ... into integration
* changes: feat(imx8mq): add BL31 PIE support refactor(imx8mq): introduce BL31_SIZE refactor(imx8mq): make
Merge changes Ie6a13e4a,I517074b8,Ifd29b748,I1279d9cb,I3b78e0c5, ... into integration
* changes: feat(imx8mq): add BL31 PIE support refactor(imx8mq): introduce BL31_SIZE refactor(imx8mq): make use of setup_page_tables() feat(imx8mq): always set up console feat(imx8mq): remove empty bl31_plat_runtime_setup feat(imx8mq): make IMX_BOOT_UART_BASE configurable via build parameter
show more ...
|
| #
8cfa94b7 |
| 08-Dec-2022 |
Lucas Stach <l.stach@pengutronix.de> |
feat(imx8mq): add BL31 PIE support
Enable PIE support so the BL31 firmware can be loaded from anywhere within the OCRAM (SRAM). For the PIE support we only need to replace the BL31_BASE define by th
feat(imx8mq): add BL31 PIE support
Enable PIE support so the BL31 firmware can be loaded from anywhere within the OCRAM (SRAM). For the PIE support we only need to replace the BL31_BASE define by the BL31_START symbol which is a relocatable and we need to enable it by setting ENABLE_PIE := 1.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Change-Id: Ie6a13e4ae0fdc6627a94798d7a86df7d5b310896
show more ...
|
| #
202737ef |
| 08-Dec-2022 |
Lucas Stach <l.stach@pengutronix.de> |
feat(imx8mq): make IMX_BOOT_UART_BASE configurable via build parameter
This aligns the i.MX8MQ build with the other i.MX8M platforms by allowing to override the default IMX_BOOT_UART_BASE value via
feat(imx8mq): make IMX_BOOT_UART_BASE configurable via build parameter
This aligns the i.MX8MQ build with the other i.MX8M platforms by allowing to override the default IMX_BOOT_UART_BASE value via a make parameter.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Change-Id: Iad9b844517209fc7d051c61767f71ac9fa2b55c7
show more ...
|
| #
c3bdd3d3 |
| 09-May-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes Idfd268cd,I362445b9,Ibea052d3,I28cb8f74,I501ae76a, ... into integration
* changes: feat(imx8mp): enable BL32 fdt overlay support on imx8mp feat(imx8mq): enable optee fdt overlay su
Merge changes Idfd268cd,I362445b9,Ibea052d3,I28cb8f74,I501ae76a, ... into integration
* changes: feat(imx8mp): enable BL32 fdt overlay support on imx8mp feat(imx8mq): enable optee fdt overlay support feat(imx8mn): enable optee fdt overlay support feat(imx8mm): enable optee fdt overlay support feat(imx8mp): add trusty for imx8mp feat(imx8mq): enable trusty for imx8mq feat(imx8mn): enable Trusty OS for imx8mn feat(imx8mm): enable Trusty OS on imx8mm feat(imx8/imx8m): switch to xlat_tables_v2 feat(imx8m): enable the coram_s tz by default on imx8mn/mp feat(imx8m): enable the csu init on imx8m feat(imx8m): add a simple csu driver for imx8m family refactor(imx8m): replace magic number with enum type feat(imx8m): add imx csu/rdc enum type defines for imx8m fix(imx8m): check the validation of domain id feat(imx8m): enable conditional build for SDEI
show more ...
|
| #
4f8d5b01 |
| 20-Feb-2020 |
Ji Luo <ji.luo@nxp.com> |
feat(imx8/imx8m): switch to xlat_tables_v2
spd trusty requires memory dynamic mapping feature to be enabled, so we have to use xlat table library v2 instead of v1.
Signed-off-by: Ji Luo <ji.luo@nxp
feat(imx8/imx8m): switch to xlat_tables_v2
spd trusty requires memory dynamic mapping feature to be enabled, so we have to use xlat table library v2 instead of v1.
Signed-off-by: Ji Luo <ji.luo@nxp.com> Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I2813af9c7878b1fc2a59e27619c5b643af6a1e91
show more ...
|
| #
27c5e15e |
| 31-Mar-2020 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "TF-A GICv3 driver: Introduce makefile" into integration
|
| #
a6ea06f5 |
| 23-Mar-2020 |
Alexei Fedorov <Alexei.Fedorov@arm.com> |
TF-A GICv3 driver: Introduce makefile
This patch moves all GICv3 driver files into new added 'gicv3.mk' makefile for the benefit of the generic driver which can evolve in the future without affectin
TF-A GICv3 driver: Introduce makefile
This patch moves all GICv3 driver files into new added 'gicv3.mk' makefile for the benefit of the generic driver which can evolve in the future without affecting platforms. The patch adds GICv3 driver configuration flags 'GICV3_IMPL', 'GICV3_IMPL_GIC600_MULTICHIP' and 'GICV3_OVERRIDE_DISTIF_PWR_OPS' described in 'GICv3 driver options' section of 'build-option.rst' document.
NOTE: Platforms with GICv3 driver need to be modified to include 'drivers/arm/gic/v3/gicv3.mk' in their makefiles.
Change-Id: If055f6770ff20f5dee5a3c99ae7ced7cdcac5c44 Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
show more ...
|
| #
6654d17e |
| 11-Mar-2020 |
Mark Dykes <mardyk01@review.trustedfirmware.org> |
Merge "TF-A GICv3 driver: Separate GICD and GICR accessor functions" into integration
|
| #
6e19bd56 |
| 21-Feb-2020 |
Alexei Fedorov <Alexei.Fedorov@arm.com> |
TF-A GICv3 driver: Separate GICD and GICR accessor functions
This patch provides separation of GICD, GICR accessor functions and adds new macros for GICv3 registers access as a preparation for GICv3
TF-A GICv3 driver: Separate GICD and GICR accessor functions
This patch provides separation of GICD, GICR accessor functions and adds new macros for GICv3 registers access as a preparation for GICv3.1 and GICv4 support. NOTE: Platforms need to modify to include both 'gicdv3_helpers.c' and 'gicrv3_helpers.c' instead of the single helper file previously.
Change-Id: I1641bd6d217d6eb7d1228be3c4177b2d556da60a Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
show more ...
|
| #
004c9228 |
| 21-Jan-2020 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge changes Ib1ed9786,I6c4855c8 into integration
* changes: plat: imx: Correct the SGIs that used for secure interrupt plat: imx8mm: Add the support for opteed spd on imx8mq/imx8mm
|
| #
abb6fee6 |
| 18-Jul-2019 |
Jacky Bai <ping.bai@nxp.com> |
plat: imx8mm: Add the support for opteed spd on imx8mq/imx8mm
Add the basic support for opteed SPD on imx8mq & imx8mm.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I6c4855c89dea78d13d172c
plat: imx8mm: Add the support for opteed spd on imx8mq/imx8mm
Add the basic support for opteed SPD on imx8mq & imx8mm.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I6c4855c89dea78d13d172c3d86cf047f829e51ce
show more ...
|
| #
21bde92f |
| 09-Jul-2019 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "plat: imx8m: Add caam module init on imx8m" into integration
|
| #
2502709f |
| 12-Jun-2019 |
Jacky Bai <ping.bai@nxp.com> |
plat: imx8m: Add caam module init on imx8m
CAAM module must be initialized in secure world before it can be used in non-secure world.
Change-Id: I042893667ddef99d8b6fc3902847d516d8591996 Signed-off
plat: imx8m: Add caam module init on imx8m
CAAM module must be initialized in secure world before it can be used in non-secure world.
Change-Id: I042893667ddef99d8b6fc3902847d516d8591996 Signed-off-by: Jacky Bai <ping.bai@nxp.com>
show more ...
|