hi , I built a coreboot image for ADL RVP, In that image cse lite cbfs version is not matching with the cse lite RO and RW version. As a result, target is updating the CBFS cse lite and rebooting again and again. Any Thoughts on how to fix this?.
Below is the log ------------------------------ romstage starting (log level: 8)... [0m [0m[DEBUG] pm1_sts: 8100 pm1_en: 0000 pm1_cnt: 00000000 [0m [0m[DEBUG] gpe0_sts[0]: 00000000 gpe0_en[0]: 00000000 [0m [0m[DEBUG] gpe0_sts[1]: 00000000 gpe0_en[1]: 00000000 [0m [0m[DEBUG] gpe0_sts[2]: 00000000 gpe0_en[2]: 00000000 [0m [0m[DEBUG] gpe0_sts[3]: 00000000 gpe0_en[3]: 00000000 [0m [0m[DEBUG] TCO_STS: 0000 0000 [0m [0m[DEBUG] GEN_PMCON: a1054000 00000204 [0m [0m[DEBUG] GBLRST_CAUSE: 00000040 00000000 [0m [0m[DEBUG] HPR_CAUSE0: 00000000 [0m [0m[DEBUG] prev_sleep_state 5 [0m [0m[DEBUG] cse_lite: Number of partitions = 3 [0m [0m[DEBUG] cse_lite: Current partition = RO [0m [0m[DEBUG] cse_lite: Next partition = RO [0m [0m[DEBUG] cse_lite: Flags = 0x3 [0m [0m[DEBUG] cse_lite: RO version = 16.0.15.1752 (Status=0x0, Start=0x2000, End=0x19bfff) [0m [0m[DEBUG] cse_lite: RW version = 16.0.15.1752 (Status=0x0, Start=0x205000, End=0x439fff) [0m [0m[DEBUG] FMAP: area SI_ME found @ 81000 (5763072 bytes) [0m [0m[INFO ] SF: Detected 00 0000 with sector size 0x1000, total 0x2000000 [0m [0m[DEBUG] cse_lite: CSE RW partition: offset = 0x205000, size = 0x235000 [0m [0m[DEBUG] FMAP: area FW_MAIN_A found @ 610000 (4718528 bytes) [0m [0m[INFO ] MMAP window: SPI flash base=0x1000000, Host base=0xff000000, Size=0x1000000 [0m [0m[INFO ] MMAP window: SPI flash base=0x600000, Host base=0xf9600000, Size=0xa00000 [0m [0m[INFO ] CBFS: Found 'me_rw.version' @0xa4b80 size 0xd in mcache @0xfef877e8 [0m [0m[DEBUG] cse_lite: CSE CBFS RW version : 16.0.15.1620 [0m [0m[DEBUG] cse_lite: CSE RW update is initiated [0m [0m[DEBUG] FMAP: area ME_RW_A found @ a90000 (3604480 bytes) [0m [0m[INFO ] CBFS: Found 'me_rw' @0x0 size 0x235000 [0m [0m[INFO ] CBFS: Found 'me_rw.hash' @0xa4bc0 size 0x20 in mcache @0xfef87810 [0m [0m[SPEW ] cse_lite: Computed SHA of CSE CBFS RW Image matches the provided hash in the metadata [0m [0m[DEBUG] cse_lite: Sending DATA CLEAR HECI command [0m [0m[DEBUG] HECI: Send HMRFPO Enable Command [0m [0m[SPEW ] Erasing flash addr 286000 + 4 KiB [0m [0m[SPEW ] Erasing flash addr 287000 + 4 KiB [0m [0m[SPEW ] Erasing flash addr 288000 + 4 KiB [0m
--sameer.
Hi Sameer,
The version of the ME RW binary must match the CONFIG_SOC_INTEL_CSE_RW_VERSION Kconfig value (it's a string). -Tim
On Sat, Aug 20, 2022 at 12:08 AM Sameeruddin Shaik < sameeruddin.shaik8@gmail.com> wrote:
hi , I built a coreboot image for ADL RVP, In that image cse lite cbfs version is not matching with the cse lite RO and RW version. As a result, target is updating the CBFS cse lite and rebooting again and again. Any Thoughts on how to fix this?.
Below is the log
romstage starting (log level: 8)... [0m [0m[DEBUG] pm1_sts: 8100 pm1_en: 0000 pm1_cnt: 00000000 [0m [0m[DEBUG] gpe0_sts[0]: 00000000 gpe0_en[0]: 00000000 [0m [0m[DEBUG] gpe0_sts[1]: 00000000 gpe0_en[1]: 00000000 [0m [0m[DEBUG] gpe0_sts[2]: 00000000 gpe0_en[2]: 00000000 [0m [0m[DEBUG] gpe0_sts[3]: 00000000 gpe0_en[3]: 00000000 [0m [0m[DEBUG] TCO_STS: 0000 0000 [0m [0m[DEBUG] GEN_PMCON: a1054000 00000204 [0m [0m[DEBUG] GBLRST_CAUSE: 00000040 00000000 [0m [0m[DEBUG] HPR_CAUSE0: 00000000 [0m [0m[DEBUG] prev_sleep_state 5 [0m [0m[DEBUG] cse_lite: Number of partitions = 3 [0m [0m[DEBUG] cse_lite: Current partition = RO [0m [0m[DEBUG] cse_lite: Next partition = RO [0m [0m[DEBUG] cse_lite: Flags = 0x3 [0m [0m[DEBUG] cse_lite: RO version = 16.0.15.1752 (Status=0x0, Start=0x2000, End=0x19bfff) [0m [0m[DEBUG] cse_lite: RW version = 16.0.15.1752 (Status=0x0, Start=0x205000, End=0x439fff) [0m [0m[DEBUG] FMAP: area SI_ME found @ 81000 (5763072 bytes) [0m [0m[INFO ] SF: Detected 00 0000 with sector size 0x1000, total 0x2000000 [0m [0m[DEBUG] cse_lite: CSE RW partition: offset = 0x205000, size = 0x235000 [0m [0m[DEBUG] FMAP: area FW_MAIN_A found @ 610000 (4718528 bytes) [0m [0m[INFO ] MMAP window: SPI flash base=0x1000000, Host base=0xff000000, Size=0x1000000 [0m [0m[INFO ] MMAP window: SPI flash base=0x600000, Host base=0xf9600000, Size=0xa00000 [0m [0m[INFO ] CBFS: Found 'me_rw.version' @0xa4b80 size 0xd in mcache @0xfef877e8 [0m [0m[DEBUG] cse_lite: CSE CBFS RW version : 16.0.15.1620 [0m [0m[DEBUG] cse_lite: CSE RW update is initiated [0m [0m[DEBUG] FMAP: area ME_RW_A found @ a90000 (3604480 bytes) [0m [0m[INFO ] CBFS: Found 'me_rw' @0x0 size 0x235000 [0m [0m[INFO ] CBFS: Found 'me_rw.hash' @0xa4bc0 size 0x20 in mcache @0xfef87810 [0m [0m[SPEW ] cse_lite: Computed SHA of CSE CBFS RW Image matches the provided hash in the metadata [0m [0m[DEBUG] cse_lite: Sending DATA CLEAR HECI command [0m [0m[DEBUG] HECI: Send HMRFPO Enable Command [0m [0m[SPEW ] Erasing flash addr 286000 + 4 KiB [0m [0m[SPEW ] Erasing flash addr 287000 + 4 KiB [0m [0m[SPEW ] Erasing flash addr 288000 + 4 KiB [0m
--sameer. _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
Thanks Tim. It helped.
On Mon, Aug 22, 2022, 10:21 PM Tim Wawrzynczak twawrzynczak@google.com wrote:
Hi Sameer,
The version of the ME RW binary must match the CONFIG_SOC_INTEL_CSE_RW_VERSION Kconfig value (it's a string). -Tim
On Sat, Aug 20, 2022 at 12:08 AM Sameeruddin Shaik < sameeruddin.shaik8@gmail.com> wrote:
hi , I built a coreboot image for ADL RVP, In that image cse lite cbfs version is not matching with the cse lite RO and RW version. As a result, target is updating the CBFS cse lite and rebooting again and again. Any Thoughts on how to fix this?.
Below is the log
romstage starting (log level: 8)... [0m [0m[DEBUG] pm1_sts: 8100 pm1_en: 0000 pm1_cnt: 00000000 [0m [0m[DEBUG] gpe0_sts[0]: 00000000 gpe0_en[0]: 00000000 [0m [0m[DEBUG] gpe0_sts[1]: 00000000 gpe0_en[1]: 00000000 [0m [0m[DEBUG] gpe0_sts[2]: 00000000 gpe0_en[2]: 00000000 [0m [0m[DEBUG] gpe0_sts[3]: 00000000 gpe0_en[3]: 00000000 [0m [0m[DEBUG] TCO_STS: 0000 0000 [0m [0m[DEBUG] GEN_PMCON: a1054000 00000204 [0m [0m[DEBUG] GBLRST_CAUSE: 00000040 00000000 [0m [0m[DEBUG] HPR_CAUSE0: 00000000 [0m [0m[DEBUG] prev_sleep_state 5 [0m [0m[DEBUG] cse_lite: Number of partitions = 3 [0m [0m[DEBUG] cse_lite: Current partition = RO [0m [0m[DEBUG] cse_lite: Next partition = RO [0m [0m[DEBUG] cse_lite: Flags = 0x3 [0m [0m[DEBUG] cse_lite: RO version = 16.0.15.1752 (Status=0x0, Start=0x2000, End=0x19bfff) [0m [0m[DEBUG] cse_lite: RW version = 16.0.15.1752 (Status=0x0, Start=0x205000, End=0x439fff) [0m [0m[DEBUG] FMAP: area SI_ME found @ 81000 (5763072 bytes) [0m [0m[INFO ] SF: Detected 00 0000 with sector size 0x1000, total 0x2000000 [0m [0m[DEBUG] cse_lite: CSE RW partition: offset = 0x205000, size = 0x235000 [0m [0m[DEBUG] FMAP: area FW_MAIN_A found @ 610000 (4718528 bytes) [0m [0m[INFO ] MMAP window: SPI flash base=0x1000000, Host base=0xff000000, Size=0x1000000 [0m [0m[INFO ] MMAP window: SPI flash base=0x600000, Host base=0xf9600000, Size=0xa00000 [0m [0m[INFO ] CBFS: Found 'me_rw.version' @0xa4b80 size 0xd in mcache @0xfef877e8 [0m [0m[DEBUG] cse_lite: CSE CBFS RW version : 16.0.15.1620 [0m [0m[DEBUG] cse_lite: CSE RW update is initiated [0m [0m[DEBUG] FMAP: area ME_RW_A found @ a90000 (3604480 bytes) [0m [0m[INFO ] CBFS: Found 'me_rw' @0x0 size 0x235000 [0m [0m[INFO ] CBFS: Found 'me_rw.hash' @0xa4bc0 size 0x20 in mcache @0xfef87810 [0m [0m[SPEW ] cse_lite: Computed SHA of CSE CBFS RW Image matches the provided hash in the metadata [0m [0m[DEBUG] cse_lite: Sending DATA CLEAR HECI command [0m [0m[DEBUG] HECI: Send HMRFPO Enable Command [0m [0m[SPEW ] Erasing flash addr 286000 + 4 KiB [0m [0m[SPEW ] Erasing flash addr 287000 + 4 KiB [0m [0m[SPEW ] Erasing flash addr 288000 + 4 KiB [0m
--sameer. _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org