summaryrefslogtreecommitdiffstats
path: root/scripts/dfuboot.sh
Commit message (Collapse)AuthorAgeFilesLines
* scripts: use #!/usr/bin/env bash shebang instead of #!/bin/bashFlorian Klink2019-12-061-1/+1
| | | | | | | | | | Some distributions might not have bash in /bin, but in $PATH. Using #!/usr/bin/env bash solves this, and is consistent with how the perl and python shebangs look like in the tree. Signed-off-by: Florian Klink <flokli@flokli.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* defaultenv: Add boot option for DFUSascha Hauer2014-02-281-0/+68
DFU is for device firmware upgrade, but for development purposes it's sometmes useful to just start a kernel vie DFU. This adds a boot option for doing this and also the corresponding counterpart on the host. With this it's possible to boot a system with: scripts/dfuboot.sh -k linuximage -d dtb -c "root=ubi0:root ubi.mtd=ubi rootfstype=ubifs ignore_loglevel" Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>