| 2e4eea1b | 18-Jul-2018 |
Soby Mathew <soby.mathew@arm.com> |
Merge pull request #1471 from Anson-Huang/master
Add i.MX8QX/i.MX8QM power management feature |
| 30399885 | 12-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
Fix types of arch.h definitions
Define the values as unsigned int or unsigned long long based on the actual size of the register. This prevents subtle issues caused by having a type that is too smal
Fix types of arch.h definitions
Define the values as unsigned int or unsigned long long based on the actual size of the register. This prevents subtle issues caused by having a type that is too small. For example:
#define OPTION_ENABLE 0x3 #define OPTION_SHIFT 32
uint64_t mask = OPTION_ENABLE << OPTION_SHIFT;
Because OPTION_ENABLE fits in an int, the value is considered an int. This means that, after shifting it 32 places to the left, the final result is 0. The correct way to define the values is:
#define OPTION_ENABLE ULL(0x3) #define OPTION_SHIFT U(32)
In this case, the compiler is forced to use a 64 bit value from the start, so shifting it 32 places to the left results in the expected value.
Change-Id: Ieaf2ffc2d8caa48c622db011f2aef549e713e019 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 344e4037 | 18-Jul-2018 |
Soby Mathew <soby.mathew@arm.com> |
Merge pull request #1480 from sandrine-bailleux-arm/topics/sb/debug-macros
Always compile debug macros |
| aa49bde8 | 15-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
rpi3: Move NS-DRAM out of the protected region
The Non-secure DRAM region shouldn't be protected in the range specified in the Linux command line with memmap.
This change also increases the size of
rpi3: Move NS-DRAM out of the protected region
The Non-secure DRAM region shouldn't be protected in the range specified in the Linux command line with memmap.
This change also increases the size of the Secure DRAM region.
Change-Id: I306e9e443a84b834c99739f54a534a3ca3be2424 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 76c944a4 | 15-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
rpi3: Add support for direct Linux kernel boot
This option allows the Trusted Firmware to pass the correct arguments to a 32 or 64-bit Linux kernel without the need of an intermediate loader such as
rpi3: Add support for direct Linux kernel boot
This option allows the Trusted Firmware to pass the correct arguments to a 32 or 64-bit Linux kernel without the need of an intermediate loader such as U-Boot.
Change-Id: I2b22e8933fad6a614588ace559f893e97329801f Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 6d924ca9 | 14-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
rpi3: Don't wire mailbox 3 to FIQ line
FIQs shouldn't be used at all as long as the interrupt routing doesn't support them properly.
Change-Id: Ib1db7b523a62de2035d41197bc791048337cf791 Signed-off-
rpi3: Don't wire mailbox 3 to FIQ line
FIQs shouldn't be used at all as long as the interrupt routing doesn't support them properly.
Change-Id: Ib1db7b523a62de2035d41197bc791048337cf791 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 6297d6fe | 14-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
rpi3: Fix warm entrypoint setup for PSCI_CPU_ON
Remove unused variable and set the secure entrypoint correctly.
Change-Id: I7447ea62771092de6be35704077ae28c519d6993 Signed-off-by: Antonio Nino Diaz
rpi3: Fix warm entrypoint setup for PSCI_CPU_ON
Remove unused variable and set the secure entrypoint correctly.
Change-Id: I7447ea62771092de6be35704077ae28c519d6993 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 1aad932c | 13-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
rpi3: Add support for the stack protector
It uses the hardware RNG in a similar way as Juno (it gets 128 bits of entropy and does xor on them).
It is disabled by default.
Change-Id: I8b3adb61f5a56
rpi3: Add support for the stack protector
It uses the hardware RNG in a similar way as Juno (it gets 128 bits of entropy and does xor on them).
It is disabled by default.
Change-Id: I8b3adb61f5a5623716e0e8b6799404c68dd94c60 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 4ad2696d | 13-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
rpi3: Introduce hardware RNG driver
Note that this is a non-secure RNG. This is only useful for educational purposes.
Change-Id: If359c8d0f755ef8e416986de7fbca34679a523e1 Signed-off-by: Antonio Nin
rpi3: Introduce hardware RNG driver
Note that this is a non-secure RNG. This is only useful for educational purposes.
Change-Id: If359c8d0f755ef8e416986de7fbca34679a523e1 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 98967fb1 | 13-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
rpi3: Remove broken support of RESET_TO_BL31
There is no way to boot BL31 at the addresses specified in the platform memory map unless an extra loader is used at address 0x00000000. It is better to
rpi3: Remove broken support of RESET_TO_BL31
There is no way to boot BL31 at the addresses specified in the platform memory map unless an extra loader is used at address 0x00000000. It is better to remove it to prevent confusion. Having it enabled was a bug.
Change-Id: I3229fbc080f5996cff47efce8e799bae94e0d5cb Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| f9d2808a | 16-Jul-2018 |
Soby Mathew <soby.mathew@arm.com> |
Merge pull request #1478 from antonio-nino-diaz-arm/an/rpi3-improvements
rpi3: A few improvements |
| 4f2f66a2 | 12-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
rpi3: Detect board revision
Implement VideoCore mailbox interface driver and use it to get the board revision identifier.
For now it is only used to print the model for debug purposes.
This wiki c
rpi3: Detect board revision
Implement VideoCore mailbox interface driver and use it to get the board revision identifier.
For now it is only used to print the model for debug purposes.
This wiki contains the documentation of the mailbox interface:
https://github.com/raspberrypi/firmware/wiki
Change-Id: I11943b99b52cc1409f4a195ebe58eb44ae5b1d6c Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 42ba8f74 | 14-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
rpi3: Implement PSCI_SYSTEM_OFF
This implementation doesn't actually turn the system off, it simply reboots it and prevents it from booting while keeping it in a low power mode.
Change-Id: I7f72c9f
rpi3: Implement PSCI_SYSTEM_OFF
This implementation doesn't actually turn the system off, it simply reboots it and prevents it from booting while keeping it in a low power mode.
Change-Id: I7f72c9f43f25ba0341db052bc2be4774c88a7ea3 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 64fe343c | 12-Jul-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
rpi3: Concatenate BL1 and FIP automatically
Add a new default makefile target to concatenate BL1 and the FIP and generate armstub8.bin. This way it isn't needed to do it manually.
Documentation upd
rpi3: Concatenate BL1 and FIP automatically
Add a new default makefile target to concatenate BL1 and the FIP and generate armstub8.bin. This way it isn't needed to do it manually.
Documentation updated to reflect the changes.
Change-Id: Id5b5b1b7b9f87767db63fd01180ddfea855a7207 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 9ceda8b9 | 13-Jul-2018 |
Dimitris Papastamos <dimitris.papastamos@arm.com> |
Merge pull request #1477 from dp-arm/dp/css-ap-core
CSS: Add support for SCMI AP core config protocol |
| c426fd70 | 21-Jun-2018 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Tegra: Fix up INFO() message
With commit cf24229e6ef4 ("Run compiler on debug macros for type checking"), the compiler will now always evaluate INFO() macro calls, no matter the LOG_LEVEL value. The
Tegra: Fix up INFO() message
With commit cf24229e6ef4 ("Run compiler on debug macros for type checking"), the compiler will now always evaluate INFO() macro calls, no matter the LOG_LEVEL value. Therefore, any variable referenced in the macro has to be be defined.
Address this issue by removing the local variable and using the expression it was assigned directly in the INFO() call.
Change-Id: Iedc23b3538c1e162372e85390881e50718e50bf3 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
show more ...
|
| 6e779ace | 12-Jul-2018 |
Dimitris Papastamos <dimitris.papastamos@arm.com> |
Merge pull request #1476 from grandpaul/paulliu-rpi3-modify-size
rpi3: enlarge SEC_DRAM0_SIZE for optee_test to pass |
| 1be2f666 | 12-Jul-2018 |
Dimitris Papastamos <dimitris.papastamos@arm.com> |
Merge pull request #1464 from antonio-nino-diaz-arm/an/rpi3-ints
rpi3: Implement simple interrupt routing |
| 2a246d2e | 18-Jun-2018 |
Dimitris Papastamos <dimitris.papastamos@arm.com> |
CSS: Use SCMI AP core protocol to set the warm boot entrypoint
Change-Id: Iaebbeac1a1d6fbd531e5694b95ed068b7a193e62 Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com> |
| bfe3c449 | 03-Apr-2018 |
Dimitris Papastamos <dimitris.papastamos@arm.com> |
Add support for SCMI AP core configuration protocol v1.0
Change-Id: If07000b6b19011e960336a305a784dd643301b97 Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com> |
| 8ef9f860 | 12-Jul-2018 |
Anson Huang <Anson.Huang@nxp.com> |
imx: imx8qm: add domain suspend/resume support
Add domain suspend/resume support, Linux kernel can "echo mem > /sys/power/state" to put system into suspend mode, all CPUs and cluster will be powered
imx: imx8qm: add domain suspend/resume support
Add domain suspend/resume support, Linux kernel can "echo mem > /sys/power/state" to put system into suspend mode, all CPUs and cluster will be powered off and can be waked up if irq pending in GIC, tested on i.MX8QM MEK board.
Since the power state has been implemented, switch to use standard power state for CCI operations instead of private cpu use count in i.MX8QM.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
show more ...
|
| 0f53bca0 | 12-Jul-2018 |
Anson Huang <Anson.Huang@nxp.com> |
imx: imx8qm: add domain off support
Add domain off support for Linux kernel's cpu hot-plug feature, when there are cpu off request from Linux kernel, TF-A will send command to system controller to d
imx: imx8qm: add domain off support
Add domain off support for Linux kernel's cpu hot-plug feature, when there are cpu off request from Linux kernel, TF-A will send command to system controller to do CPU power gate accordingly, tested on i.MX8QM MEK board.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
show more ...
|
| d31ffcf0 | 12-Jul-2018 |
Anson Huang <Anson.Huang@nxp.com> |
imx: imx8qm: add system reset support
Add system reset support for i.MX8QM, when Linux kernel issues "reboot" command, TF-A will send command to inform system controller to reset whole board accordi
imx: imx8qm: add system reset support
Add system reset support for i.MX8QM, when Linux kernel issues "reboot" command, TF-A will send command to inform system controller to reset whole board according to board design, tested on i.MX8QM MEK board.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
show more ...
|
| db81c592 | 12-Jul-2018 |
Anson Huang <Anson.Huang@nxp.com> |
imx: imx8qm: add system off support
Add system power off support for i.MX8QM, when Linux kernel issues "poweroff" command, TF-A will send command to inform system controller to power off whole board
imx: imx8qm: add system off support
Add system power off support for i.MX8QM, when Linux kernel issues "poweroff" command, TF-A will send command to inform system controller to power off whole board according to board design, tested on i.MX8QM MEK board.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
show more ...
|
| 762688bf | 12-Jul-2018 |
Anson Huang <Anson.Huang@nxp.com> |
imx: imx8qx: add domain suspend/resume support
Add domain suspend/resume support, Linux kernel can "echo mem > /sys/power/state" to put system into suspend mode, all CPUs and cluster will be powered
imx: imx8qx: add domain suspend/resume support
Add domain suspend/resume support, Linux kernel can "echo mem > /sys/power/state" to put system into suspend mode, all CPUs and cluster will be powered off and can be waked up if irq pending in GIC, tested on i.MX8QX MEK board.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
show more ...
|