From 743cd04edb63ddb4067eaf22e8a7b75ac2c2c305 Mon Sep 17 00:00:00 2001 From: Victor Mayoral Vilches Date: Thu, 2 Sep 2021 16:52:10 -0700 Subject: Add support for including files in first partition Add NUM_BOOT_AUX_FILE and BOOT_AUX_FILE[n] so that the user can add a number of files to the first partition with disk_image. This is useful for firmware files etc. Signed-off-by: VĂ­ctor Mayoral Vilches Signed-off-by: Brian Woods Reviewed-by: Stefano Stabellini Signed-off-by: Stefano Stabellini --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index d8bfc32..dd9edc5 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,10 @@ DOMU_RAMDISK[1]="zynqmp-dom2/domU-ramdisk.cpio" DOMU_MEM[1]=512 DOMU_VCPUS[1]=1 +NUM_BOOT_AUX_FILE=2 +BOOT_AUX_FILE[0]="BOOT.BIN" +BOOT_AUX_FILE[1]="uboot.cfg" + UBOOT_SOURCE="boot.source" UBOOT_SCRIPT="boot.scr" FDTEDIT="imagebuilder.dtb" @@ -100,6 +104,13 @@ Where: automatically at boot as dom0-less guest. It can still be created later from Dom0. +- NUM_BOOT_AUX_FILE: is optional but if specified tell how many extra + files to include in the first partition with disk_image. Useful for + things like uboot config files, firmware files or other such files. + +- BOOT_AUX_FILE[number]: a list of file(s) to be included in the first + partition. + - UBOOT_SOURCE and UBOOT_SCRIPT specify the output. They are optional as you can pass -o FILENAME to uboot-script-gen as a command line parameter -- cgit v1.2.3