From f6199342722c64a283d006b473b43918e93b4119 Mon Sep 17 00:00:00 2001 From: Andrei Cherechesu Date: Wed, 27 Jul 2022 13:08:27 -0700 Subject: Added the parsing for APPEND_EXTRA_CMDS variable, which enables the user to specify the path to a text file that contains, on each line, u-boot commands that will be added to the generated script as "fixups", before the boot command. The file specified by the APPEND_EXTRA_CMDS variable parameter will be copied as-is in the generated script. Signed-off-by: Andrei Cherechesu Signed-off-by: Stefano Stabellini Reviewed-by: Stefano Stabellini --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index cb15ca5..3566a6d 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ BOOT_AUX_FILE[1]="uboot.cfg" UBOOT_SOURCE="boot.source" UBOOT_SCRIPT="boot.scr" +APPEND_EXTRA_CMDS="extra.txt" FDTEDIT="imagebuilder.dtb" FIT="boot.fit" FIT_ENC_KEY_DIR="dir/key" @@ -197,6 +198,10 @@ Where: as you can pass -o FILENAME to uboot-script-gen as a command line parameter +- APPEND_EXTRA_CMDS: is optional and specifies the path to a text file + containing extra u-boot commands to be added to the boot script before + the boot command. Useful for running custom fixup commands. + - FDTEDIT is an optional and is off by default. Specifies the output modified dtb, used for reference and fdt_std. -- cgit v1.2.3