charlie: use bitmap bootsplash
SeaBIOS can't display jpegs correctly, still.
This commit is contained in:
parent
06f985b215
commit
8aa619fadf
BIN
systems/charlie/bootsplash.bmp
Normal file
BIN
systems/charlie/bootsplash.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 MiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
@ -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
|
||||
'';
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user