mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-06 05:31:40 +00:00
nyx: add fuses keygen revision info
This commit is contained in:
parent
981c986b3f
commit
821ad23341
@ -451,12 +451,12 @@ static lv_res_t _create_window_fuses_info_status(lv_obj_t *btn)
|
|||||||
"DRAM ID:\n"
|
"DRAM ID:\n"
|
||||||
"#FF8000 Burnt Fuses (ODM 7/6):#\n"
|
"#FF8000 Burnt Fuses (ODM 7/6):#\n"
|
||||||
"ODM Fields (4, 6, 7):\n"
|
"ODM Fields (4, 6, 7):\n"
|
||||||
"Secure Boot key (SBK):\n"
|
"Secure Boot Key (SBK):\n"
|
||||||
"Device key (DK):\n"
|
"Device Key (DK):\n"
|
||||||
|
"Keygen Revision:\n"
|
||||||
"USB Stack:\n"
|
"USB Stack:\n"
|
||||||
"Final Test Revision:\n"
|
"Final Test Revision:\n"
|
||||||
"Chip Probing Revision:\n"
|
"Chip Probing Revision:\n"
|
||||||
"Bootrom ipatches size:\n"
|
|
||||||
"CPU Speedo 0 (CPU Val):\n"
|
"CPU Speedo 0 (CPU Val):\n"
|
||||||
"CPU Speedo 1:\n"
|
"CPU Speedo 1:\n"
|
||||||
"CPU Speedo 2 (GPU Val):\n"
|
"CPU Speedo 2 (GPU Val):\n"
|
||||||
@ -677,20 +677,19 @@ static lv_res_t _create_window_fuses_info_status(lv_obj_t *btn)
|
|||||||
u32 chip_id = APB_MISC(APB_MISC_GP_HIDREV);
|
u32 chip_id = APB_MISC(APB_MISC_GP_HIDREV);
|
||||||
// Parse fuses and display them.
|
// Parse fuses and display them.
|
||||||
s_printf(txt_buf,
|
s_printf(txt_buf,
|
||||||
"%X - %s - %s\n%02d: %s\n%d - %d (HOS: %s)\n%08X %08X %08X\n%08X%08X%08X%08X\n%08X\n"
|
"%X - %s - %s\n%02d: %s\n%d - %d (HOS: %s)\n%08X %08X %08X\n%08X%08X%08X%08X\n%08X\n%d\n"
|
||||||
"%s\n%d.%02d (0x%X)\n%d.%02d (0x%X)\n%d\n%d\n%d\n%d\n%d\n0x%X\n%d\n%d\n%d\n%d\n"
|
"%s\n%d.%02d (0x%X)\n%d.%02d (0x%X)\n%d\n%d\n%d\n%d\n0x%X\n%d\n%d\n%d\n%d\n"
|
||||||
"%d\n%d\n%d (0x%X)\n%d\n%d\n%d\n%d\n"
|
"%d\n%d\n%d (0x%X)\n%d\n%d\n%d\n%d\n"
|
||||||
"ID: %02X, Major: A0%d, Minor: %d",
|
"ID: %02X, Major: A%02d, Minor: %d",
|
||||||
FUSE(FUSE_SKU_INFO), sku, fuse_read_hw_state() ? "Dev" : "Retail",
|
FUSE(FUSE_SKU_INFO), sku, fuse_read_hw_state() ? "Dev" : "Retail",
|
||||||
dram_id, dram_man, burnt_fuses_7, burnt_fuses_6, fuses_hos_version,
|
dram_id, dram_man, burnt_fuses_7, burnt_fuses_6, fuses_hos_version,
|
||||||
fuse_read_odm(4), fuse_read_odm(6), fuse_read_odm(7),
|
fuse_read_odm(4), fuse_read_odm(6), fuse_read_odm(7),
|
||||||
byte_swap_32(FUSE(FUSE_PRIVATE_KEY0)), byte_swap_32(FUSE(FUSE_PRIVATE_KEY1)),
|
byte_swap_32(FUSE(FUSE_PRIVATE_KEY0)), byte_swap_32(FUSE(FUSE_PRIVATE_KEY1)),
|
||||||
byte_swap_32(FUSE(FUSE_PRIVATE_KEY2)), byte_swap_32(FUSE(FUSE_PRIVATE_KEY3)),
|
byte_swap_32(FUSE(FUSE_PRIVATE_KEY2)), byte_swap_32(FUSE(FUSE_PRIVATE_KEY3)),
|
||||||
byte_swap_32(FUSE(FUSE_PRIVATE_KEY4)),
|
byte_swap_32(FUSE(FUSE_PRIVATE_KEY4)), fuse_read_odm_keygen_rev(),
|
||||||
((FUSE(FUSE_RESERVED_SW) & 0x80) || h_cfg.t210b01) ? "XUSB" : "USB2",
|
((FUSE(FUSE_RESERVED_SW) & 0x80) || h_cfg.t210b01) ? "XUSB" : "USB2",
|
||||||
(FUSE(FUSE_OPT_FT_REV) >> 5) & 0x3F, FUSE(FUSE_OPT_FT_REV) & 0x1F, FUSE(FUSE_OPT_FT_REV),
|
(FUSE(FUSE_OPT_FT_REV) >> 5) & 0x3F, FUSE(FUSE_OPT_FT_REV) & 0x1F, FUSE(FUSE_OPT_FT_REV),
|
||||||
(FUSE(FUSE_OPT_CP_REV) >> 5) & 0x3F, FUSE(FUSE_OPT_CP_REV) & 0x1F, FUSE(FUSE_OPT_CP_REV),
|
(FUSE(FUSE_OPT_CP_REV) >> 5) & 0x3F, FUSE(FUSE_OPT_CP_REV) & 0x1F, FUSE(FUSE_OPT_CP_REV),
|
||||||
FUSE(FUSE_FIRST_BOOTROM_PATCH_SIZE) & 0x7F,
|
|
||||||
FUSE(FUSE_CPU_SPEEDO_0_CALIB), FUSE(FUSE_CPU_SPEEDO_1_CALIB), FUSE(FUSE_CPU_SPEEDO_2_CALIB),
|
FUSE(FUSE_CPU_SPEEDO_0_CALIB), FUSE(FUSE_CPU_SPEEDO_1_CALIB), FUSE(FUSE_CPU_SPEEDO_2_CALIB),
|
||||||
FUSE(FUSE_SOC_SPEEDO_0_CALIB), FUSE(FUSE_SOC_SPEEDO_1_CALIB), FUSE(FUSE_SOC_SPEEDO_2_CALIB),
|
FUSE(FUSE_SOC_SPEEDO_0_CALIB), FUSE(FUSE_SOC_SPEEDO_1_CALIB), FUSE(FUSE_SOC_SPEEDO_2_CALIB),
|
||||||
FUSE(FUSE_CPU_IDDQ_CALIB), FUSE(FUSE_SOC_IDDQ_CALIB), FUSE(FUSE_GPU_IDDQ_CALIB),
|
FUSE(FUSE_CPU_IDDQ_CALIB), FUSE(FUSE_SOC_IDDQ_CALIB), FUSE(FUSE_GPU_IDDQ_CALIB),
|
||||||
|
Loading…
Reference in New Issue
Block a user