diff options
author | Andrei Cherechesu | 2022-06-30 17:00:26 +0300 |
---|---|---|
committer | Stefano Stabellini | 2022-07-06 17:58:34 -0700 |
commit | 549612d07a18add36e665ff48f094076c9653eaf (patch) | |
tree | 0f2cf7e25d024b9c18b69a284bcb674e4546669e /docker-extras/imagebuilder_tftp | |
parent | 8080718b8a8c94841155ead67bfb22cbd8e4840f (diff) |
scripts: Add support for prepending path to file names
Added support for prepending path to file names in the final generated
u-boot script, for the use-case where we have the files in a separate
folder that can be accessed with a given $LOAD_CMD.
For example, we can have "fatload mmc 0:2" as LOAD_CMD but the
files would need to be loaded from the /boot folder within the 2nd
partition, not from the root ("/"). By specifying the "-p <path>"
parameter when running the script, paths like "/boot" can be
automatically prepended to the generated u-boot commands used
to load the files in board's memory.
Also added the support to disk_image script, to enable generating
a FAT partition with the binaries deployed in a custom folder
within it, if the "-p" parameter is specified.
Signed-off-by: Andrei Cherechesu <andrei.cherechesu@nxp.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'docker-extras/imagebuilder_tftp')
0 files changed, 0 insertions, 0 deletions