Hi,
The title seems pretty stupid but that's what I am observing on my MinnowMax. When I have built coreboot and flashed and the moment I connect the power cable back, I see the following logs (no romstage beginning logs, no console_init logs):
romstage_main_continue status: 0 hob_list_ptr: 7ae20000 FSP Status: 0x0 PM1_STS = 0x2000 PM1_CNT = 0x0 GEN_PMCON1 = 0x1001808 romstage_main_continue: prev_sleep_state = S0 Baytrail Chip Variant: Bay Trail-I (ISG/embedded) MRC v0.102 1 channels of DDR3 @ 1066MHz CBMEM: IMD: root @ 7adff000 254 entries. IMD: root @ 7adfec00 62 entries. FMAP: Found "FLASH" version 1.1 at 500000. FMAP: base = ff800000 size = 800000 #areas = 3 SMM Memory Map SMRAM : 0x7b000000 0x800000 Subregion 0: 0x7b000000 0x700000 Subregion 1: 0x7b700000 0x100000 Subregion 2: 0x7b800000 0x0 CBFS: 'Master Header Locator' located CBFS at [500200:800000) CBFS: Locating 'fallback/ramstage' CBFS: Found @ offset 2ca80 size ef16
coreboot-4.10-984-gdd4c625469-dirty Mon Oct 14 18:32:09 UTC 2019 ramstage starting (log level: 7)... Moving GDT to 7adfe900...ok BS: BS_PRE_DEVICE times (us): entry 0 run 2 exit 0 CBFS: 'Master Header Locator' located CBFS at [500200:800000) CBFS: Locating 'cpu_microcode_blob.bin' CBFS: Found @ offset 1fe00 size cc00 microcode: sig=0x30679 pf=0x1 revision=0x90c CPUID: 00030679 Cores: 2
However, when there is a hard reset by the SeaBIOS when there is no bootable device found, I get the complete logs since the romstage.
No bootable device. Retrying in 60 seconds. Rebooting. In resume (status=0) In 32bit resume Attempting a hard reboot ACPI hard reset 1:cf9 (6)
coreboot-4.10-984-gdd4c625469-dirty Mon Oct 14 18:32:09 UTC 2019 romstage starting (log level: 7)... <--- This logs does not appear in the first case.
Can someone please help understand this behaviour as why on the first boot, no ramstage log appears and then each successive reset I get the romstage logs, but not in the first boot.
Previous sleep state reported in the logs in both the cases is S0. Am I just missing the logs or there is indeed something happening under the hood?
Regards, Naveen