History log of /rk3399_ARM-atf/plat/ (Results 7551 – 7575 of 8950)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
33d4af4702-Mar-2018 Jiafei Pan <Jiafei.Pan@nxp.com>

layerscape: Initial TF-A support for LS1043ardb

This patch introduce TF-A support for NXP's ls1043a platform.
more details information of ls1043a chip and ls1043ardb board
can be found at docs/plat/

layerscape: Initial TF-A support for LS1043ardb

This patch introduce TF-A support for NXP's ls1043a platform.
more details information of ls1043a chip and ls1043ardb board
can be found at docs/plat/ls1043a.rst.

Boot sequence on ls1043a is: bootrom loads bl1 firstly, then bl1
loads bl2, bl2 will load bl31, bl32 and bl33, bl31 will boot
bl32(tee os) and bl33(u-boot or uefi), bl33 boot Linux kernel.

Now TF-A on ls1043ardb platform has the following features in this patch:
* Support boot from Nor flash.
* TF-A can boot bl33 which runs in el2 of non-secure world.
* TF-A boot OPTee OS.
* Support PSCI

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Signed-off-by: Chenyin.Ha <Chenyin.Ha@nxp.com>
Signed-off-by: Chenhui Zhao <chenhui.zhao@nxp.com>
Signed-off-by: jiaheng.fan <jiaheng.fan@nxp.com>
Signed-off-by: Wen He <wen.he_1@nxp.com>

show more ...


/rk3399_ARM-atf/Makefile
/rk3399_ARM-atf/docs/plat/ls1043a.rst
/rk3399_ARM-atf/maintainers.rst
layerscape/board/ls1043/aarch64/ls1043_helpers.S
layerscape/board/ls1043/include/ls_def.h
layerscape/board/ls1043/include/ns_access.h
layerscape/board/ls1043/include/plat_macros.S
layerscape/board/ls1043/include/platform_def.h
layerscape/board/ls1043/include/soc_tzasc.h
layerscape/board/ls1043/ls1043_bl1_setup.c
layerscape/board/ls1043/ls1043_bl2_setup.c
layerscape/board/ls1043/ls1043_bl31_setup.c
layerscape/board/ls1043/ls1043_err.c
layerscape/board/ls1043/ls1043_psci.c
layerscape/board/ls1043/ls1043_security.c
layerscape/board/ls1043/ls1043_stack_protector.c
layerscape/board/ls1043/ls1043_topology.c
layerscape/board/ls1043/ls_gic.c
layerscape/board/ls1043/platform.mk
layerscape/board/ls1043/tsp/ls1043_tsp_setup.c
layerscape/board/ls1043/tsp/tsp-ls1043.mk
layerscape/common/aarch64/ls_bl2_mem_params_desc.c
layerscape/common/aarch64/ls_console.S
layerscape/common/aarch64/ls_helpers.S
layerscape/common/include/fsl_csu.h
layerscape/common/include/ls_16550.h
layerscape/common/include/plat_ls.h
layerscape/common/include/soc.h
layerscape/common/include/tzc380.h
layerscape/common/ls_bl1_setup.c
layerscape/common/ls_bl2_setup.c
layerscape/common/ls_bl31_setup.c
layerscape/common/ls_common.c
layerscape/common/ls_common.mk
layerscape/common/ls_image_load.c
layerscape/common/ls_io_storage.c
layerscape/common/ls_timer.c
layerscape/common/ls_topology.c
layerscape/common/ls_tzc380.c
layerscape/common/ns_access.c
layerscape/common/tsp/ls_tsp.mk
layerscape/common/tsp/ls_tsp_setup.c
layerscape/common/tsp/platform_tsp.h
83a2376e23-Mar-2018 Amit Daniel Kachhap <amit.kachhap@arm.com>

Juno: Increase bl2 max size to fix build when SPD=opteed

Building TBBR(SPD=opteed) and non-TBBR TF-A images is breaking for
Juno for different configurations listed below:

* Overflow error of 4096

Juno: Increase bl2 max size to fix build when SPD=opteed

Building TBBR(SPD=opteed) and non-TBBR TF-A images is breaking for
Juno for different configurations listed below:

* Overflow error of 4096 bytes for rsa algorithm.
* Overflow error of 8192 bytes for ecdsa algorithm.
* Overflow error of 4096 bytes for rsa+ecdsa algorithm.
* Overflow error of 4096 bytes for non-TBBR case.

So this patch increments macro PLAT_ARM_MAX_BL2_SIZE for all the above
cases accordingly.

Change-Id: I75ec6c0a718181d34553fe55437f0496f467683f
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>

show more ...

3cb7492206-Apr-2018 Derek Basehore <dbasehore@chromium.org>

rockchip/rk3399: Fix sram_udelay

This fixes an off by 576x bug the the sram_udelay code. The wrong
value was multipled by the system ticks per mhz value (which is 24),
so we delayed for 1/576th of t

rockchip/rk3399: Fix sram_udelay

This fixes an off by 576x bug the the sram_udelay code. The wrong
value was multipled by the system ticks per mhz value (which is 24),
so we delayed for 1/576th of the requested time.

