Visible to Intel only — GUID: orx1605026435489
Ixiasoft
Visible to Intel only — GUID: orx1605026435489
Ixiasoft
C.3. Using U-Boot RSU Without a Valid SPT or CPB
The U-Boot RSU APIs and commands can also be used when the SPTs or CPBs in flash are corrupted, but with reduced functionality. APIs and commands are provided to restore a saved SPT or CPB, and also to create an empty CPB. After the CPBs ant SPTs are repaired using these APIs, the full RSU functionality is available.
If only one SPT is corrupted, the rsu_init API restores it from the good copy. If only one CPB is corrupted, the rsu_init API restores it from the good copy.
If both SPTs are corrupted, the rsu_init is still successful (return code 0) but some of the APIs returns the error code ECORRUPTED_SPT when called. Both SPTs being corrupted cause rsu_init to not be able to identify the location of the CPBs, and the CPBs is also considered as corrupted.
API | Requires Valid SPT | Requires Valid CPB |
---|---|---|
rsu_init | ||
rsu_exit | ||
rsu_slot_count | yes | |
rsu_slot_by_name | yes | |
rsu_slot_get_info | yes | yes |
rsu_slot_size | yes | |
rsu_slot_priority | yes | yes |
rsu_slot_erase | yes | yes |
rsu_slot_program_buf | yes | yes |
rsu_slot_program_factory_update_buf | yes | yes |
rsu_slot_program_buf_raw | yes | |
rsu_slot_program_file_raw | yes | |
rsu_slot_verify_buf | yes | yes |
rsu_slot_verify_buf_raw | yes | |
rsu_slot_enable | yes | yes |
rsu_slot_disable | yes | yes |
rsu_slot_load | yes | yes |
rsu_slot_load_factory | yes | |
rsu_slot_rename | yes | |
rsu_slot_delete | yes | yes |
rsu_slot_create | yes | |
rsu_status_log | ||
rsu_notify | ||
rsu_clear_error_status | ||
rsu_reset_retry_counter | ||
rsu_dcmf_version | ||
rsu_max_retry | ||
rsu_dcmf_status | ||
rsu_create_empty_cpb | ||
rsu_restore_cpb | ||
rsu_save_cpb | yes | |
rsu_restore_spt | ||
rsu_save_spt | yes | |
rsu_running_factory | yes |