I am trying to boot Coreboot on Apollolake (Gordon Peak) MRB board. I have been 
able to build and flash the binary and it starts to boot but hangs in FSP 
memory initialization. 

As per the documents I have, the board has an LPDDR4 memory module. So I dumped 
the MRC settings from the boot loader that was already running on the board and 
configured UPD to match it but did not have any success. Now I have run out of 
options. Can anyone help here?

Below is the log from serial console:

coreboot-4.9-1001-g285ae69-dirty Wed Mar 13 06:58:21 UTC 2019 bootblock 
starting (log level: 8)...
FMAP: Found "FLASH" version 1.1 at 321000.
FMAP: base = 0 size = 800000 #areas = 11
FMAP: area COREBOOT found @ 321800 (3145728 bytes)
CBFS @ 321800 size 300000
CBFS: 'IAFW Locator' located CBFS at [321800:621800)
CBFS: Locating 'fallback/romstage'
CBFS: Found @ offset 80 size 8914


coreboot-4.9-1001-g285ae69-dirty Wed Mar 13 06:58:21 UTC 2019 romstage starting 
(log level: 8)...
pm1_sts: 0000 pm1_en: 0000 pm1_cnt: 00000000
gpe0_sts[0]: 00000000 gpe0_en[0]: 00000000
gpe0_sts[1]: 00000000 gpe0_en[1]: 00000000
gpe0_sts[2]: 00000000 gpe0_en[2]: 00000000
gpe0_sts[3]: 00000000 gpe0_en[3]: 00000000
prsts: 00000000
tco_sts:   0000 0000
gen_pmcon1: 08004004 gen_pmcon2: 00003a00 gen_pmcon3: 00000000
prev_sleep_state 5
FMAP: Found "FLASH" version 1.1 at 321000.
FMAP: base = 0 size = 800000 #areas = 11
FMAP: area COREBOOT found @ 321800 (3145728 bytes)
CBFS @ 321800 size 300000
CBFS: 'IAFW Locator' located CBFS at [321800:621800)
CBFS: Locating 'fspm.bin'
CBFS: Found @ offset 27500 size 59000
Spec version: v2.0
Revision: 1.4.3, Build Number 1
Type: release/test
image ID: $APLFSP$, base 0xfef40000 + 0x59000
        Config region        0x124 + 0x200
        Memory init offset   0x3f0
POST: 0x34
FMAP: area RW_MRC_CACHE found @ 631800 (65536 bytes)
MRC: no data in 'RW_MRC_CACHE'
bootmode is set to :0
FMAP: area RW_VAR_MRC_CACHE found @ 641800 (4096 bytes)
MRC: no data in 'RW_VAR_MRC_CACHE'
POST: 0x36
Architectural UPD values for MemoryInit at: 0xfef044d0
  0x01: Revision
  0x00000000: NvsBufferPtr
  0xfef16000 --> 0xfef96000: StackBase
  0x0002a000: StackSize
  0x00000000 --> 0x00002000: BootLoaderTolumSize
  0x00000000: BootMode
UPD values for MemoryInit:
fef044b0: 41 50 4c 55 50 44 5f 4d 01 00 00 00 00 00 00 00  APLUPD_M........
fef044c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
fef044d0: 01 00 00 00 00 00 00 00 00 60 f9 fe 00 a0 02 00  .........`......
fef044e0: 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00  . ..............
fef044f0: 00 00 00 00 02 02 02 00 01 02 01 03 00 01 0b 01  ................
fef04500: 00 00 01 02 36 00 09 00 00 00 01 00 00 18 00 00  ....6...........
fef04510: 00 00 00 00 00 03 01 02 03 00 00 00 00 03 01 02  ................
fef04520: 03 00 00 00 00 03 01 02 03 00 00 00 00 03 01 02  ................
fef04530: 03 00 00 00 00 00 00 00 09 0e 0c 0d 0a 0b 08 0f  ................
fef04540: 05 06 01 00 02 07 04 03 1a 1f 1c 1b 1d 19 18 1e  ................
fef04550: 14 16 17 11 12 13 10 15 06 07 05 04 03 01 00 02  ................
fef04560: 0c 0a 0b 0d 0e 08 09 0f 14 10 16 15 12 11 13 17  ................
fef04570: 1e 1c 1d 19 18 1a 1b 1f 0f 09 08 0b 0c 0d 0e 0a  ................
fef04580: 05 02 00 03 06 07 01 04 19 1c 1e 1f 1a 1b 18 1d  ................
fef04590: 14 17 16 15 12 13 10 11 03 04 06 05 00 01 02 07  ................
fef045a0: 0b 0a 08 09 0e 0c 0f 0d 11 17 13 10 15 16 14 12  ................
fef045b0: 1c 1d 1a 19 1e 1b 18 1f 00 00 00 00 00 00 00 00  ................
fef045c0: 00 00 00 00 00 00 00 00 00 01 00 00 00 00 d0 7a  ...............z
fef045d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
fef045e0: 00 00 00 00 00 01 03 01 04 00 01 01 00 00 00 00  ................
fef045f0: 00 00 00 00 01 00 02 01 01 00 00 00 00 00 00 00  ................
fef04600: 00 28 f4 ff 00 00 00 00 00 00 00 00 00 00 00 00  .(..............
fef04610: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
...
fef046a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa 55  ...............U
Calling FspMemoryInit: 0xfef403f0
        0xfef044b0: raminit_upd
        0xfef05668: &hob_list_ptr
POST: 0x92
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to