Signed-off-by: Derek Basehore <dbasehore@chromium.org>

show more ...

468bea4105-Apr-2018 David Cunado <david.cunado@arm.com>

FVP: Fix function for translating MPIDR to linear index

The current AArch32 version of plat_arm_calc_core_pos uses an incorrect
algorithm to calculate the linear position of a core / PE from its
MPI

FVP: Fix function for translating MPIDR to linear index

The current AArch32 version of plat_arm_calc_core_pos uses an incorrect
algorithm to calculate the linear position of a core / PE from its
MPIDR.

This patch corrects the algorithm to:

(ClusterId * FVP_MAX_CPUS_PER_CLUSTER) * FVP_MAX_PE_PER_CPU
+ (CPUId * FVP_MAX_PE_PER_CPU)
+ ThreadId

which supports cores where there are more than 1 PE per CPU.

NOTE: the AArch64 version was fixed in 39b21d1

Change-Id: I72aea89d8f72f8b1fef54e2177a0fa6fef0f5513
Signed-off-by: David Cunado <david.cunado@arm.com>

show more ...

f11916bf03-Apr-2018 Dimitris Papastamos <dimitris.papastamos@arm.com>

Merge pull request #1334 from michpappas/tf-issues#572_qemu_dont_use_C_for_crash_console

qemu: don't use C functions for the crash console callbacks

0e24ea8127-Mar-2018 Michalis Pappas <mpappas@fastmail.fm>

qemu: don't use C functions for the crash console callbacks

Use the console_pl011_core_* functions directly in the crash console
callbacks.

This bypasses the MULTI_CONSOLE_API for the crash console

qemu: don't use C functions for the crash console callbacks

Use the console_pl011_core_* functions directly in the crash console
callbacks.

This bypasses the MULTI_CONSOLE_API for the crash console (UART1), but
allows using the crash console before the C runtime has been initialized
(eg to call ASM_ASSERT). This retains backwards compatibility with respect
to functionality when the old API is used.

Use the MULTI_CONSOLE_API to register UART0 as the boot and runtime
console.

Fixes ARM-software/tf-issues#572

Signed-off-by: Michalis Pappas <mpappas@fastmail.fm>

show more ...

02f8c03829-Mar-2018 Dimitris Papastamos <dimitris.papastamos@arm.com>

Merge pull request #1327 from npoushin/npoushin/sgi575

ARM platforms: Add support for SGI575

6ab136c229-Mar-2018 Dimitris Papastamos <dimitris.papastamos@arm.com>

Merge pull request #1313 from jonathanwright-ARM/jw/MISRA-switch-statements

Fix switch statements to comply with MISRA rules

79c0f52529-Mar-2018 Dimitris Papastamos <dimitris.papastamos@arm.com>

Merge pull request #1325 from michpappas/tf-issues#568_qemu_add_ENABLE_STACK_PROTECTOR

qemu: Add support for stack canary protection

bd79727c29-Mar-2018 Dimitris Papastamos <dimitris.papastamos@arm.com>

Merge pull request #1331 from hzhuang1/reboot_delay

hikey960: add delay before reset

469744e629-Mar-2018 Dimitris Papastamos <dimitris.papastamos@arm.com>

Merge pull request #1329 from antonio-nino-diaz-arm/an/rpi3-multi-console

rpi3: Migrate to the multi console API

e74af2af29-Mar-2018 Dimitris Papastamos <dimitris.papastamos@arm.com>

Merge pull request #1335 from JoelHutton/jh/cleanup_void_pointers

Clean usage of void pointers to access symbols

b44cfc6d26-Feb-2018 Nariman Poushin <nariman.poushin@linaro.org>

ARM platforms: Add support for SGI575

Add support for System Guidance for Infrastructure platform SGI575.

Change-Id: I0125c2ed4469fbc8367dafcc8adce770b6b3147d
Signed-off-by: Nariman Poushin <narima

ARM platforms: Add support for SGI575

Add support for System Guidance for Infrastructure platform SGI575.

Change-Id: I0125c2ed4469fbc8367dafcc8adce770b6b3147d
Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>

show more ...

7dcef5eb26-Mar-2018 Haojian Zhuang <haojian.zhuang@linaro.org>

hikey960: add delay before reset

If system is still accessing storage device, reboot operation
may cause data broken. So add the flush and delay operation
before system reset.

Signed-off-by: Haojia

hikey960: add delay before reset

If system is still accessing storage device, reboot operation
may cause data broken. So add the flush and delay operation
before system reset.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>

show more ...

9f85f9e321-Mar-2018 Joel Hutton <Joel.Hutton@Arm.com>

Clean usage of void pointers to access symbols

Void pointers have been used to access linker symbols, by declaring an
extern pointer, then taking the address of it. This limits symbols
values to ali

Clean usage of void pointers to access symbols

Void pointers have been used to access linker symbols, by declaring an
extern pointer, then taking the address of it. This limits symbols
values to aligned pointer values. To remove this restriction an
IMPORT_SYM macro has been introduced, which declares it as a char
pointer and casts it to the required type.

