summaryrefslogtreecommitdiff
path: root/config.sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-02-26 03:04:24 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-02-26 03:04:24 +0200
commitda38494a24cda48a0a41b12ae798a7414bda98cc (patch)
tree62ec886ce1579a76560a224e82524f3d21dffd31 /config.sh
parentbd2675a8b0f51d91d65da0101bba13c147cad59b (diff)
Add a kflash.sh flashing script
The script eases flashing a kernel, modules and DT to a removable device. It detects the device based on partition name patterns defined in platform files, performs sanity checks to avoid overwriting system disks (such as making sure none of the target partitions are already mounted), copies files to raw partitions with dd or to file systems with cp or rsync, and beeps when done. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'config.sh')
-rw-r--r--config.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.sh b/config.sh
index d6b6db8..d11551e 100644
--- a/config.sh
+++ b/config.sh
@@ -9,6 +9,12 @@ cross_compile[arm64]=aarch64-buildroot-linux-gnu-
#
# Directories
#
+# Variable name: flash_mount_point
+#
+# Path to a directory where the target disk can be mounted.
+#
+flash_mount_point=/mnt/disk
+#
# Variable name: target_root[]
#
# Path to the root directory of the target file system for each architecture.