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

wifi: Add storing of FW patching in external flash #1125

Merged
merged 9 commits into from
Nov 23, 2023

Conversation

krish2718
Copy link
Contributor

@krish2718 krish2718 commented Nov 14, 2023

No description provided.

This can now be used by any firmware download approach.

Signed-off-by: Chaitanya Tata <[email protected]>
Introduce APIs for reset and boot that can be used by higher layers
separately to the load and also the APIs take care of all processors.

Signed-off-by: Chaitanya Tata <[email protected]>
This can be used by callers instead of directly exposing the addresses
outside HAL.

Signed-off-by: Chaitanya Tata <[email protected]>
Now that we are reading from flash, in order to have low RAM
requirements we need an API to copy chunks of firmware that are read
from flash directly and copied to RPU.

This is basically a wrapper around HAL write, but can be extended in the
future to abstract more functionality.

Signed-off-by: Chaitanya Tata <[email protected]>
This makes it easier to access data.

Note: Zero-length arrays are non-standard and aren't allowed in Zephyr.

Signed-off-by: Chaitanya Tata <[email protected]>
For any HAL API we need to set the current processor appropriately to
valid and get the respective memory addresses, but the settings was
missed here. As these APIs aren't used for MCU addresses, this isn't an
issue but fix it for future.

Signed-off-by: Chaitanya Tata <[email protected]>
Convert to data driven programming, makes the code readable.

Signed-off-by: Chaitanya Tata <[email protected]>
In order to keep the behaviour same across various firmware patch
loaders, load UMAC first and then LMAC, functionally this doesn't
matter but for comparing during debugging it makes it easier.

Signed-off-by: Chaitanya Tata <[email protected]>
Log what is expected also.

Signed-off-by: Chaitanya Tata <[email protected]>
@rlubos rlubos merged commit 736e835 into nrfconnect:main Nov 23, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants