Age | Commit message (Collapse) | Author |
|
lsblk doesn't require root permisions.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
If the partition table doesn't support labels, use the filesystem label
as a fallback.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
When checking labels for flash partitions, the partition device is
created with an incorrect (and unset) variable name for the partition
index. Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Add support for overriding the image file name, using the same mechanism
as for DTB files. The 'image' parameter can specify both the image make
target and image destination file name, separated by a ':'. If no ':' is
found, the image make target is used as the image destination file name.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
The --partitions argument can be used to select which partitions to
flash. By default kflash will flash all partitions defined in the
platform file.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
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>
|