merge / skulls

pre-built coreboot images and documentation on how to flash them for Thinkpad Laptops
GNU General Public License v3.0
700 stars 66 forks source link

Bootsplash #252

Open computative opened 1 year ago

computative commented 1 year ago

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 1 year ago

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.