| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
In some distros (like RHEL 6 and 7), file identifies the device tree
blobs (DTBs) as "data". To make imagebuilder work on these older
distros, change it where DTBs are correctly identified as "Device Tree
Blob" or "data".
Signed-off-by: Brian Woods <brian.woods@xilinx.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
|
|
|
|
|
|
|
|
|
| |
clk_ignore_unused reduces clock related errors and warning on many
platforms. It looks like a safer default to have.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
CC: woods@xilinx.com
CC: izhar.ameer.shaikh@xilinx.com
|
|
|
|
|
|
|
|
|
|
| |
Use stat -L and file -L so that the two tools follow symlinks correctly.
Also fix an error in check_file_type: the error function is called
cleanup_and_return_err, not clean_up_and_err_out.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Brian Woods <brian.woods@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
Introduce a -o command line option for uboot-script-gen to be able to
easily specify the output filename for the uboot script and the uboot
script source.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Signed-off-by: Brian Woods <brian.woods@xilinx.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
|
|
|
|
|
|
| |
To account for configurations with larger rootfses.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
The boot script files would still be generated even if the files used
in the config don't exist. This checks to make sure the files exist
and if they don't, it exits and errs out.
Signed-off-by: Brian Woods <brian.woods@xilinx.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some versions of the file command and Xen will output:
xen: Linux kernel ARM boot executable zImage (little-endian)
and executables that file doesn't recognize are simply classified as
"data." So changing "MS-DOS executable" to "executable" and or'ing that
with "data" should increase coverage without making the check useless.
Suggested-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Brian Woods <brian.woods@xilinx.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
|
|
|
|
|
|
|
|
| |
Currently there are tmp files left after the script is run. This keeps
track of the files and deletes them when exiting.
Signed-of-by: Brian Woods <brian.woods@xilinx.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
|
|
|
|
|
|
|
|
|
| |
There was a mixure of spaces and tabs in the help message of
uboot-script-gen. Fix it to only use tabs like disk_image's help
message.
Signed-off-by: Brian Woods <brian.woods@xilinx.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
|
|
|
|
| |
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add some simple command line arguments and some dependency checking that
makes running this outside of a container much easier. The environment
variable LOAD_CMD has been removed and all the config options are done
via command line arguemtnt for consistency.
Signed-off-by: Brian Woods <brian.woods@xilinx.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
|
|
|
|
| |
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
|
|
|
|
| |
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
|
|
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
|