Change-Id: I89877fc3b13ed311817bb8ba79d4872b89bfd3b0
Signed-off-by: Joel Hutton <Joel.Hutton@Arm.com>

show more ...

e0f21f6227-Mar-2018 Antonio Nino Diaz <antonio.ninodiaz@arm.com>

rpi3: Use new console APIs

Switch to the new console APIs enabled by setting MULTI_CONSOLE_API=1.

The crash console doesn't use this API, it uses internally the core
functions of the 16550 console.

rpi3: Use new console APIs

Switch to the new console APIs enabled by setting MULTI_CONSOLE_API=1.

The crash console doesn't use this API, it uses internally the core
functions of the 16550 console.

`bl31_plat_runtime_setup` is no longer needed. When this platform port
was introduced, that function used to disable the console. It was needed
to override that behaviour. The new behaviour is to switch to the
runtime console. The console is registered for all scopes (boot, crash
and runtime) in `rpi3_console_init` so it is not needed to override the
default behaviour anymore.

Update documentation.

Change-Id: If2ee8f91044216183b7ef142e5c05ad6220ae92f
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>

show more ...

649c48f514-Mar-2018 Jonathan Wright <jonathan.wright@arm.com>

plat: fix switch statements to comply with MISRA rules

Ensure (where possible) that switch statements in plat comply with MISRA
rules 16.1 - 16.7.

Change-Id: Ie4a7d2fd10f6141c0cfb89317ea28a75539162

plat: fix switch statements to comply with MISRA rules

Ensure (where possible) that switch statements in plat comply with MISRA
rules 16.1 - 16.7.

Change-Id: Ie4a7d2fd10f6141c0cfb89317ea28a755391622f
Signed-off-by: Jonathan Wright <jonathan.wright@arm.com>

show more ...

8ae0df9314-Mar-2018 Jonathan Wright <jonathan.wright@arm.com>

plat/common: remove fall-through on release build

Removes fall-through in switch statement on unknown interrupt type in
release builds.

Previous behaviour was to assert(0) on default case in debug

plat/common: remove fall-through on release build

Removes fall-through in switch statement on unknown interrupt type in
release builds.

Previous behaviour was to assert(0) on default case in debug builds but
fall through and interpret the unknown interrupt type as
INTR_TYPE_EL3 in release builds.

Change-Id: I05fb0299608efda0f9eda2288d3e56e5625e05c9
Signed-off-by: Jonathan Wright <jonathan.wright@arm.com>

show more ...

b7229e4926-Mar-2018 Dimitris Papastamos <dimitris.papastamos@arm.com>

Merge pull request #1323 from rockchip-linux/Fixes-rk3399-watchdog

rockchip/rk3399: save/restore watchdog register correctly

4c746fc524-Mar-2018 Michalis Pappas <mpappas@fastmail.fm>

qemu: MULTI_CONSOLE_API=0 causes build error

Add crash_console_init declaration to console.h
Only enable MULTI_CONSOLE_API for AArch64

Fixes ARM-software/tf-issues#571

Signed-off-by: Michalis Papp

qemu: MULTI_CONSOLE_API=0 causes build error

Add crash_console_init declaration to console.h
Only enable MULTI_CONSOLE_API for AArch64

Fixes ARM-software/tf-issues#571

Signed-off-by: Michalis Pappas <mpappas@fastmail.fm>

show more ...

0d48df8423-Mar-2018 davidcunado-arm <david.cunado@arm.com>

Merge pull request #1280 from gitfineon/master

plat/hikey: split boot memory layout to dedicated file

f13ef37a22-Mar-2018 davidcunado-arm <david.cunado@arm.com>

Merge pull request #1299 from michpappas/tf-issues#561_qemu_support_MULTI_CONSOLE

qemu: Support MULTI_CONSOLE_API

0f66bbf222-Mar-2018 davidcunado-arm <david.cunado@arm.com>

Merge pull request #1307 from wangfeng-64/master

FVP: change the method for translating MPIDR values to a linear indices

6a55f6aa04-Mar-2018 Michalis Pappas <mpappas@fastmail.fm>

[PATCH 2/2] qemu: Support MULTI_CONSOLE_API

Add support for the new MULTI_CONSOLE_API

Crash information is now displayed in both the runtime and crash consoles,
if a crash occurs after the runtime

[PATCH 2/2] qemu: Support MULTI_CONSOLE_API

Add support for the new MULTI_CONSOLE_API

Crash information is now displayed in both the runtime and crash consoles,
if a crash occurs after the runtime console has been enabled

Enable MULTI_CONSOLE_API by default on qemu builds

Fixes ARM-software/tf-issues#561

Signed-off-by: Michalis Pappas <mpappas@fastmail.fm>

show more ...

6d8db46b21-Mar-2018 davidcunado-arm <david.cunado@arm.com>

Merge pull request #1314 from antonio-nino-diaz-arm/an/smccc-header

Rename 'smcc' to 'smccc'

1...<<301302303304305306307308309310>>...358