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

<FE310> Memory alignment of ROM is faulty! #212

Closed
akashkollipara opened this issue Jan 23, 2023 · 1 comment · Fixed by #213
Closed

<FE310> Memory alignment of ROM is faulty! #212

akashkollipara opened this issue Jan 23, 2023 · 1 comment · Fixed by #213
Assignees
Labels
bug-critical System failure can be predicted critical update This is a critical update cyancore framework Cyancore framework feature request terravisor Terravisor related issue

Comments

@akashkollipara
Copy link
Member

akashkollipara commented Jan 23, 2023

Describe the bug
The RODATA region is incorrectly getting aligned due to bad alignment formulation in linker script.
. = ALIGN(4);

Expected behavior
RODATA needs to be aligned to next 4B boundary.

Fix:

  • Correct syntax is . = ALIGN(8);
@akashkollipara akashkollipara added critical update This is a critical update terravisor Terravisor related issue cyancore framework Cyancore framework feature request bug-critical System failure can be predicted labels Jan 23, 2023
@akashkollipara akashkollipara added this to the Boron milestone Jan 23, 2023
@akashkollipara akashkollipara self-assigned this Jan 23, 2023
akashkollipara added a commit that referenced this issue Jan 23, 2023
@akashkollipara akashkollipara linked a pull request Jan 23, 2023 that will close this issue
akashkollipara added a commit that referenced this issue Jan 23, 2023
akashkollipara added a commit that referenced this issue Jan 24, 2023
…10-memalign

<FE310> Fixed memory alignment for RODATA

Issue: #212
@akashkollipara
Copy link
Member Author

Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-critical System failure can be predicted critical update This is a critical update cyancore framework Cyancore framework feature request terravisor Terravisor related issue
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant