Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

td-layout: generate new layout with modified td-layout-config #682

Conversation

gaojiaqi7
Copy link
Member

Location of Payload image at runtime is changed from ROM to physical
momory, so the layout config of it is moved from build_time module
into runtime/exec.

When the payload is loaded into physical memory rather than the ROM space,
image-rom mapping of other regions will not be affected if payload is at
the start of the image file.

Signed-off-by: Jiaqi Gao <[email protected]>
As the payload is moved to the beginning part of the image and is no
longer adjacent to B, so the metadata section needs to be modified
according to two cases:

1. If `exec-payload-section` feature is set, load payload in `Payload`
   section.
2. If the feature is not set, load payload into another `BFV` section.

Signed-off-by: Jiaqi Gao <[email protected]>
…0000

The bios image size alignment is checked by qemu.

Signed-off-by: Jiaqi Gao <[email protected]>
Location of `Payload` image at runtime is changed from ROM to physical
momory, so the layout config of it is moved from `build_time` module
into `runtime/exec`.

Signed-off-by: Jiaqi Gao <[email protected]>
Payload image location at runtime is changed from ROM space to the
physical memory space, remove its size from metadata offset.

Signed-off-by: Jiaqi Gao <[email protected]>
@gaojiaqi7 gaojiaqi7 force-pushed the 0330/update_layout_source_code branch from 199af8e to 21e6234 Compare March 31, 2024 14:59
@gaojiaqi7 gaojiaqi7 closed this May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant