-
Notifications
You must be signed in to change notification settings - Fork 7.8k
NXP: add SPSDK as runner and support i.MX95 firmware build and flashing #80507
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
NXP: add SPSDK as runner and support i.MX95 firmware build and flashing #80507
Conversation
751e430
to
9d13b00
Compare
Updated to v2. Changes include,
Thank you very much @hakehuang and @nordicjm |
west command CI is failing |
$ west flash | ||
|
||
# program to emmc card | ||
$ west flash --bootdevice=emmc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ west flash --bootdevice=emmc | |
$ west flash --bootdevice=emmc | |
Need switch the board to SD/MMC mode, SW7 1010, and power cycle board to boot with it. |
Will resolve that. Thanks. |
9d13b00
to
4816af4
Compare
Updated to v3. Changes include,
Thank you very much. |
Rebased this PR to trigger twister testing. |
I will start sequencing the HAL side merge as soon as CI is clean of the RUST failure. |
7814cec
to
9248f35
Compare
Updated hal_nxp to support imx95 blobs. Signed-off-by: Yangbo Lu <[email protected]>
Secure Provisioning SDK (SPSDK) is a unified, reliable, and easy to use Python SDK library working across the NXP MCU portfolio providing a strong foundation from quick customer prototyping up to production deployment. Docs: https://spsdk.readthedocs.io Signed-off-by: Yangbo Lu <[email protected]> Signed-off-by: Jiafei Pan <[email protected]>
Added nxp spsdk as west runner. Secure Provisioning SDK (SPSDK) is a unified, reliable, and easy to use Python SDK library working across the NXP MCU portfolio providing a strong foundation from quick customer prototyping up to production deployment. Docs: https://spsdk.readthedocs.io Signed-off-by: Yangbo Lu <[email protected]> Signed-off-by: Jiafei Pan <[email protected]>
Added spsdk flasher support. Signed-off-by: Yangbo Lu <[email protected]>
Supported NXP Secure Provisioning SDK (SPSDK) generating and flashing bootable firmware for imx95_evk_mimx9596_m7/a55. Signed-off-by: Yangbo Lu <[email protected]> Signed-off-by: Jiafei Pan <[email protected]>
9248f35
to
23d4d2b
Compare
6684dcb
23d4d2b
to
6684dcb
Compare
Rebased to address west.yml conflict. |
@yangbolu1991 M7 seems not working, please check. I test with hello_world, it does not starts well. but A core is OK. |
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
@carlescufi your change request should be completed. Can you confirm? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
This PR is to make it easier to build and flash NXP i.MX platforms having firmware images dependency with NXP SPSDK (https://spsdk.readthedocs.io).
For i.MX95, an bootable image depends on many firmware images besides m7 zephyr.bin, like ddr firmware, system manager image, oei images, ahab container image and so on.
This PR is to support west build to generate a bootable flash.bin.
And west flash to program flash.bin to SD boot device through USB.
Thanks.