Merge branch '2024-01-18-assorted-fixes'

- A number of OS boot related cleanups, a number of TI platform
  fixes/cleanups, SMBIOS fixes, tweak get_maintainers.pl to report me
  for more places, fix the "clean the build" pytest and add a bootstage
  pytest, fix PKCS11 URI being omitted in some valid cases, make an iommu
  problem easier to debug on new platforms, nvme and pci improvements,
  refactor image-host code a bit, fix a typo in env setting, add a missing
  dependency for CMD_LICENSE, and correct how we call getchar() in some
  places.
This commit is contained in:
Tom Rini 2024-01-19 08:46:47 -05:00
commit f4d5486506
68 changed files with 12107 additions and 14320 deletions

View File

@ -41,7 +41,7 @@ struct mm_region k3_mem_map[] = {
}, {
.virt = 0x500000000UL,
.phys = 0x500000000UL,
.size = 0x400000000UL,
.size = 0x380000000UL,
.attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
PTE_BLOCK_NON_SHARE |
PTE_BLOCK_PXN | PTE_BLOCK_UXN

File diff suppressed because it is too large Load Diff

View File

@ -15,234 +15,233 @@ sec-cfg:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
host_hierarchy:
subhdr:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
@ -250,100 +249,100 @@ sec-cfg:
magic: 0x4081
size: 69
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
write_host_id: 0

View File

@ -8,29 +8,29 @@
board-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
control:
subhdr:
magic: 0xC1D3
size: 7
main_isolation_enable : 0x5A
main_isolation_hostid : 0x2
main_isolation_enable: 0x5A
main_isolation_hostid: 0x2
secproxy:
subhdr:
magic: 0x1207
size: 7
scaling_factor : 0x1
scaling_profile : 0x1
disable_main_nav_secure_proxy : 0
scaling_factor: 0x1
scaling_profile: 0x1
disable_main_nav_secure_proxy: 0
msmc:
subhdr:
magic: 0xA5C3
size: 5
msmc_cache_size : 0x0
msmc_cache_size: 0x0
debug_cfg:
subhdr:
magic: 0x020C
size: 8
trace_dst_enables : 0x00
trace_src_enables : 0x00
trace_dst_enables: 0x00
trace_src_enables: 0x00

View File

@ -8,5 +8,5 @@
pm-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1

File diff suppressed because it is too large Load Diff

View File

@ -8,138 +8,138 @@
sec-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
processor_acl_list:
subhdr:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
@ -148,202 +148,202 @@ sec-cfg:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
subhdr:
magic: 0x4081
size: 69
write_host_id : 0
write_host_id: 0
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
dkek_config:
@ -351,12 +351,12 @@ sec-cfg:
magic: 0x5170
size: 12
allowed_hosts: [128, 0, 0, 0]
allow_dkek_export_tisci : 0x5A
allow_dkek_export_tisci: 0x5A
rsvd: [0, 0, 0]
sa2ul_cfg:
subhdr:
magic: 0x23BE
size : 0
size: 0
auth_resource_owner: 0
enable_saul_psil_global_config_writes: 0x5A
rsvd: [0, 0]
@ -364,16 +364,16 @@ sec-cfg:
subhdr:
magic: 0x42AF
size: 16
allow_jtag_unlock : 0x5A
allow_wildcard_unlock : 0x5A
allow_jtag_unlock: 0x5A
allow_wildcard_unlock: 0x5A
allowed_debug_level_rsvd: 0
rsvd: 0
min_cert_rev : 0x0
min_cert_rev: 0x0
jtag_unlock_hosts: [0, 0, 0, 0]
sec_handover_cfg:
subhdr:
magic: 0x608F
size: 10
handover_msg_sender : 0
handover_to_host_id : 0
handover_msg_sender: 0
handover_to_host_id: 0
rsvd: [0, 0, 0, 0]

View File

@ -8,29 +8,29 @@
board-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
control:
subhdr:
magic: 0xC1D3
size: 7
main_isolation_enable : 0x5A
main_isolation_hostid : 0x2
main_isolation_enable: 0x5A
main_isolation_hostid: 0x2
secproxy:
subhdr:
magic: 0x1207
size: 7
scaling_factor : 0x1
scaling_profile : 0x1
disable_main_nav_secure_proxy : 0
scaling_factor: 0x1
scaling_profile: 0x1
disable_main_nav_secure_proxy: 0
msmc:
subhdr:
magic: 0xA5C3
size: 5
msmc_cache_size : 0x0
msmc_cache_size: 0x0
debug_cfg:
subhdr:
magic: 0x020C
size: 8
trace_dst_enables : 0x00
trace_src_enables : 0x00
trace_dst_enables: 0x00
trace_src_enables: 0x00

View File

@ -8,5 +8,5 @@
pm-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1

File diff suppressed because it is too large Load Diff

View File

@ -8,138 +8,138 @@
sec-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
processor_acl_list:
subhdr:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
@ -148,202 +148,202 @@ sec-cfg:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
subhdr:
magic: 0x4081
size: 69
write_host_id : 0
write_host_id: 0
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
dkek_config:
@ -351,12 +351,12 @@ sec-cfg:
magic: 0x5170
size: 12
allowed_hosts: [128, 0, 0, 0]
allow_dkek_export_tisci : 0x5A
allow_dkek_export_tisci: 0x5A
rsvd: [0, 0, 0]
sa2ul_cfg:
subhdr:
magic: 0x23BE
size : 0
size: 0
auth_resource_owner: 0
enable_saul_psil_global_config_writes: 0x5A
rsvd: [0, 0]
@ -364,16 +364,16 @@ sec-cfg:
subhdr:
magic: 0x42AF
size: 16
allow_jtag_unlock : 0x5A
allow_wildcard_unlock : 0x5A
allow_jtag_unlock: 0x5A
allow_wildcard_unlock: 0x5A
allowed_debug_level_rsvd: 0
rsvd: 0
min_cert_rev : 0x0
min_cert_rev: 0x0
jtag_unlock_hosts: [0, 0, 0, 0]
sec_handover_cfg:
subhdr:
magic: 0x608F
size: 10
handover_msg_sender : 0
handover_to_host_id : 0
handover_msg_sender: 0
handover_to_host_id: 0
rsvd: [0, 0, 0, 0]

View File

@ -8,29 +8,29 @@
board-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
control:
subhdr:
magic: 0xC1D3
size: 7
main_isolation_enable : 0x5A
main_isolation_hostid : 0x2
main_isolation_enable: 0x5A
main_isolation_hostid: 0x2
secproxy:
subhdr:
magic: 0x1207
size: 7
scaling_factor : 0x1
scaling_profile : 0x1
disable_main_nav_secure_proxy : 0
scaling_factor: 0x1
scaling_profile: 0x1
disable_main_nav_secure_proxy: 0
msmc:
subhdr:
magic: 0xA5C3
size: 5
msmc_cache_size : 0x10
msmc_cache_size: 0x10
debug_cfg:
subhdr:
magic: 0x020C
size: 8
trace_dst_enables : 0x00
trace_src_enables : 0x00
trace_dst_enables: 0x00
trace_src_enables: 0x00

View File

@ -8,5 +8,5 @@
pm-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1

File diff suppressed because it is too large Load Diff

View File

@ -8,138 +8,138 @@
sec-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
processor_acl_list:
subhdr:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
@ -148,202 +148,202 @@ sec-cfg:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
subhdr:
magic: 0x4081
size: 69
write_host_id : 0
write_host_id: 0
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
dkek_config:
@ -351,12 +351,12 @@ sec-cfg:
magic: 0x5170
size: 12
allowed_hosts: [128, 0, 0, 0]
allow_dkek_export_tisci : 0x5A
allow_dkek_export_tisci: 0x5A
rsvd: [0, 0, 0]
sa2ul_cfg:
subhdr:
magic: 0x23BE
size : 0
size: 0
auth_resource_owner: 0
enable_saul_psil_global_config_writes: 0x5A
rsvd: [0, 0]
@ -364,16 +364,16 @@ sec-cfg:
subhdr:
magic: 0x42AF
size: 16
allow_jtag_unlock : 0x5A
allow_wildcard_unlock : 0x5A
allow_jtag_unlock: 0x5A
allow_wildcard_unlock: 0x5A
allowed_debug_level_rsvd: 0
rsvd: 0
min_cert_rev : 0x0
min_cert_rev: 0x0
jtag_unlock_hosts: [0, 0, 0, 0]
sec_handover_cfg:
subhdr:
magic: 0x608F
size: 10
handover_msg_sender : 0
handover_to_host_id : 0
handover_msg_sender: 0
handover_to_host_id: 0
rsvd: [0, 0, 0, 0]

File diff suppressed because it is too large Load Diff

View File

@ -8,29 +8,29 @@
board-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
control:
subhdr:
magic: 0xC1D3
size: 7
main_isolation_enable : 0x5A
main_isolation_hostid : 0x2
main_isolation_enable: 0x5A
main_isolation_hostid: 0x2
secproxy:
subhdr:
magic: 0x1207
size: 7
scaling_factor : 0x1
scaling_profile : 0x1
disable_main_nav_secure_proxy : 0
scaling_factor: 0x1
scaling_profile: 0x1
disable_main_nav_secure_proxy: 0
msmc:
subhdr:
magic: 0xA5C3
size: 5
msmc_cache_size : 0x0
msmc_cache_size: 0x0
debug_cfg:
subhdr:
magic: 0x020C
size: 8
trace_dst_enables : 0x00
trace_src_enables : 0x00
trace_dst_enables: 0x00
trace_src_enables: 0x00

View File

@ -8,5 +8,5 @@
pm-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1

File diff suppressed because it is too large Load Diff

View File

@ -8,138 +8,138 @@
sec-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
processor_acl_list:
subhdr:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
@ -148,202 +148,202 @@ sec-cfg:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
subhdr:
magic: 0x4081
size: 69
write_host_id : 0
write_host_id: 0
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
dkek_config:
@ -351,12 +351,12 @@ sec-cfg:
magic: 0x5170
size: 12
allowed_hosts: [128, 0, 0, 0]
allow_dkek_export_tisci : 0x5A
allow_dkek_export_tisci: 0x5A
rsvd: [0, 0, 0]
sa2ul_cfg:
subhdr:
magic: 0x23BE
size : 0
size: 0
auth_resource_owner: 0
enable_saul_psil_global_config_writes: 0x5A
rsvd: [0, 0]
@ -364,16 +364,16 @@ sec-cfg:
subhdr:
magic: 0x42AF
size: 16
allow_jtag_unlock : 0x5A
allow_wildcard_unlock : 0x5A
allow_jtag_unlock: 0x5A
allow_wildcard_unlock: 0x5A
allowed_debug_level_rsvd: 0
rsvd: 0
min_cert_rev : 0x0
min_cert_rev: 0x0
jtag_unlock_hosts: [0, 0, 0, 0]
sec_handover_cfg:
subhdr:
magic: 0x608F
size: 10
handover_msg_sender : 0
handover_to_host_id : 0
handover_msg_sender: 0
handover_to_host_id: 0
rsvd: [0, 0, 0, 0]

View File

@ -8,29 +8,29 @@
board-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
control:
subhdr:
magic: 0xC1D3
size: 7
main_isolation_enable : 0x5A
main_isolation_hostid : 0x2
main_isolation_enable: 0x5A
main_isolation_hostid: 0x2
secproxy:
subhdr:
magic: 0x1207
size: 7
scaling_factor : 0x1
scaling_profile : 0x1
disable_main_nav_secure_proxy : 0
scaling_factor: 0x1
scaling_profile: 0x1
disable_main_nav_secure_proxy: 0
msmc:
subhdr:
magic: 0xA5C3
size: 5
msmc_cache_size : 0x0
msmc_cache_size: 0x0
debug_cfg:
subhdr:
magic: 0x020C
size: 8
trace_dst_enables : 0x00
trace_src_enables : 0x00
trace_dst_enables: 0x00
trace_src_enables: 0x00

View File

@ -18,6 +18,7 @@
#include "../common/board_detect.h"
#define board_is_am64x_gpevm() (board_ti_k3_is("AM64-GPEVM") || \
board_ti_k3_is("AM64-EVM") || \
board_ti_k3_is("AM64-HSEVM"))
#define board_is_am64x_skevm() (board_ti_k3_is("AM64-SKEVM") || \

