| 99bc6cf5 | 10-Oct-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
feat(qemu-sbsa): adjust DT memory start address when supporting RME
When RME is enabled on SBSA, the RMM is located at the start of the NS RAM and the device tree after it. This patch adjust the DT
feat(qemu-sbsa): adjust DT memory start address when supporting RME
When RME is enabled on SBSA, the RMM is located at the start of the NS RAM and the device tree after it. This patch adjust the DT memory start address so that anyone reading it has an accurate view of the system configuration.
Change-Id: I32ca63a78d68831faf2c65ad60a45c841b7cbada Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| 17af9597 | 10-Oct-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
feat(qemu-sbsa): relocate DT after the RMM when RME is enabled
When RME is enabled, (1) the RMM is installed at the base of system RAM, (2) the base of the system RAM is shifted upward, after the RM
feat(qemu-sbsa): relocate DT after the RMM when RME is enabled
When RME is enabled, (1) the RMM is installed at the base of system RAM, (2) the base of the system RAM is shifted upward, after the RMM and (3) the device tree is relocated to the new system RAM base.
This patch relocates the device tree to the new system RAM base before the RMM is installed in RAM. From there, other accesses to the device tree are using the new location.
Change-Id: I0cb4e060ca33a11becd78fe48fab4dc76f0b484b Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| 26da60e2 | 10-Oct-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
feat(qemu-sbsa): dissociate QEMU NS start address and NS_DRAM0_BASE
When RME is enabled the RMM is placed at the bottom of the NS RAM, meaning that NS_DRAM0_BASE has to be located after that.
This
feat(qemu-sbsa): dissociate QEMU NS start address and NS_DRAM0_BASE
When RME is enabled the RMM is placed at the bottom of the NS RAM, meaning that NS_DRAM0_BASE has to be located after that.
This patch disscociates the base of the NS RAM as defined by QEMU by introducing a new define, PLAT_QEMU_DRAM0_BASE. An offset can be added to that new define when the software's view of the base memory need to differ from QEMU.
No change in functionality.
Change-Id: I887f9993d5a61896352cfff17e0d92e2c2b9030a Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| 122dbc2c | 11-Apr-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
feat(qemu-sbsa): increase maximum FIP size
Following what was done for:
f465ac221001 ("fix(qemu): increase max FIP size")
increase the size of the FIP image to take up the remaining space in FLASH
feat(qemu-sbsa): increase maximum FIP size
Following what was done for:
f465ac221001 ("fix(qemu): increase max FIP size")
increase the size of the FIP image to take up the remaining space in FLASH0. That way the RMM image can also be added to the FIP.
Change-Id: I89bba36f751468e99241f1c20b51c48fe06d8229 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| ecadac7c | 17-Oct-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
refactor(qemu-sbsa): move all DT related functions to sbsa_platform.c
Move all DT related functions to file sbsa_platform_dt.c so that clients other than SIP SVC can use the funtionality. At the sa
refactor(qemu-sbsa): move all DT related functions to sbsa_platform.c
Move all DT related functions to file sbsa_platform_dt.c so that clients other than SIP SVC can use the funtionality. At the same time, make all functions that don't need outside visibility static.
No change in functionality.
Change-Id: I9bce730c8f9e2b827937466f4432ecfa74c35675 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| d564e084 | 27-Sep-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
refactor(qemu-sbsa): create accessor functions for platform info
Creating accessor functions to access information held by struct qemu_platform_info. That way the code that is relevant to fetching i
refactor(qemu-sbsa): create accessor functions for platform info
Creating accessor functions to access information held by struct qemu_platform_info. That way the code that is relevant to fetching information from the device tree can be taken out of sbsa_sip_svc.c and placed in a file where other client can use the information it provides.
No change in functionality.
Change-Id: I989952ee6d15e1436549002dd7c7767c745ea297 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| b386c6e6 | 26-Sep-2024 |
Mathieu Poirier <mathieu.poirier@linaro.org> |
refactor(qemu-sbsa): move DT related structures to their own header
Move structure declaration related to the DT to their own header. That way they can be reused by other files. At the same time,
refactor(qemu-sbsa): move DT related structures to their own header
Move structure declaration related to the DT to their own header. That way they can be reused by other files. At the same time, typedefs are removed and structure names prepended with "platform_" to avoid clashing with other structure declarations available in the system.
No change in functionality.
Change-Id: If67a141cc7441b0636af774d7edfe51cf8034a11 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
show more ...
|
| 9b076436 | 10-Jan-2024 |
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> |
docs(qemu-sbsa): describe what we get from QEMU
QEMU provides us with minimal information about hardware platform using minimalistic DeviceTree. This is not a Linux DeviceTree. It is not even a firm
docs(qemu-sbsa): describe what we get from QEMU
QEMU provides us with minimal information about hardware platform using minimalistic DeviceTree. This is not a Linux DeviceTree. It is not even a firmware DeviceTree.
Change-Id: I7b6cc5f53a4f78a9ed69bc7fc2fa1a69ea65428d Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
show more ...
|