-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
On the latest Ubuntu release (20.10) I did the following:
- Install all of the build dependencies.
- Built the boot stub by running:
cmake -GNinja -DLOADER_TARGET=aarch64 ..
ninja
- Tried to build the image with
build_imagelike this:
./zloader/build/tools/build_image -o foo-unsigned.efi -s ./zloader/build/zloaderaa64.efi.stub -l /boot/vmlinux-5.13.0-19-generic -i /boot/initrd.img-5.13.0-19-generic -c ./cmdline.txt -O /etc/os-release
The above step fails with:
build_image: /root/zloader/tools/build_image.c:468: int main(int, char **): Assertion `filesize < mem.size' failed.
The following files are located in the attached zips for your reference:
- The built
zloaderaa64.efi.stub - The kernel image
vmlinux-5.13.0-19-generic - The initrd
initrd.img-5.13.0-19-generic - The cmdline
cmdline.txt - The os-release file
os-release
Metadata
Metadata
Assignees
Labels
No labels