View File

@ -8,5 +8,5 @@
pm-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1

File diff suppressed because it is too large Load Diff

View File

@ -8,343 +8,342 @@
sec-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
processor_acl_list:
subhdr:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
host_hierarchy:
subhdr:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
subhdr:
magic: 0x4081
size: 69
write_host_id : 0
write_host_id: 0
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
dkek_config:
@ -352,12 +351,12 @@ sec-cfg:
magic: 0x5170
size: 12
allowed_hosts: [128, 0, 0, 0]
allow_dkek_export_tisci : 0x5A
allow_dkek_export_tisci: 0x5A
rsvd: [0, 0, 0]
sa2ul_cfg:
subhdr:
magic: 0x23BE
size : 0
size: 0
auth_resource_owner: 0
enable_saul_psil_global_config_writes: 0
rsvd: [0, 0]
@ -365,16 +364,16 @@ sec-cfg:
subhdr:
magic: 0x42AF
size: 16
allow_jtag_unlock : 0x5A
allow_wildcard_unlock : 0x5A
allowed_debug_level_rsvd : 0
rsvd : 0
min_cert_rev : 0x0
allow_jtag_unlock: 0x5A
allow_wildcard_unlock: 0x5A
allowed_debug_level_rsvd: 0
rsvd: 0
min_cert_rev: 0x0
jtag_unlock_hosts: [0, 0, 0, 0]
sec_handover_cfg:
subhdr:
magic: 0x608F
size: 10
handover_msg_sender : 0
handover_to_host_id : 0
handover_msg_sender: 0
handover_to_host_id: 0
rsvd: [0, 0, 0, 0]

