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

Correct flash memory layouts #1176

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Conversation

NickeZ
Copy link
Collaborator

@NickeZ NickeZ commented Feb 14, 2024

Document the actual values of the flash partition offsets and update linker scripts to match.

@NickeZ NickeZ force-pushed the flash-memory-sizes branch from cdadbb3 to 5b8ff2a Compare February 14, 2024 12:56
@NickeZ
Copy link
Collaborator Author

NickeZ commented Feb 14, 2024

Please double check my math :)

bootloader.ld Outdated Show resolved Hide resolved
@@ -35,7 +35,7 @@ SEARCH_DIR(.)
/* Memory Spaces Definitions */
MEMORY
{
rom (rx) : ORIGIN = 0x00010000, LENGTH = 0x000F0000
rom (rx) : ORIGIN = 0x00010000, LENGTH = 0x000D8000
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i re-computed and came to the same conclusion.

Document the actual values of the flash partition offsets and update
linker scripts to match.
@NickeZ NickeZ force-pushed the flash-memory-sizes branch from 5b8ff2a to 78dcbc3 Compare February 19, 2024 12:23
@NickeZ NickeZ requested a review from benma February 19, 2024 12:42
Copy link
Collaborator

@benma benma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, that was a very good and important catch!

@benma benma merged commit 7ce04cd into BitBoxSwiss:master Feb 19, 2024
1 check passed
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.

2 participants