Repository navigation
MATTER-7270: Update provision script to add pinset argument for boards with external flash - #277
Conversation
PR SummaryMedium Risk Overview Board detection is done via a new Reviewed by Cursor Bugbot for commit 4f0c71a. Configure here. |
|
What is the file mode change? |
As I copied the files after downloading and extracting them from the CICD artifacts, they became inexecutable (lost +x), so Git recorded a mode-only flip. Common after download/extract without preserving +x. I've added back the +x to those .s37 files and they are removed from the diff as there were no content changes. My changes are only supposed to update the .rps files. |
f3c5fc7
into
release_2.10-1.6.1
Issue Link - MATTER-7270
Problem / Feature
For boards with internal and external flash, we need to use the pinset argument for
commander manufacturing userdata erasecommand (only used for 917 boards in the script).According to platform team, "without the pinset argument, commander is trying to erase the internal flash. Using --pinset 2 is the correct way of erasing user data on these boards which has internal and external flash."
Doc ref - pinset-configuration
The gfw binaries in matter_support didn't update after this cherry-pick PR merged into matter_provisioning.
The PR to update the binaries in matter_support was not opened by the CICD as the binary had changes less than 0-byte - link.
So I've downloaded the binaries from CICD artifacts and manually updated them in this PR.
Change overview
getBoardInfofunction to fetch board part number.ERASE_USERDATA_PINSET2_BOARDSset as didn't find any particular field to distinguish them. For example, the debug partSiWG917M111MGTBAis same for both brd4338a (which doesn't need pinset argument) and brd9084b (which needs pinset argument).Testing