diff options
author | Leah Rowe <leah@libreboot.org> | 2024-11-18 22:33:26 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-11-19 02:04:50 +0000 |
commit | 747b6514eaf00ac71af475daab98509bf8870b23 (patch) | |
tree | b28c6c1b5bb569ccea44eae8400c06931401fc84 /include/lib.sh | |
parent | 3bf3ef557e4533af1e638b8f25e27c7cde0a418b (diff) |
Add U-Boot x86_64 payload
Currently seems to stall when booted from the GRUB
payload, but works when booted from the SeaBIOS menu.
I also tested it as a standalone payload and it seems
to boot. Will test on hardware next, and start adding
it to more mainboards.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/lib.sh')
-rw-r--r-- | include/lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lib.sh b/include/lib.sh index 9a5faabb..e439ef8b 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -213,7 +213,7 @@ cbfs() fAdd="$2" # file to add fName="$3" # filename when added in CBFS - ccmd="add-payload" && [ $# -gt 3 ] && ccmd="add" + ccmd="add-payload" && [ $# -gt 3 ] && [ $# -lt 5 ] && ccmd="add" lzma="-c lzma" && [ $# -gt 3 ] && [ $# -lt 5 ] && lzma="-t $4" # hack. TODO: do it better. this whole function is cursed |