Hi again,
coreboot-4.8-2282-gc88828daeb Mon Nov 26 09:56:26 UTC 2018 bootblock starting...
Boot mode: 15
Couldn't load romstage.
I just tried the same version (coreboot-4.8-2282-gc88828daeb), and it
worked, both with a 1 MiB coreboot image and a 32 MiB coreboot image:
coreboot-4.8-2282-gc88828daeb Mon Nov 26 09:56:26 UTC 2018 bootblock starting...
Boot mode: 15
CBFS: 'Master Header Locator' located CBFS at [20100:2000000)
CBFS: Locating 'fallback/romstage'
CBFS: Found @ offset 80 size 2dca
CBMEM:ot-4.8-2282-gc88828daeb Mon Nov 26 09:56:26 UTC 2018 romstage starting...
IMD: root @ 000000027ffff000 254 entries.
IMD: root @ 000000027fffec00 62 entries.
CBFS: 'Master Header Locator' located CBFS at [20100:2000000)
CBFS: Locating 'fallback/ramstage'
CBFS: Found @ offset 2ec0 size 532f
coreboot-4.8-2282-gc88828daeb Mon Nov 26 09:56:26 UTC 2018 ramstage starting...
BS: BS_PRE_DEVICE times (us): entry 0 run 0 exit 1
BS: BS_DEV_INIT_CHIPS times (us): entry 1 run 0 exit 0
Enumerating buses...
CPU_CLUSTER: 0 enabled
scan_bus: scanning of bus Root Device took 2050 usecs
done
BS: BS_DEV_ENUMERATE times (us): entry 1 run 9289 exit 1
Allocating resources...
Reading resources...
CPU_CLUSTER: 0 missing read_resources
Done reading resources.
Setting resources...
Done setting resources.
Done allocating resources.
BS: BS_DEV_RESOURCES times (us): entry 0 run 16149 exit 0
Enabling resources...
done.
BS: BS_DEV_ENABLE times (us): entry 0 run 2605 exit 0
Initializing devices...
Root Device init ...
Root Device init finished in 1910 usecs
Devices initialized
BS: BS_DEV_INIT times (us): entry 0 run 9464 exit 0
Finalize devices...
Devices finalized
BS: BS_POST_DEVICE times (us): entry 0 run 3473 exit 0
BS: BS_OS_RESUME_CHECK times (us): entry 0 run 1 exit 0
Writing coreboot table at 0x27ffdc000
0. 0000000080000000-0000000080011fff: RAMSTAGE
1. 0000000080012000-000000008003ffff: RAM
2. 0000000080040000-0000000080044fff: RAMSTAGE
3. 0000000080045000-000000027ffdbfff: RAM
4. 000000027ffdc000-000000027fffffff: CONFIGURATION TABLES
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080000de2
Bad address: 000000027ffdc0f4
Stored ra: 0000000080000d36
Stored sp: 0000000080040ec8
CBFS: 'Master Header Locator' located CBFS at [20100:2000000)
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080000d6a
Bad address: 000000027ffdc10c
Stored ra: 0000000080000d66
Stored sp: 0000000080040ec8
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080000d6e
Bad address: 000000027ffdc114
Stored ra: 0000000080000d66
Stored sp: 0000000080040ec8
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080000d74
Bad address: 000000027ffdc11c
Stored ra: 0000000080000d66
Stored sp: 0000000080040ec8
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080000d7e
Bad address: 000000027ffdc0fc
Stored ra: 0000000080000d66
Stored sp: 0000000080040ec8
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080000d82
Bad address: 000000027ffdc104
Stored ra: 0000000080000d66
Stored sp: 0000000080040ec8
FMAP: Found "FLASH" version 1.1 at 20000.
FMAP: base = 0 size = 2000000 #areas = 4
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080000d8e
Bad address: 000000027ffdc104
Stored ra: 0000000080000d8a
Stored sp: 0000000080040ec8
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080001c68
Bad address: 000000027ffdc124
Stored ra: 0000000080001c66
Stored sp: 0000000080040e58
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080001c72
Bad address: 000000027ffdc12c
Stored ra: 0000000080001c72
Stored sp: 0000000080040e58
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080001c68
Bad address: 000000027ffdc13c
Stored ra: 0000000080001c66
Stored sp: 0000000080040e58
Exception: Store address misaligned
Previous mode: machine
Bad instruction pc: 0000000080001c72
Bad address: 000000027ffdc144
Stored ra: 0000000080001c72
Stored sp: 0000000080040e58
Wrote coreboot table at: 000000027ffdc000, 0x13c bytes, checksum fd30
coreboot table: 340 bytes.
IMD ROOT 0. 000000027ffff000 00001000
IMD SMALL 1. 000000027fffe000 00001000
CONSOLE 2. 000000027ffde000 00020000
COREBOOT 3. 000000027ffdc000 00002000
IMD small region:
IMD ROOT 0. 000000027fffec00 00000400
BS: BS_WRITE_TABLES times (us): entry 0 run 285035 exit 0
CBFS: 'Master Header Locator' located CBFS at [20100:2000000)
CBFS: Locating 'fallback/payload'
CBFS: 'fallback/payload' not found.
Payload not loaded.
One thing I did differently was to program the flash via OpenOCD[1],
rather than from Linux like you did it. Maybe something is broken in
Linux or flashcp?
Jonathan
[1]: https://doc.coreboot.org/mainboard/sifive/hifive-unleashed.html#usb-jtag