diff --git a/examples/ota-requestor-app/asr/README.md b/examples/ota-requestor-app/asr/README.md index d8d5b7f9de2d03..1a907d4637a5ab 100755 --- a/examples/ota-requestor-app/asr/README.md +++ b/examples/ota-requestor-app/asr/README.md @@ -53,9 +53,9 @@ guides to get started ./chip-tool pairing onnetwork 1 20202021 ``` - After OTA Provider commissioning is successful, use `chip-tool` to write ACL - for OAT Provider. + for OTA Provider. ``` - ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets": null }]' 0 + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": null, "targets": null }]' 1 0 ``` - Commission ota requestor device with node-id `OTA REQUESTOR APP NODE ID` - After OTA Requestor commissioning is successful, use `chip-tool` to inform diff --git a/third_party/asr/asr582x/asr_sdk b/third_party/asr/asr582x/asr_sdk index 66ab48a1ab851f..5942c485ce3a75 160000 --- a/third_party/asr/asr582x/asr_sdk +++ b/third_party/asr/asr582x/asr_sdk @@ -1 +1 @@ -Subproject commit 66ab48a1ab851f77117307ac410aca8f175bc4b1 +Subproject commit 5942c485ce3a75585883abba389a4336c190a86b diff --git a/third_party/asr/asr595x/asr_sdk b/third_party/asr/asr595x/asr_sdk index d85ca3cb552e8e..9161981339b656 160000 --- a/third_party/asr/asr595x/asr_sdk +++ b/third_party/asr/asr595x/asr_sdk @@ -1 +1 @@ -Subproject commit d85ca3cb552e8e7a72b2f8b04bf62e12c9a58835 +Subproject commit 9161981339b656ba6ea39eed13b7e0b78950bbe9 diff --git a/third_party/asr/asr_executable.gni b/third_party/asr/asr_executable.gni index 0be41a4b120e8d..5303a7ca12137e 100644 --- a/third_party/asr/asr_executable.gni +++ b/third_party/asr/asr_executable.gni @@ -40,29 +40,33 @@ template("asr_executable") { outputs = [ "${root_out_dir}/${output_base_name}_ota.bin" ] - if (asr_ic_family == "asr595x") { - gen_ota_tool = "${asr_sdk_build_root}/asr_sdk/tools/image_gen_header/image_gen_header" - } else { - gen_ota_tool = - "${asr_sdk_build_root}/asr_sdk/tools/otaImage/image_gen_header" - } + gen_ota_tool = + "${asr_sdk_build_root}/asr_sdk/tools/otaImage/image_gen_header" _ota_tool_path = rebase_path(gen_ota_tool, root_build_dir) + _image_path = + rebase_path("$root_out_dir/${objcopy_image_name}", root_build_dir) + if (asr_ic_family == "asr595x") { args = [ _ota_tool_path, - "${root_out_dir}/${objcopy_image_name}", + _image_path, "-d", - "LEGA_A0V2", + "ALTO", "-b", "REMAPPING", + "-r", ] } else { args = [ _ota_tool_path, - "${root_out_dir}/${objcopy_image_name}", - "flash_remapping", + _image_path, + "-d", + "COMBO", + "-b", + "REMAPPING", + "-r", ] }