View File

@ -8,29 +8,29 @@
board-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
control:
subhdr:
magic: 0xC1D3
size: 7
main_isolation_enable : 0x5A
main_isolation_hostid : 0x2
main_isolation_enable: 0x5A
main_isolation_hostid: 0x2
secproxy:
subhdr:
magic: 0x1207
size: 7
scaling_factor : 0x1
scaling_profile : 0x1
disable_main_nav_secure_proxy : 0
scaling_factor: 0x1
scaling_profile: 0x1
disable_main_nav_secure_proxy: 0
msmc:
subhdr:
magic: 0xA5C3
size: 5
msmc_cache_size : 0x10
msmc_cache_size: 0x10
debug_cfg:
subhdr:
magic: 0x020C
size: 8
trace_dst_enables : 0x00
trace_src_enables : 0x00
trace_dst_enables: 0x00
trace_src_enables: 0x00

View File

@ -8,5 +8,5 @@
pm-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1

File diff suppressed because it is too large Load Diff

View File

@ -8,138 +8,138 @@
sec-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
processor_acl_list:
subhdr:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
@ -148,202 +148,202 @@ sec-cfg:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
subhdr:
magic: 0x4081
size: 69
write_host_id : 0
write_host_id: 0
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
dkek_config:
@ -351,12 +351,12 @@ sec-cfg:
magic: 0x5170
size: 12
allowed_hosts: [128, 0, 0, 0]
allow_dkek_export_tisci : 0x5A
allow_dkek_export_tisci: 0x5A
rsvd: [0, 0, 0]
sa2ul_cfg:
subhdr:
magic: 0x23BE
size : 0
size: 0
auth_resource_owner: 0
enable_saul_psil_global_config_writes: 0
rsvd: [0, 0]
@ -364,16 +364,16 @@ sec-cfg:
subhdr:
magic: 0x42AF
size: 16
allow_jtag_unlock : 0x5A
allow_wildcard_unlock : 0x5A
allow_jtag_unlock: 0x5A
allow_wildcard_unlock: 0x5A
allowed_debug_level_rsvd: 0
rsvd: 0
min_cert_rev : 0x0
min_cert_rev: 0x0
jtag_unlock_hosts: [0, 0, 0, 0]
sec_handover_cfg:
subhdr:
magic: 0x608F
size: 10
handover_msg_sender : 0
handover_to_host_id : 0
handover_msg_sender: 0
handover_to_host_id: 0
rsvd: [0, 0, 0, 0]

View File

@ -8,29 +8,29 @@
board-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
control:
subhdr:
magic: 0xC1D3
size: 7
main_isolation_enable : 0x5A
main_isolation_hostid : 0x2
main_isolation_enable: 0x5A
main_isolation_hostid: 0x2
secproxy:
subhdr:
magic: 0x1207
size: 7
scaling_factor : 0x1
scaling_profile : 0x1
disable_main_nav_secure_proxy : 0
scaling_factor: 0x1
scaling_profile: 0x1
disable_main_nav_secure_proxy: 0
msmc:
subhdr:
magic: 0xA5C3
size: 5
msmc_cache_size : 0x10
msmc_cache_size: 0x10
debug_cfg:
subhdr:
magic: 0x020C
size: 8
trace_dst_enables : 0x00
trace_src_enables : 0x00
trace_dst_enables: 0x00
trace_src_enables: 0x00

View File

@ -8,5 +8,5 @@
pm-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -15,234 +15,233 @@ sec-cfg:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
host_hierarchy:
subhdr:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
@ -250,100 +249,100 @@ sec-cfg:
magic: 0x4081
size: 69
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
write_host_id: 0

View File

@ -8,343 +8,342 @@
sec-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
processor_acl_list:
subhdr:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
host_hierarchy:
subhdr:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
subhdr:
magic: 0x4081
size: 69
write_host_id : 0
write_host_id: 0
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
dkek_config:
@ -352,12 +351,12 @@ sec-cfg:
magic: 0x5170
size: 12
allowed_hosts: [128, 0, 0, 0]
allow_dkek_export_tisci : 0x5A
allow_dkek_export_tisci: 0x5A
rsvd: [0, 0, 0]
sa2ul_cfg:
subhdr:
magic: 0x23BE
size : 0
size: 0
auth_resource_owner: 0
enable_saul_psil_global_config_writes: 0
rsvd: [0, 0]
@ -365,16 +364,16 @@ sec-cfg:
subhdr:
magic: 0x42AF
size: 16
allow_jtag_unlock : 0x5A
allow_wildcard_unlock : 0x5A
allowed_debug_level_rsvd : 0
rsvd : 0
min_cert_rev : 0x0
allow_jtag_unlock: 0x5A
allow_wildcard_unlock: 0x5A
allowed_debug_level_rsvd: 0
rsvd: 0
min_cert_rev: 0x0
jtag_unlock_hosts: [0, 0, 0, 0]
sec_handover_cfg:
subhdr:
magic: 0x608F
size: 10
handover_msg_sender : 0
handover_to_host_id : 0
handover_msg_sender: 0
handover_to_host_id: 0
rsvd: [0, 0, 0, 0]

View File

@ -8,29 +8,29 @@
board-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
control:
subhdr:
magic: 0xC1D3
size: 7
main_isolation_enable : 0x5A
main_isolation_hostid : 0x2
main_isolation_enable: 0x5A
main_isolation_hostid: 0x2
secproxy:
subhdr:
magic: 0x1207
size: 7
scaling_factor : 0x1
scaling_profile : 0x1
disable_main_nav_secure_proxy : 0
scaling_factor: 0x1
scaling_profile: 0x1
disable_main_nav_secure_proxy: 0
msmc:
subhdr:
magic: 0xA5C3
size: 5
msmc_cache_size : 0x0
msmc_cache_size: 0x0
debug_cfg:
subhdr:
magic: 0x020C
size: 8
trace_dst_enables : 0x00
trace_src_enables : 0x00
trace_dst_enables: 0x00
trace_src_enables: 0x00

