merge/skulls

Bootsplash

Opened this issue · 1 comments

If it's possible, I'd like to have a picture of an animal as bootsplash. I have saved my bootspash.jpg according to the seabios rules from Wolfgang's channel. But when I try to modify the rom for the top IC by the following methods, I get errors:

$ cbfstool x230_coreboot_seabios_free_xxxxxx_top.rom remove -n bootsplash.jpg
E: FMAP records image size as 12582912, but file is only 4194304 bytes (did something truncate this file?)
$ cbfstool x230_coreboot_seabios_free_xxxxxx_top.rom add -f ~/path/to/bootsplash.jpg -n bootsplash.jpg -t raw
E: FMAP records image size as 12582912, but file is only 4194304 bytes (did something truncate this file?)

What's the easiest way to get it into an image?

merge commented

the problem is that the 4M file we provide here is "brutally" cut off from the rest of the (in total) 12M file. This is just because the other 8M don't include information that Skulls generates or needs. Here however, you indeed should first read a full 12M file from your flash chip first, and work with that one, using cbfstool. So do the flashrom -r step first and use your actual flash 12M data.