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

nxp:mimxrt1050: Add support for MIMXRT1050_EVK #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liugang-gavin
Copy link

Add configration for MIMXRT1050_EVK with external QSPI flash.
With the Soc security modules like HAB, BEE, DCP and others,
the physical external flash can be treated as internal flash
with the same security feature.

The configration of MIMXRT1050_EVK supports:
- 8MB QSPI flash in default
- mbed-bootloader-rt1050-qspi-internal_flash-no_rot-266a0ad.bin
- Ethernet connecing with Pelion
- FLASHIAP
- kvstore
- OTA

For the Hyper flash, please delete the line:
"target.macros_remove" : ["HYPERFLASH_BOOT"]
and adjust the other settings to match the Hyper flash size and
flash map.

Signed-off-by: Gavin Liu [email protected]

Summary of changes

[X] I confirm this contribution is my own and I agree to license it with Apache 2.0.

[X] I confirm the moderators may change the PR before merging it in.

For new board enablements only:

[] I confirm the board is Mbed Enabled and passes the Mbed Enabled test set.

[] I confirm the contribution has been tested properly and the tests results for TESTS are attached.

[] I confirm mbed-os.lib and mbed-cloud-client.lib hashes or the content in folders mbed-os and mbed-cloud-client were not modified in order to pass the tests.

  • Maintainers of this repository update the Mbed OS and Client hashes.
  • Please report any issues through issues in relevant repositories.

@iot-pdmc
Copy link
Collaborator

Thanks for your changes.
@ARMmbed/pdmc-integrators please review.

Add configration for MIMXRT1050_EVK with external QSPI flash.
With the Soc security modules like HAB, BEE, DCP and others,
the physical external flash can be treated as internal flash
with the same security feature.

The configration of MIMXRT1050_EVK supports:
	- 8MB QSPI flash in default
	- mbed-bootloader-rt1050-qspi-internal_flash-no_rot-94579e9.bin
	- Ethernet connecing with Pelion
	- FLASHIAP
	- kvstore
	- OTA

For the Hyper flash, please delete the line:
	"target.macros_remove" : ["HYPERFLASH_BOOT"]
and adjust the other settings to match the Hyper flash size and
flash map.

Signed-off-by: Gavin Liu <[email protected]>
"storage_tdb_internal.internal_base_address": "(MBED_ROM_START + 64*1024 + 1984*2*1024 + 64*1024)",
"storage_tdb_internal.internal_size" : "(2*128*1024)",
"storage.storage_type" : "TDB_INTERNAL",
"run-ci" : 2,
Copy link
Contributor

Choose a reason for hiding this comment

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

this parameter is internal meta-data for CI, and should not be configured in PRs.

@teetak01
Copy link
Contributor

teetak01 commented Apr 9, 2020

Thanks @liugang-gavin

I think this PR has dependency to Mbed OS 6, so it will stay open for a while.

@maclobdell
Copy link
Contributor

@liugang-gavin Now that Mbed OS 6 has been released, are you able to test it and confirm passing results? @teetak01 is there anything blocking support of Mbed 6 in this repo? The migration tweaks should be well understood, right?

@yogpan01
Copy link
Contributor

@maclobdell Mbed OS 6 support will be included when there will be official TF-M support. Will update the library after we officially release PDMC support for mbed OS 6 later next month.

@maclobdell
Copy link
Contributor

@liugang-gavin Thanks again for making this pull request! Can you provide configuration for Hyperflash? Since this board uses Hyperflash by default, it would be very helpful, so it works without board modification.

@liugang-gavin
Copy link
Author

@liugang-gavin Thanks again for making this pull request! Can you provide configuration for Hyperflash? Since this board uses Hyperflash by default, it would be very helpful, so it works without board modification.

It's reasonable to support Hyperflash. we will push the new patch for this.

Best Regards,
Gavin

@teetak01
Copy link
Contributor

teetak01 commented Dec 9, 2020

We now have Mbed OS 6 support, so this PR could be rebased and updated.

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.

5 participants