View File

@ -8,5 +8,5 @@
pm-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1

File diff suppressed because it is too large Load Diff

View File

@ -8,138 +8,138 @@
sec-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
processor_acl_list:
subhdr:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
@ -148,202 +148,202 @@ sec-cfg:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
subhdr:
magic: 0x4081
size: 69
write_host_id : 0
write_host_id: 0
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
dkek_config:
@ -351,12 +351,12 @@ sec-cfg:
magic: 0x5170
size: 12
allowed_hosts: [128, 0, 0, 0]
allow_dkek_export_tisci : 0x5A
allow_dkek_export_tisci: 0x5A
rsvd: [0, 0, 0]
sa2ul_cfg:
subhdr:
magic: 0x23BE
size : 0
size: 0
auth_resource_owner: 0
enable_saul_psil_global_config_writes: 0
rsvd: [0, 0]
@ -364,16 +364,16 @@ sec-cfg:
subhdr:
magic: 0x42AF
size: 16
allow_jtag_unlock : 0x0
allow_wildcard_unlock : 0x0
allow_jtag_unlock: 0x0
allow_wildcard_unlock: 0x0
allowed_debug_level_rsvd: 0
rsvd: 0
min_cert_rev : 0x0
min_cert_rev: 0x0
jtag_unlock_hosts: [0, 0, 0, 0]
sec_handover_cfg:
subhdr:
magic: 0x608F
size: 10
handover_msg_sender : 0
handover_to_host_id : 0
handover_msg_sender: 0
handover_to_host_id: 0
rsvd: [0, 0, 0, 0]

View File

@ -8,29 +8,29 @@
board-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
control:
subhdr:
magic: 0xC1D3
size: 7
main_isolation_enable : 0x5A
main_isolation_hostid : 0x2
main_isolation_enable: 0x5A
main_isolation_hostid: 0x2
secproxy:
subhdr:
magic: 0x1207
size: 7
scaling_factor : 0x1
scaling_profile : 0x1
disable_main_nav_secure_proxy : 0
scaling_factor: 0x1
scaling_profile: 0x1
disable_main_nav_secure_proxy: 0
msmc:
subhdr:
magic: 0xA5C3
size: 5
msmc_cache_size : 0x0
msmc_cache_size: 0x0
debug_cfg:
subhdr:
magic: 0x020C
size: 8
trace_dst_enables : 0x00
trace_src_enables : 0x00
trace_dst_enables: 0x00
trace_src_enables: 0x00

View File

@ -8,5 +8,5 @@
pm-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1

File diff suppressed because it is too large Load Diff

View File

@ -8,138 +8,138 @@
sec-cfg:
rev:
boardcfg_abi_maj : 0x0
boardcfg_abi_min : 0x1
boardcfg_abi_maj: 0x0
boardcfg_abi_min: 0x1
processor_acl_list:
subhdr:
magic: 0xF1EA
size: 164
proc_acl_entries:
- #1
- # 1
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #2
- # 2
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #3
- # 3
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #4
- # 4
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #5
- # 5
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #6
- # 6
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #7
- # 7
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #8
- # 8
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #9
- # 9
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #10
- # 10
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #11
- # 11
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #12
- # 12
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #13
- # 13
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #14
- # 14
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #15
- # 15
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #16
- # 16
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #17
- # 17
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #18
- # 18
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #19
- # 19
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #20
- # 20
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #21
- # 21
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #22
- # 22
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #23
- # 23
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #24
- # 24
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #25
- # 25
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #26
- # 26
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #27
- # 27
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #28
- # 28
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #29
- # 29
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #30
- # 30
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #31
- # 31
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
- #32
- # 32
processor_id: 0
proc_access_master: 0
proc_access_secondary: [0, 0, 0]
@ -148,202 +148,202 @@ sec-cfg:
magic: 0x8D27
size: 68
host_hierarchy_entries:
- #1
- # 1
host_id: 0
supervisor_host_id: 0
- #2
- # 2
host_id: 0
supervisor_host_id: 0
- #3
- # 3
host_id: 0
supervisor_host_id: 0
- #4
- # 4
host_id: 0
supervisor_host_id: 0
- #5
- # 5
host_id: 0
supervisor_host_id: 0
- #6
- # 6
host_id: 0
supervisor_host_id: 0
- #7
- # 7
host_id: 0
supervisor_host_id: 0
- #8
- # 8
host_id: 0
supervisor_host_id: 0
- #9
- # 9
host_id: 0
supervisor_host_id: 0
- #10
- # 10
host_id: 0
supervisor_host_id: 0
- #11
- # 11
host_id: 0
supervisor_host_id: 0
- #12
- # 12
host_id: 0
supervisor_host_id: 0
- #13
- # 13
host_id: 0
supervisor_host_id: 0
- #14
- # 14
host_id: 0
supervisor_host_id: 0
- #15
- # 15
host_id: 0
supervisor_host_id: 0
- #16
- # 16
host_id: 0
supervisor_host_id: 0
- #17
- # 17
host_id: 0
supervisor_host_id: 0
- #18
- # 18
host_id: 0
supervisor_host_id: 0
- #19
- # 19
host_id: 0
supervisor_host_id: 0
- #20
- # 20
host_id: 0
supervisor_host_id: 0
- #21
- # 21
host_id: 0
supervisor_host_id: 0
- #22
- # 22
host_id: 0
supervisor_host_id: 0
- #23
- # 23
host_id: 0
supervisor_host_id: 0
- #24
- # 24
host_id: 0
supervisor_host_id: 0
- #25
- # 25
host_id: 0
supervisor_host_id: 0
- #26
- # 26
host_id: 0
supervisor_host_id: 0
- #27
- # 27
host_id: 0
supervisor_host_id: 0
- #28
- # 28
host_id: 0
supervisor_host_id: 0
- #29
- # 29
host_id: 0
supervisor_host_id: 0
- #30
- # 30
host_id: 0
supervisor_host_id: 0
- #31
- # 31
host_id: 0
supervisor_host_id: 0
- #32
- # 32
host_id: 0
supervisor_host_id: 0
otp_config:
subhdr:
magic: 0x4081
size: 69
write_host_id : 0
write_host_id: 0
otp_entry:
- #1
- # 1
host_id: 0
host_perms: 0
- #2
- # 2
host_id: 0
host_perms: 0
- #3
- # 3
host_id: 0
host_perms: 0
- #4
- # 4
host_id: 0
host_perms: 0
- #5
- # 5
host_id: 0
host_perms: 0
- #6
- # 6
host_id: 0
host_perms: 0
- #7
- # 7
host_id: 0
host_perms: 0
- #8
- # 8
host_id: 0
host_perms: 0
- #9
- # 9
host_id: 0
host_perms: 0
- #10
- # 10
host_id: 0
host_perms: 0
- #11
- # 11
host_id: 0
host_perms: 0
- #12
- # 12
host_id: 0
host_perms: 0
- #13
- # 13
host_id: 0
host_perms: 0
- #14
- # 14
host_id: 0
host_perms: 0
- #15
- # 15
host_id: 0
host_perms: 0
- #16
- # 16
host_id: 0
host_perms: 0
- #17
- # 17
host_id: 0
host_perms: 0
- #18
- # 18
host_id: 0
host_perms: 0
- #19
- # 19
host_id: 0
host_perms: 0
- #20
- # 20
host_id: 0
host_perms: 0
- #21
- # 21
host_id: 0
host_perms: 0
- #22
- # 22
host_id: 0
host_perms: 0
- #23
- # 23
host_id: 0
host_perms: 0
- #24
- # 24
host_id: 0
host_perms: 0
- #25
- # 25
host_id: 0
host_perms: 0
- #26
- # 26
host_id: 0
host_perms: 0
- #27
- # 27
host_id: 0
host_perms: 0
- #28
- # 28
host_id: 0
host_perms: 0
- #29
- # 29
host_id: 0
host_perms: 0
- #30
- # 30
host_id: 0
host_perms: 0
- #31
- # 31
host_id: 0
host_perms: 0
- #32
- # 32
host_id: 0
host_perms: 0
dkek_config:
@ -351,12 +351,12 @@ sec-cfg:
magic: 0x5170
size: 12
allowed_hosts: [128, 0, 0, 0]
allow_dkek_export_tisci : 0x5A
allow_dkek_export_tisci: 0x5A
rsvd: [0, 0, 0]
sa2ul_cfg:
subhdr:
magic: 0x23BE
size : 0
size: 0
auth_resource_owner: 0
enable_saul_psil_global_config_writes: 0x5A
rsvd: [0, 0]
@ -364,16 +364,16 @@ sec-cfg:
subhdr:
magic: 0x42AF
size: 16
allow_jtag_unlock : 0x5A
allow_wildcard_unlock : 0x5A
allow_jtag_unlock: 0x5A
allow_wildcard_unlock: 0x5A
allowed_debug_level_rsvd: 0
rsvd: 0
min_cert_rev : 0x0
min_cert_rev: 0x0
jtag_unlock_hosts: [0, 0, 0, 0]
sec_handover_cfg:
subhdr:
magic: 0x608F
size: 10
handover_msg_sender : 0
handover_to_host_id : 0
handover_msg_sender: 0
handover_to_host_id: 0
rsvd: [0, 0, 0, 0]

