Closed vikrant-proxy closed 3 years ago
This also contains changes from https://github.com/apache/mynewt-newt/pull/440, I think those should be removed from here and mention in the description that this needs to be merged after https://github.com/apache/mynewt-newt/pull/440.
I think this change is reasonable, it is required for nrf53 netcore for sure. Wonder if there is a way to make this mandatory somehow for BSPs with dual core with dedicated flash for both instead of making it optional.
cc @ccollins476ad @utzig @aditihilbert @agross-korg @nkaje, making sure mfg images are not affected for dialog with this change.
We should probably also add command line option for it: --baseaddress=0x0
Chips with > 1 core, like
nrf53
have the second core mapped to a different address offset than 0x0 (in the case of nrf53, network core is based at 0x1000000). This PR adds a base address field that can be provided in themfg.yml
in an attempt to getmfg
to create appropriately sized binaries. Without this change, the manufacturing image tends to become very large in size (several megabytes) as the base address for that core is not 0x0. This PR introduces an optionalbase-address
command line option that can be provided as an input tomfg create
. This value will default to 0 internally if this field is not provided.