I have trouble making dual fallback/normal image.
I have booting setup with:
coreboot.rom: 512 kB, bootblocksize 930, romsize 524288, offset 0x0
Alignment: 64 bytes
Name Offset Type Size
fallback/romstage 0x0 stage 44154
fallback/coreboot_ram 0xacc0 stage 163868
fallback/payload 0x32d40 payload 33141
(empty) 0x3af00 null 281878
Then I set prefix=normal and set "update existing image" with
menuconfig, after make I have this:
coreboot.rom: 512 kB, bootblocksize 930, romsize 524288, offset 0x0
Alignment: 64 bytes
Name Offset Type Size
normal/romstage 0x0 stage 44314
normal/coreboot_ram 0xad80 stage 163868
normal/payload 0x32e00 payload 33141
(empty) 0x3afc0 null 281686
So.. it wrote over my fallback. Probably not the intention?
I also tried manually to append that normal/romstage with
CONFIG_XIP_ROM_SIZE aligment, but had no success with:
cbfstool coreboot.rom add-stage romstage.elf normal/romstage 0x40000
coreboot.rom: 512 kB, bootblocksize 930, romsize 524288, offset 0x0
Alignment: 64 bytes
Name Offset Type Size
fallback/romstage 0x0 stage 44154
fallback/coreboot_ram 0xacc0 stage 163868
fallback/payload 0x32d40 payload 33141
normal/romstage 0x3af00 stage 48478
(empty) 0x46cc0 null 233302
Any thoughts? My util/cbfstool/ matches current git origin/master.
KM