View File

@ -632,7 +632,7 @@ int bootdev_next_label(struct bootflow_iter *iter, struct udevice **devp,
int bootdev_next_prio(struct bootflow_iter *iter, struct udevice **devp)
{
struct udevice *dev = *devp;
struct udevice *dev = *devp, *last_dev = NULL;
bool found;
int ret;
@ -682,9 +682,19 @@ int bootdev_next_prio(struct bootflow_iter *iter, struct udevice **devp)
}
} else {
ret = device_probe(dev);
if (!ret)
last_dev = dev;
if (ret) {
log_debug("Device '%s' failed to probe\n",
log_warning("Device '%s' failed to probe\n",
dev->name);
if (last_dev == dev) {
/*
* We have already tried this device
* and it failed to probe. Give up.
*/
return log_msg_ret("probe", ret);
}
last_dev = dev;
dev = NULL;
}
}

View File

@ -361,7 +361,7 @@ static int bootflow_check(struct bootflow_iter *iter, struct bootflow *bflow)
}
/* Unless there is nothing more to try, move to the next device */
else if (ret != BF_NO_MORE_PARTS && ret != -ENOSYS) {
if (ret != BF_NO_MORE_PARTS && ret != -ENOSYS) {
log_debug("Bootdev '%s' part %d method '%s': Error %d\n",
dev->name, iter->part, iter->method->name, ret);
/*
@ -371,10 +371,8 @@ static int bootflow_check(struct bootflow_iter *iter, struct bootflow *bflow)
if (iter->flags & BOOTFLOWIF_ALL)
return log_msg_ret("all", ret);
}
if (ret)
return log_msg_ret("check", ret);
return 0;
return log_msg_ret("check", ret);
}
int bootflow_scan_first(struct udevice *dev, const char *label,

View File

@ -120,7 +120,6 @@ int bootflow_menu_new(struct expo **expp)
if (ret < 0)
return log_msg_ret("itm", -EINVAL);
ret = 0;
priv->num_bootflows++;
}

View File

@ -192,6 +192,7 @@ config CMD_HISTORY
config CMD_LICENSE
bool "license"
select BUILD_BIN2C
depends on GZIP
help
Print GPL license text

View File

@ -543,8 +543,6 @@ static int do_bootflow_cmdline(struct cmd_tbl *cmdtp, int flag, int argc,
op = argv[1];
arg = argv[2];
if (*op == 's') {
if (argc < 3)
return CMD_RET_USAGE;
val = argv[3] ?: (const char *)BOOTFLOWCL_EMPTY;
}

View File

@ -230,7 +230,7 @@ static ulong load_serial(long offset)
static int read_record(char *buf, ulong len)
{
char *p;
char c;
int c;
--len; /* always leave room for terminating '\0' byte */
@ -827,7 +827,7 @@ static void handle_send_packet(int n)
/* k_recv receives a OS Open image file over kermit line */
static int k_recv(void)
{
char new_char;
int new_char;
char k_state, k_state_saved;
int sum;
int done;

View File

@ -540,7 +540,7 @@ static int cread_line_simple(const char *const prompt, char *p)
int n = 0; /* buffer index */
int plen = 0; /* prompt length */
int col; /* output column cnt */
char c;
int c;
/* print prompt */
if (prompt) {

View File

@ -86,16 +86,16 @@ int dev_iommu_enable(struct udevice *dev)
ret = dev_read_phandle_with_args(dev, "iommus",
"#iommu-cells", 0, i, &args);
if (ret) {
debug("%s: dev_read_phandle_with_args failed: %d\n",
__func__, ret);
log_err("%s: Failed to parse 'iommus' property for '%s': %d\n",
__func__, dev->name, ret);
return ret;
}
ret = uclass_get_device_by_ofnode(UCLASS_IOMMU, args.node,
&dev_iommu);
if (ret) {
debug("%s: uclass_get_device_by_ofnode failed: %d\n",
__func__, ret);
log_err("%s: Failed to find IOMMU device for '%s': %d\n",
__func__, dev->name, ret);
return ret;
}
dev->iommu = dev_iommu;
@ -106,8 +106,11 @@ int dev_iommu_enable(struct udevice *dev)
ops = device_get_ops(dev->iommu);
if (ops && ops->connect) {
ret = ops->connect(dev);
if (ret)
if (ret) {
log_err("%s: Failed to connect '%s' to IOMMU '%s': %d\n",
__func__, dev->name, dev->iommu->name, ret);
return ret;
}
}
}

View File

@ -695,7 +695,9 @@ int nvme_scan_namespace(void)
if (ret) {
log_err("Failed to probe '%s': err=%dE\n", dev->name,
ret);
return ret;
/* Bail if we ran out of memory, else keep trying */
if (ret != -EBUSY)
return ret;
}
}
@ -835,8 +837,8 @@ int nvme_init(struct udevice *udev)
ndev->udev = udev;
INIT_LIST_HEAD(&ndev->namespaces);
if (readl(&ndev->bar->csts) == -1) {
ret = -ENODEV;
printf("Error: %s: Out of memory!\n", udev->name);
ret = -EBUSY;
printf("Error: %s: Controller not ready!\n", udev->name);
goto free_nvme;
}

View File

@ -1611,6 +1611,17 @@ void *dm_pci_map_bar(struct udevice *dev, int bar, size_t offset, size_t len,
dm_pci_read_config32(udev, bar, &bar_response);
pci_bus_addr = (pci_addr_t)(bar_response & ~0xf);
/* This has a lot of baked in assumptions, but essentially tries
* to mirror the behavior of BAR assignment for 64 Bit enabled
* hosts and 64 bit placeable BARs in the auto assign code.
*/
#if defined(CONFIG_SYS_PCI_64BIT)
if (bar_response & PCI_BASE_ADDRESS_MEM_TYPE_64) {
dm_pci_read_config32(udev, bar + 4, &bar_response);
pci_bus_addr |= (pci_addr_t)bar_response << 32;
}
#endif /* CONFIG_SYS_PCI_64BIT */
if (~((pci_addr_t)0) - pci_bus_addr < offset)
return NULL;

2
env/common.c vendored
View File

@ -85,7 +85,7 @@ int env_do_env_set(int flag, int argc, char *const argv[], int env_flag)
name = argv[1];
if (strchr(name, '=')) {
printf("## Error: illegal character '='"
printf("## Error: illegal character '=' "
"in variable name \"%s\"\n", name);
return 1;
}

View File

@ -22,12 +22,13 @@ get_fit_overlaystring=
done;
get_fit_config=setexpr name_fit_config gsub / _ conf-${fdtfile}
run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring}
do_main_cpsw0_qsgmii_phyinit=0
bootcmd_ti_mmc=
run findfdt; run init_${boot};
#if CONFIG_CMD_REMOTEPROC
if test ${do_main_cpsw0_qsgmii_phyinit} -eq 1;
then run main_cpsw0_qsgmii_phyinit;
fi
fi;
run boot_rprocs;
#endif
if test ${boot_fit} -eq 1;

View File

@ -1354,6 +1354,7 @@ pci_addr_t dm_pci_phys_to_bus(struct udevice *dev, phys_addr_t addr, size_t len,
* type 1 functions.
* Can also be used on type 0 functions that support Enhanced Allocation for
* 32b/64b BARs. Note that duplicate BEI entries are not supported.
* Can also be used on 64b bars on type 0 functions.
*
* @dev: Device to check
* @bar: Bar register offset (PCI_BASE_ADDRESS_...)

View File

@ -104,6 +104,8 @@ static int rsa_engine_get_pub_key(const char *keydir, const char *name,
const char *engine_id;
char key_id[1024];
EVP_PKEY *key = NULL;
const char *const pkcs11_schema = "pkcs11:";
const char *pkcs11_uri_prepend = "";
if (!evpp)
return -EINVAL;
@ -113,19 +115,26 @@ static int rsa_engine_get_pub_key(const char *keydir, const char *name,
engine_id = ENGINE_get_id(engine);
if (engine_id && !strcmp(engine_id, "pkcs11")) {
if (keydir)
if (keydir) {
// Check for legacy keydir spec and prepend
if (strncmp(pkcs11_schema, keydir, strlen(pkcs11_schema))) {
pkcs11_uri_prepend = pkcs11_schema;
fprintf(stderr, "WARNING: Legacy URI specified. Please add '%s'.\n", pkcs11_schema);
}
if (strstr(keydir, "object="))
snprintf(key_id, sizeof(key_id),
"%s;type=public",
keydir);
"%s%s;type=public",
pkcs11_uri_prepend, keydir);
else
snprintf(key_id, sizeof(key_id),
"%s;object=%s;type=public",
keydir, name);
else
"%s%s;object=%s;type=public",
pkcs11_uri_prepend, keydir, name);
} else {
snprintf(key_id, sizeof(key_id),
"object=%s;type=public",
"pkcs11:object=%s;type=public",
name);
}
} else if (engine_id) {
if (keydir)
snprintf(key_id, sizeof(key_id),
@ -224,6 +233,8 @@ static int rsa_engine_get_priv_key(const char *keydir, const char *name,
const char *engine_id;
char key_id[1024];
EVP_PKEY *key = NULL;
const char *const pkcs11_schema = "pkcs11:";
const char *pkcs11_uri_prepend = "";
if (!evpp)
return -EINVAL;
@ -235,19 +246,26 @@ static int rsa_engine_get_priv_key(const char *keydir, const char *name,
fprintf(stderr, "Please use 'keydir' with PKCS11\n");
return -EINVAL;
}
if (keydir)
if (keydir) {
// Check for legacy keydir spec and prepend
if (strncmp(pkcs11_schema, keydir, strlen(pkcs11_schema))) {
pkcs11_uri_prepend = pkcs11_schema;
fprintf(stderr, "WARNING: Legacy URI specified. Please add '%s'.\n", pkcs11_schema);
}
if (strstr(keydir, "object="))
snprintf(key_id, sizeof(key_id),
"%s;type=private",
keydir);
"%s%s;type=private",
pkcs11_uri_prepend, keydir);
else
snprintf(key_id, sizeof(key_id),
"%s;object=%s;type=private",
keydir, name);
else
"%s%s;object=%s;type=private",
pkcs11_uri_prepend, keydir, name);
} else {
snprintf(key_id, sizeof(key_id),
"object=%s;type=private",
"pkcs11:object=%s;type=private",
name);
}
} else if (engine_id) {
if (keydir && name)
snprintf(key_id, sizeof(key_id),

View File

@ -48,38 +48,44 @@ DECLARE_GLOBAL_DATA_PTR;
/**
* struct map_sysinfo - Mapping of sysinfo strings to DT
*
* @sysinfo_str: sysinfo string
* @si_str: sysinfo string
* @dt_str: DT string
* @max: Max index of the tokenized string to pick. Counting starts from 0
*
*/
struct map_sysinfo {
const char *sysinfo_str;
const char *si_node;
const char *si_str;
const char *dt_str;
int max;
};
static const struct map_sysinfo sysinfo_to_dt[] = {
{ .sysinfo_str = "product", .dt_str = "model", 2 },
{ .sysinfo_str = "manufacturer", .dt_str = "compatible", 1 },
{ .si_node = "system", .si_str = "product", .dt_str = "model", 2 },
{ .si_node = "system", .si_str = "manufacturer", .dt_str = "compatible", 1 },
{ .si_node = "baseboard", .si_str = "product", .dt_str = "model", 2 },
{ .si_node = "baseboard", .si_str = "manufacturer", .dt_str = "compatible", 1 },
};
/**
* struct smbios_ctx - context for writing SMBIOS tables
*
* @node: node containing the information to write (ofnode_null() if none)
* @dev: sysinfo device to use (NULL if none)
* @eos: end-of-string pointer for the table being processed. This is set
* up when we start processing a table
* @next_ptr: pointer to the start of the next string to be added. When the
* table is nopt empty, this points to the byte after the \0 of the
* previous string.
* @last_str: points to the last string that was written to the table, or NULL
* if none
* @node: node containing the information to write (ofnode_null()
* if none)
* @dev: sysinfo device to use (NULL if none)
* @subnode_name: sysinfo subnode_name. Used for DT fallback
* @eos: end-of-string pointer for the table being processed.
* This is set up when we start processing a table
* @next_ptr: pointer to the start of the next string to be added.
* When the table is not empty, this points to the byte
* after the \0 of the previous string.
* @last_str: points to the last string that was written to the table,
* or NULL if none
*/
struct smbios_ctx {
ofnode node;
struct udevice *dev;
const char *subnode_name;
char *eos;
char *next_ptr;
char *last_str;
@ -108,12 +114,13 @@ struct smbios_write_method {
const char *subnode_name;
};
static const struct map_sysinfo *convert_sysinfo_to_dt(const char *sysinfo_str)
static const struct map_sysinfo *convert_sysinfo_to_dt(const char *node, const char *si)
{
int i;
for (i = 0; i < ARRAY_SIZE(sysinfo_to_dt); i++) {
if (!strcmp(sysinfo_str, sysinfo_to_dt[i].sysinfo_str))
if (node && !strcmp(node, sysinfo_to_dt[i].si_node) &&
!strcmp(si, sysinfo_to_dt[i].si_str))
return &sysinfo_to_dt[i];
}
@ -233,7 +240,7 @@ static int smbios_add_prop_si(struct smbios_ctx *ctx, const char *prop,
} else {
const struct map_sysinfo *nprop;
nprop = convert_sysinfo_to_dt(prop);
nprop = convert_sysinfo_to_dt(ctx->subnode_name, prop);
get_str_from_dt(nprop, str_dt, sizeof(str_dt));
str = (const char *)str_dt;
}
@ -574,9 +581,13 @@ ulong write_smbios_table(ulong addr)
int tmp;
method = &smbios_write_funcs[i];
if (IS_ENABLED(CONFIG_OF_CONTROL) && method->subnode_name)
ctx.node = ofnode_find_subnode(parent_node,
method->subnode_name);
ctx.subnode_name = NULL;
if (method->subnode_name) {
ctx.subnode_name = method->subnode_name;
if (IS_ENABLED(CONFIG_OF_CONTROL))
ctx.node = ofnode_find_subnode(parent_node,
method->subnode_name);
}
tmp = method->write((ulong *)&addr, handle++, &ctx);
max_struct_size = max(max_struct_size, tmp);
@ -591,8 +602,8 @@ ulong write_smbios_table(ulong addr)
table_addr = (ulong)map_sysmem(tables, 0);
/* now go back and write the SMBIOS3 header */
se = map_sysmem(start_addr, sizeof(struct smbios_entry));
memset(se, '\0', sizeof(struct smbios_entry));
se = map_sysmem(start_addr, sizeof(struct smbios3_entry));
memset(se, '\0', sizeof(struct smbios3_entry));
memcpy(se->anchor, "_SM3_", 5);
se->length = sizeof(struct smbios3_entry);
se->major_ver = SMBIOS_MAJOR_VER;

View File

@ -80,7 +80,7 @@ my %commit_author_hash;
my %commit_signer_hash;
my @penguin_chief = ();
push(@penguin_chief, "Tom Rini:trini\@konsulko.com");
push(@penguin_chief, "Tom RINI:trini\@konsulko.com");
my @penguin_chief_names = ();
foreach my $chief (@penguin_chief) {

View File

@ -0,0 +1,67 @@
# SPDX-License-Identifier: GPL-2.0
# (C) Copyright 2023, Advanced Micro Devices, Inc.
import pytest
"""
Test the bootstage command.
It is used for checking the boot progress and timing by printing the bootstage
report, stashes the data into memory and unstashes the data from memory.
Note: This test relies on boardenv_* containing configuration values to define
the data size, memory address, and bootstage magic address (defined in
common/bootstage.c). Without this, bootstage stash and unstash tests will be
automatically skipped.
For example:
env__bootstage_cmd_file = {
'addr': 0x200000,
'size': 0x1000,
'bootstage_magic_addr': 0xb00757a3,
}
"""
@pytest.mark.buildconfigspec('bootstage')
@pytest.mark.buildconfigspec('cmd_bootstage')
def test_bootstage_report(u_boot_console):
output = u_boot_console.run_command('bootstage report')
assert 'Timer summary in microseconds' in output
assert 'Accumulated time:' in output
assert 'dm_r' in output
@pytest.mark.buildconfigspec('bootstage')
@pytest.mark.buildconfigspec('cmd_bootstage')
@pytest.mark.buildconfigspec('bootstage_stash')
def test_bootstage_stash(u_boot_console):
f = u_boot_console.config.env.get('env__bootstage_cmd_file', None)
if not f:
pytest.skip('No bootstage environment file is defined')
addr = f.get('addr')
size = f.get('size')
bootstage_magic = f.get('bootstage_magic_addr')
expected_text = 'dm_r'
u_boot_console.run_command('bootstage stash %x %x' % (addr, size))
output = u_boot_console.run_command('echo $?')
assert output.endswith('0')
output = u_boot_console.run_command('md %x 100' % addr)
# Check BOOTSTAGE_MAGIC address at 4th byte address
assert '0x' + output.split('\n')[0].split()[4] == hex(bootstage_magic)
# Check expected string in last column of output
output_last_col = ''.join([i.split()[-1] for i in output.split('\n')])
assert expected_text in output_last_col
return addr, size
@pytest.mark.buildconfigspec('bootstage')
@pytest.mark.buildconfigspec('cmd_bootstage')
@pytest.mark.buildconfigspec('bootstage_stash')
def test_bootstage_unstash(u_boot_console):
addr, size = test_bootstage_stash(u_boot_console)
u_boot_console.run_command('bootstage unstash %x %x' % (addr, size))
output = u_boot_console.run_command('echo $?')
assert output.endswith('0')

View File

@ -17,6 +17,11 @@ import pytest
@pytest.fixture
def tmp_copy_of_builddir(u_boot_config, tmp_path):
"""For each test, provide a temporary copy of the initial build directory."""
if os.path.realpath(u_boot_config.source_dir) == os.path.realpath(
u_boot_config.build_dir
):
pytest.skip("Leftover detection requires out of tree build.")
return None
shutil.copytree(
u_boot_config.build_dir,
tmp_path,

View File

@ -9,6 +9,7 @@
import os
import struct
import yaml
import yamllint
from collections import OrderedDict
from jsonschema import validate
@ -18,6 +19,7 @@ from binman.entry import Entry
from binman.etype.section import Entry_section
from dtoc import fdt_util
from u_boot_pylib import tools
from yamllint import config
BOARDCFG = 0xB
BOARDCFG_SEC = 0xD
@ -244,6 +246,9 @@ class Entry_ti_board_config(Entry_section):
with open(self._schema_file, 'r') as sch:
self.schema_yaml = yaml.safe_load(sch)
yaml_config = config.YamlLintConfig("extends: default")
for p in yamllint.linter.run(open(self._config_file, "r"), yaml_config):
self.Raise(f"Yamllint error: {p.line}: {p.rule}")
try:
validate(self.file_yaml, self.schema_yaml)
except Exception as e:

View File

@ -7030,6 +7030,12 @@ fdt fdtmap Extract the devicetree blob from the fdtmap
data = self._DoReadFile('293_ti_board_cfg.dts')
self.assertEqual(TI_BOARD_CONFIG_DATA, data)
def testTIBoardConfigLint(self):
"""Test that an incorrectly linted config file would generate error"""
with self.assertRaises(ValueError) as e:
data = self._DoReadFile('323_ti_board_cfg_phony.dts')
self.assertIn("Yamllint error", str(e.exception))
def testTIBoardConfigCombined(self):
"""Test that a schema validated combined board config file can be generated"""
data = self._DoReadFile('294_ti_board_cfg_combined.dts')

View File

@ -0,0 +1,14 @@
// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
binman {
ti-board-config {
config = "yaml/config_phony.yaml";
schema = "yaml/schema.yaml";
};
};
};

View File

@ -10,9 +10,9 @@ main-branch:
b: 0
arr: [0, 0, 0, 0]
another-arr:
- #1
- # 1
c: 0
d: 0
- #2
- # 2
c: 0
d: 0

View File

@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0+
#
# Test config
#
---
main-branch :
obj :
a : 0x0
b: 0
arr: [0, 0, 0, 0]
another-arr:
- # 1
c: 0
d: 0
- # 2
c: 0
d: 0

View File

@ -1,2 +1,3 @@
jsonschema==4.17.3
pyyaml==6.0
yamllint==1.26.3

View File

@ -342,6 +342,28 @@ err:
return ret;
}
static int fit_image_read_key_iv_data(const char *keydir, const char *key_iv_name,
unsigned char *key_iv_data, int expected_size)
{
char filename[PATH_MAX];
int ret = -1;
ret = snprintf(filename, sizeof(filename), "%s/%s%s",
keydir, key_iv_name, ".bin");
if (ret >= sizeof(filename)) {
printf("Can't format the key or IV filename when setting up the cipher: insufficient buffer space\n");
ret = -1;
}
if (ret < 0) {
printf("Can't format the key or IV filename when setting up the cipher: snprintf error\n");
ret = -1;
}
ret = fit_image_read_data(filename, key_iv_data, expected_size);
return ret;
}
static int get_random_data(void *data, int size)
{
unsigned char *tmp = data;
@ -378,7 +400,6 @@ static int fit_image_setup_cipher(struct image_cipher_info *info,
int noffset)
{
char *algo_name;
char filename[128];
int ret = -1;
if (fit_image_cipher_get_algo(fit, noffset, &algo_name)) {
@ -415,17 +436,17 @@ static int fit_image_setup_cipher(struct image_cipher_info *info,
goto out;
}
/* Read the key in the file */
snprintf(filename, sizeof(filename), "%s/%s%s",
info->keydir, info->keyname, ".bin");
info->key = malloc(info->cipher->key_len);
if (!info->key) {
fprintf(stderr, "Can't allocate memory for key\n");
ret = -1;
goto out;
}
ret = fit_image_read_data(filename, (unsigned char *)info->key,
info->cipher->key_len);
/* Read the key in the file */
ret = fit_image_read_key_iv_data(info->keydir, info->keyname,
(unsigned char *)info->key,
info->cipher->key_len);
if (ret < 0)
goto out;
@ -438,10 +459,11 @@ static int fit_image_setup_cipher(struct image_cipher_info *info,
if (info->ivname) {
/* Read the IV in the file */
snprintf(filename, sizeof(filename), "%s/%s%s",
info->keydir, info->ivname, ".bin");
ret = fit_image_read_data(filename, (unsigned char *)info->iv,
info->cipher->iv_len);
ret = fit_image_read_key_iv_data(info->keydir, info->ivname,
(unsigned char *)info->iv,
info->cipher->iv_len);
if (ret < 0)
goto out;
} else {
/* Generate an ramdom IV */
ret = get_random_data((void *)info->iv, info->cipher->iv_len);