Skip to content

fw/flash_region: add flash region for GD25LQ255E #152

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

Merged
merged 2 commits into from
Apr 15, 2025

Conversation

gmarull
Copy link
Collaborator

@gmarull gmarull commented Apr 14, 2025

Until now Silk layout was used, so only 8MB were effectively available instead of 32MB.

@gmarull gmarull requested review from jwise and Hexxeh April 14, 2025 14:18
Until now Silk layout was used, so only 8MB were effectively available
instead of 32MB.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
@gmarull gmarull force-pushed the fix-asterix-flash-layout branch from 69e96a3 to 414ea22 Compare April 14, 2025 14:19
So that CI is happy.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
#define FLASH_REGION_DEF(MACRO, arg) \
MACRO(FIRMWARE_SCRATCH, 0x0100000 /* 1024k */, arg) /* 0x0 - 0x0100000 */ \
MACRO(SYSTEM_RESOURCES_BANK_0, 0x0080000 /* 512K */, arg) /* 0x0100000 - 0x0180000 */ \
MACRO(SYSTEM_RESOURCES_BANK_1, 0x0080000 /* 512K */, arg) /* 0x0180000 - 0x0200000 */ \
Copy link
Collaborator

Choose a reason for hiding this comment

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

You'll probably want to make this bigger given your flash is bigger, same for filesystem.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Agreed, we'll likely review this in the near future, just expanded file system to cover for the whole flash.

@gmarull gmarull merged commit fcf56d4 into pebble-dev:main Apr 15, 2025
7 checks passed
@gmarull gmarull deleted the fix-asterix-flash-layout branch April 15, 2025 08:29
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