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

Modification on devtools/td-layout-config #680

Conversation

gaojiaqi7
Copy link
Member

  • Seperate the image file layout and ROM layout in the internal implementation
  • Remove the payload region from image layout and add it into memory configuration.

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]>
Add ROM layout configuration in implementation to make it easier to
calculate the ROM bases and image offsets.

Signed-off-by: Jiaqi Gao <[email protected]>
@gaojiaqi7 gaojiaqi7 force-pushed the 0330/modify_layout_generator branch 4 times, most recently from 3849b22 to a7fbd14 Compare March 31, 2024 14:49
Maximum size of ROM space is 16MiB which limits the size of payload
image that can be contained by image.

Signed-off-by: Jiaqi Gao <[email protected]>
@gaojiaqi7 gaojiaqi7 force-pushed the 0330/modify_layout_generator branch from a7fbd14 to 86b8480 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