summaryrefslogtreecommitdiff
path: root/kflash.sh
AgeCommit message (Collapse)Author
2020-09-02Support overriding the image file nameLaurent Pinchart
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>
2020-09-02kflash: Add argument to select which partitions to flashLaurent Pinchart
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>
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>