aboutsummaryrefslogtreecommitdiff
path: root/scripts/imagebuilder_sd
diff options
context:
space:
mode:
authorBrian Woods2019-10-22 18:38:57 -0700
committerStefano Stabellini2019-10-23 10:28:11 -0700
commit06d92ee94ba7fa805b83491f7e408ad5b1b46ad4 (patch)
treee628fb79d143679156dc7f3dcaad76c13f332eea /scripts/imagebuilder_sd
parent4eb6ba90286ae298c536fcee95832c592be3661c (diff)
Add command line arguments for uboot-script-gen
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>
Diffstat (limited to 'scripts/imagebuilder_sd')
-rw-r--r--scripts/imagebuilder_sd3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/imagebuilder_sd b/scripts/imagebuilder_sd
index fc00716..460746e 100644
--- a/scripts/imagebuilder_sd
+++ b/scripts/imagebuilder_sd
@@ -5,6 +5,5 @@ mkdir /tmp/output
cp config /tmp/output
cp -r /home/builder/output/* /tmp/output
cd /tmp/output
-export LOAD_CMD="load scsi 0:1"
-bash /uboot-script-gen ./config
+bash /uboot-script-gen -c ./config -d ./ -t sd
bash /disk_image