From: Abdellatif El Khlifi
This patchset enables configs needed by the Corstone-1000 platform.
The enabled configs allow the following:
- unzip the kernel before executing it (the kernel has become too large
to fit in the available storage)
- enable distro_bootcmd (needed to boot distros fro
From: Abdellatif El Khlifi
enable distro_bootcmd
Signed-off-by: Abdellatif El Khlifi
Signed-off-by: Rui Miguel Silva
---
include/configs/corstone1000.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h
index 3
From: Abdellatif El Khlifi
unzip the kernel before executing it
The Corstone-1000 kernel has become too large to fit in the available
storage. Switching to a compressed kernel avoids the problem, but
requires uncompressing it.
Changes made are generated using savedefconfig.
Signed-off-by: Abd
From: Emekcan Aras
enable PSCI reset used for the system reset
Even though Corstone-1000 does not implement the entire PSCI APIs,
it relies on PSCI reset interface for the system reset.
Signed-off-by: Emekcan Aras
Signed-off-by: Abdellatif El Khlifi
---
configs/corstone1000_defconfig | 2 +-
From: Abdellatif El Khlifi
Update MAINTAINERS of corstone1000 board.
Signed-off-by: Xueliang Zhong
Signed-off-by: Abdellatif El Khlifi
---
board/armltd/corstone1000/MAINTAINERS | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/armltd/corstone1000/MAINTAINERS
b/boa
From: Abdellatif El Khlifi
make readq return unsigned long
readq should return 64-bit data
Signed-off-by: Abdellatif El Khlifi
---
arch/sandbox/cpu/cpu.c| 2 +-
arch/sandbox/include/asm/io.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/sandbox/cpu/cpu.c
From: Abdellatif El Khlifi
Adding block storage emulation for NVM XIP flash devices.
Some paltforms such as Corstone-1000 need to see NVM XIP raw flash
as a block storage device with read only capability.
Here NVM flash devices are devices with addressable
memory (e.g: QSPI NOR flash).
The NVM
From: Abdellatif El Khlifi
add the QSPI flash device with block storage capability
Signed-off-by: Abdellatif El Khlifi
---
configs/corstone1000_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig
index dddfa27507..815355
From: Abdellatif El Khlifi
enable NVMXIP QSPI for sandbox 64-bit
Adding two NVM XIP QSPI storage devices.
Signed-off-by: Abdellatif El Khlifi
---
arch/sandbox/dts/sandbox64.dts | 13 +
arch/sandbox/dts/test.dts | 14 ++
configs/sandbox64_defconfig| 1 +
drive
From: Abdellatif El Khlifi
add QSPI flash device node for block storage access
Signed-off-by: Abdellatif El Khlifi
---
arch/arm/dts/corstone1000.dtsi | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi
inde
From: Abdellatif El Khlifi
provide a test for NVM XIP devices
The test case allows to make sure of the following:
- The NVM XIP QSPI devices are probed
- The DT entries are read correctly
- the data read from the flash by the NVMXIP block driver is correct
Signed-off-by: Abdellatif El Khlifi
From: Abdellatif El Khlifi
add block storage emulation for NVM XIP flash devices
Some paltforms such as Corstone-1000 need to see NVM XIP raw flash
as a block storage device with read only capability.
Here NVM flash devices are devices with addressable
memory (e.g: QSPI NOR flash).
The impleme
From: Abdellatif El Khlifi
This patchset adds support for Arm FF-A (Arm Firmware Framework for Armv8-A
v1.0).
FF-A support is generic by design and can be used by any Arm platform.
The features added are as follows:
1/ FF-A bus driver
2/ armffa command
3/ FF-A Sandbox driver
4/ FF-A Sandb
From: Abdellatif El Khlifi
Add the driver implementing Arm Firmware Framework for Armv8-A v1.0
The Firmware Framework for Arm A-profile processors (FF-A)
describes interfaces (ABIs) that standardize communication
between the Secure World and Normal World leveraging TrustZone
technology. This dri
From: Abdellatif El Khlifi
Provide armffa command showcasing the use of the FF-A driver
The armffa command allows to query secure partitions data from
the secure world and exchanging messages with the partitions.
Signed-off-by: Abdellatif El Khlifi
---
MAINTAINERS | 1 +
cmd/Kco
From: Abdellatif El Khlifi
Provide a Sandbox driver to emulate the FF-A ABIs
The emulated ABIs are those supported by the FF-A core driver
and according to FF-A specification v1.0.
The Sandbox driver provides operations allowing the test
application to read the status of all the inspected ABIs
From: Abdellatif El Khlifi
Add functional test cases for the FF-A core driver
These tests rely on the FF-A Sandbox driver which helps in
inspecting the FF-A core driver.
Signed-off-by: Abdellatif El Khlifi
---
MAINTAINERS | 2 +
test/dm/Makefile | 1 +
test/dm/ffa.c| 418 +++
From: Abdellatif El Khlifi
Add Sandbox test for the armffa command
Signed-off-by: Abdellatif El Khlifi
---
MAINTAINERS | 2 ++
test/cmd/Makefile | 1 +
test/cmd/armffa.c | 33 +
test/cmd/armffa.h | 13 +
4 files changed, 49 insertions(+)
cre
From: Abdellatif El Khlifi
Add MM communication support using FF-A transport
FF-A MM communication allows exchanging data with StandAlonneMM
or smm-gateway secure partitions which run in OP-TEE.
An MM shared buffer and a door bell event are used to exchange
this data.
The data is used by EFI s
From: Abdellatif El Khlifi
This patchset adds support for Arm FF-A (Arm Firmware Framework for Armv8-A
v1.0).
FF-A support is generic by design and can be used by any Arm platform.
The features added are as follows:
1/ FF-A device driver
2/ armffa command
3/ FF-A Sandbox driver
4/ FF-A Sa
From: Abdellatif El Khlifi
Provide armffa command showcasing the use of the FF-A driver
The armffa command allows to query secure partitions data from
the secure world and exchanging messages with the partitions.
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
---
MAINTAINERS |
From: Abdellatif El Khlifi
Add Sandbox test for the armffa command
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
---
MAINTAINERS | 2 ++
test/cmd/Makefile | 1 +
test/cmd/armffa.c | 33 +
test/cmd/armffa.h | 13 +
4 files changed, 49 inse
From: Abdellatif El Khlifi
Add functional test cases for the FF-A core driver
These tests rely on the FF-A Sandbox driver which helps in
inspecting the FF-A core driver.
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
---
MAINTAINERS | 2 +
test/dm/Makefile | 1 +
test/dm/ffa.c
From: Abdellatif El Khlifi
Add the driver implementing Arm Firmware Framework for Armv8-A v1.0
The Firmware Framework for Arm A-profile processors (FF-A)
describes interfaces (ABIs) that standardize communication
between the Secure World and Normal World leveraging TrustZone
technology. This dri
From: Abdellatif El Khlifi
Add MM communication support using FF-A transport
FF-A MM communication allows exchanging data with StandAlonneMM
or smm-gateway secure partitions which run in OP-TEE.
An MM shared buffer and a door bell event are used to exchange
this data.
The data is used by EFI s
From: Abdellatif El Khlifi
Provide a Sandbox driver to emulate the FF-A ABIs
The emulated ABIs are those supported by the FF-A core driver
and according to FF-A specification v1.0.
The Sandbox driver provides operations allowing the test
application to read the status of all the inspected ABIs
From: Abdellatif El Khlifi
Add to the FF-A bus FFA_MEM_RECLAIM ABI
The FFA_MEM_RECLAIM is a memory management ABI described in the FF-A
v1.0 specification [1].
This ABI restores exclusive access to a memory region back to its Owner.
This work is based on the implementation in Linux [2].
[1]:
From: Abdellatif El Khlifi
Add positive and negative test cases
Signed-off-by: Abdellatif El Khlifi
---
test/dm/ffa.c | 46 +-
1 file changed, 45 insertions(+), 1 deletion(-)
diff --git a/test/dm/ffa.c b/test/dm/ffa.c
index 593b7177fce..4fd21ac3d72
From: Abdellatif El Khlifi
Add FFA_MEM_RECLAIM positive and negative test cases
Signed-off-by: Abdellatif El Khlifi
---
test/dm/ffa.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/test/dm/ffa.c b/test/dm/ffa.c
index 4fd21ac3d72..c481964c758 100644
--- a/test/
From: Abdellatif El Khlifi
Add FFA_MEM_SHARE support to the FF-A emulator
Signed-off-by: Abdellatif El Khlifi
---
.../include/asm/sandbox_arm_ffa_priv.h| 5 ++-
drivers/firmware/arm-ffa/ffa-emul-uclass.c| 44 +++
drivers/firmware/arm-ffa/sandbox_ffa.c| 3 +
From: Abdellatif El Khlifi
Add to the FF-A bus FFA_MEM_SHARE ABI
The FFA_MEM_SHARE is a memory management ABI described in the FF-A v1.0
specification [1].
This ABI starts a transaction to grant access to a memory region
to one or more Borrowers (aka Secure Partitions or endpoints).
This work
From: Abdellatif El Khlifi
Set the log to a debug log and reformulate the message
The message is about showing what the emulated FF-A ABI decided
based on the user arguments. The log is just for information purposes
and helpful when debugging.
Signed-off-by: Abdellatif El Khlifi
---
drivers/f
From: Abdellatif El Khlifi
Add to the FF-A bus FFA_MEM_SHARE and FFA_MEM_RECLAIM ABIs.
These FF-A ABIs are for memory management. They are used for sharing
memory between U-Boot and secure world.
FFA_MEM_SHARE starts a transaction to grant access to a memory region
to one or more Borrowers (aka
From: Abdellatif El Khlifi
Add NULL pointer check for ops
Signed-off-by: Abdellatif El Khlifi
---
drivers/firmware/arm-ffa/arm-ffa-uclass.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/firmware/arm-ffa/arm-ffa-uclass.c
b/drivers/firmware/arm-ffa/arm-ffa-
From: Abdellatif El Khlifi
Add FFA_MEM_RECLAIM support to the FF-A emulator
Signed-off-by: Abdellatif El Khlifi
---
drivers/firmware/arm-ffa/ffa-emul-uclass.c | 43 ++
drivers/firmware/arm-ffa/sandbox_ffa.c | 1 +
2 files changed, 44 insertions(+)
diff --git a/drivers
35 matches
Mail list logo