summaryrefslogtreecommitdiff
path: root/kflash.sh
AgeCommit message (Collapse)Author
2020-02-26Add a kflash.sh flashing scriptLaurent Pinchart
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>