charlie: use bitmap bootsplash

SeaBIOS can't display jpegs correctly, still.
master
Michele Guerini Rocco 2021-01-16 13:12:33 +01:00
parent 06f985b215
commit 8aa619fadf
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450
4 changed files with 9 additions and 21 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@ -20,17 +20,12 @@ pkgs.callPackage ../../coreboot.nix {
};
# display
bootsplash = true;
generic-linear-framebuffer = true;
linear-framebuffer = {
max-width = 1024;
max-width = 1366;
max-height = 768;
};
# custom bootsplash
bootsplash-image = true;
bootsplash-file = ./bootsplash.jpg;
# payload
seabios = {
revision = true;
@ -50,4 +45,9 @@ pkgs.callPackage ../../coreboot.nix {
use-me-cleaner = true;
};
postCommands = ''
# add SeaBios BMP bootsplash
./build/cbfstool build/coreboot.rom add -f ${./bootsplash.bmp} -c lzma -n bootsplash.bmp.lzma -t raw
'';
}

View File

@ -2,28 +2,16 @@
pkgs.callPackage ../../coreboot.nix {
# last known good
rev = "d8bc5c127ad13ed0475bbf7465f6ba56a5fa34ee";
rev = "4bd69273882c66667590f098f2b9bb916b6c1a44";
sources = pkgs.callPackage ../charlie/sources.nix { };
conf = {
# display
bootsplash = true;
generic-linear-framebuffer = true;
linear-framebuffer = {
max-width = 1366;
max-height = 768;
};
# custom bootsplash
bootsplash-image = true;
bootsplash-file = ../charlie/bootsplash.jpg;
# payload
seabios = {
revision = true;
revision_id = "ef88eeaf052c8a7d28c5f85e790c5e45bcffa45e";
revision-id = "ef88eeaf052c8a7d28c5f85e790c5e45bcffa45e";
debug-level = 3;
};
};
}