| f7434fa1 | 12-Sep-2024 |
Dario Binacchi <dario.binacchi@amarulasolutions.com> |
fix(imx8m): ensure domain permissions for the console
The commit d76f012ea8fc0 ("refactor(imx8m): replace magic number with enum type") also hardcodes the domain permissions configuration for the UA
fix(imx8m): ensure domain permissions for the console
The commit d76f012ea8fc0 ("refactor(imx8m): replace magic number with enum type") also hardcodes the domain permissions configuration for the UARTs, causing a regression for any board using a boot console different from UART2. Indeed, previously, the RDC_PDAP_UARTn registers were set to the reset value (0xff), meaning all domains were enabled for read and write access.
This patch fixes this regression by ensuring that the console always has read/write access enabled for domain 0.
Tested on a i.MX8MN BSH SMM S2 PRO board.
Fixes: d76f012ea8fc0 ("refactor(imx8m): replace magic number with enum type") Change-Id: I2670bf485372f32ef45cebb72a7694a9a800f417 Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
show more ...
|
| 4827613c | 06-Sep-2023 |
Marco Felsch <m.felsch@pengutronix.de> |
fix(imx8m): map BL32 memory only if SPD_opteed or SPD_trusty is enabled
Always map the BL32 memory can interfere with the BL33 mapping if the BL33 is not aware of the mapping, e.g. different memory
fix(imx8m): map BL32 memory only if SPD_opteed or SPD_trusty is enabled
Always map the BL32 memory can interfere with the BL33 mapping if the BL33 is not aware of the mapping, e.g. different memory tagging secure/non-secure. Therefore map the memory only if BL32 (opteed, trusty) is enabled and BL33 is aware of this memory mapping.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Change-Id: I9c2bf78aa6e88c93e749a9248724186fee9df864
show more ...
|
| 85625646 | 06-Sep-2023 |
Marco Felsch <m.felsch@pengutronix.de> |
feat(imx8mn): add workaround for errata ERR050362
Port the workaround from the downstream imx-atf [1]:
| commit 1990081264f40822d1564f4562f05bbbc0c2941b | Author: Ji Luo <ji.luo@nxp.com> | Date:
feat(imx8mn): add workaround for errata ERR050362
Port the workaround from the downstream imx-atf [1]:
| commit 1990081264f40822d1564f4562f05bbbc0c2941b | Author: Ji Luo <ji.luo@nxp.com> | Date: Thu May 20 16:26:55 2021 +0800 | | MA-19071 imx8mn: workaround for errata ERR050362 | | Configure the force_incr programmable bit in GPV_5 of PL301_display, | which fixes partial write issue. This workaround was done in MCU FW | before, move it to TF-A now as MCU should not touch secure world. | | Change-Id: I2e5bbc764640afeab6ac2f4b202939b59bd3b3f2 | Signed-off-by: Ji Luo <ji.luo@nxp.com>
[1] https://github.com/nxp-imx/imx-atf.git
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Change-Id: Iaff5f1faa143204d64c075b288f8dd13eb2902d8
show more ...
|
| 62d37a43 | 04-Jul-2022 |
Marco Felsch <m.felsch@pengutronix.de> |
feat(imx8mn): 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(imx8mn): 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: Marco Felsch <m.felsch@pengutronix.de> Change-Id: I33c8e35c35112d70d2725eebe484a853a8aad9e0
show more ...
|
| 796a249c | 04-Jul-2022 |
Marco Felsch <m.felsch@pengutronix.de> |
refactor(imx8mn): introduce BL31_SIZE
Introduce BL31_SIZE define and calculate the limit based on the BL31_BASE and the BL31_SIZE define. Also make use of SZ_128K to make it easier to read. This is
refactor(imx8mn): introduce BL31_SIZE
Introduce BL31_SIZE define and calculate the limit based on the BL31_BASE and the BL31_SIZE define. Also make use of SZ_128K to make it easier to read. This is required for later BL31 PIE support since it drops the calculation based on the BL31_LIMIT and BL31_BASE.
While on it remove the duplicated <lib/utils_def.h> include.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Change-Id: Ifca40bd5682ef993db986439115abd9e9a66a5b2
show more ...
|
| 602b3286 | 04-Jul-2022 |
Marco Felsch <m.felsch@pengutronix.de> |
refactor(imx8mn): make use of setup_page_tables()
No functional change.
Use the setup_page_tables() helper function which does the three calls for us. Also the function has some logging support whi
refactor(imx8mn): make use of setup_page_tables()
No functional change.
Use the setup_page_tables() helper function which does the three calls for us. Also the function has some logging support which will be nice during debugging.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Change-Id: I2f0182f19300a3a57bbeb7e2107c5fb5525dd0c1
show more ...
|