| d3996c59 | 15-Jan-2019 |
Anson Huang <Anson.Huang@nxp.com> |
imx: add cpu-freq SIP runtime service support
On i.MX8QM/i.MX8QX with system controller inside, the CPU's clock rate is managed by SCFW(system controller firmware) and can ONLY be changed from secur
imx: add cpu-freq SIP runtime service support
On i.MX8QM/i.MX8QX with system controller inside, the CPU's clock rate is managed by SCFW(system controller firmware) and can ONLY be changed from secure world, so SIP runtime service is needed for setting CPU's clock rate, this patch adds cpu-freq SIP runtime service support.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
show more ...
|
| 025514ba | 15-Jan-2019 |
Anson Huang <Anson.Huang@nxp.com> |
imx: add imx8qm/imx8qx SRTC SIP runtime service support
On i.MX8QM/i.MX8QX with system controller inside, the SRTC is managed by SCFW(system controller firmware) and some functions like setting SRTC
imx: add imx8qm/imx8qx SRTC SIP runtime service support
On i.MX8QM/i.MX8QX with system controller inside, the SRTC is managed by SCFW(system controller firmware) and some functions like setting SRTC's time etc. can ONLY be requested from secure world, so SIP runtime service is needed for such kind of operations, this patch adds SRTC SIP runtime service support for i.MX8QM and i.MX8QX.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
show more ...
|
| 2e8ab4f5 | 15-Jan-2019 |
Anson Huang <Anson.Huang@nxp.com> |
imx: make imx uart work for debug mode
With DEBUG_CONSOLE enabled, build will fail for imx8mq platform:
./build/imx8mq/release/bl31/imx8mq_bl31_setup.o: In function `bl31_early_platform_setup2': im
imx: make imx uart work for debug mode
With DEBUG_CONSOLE enabled, build will fail for imx8mq platform:
./build/imx8mq/release/bl31/imx8mq_bl31_setup.o: In function `bl31_early_platform_setup2': imx8mq_bl31_setup.c:(.text.bl31_early_platform_setup2+0x40): undefined reference to `console_uart_register' Makefile:741: recipe for target 'build/imx8mq/release/bl31/bl31.elf' failed make: *** [build/imx8mq/release/bl31/bl31.elf] Error 1
Besides, the .console_flush callback needs to be added to avoid panic when debug mode is enabled, since the console_flush() will call it without checking whether the function callback is valid.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
show more ...
|
| 172e55be | 27-Jul-2018 |
Bryan O'Donoghue <bryan.odonoghue@linaro.org> |
warp7: Add warp7 platform to the build
Previous changes in this series made the necessary driver additions and updates. With those changes in-place we can add the platform.mk and bl2_el3_setup.c to
warp7: Add warp7 platform to the build
Previous changes in this series made the necessary driver additions and updates. With those changes in-place we can add the platform.mk and bl2_el3_setup.c to drive the boot process.
After this commit its possible to build a fully-functional TF-A for the WaRP7 and boot from the BootROM to the Linux command prompt in secure or non-secure mode.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
show more ...
|
| 20c0eca0 | 04-Jul-2018 |
Bryan O'Donoghue <bryan.odonoghue@linaro.org> |
warp7: panic: hab: Call into BootROM failsafe on panic path
This patch adds a callback into the BootROM's provided High Assurance Boot (HAB) failsafe function when panicking i.e. the call is done wi
warp7: panic: hab: Call into BootROM failsafe on panic path
This patch adds a callback into the BootROM's provided High Assurance Boot (HAB) failsafe function when panicking i.e. the call is done without making use of stack.
The HAB failsafe function allows a piece of software to call into the BootROM and place the processor into failsafe mode.
Failsafe mode is a special mode which presents a serial download protocol interface over UART or USB at the time of writing.
If the board has been set into secure mode, then only a signed binary can be used to recover the board.
Thus failsafe gives a putatively secure method of performing a secure recovery over UART or USB.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>
show more ...
|
| a22d06ce | 11-Jun-2018 |
Bryan O'Donoghue <bryan.odonoghue@linaro.org> |
warp7: mem_params_desc: Add boot entries to mem params array
This patch adds entries to the mem params array for
- BL32 - BL32_EXTRA1 - BL32_EXTRA2 - BL33 - HW_CONFIG_ID
BL32 is marked as bootable
warp7: mem_params_desc: Add boot entries to mem params array
This patch adds entries to the mem params array for
- BL32 - BL32_EXTRA1 - BL32_EXTRA2 - BL33 - HW_CONFIG_ID
BL32 is marked as bootable to indicate that OPTEE is the thing that should be booted next.
In our model OPTEE chain-loads onto u-boot so only BL32 is bootable.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
show more ...
|
| 5336ebd0 | 24-May-2018 |
Bryan O'Donoghue <bryan.odonoghue@linaro.org> |
warp7: io_storage: Add initial stub warp7_io_storage.c
This commit adds support for parsing a FIP pre-loaded by a previous boot-phase such as u-boot or via ATF reading directly from eMMC.
[bod: squ
warp7: io_storage: Add initial stub warp7_io_storage.c
This commit adds support for parsing a FIP pre-loaded by a previous boot-phase such as u-boot or via ATF reading directly from eMMC.
[bod: squashing several patches from Rui, Jun and bod]
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
show more ...
|
| c6020248 | 25-May-2018 |
Bryan O'Donoghue <bryan.odonoghue@linaro.org> |
warp7: Define a platform_def.h
This patch defines a platform_def.h describing
- FIP layout and location - eMMC device select - UART identity select - System clock frequency - Operational memory map
warp7: Define a platform_def.h
This patch defines a platform_def.h describing
- FIP layout and location - eMMC device select - UART identity select - System clock frequency - Operational memory map
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
show more ...
|
| 1fe21ca6 | 25-May-2018 |
Bryan O'Donoghue <bryan.odonoghue@linaro.org> |
warp7: mem_params_desc: Add a file which exports a REGISTER_BL_IMAGE_DESCS
In order to link even a basic image we need to declare REGISTER_BL_IMAGE_DESCS. This patch declares an empty structure whic
warp7: mem_params_desc: Add a file which exports a REGISTER_BL_IMAGE_DESCS
In order to link even a basic image we need to declare REGISTER_BL_IMAGE_DESCS. This patch declares an empty structure which is passed to REGISTER_BL_IMAGE_DESCS(). Later patches will add in some meaningful data.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
show more ...
|
| 82add05b | 24-May-2018 |
Bryan O'Donoghue <bryan.odonoghue@linaro.org> |
warp7: image_load: Add warp7_image_load.c
This commit adds warp7_image_load.c with the functions
- plat_flush_next_bl_params() - plat_get_bl_image_load_info() - plat_get_next_bl_params()
Signed-of
warp7: image_load: Add warp7_image_load.c
This commit adds warp7_image_load.c with the functions
- plat_flush_next_bl_params() - plat_get_bl_image_load_info() - plat_get_next_bl_params()
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
show more ...
|