Andreas Müller
f490e77e8e
card-helpers.inc: Fix typ in comment
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-12 16:38:02 +02:00
Andreas Müller
f14ea45485
card-kernel-scripts: Get rid of DEFAULT_FIND_KERNEL
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-12 15:51:54 +02:00
Andreas Müller
465800b0bb
Implemd card kernel write scripts for good old TI boards
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-12 14:00:02 +02:00
Andreas Müller
c933b6f81d
machine-ti-old-omap.inc: Fix image name to search fo
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-10 18:01:12 +02:00
Andreas Müller
4f112d1c41
card-helpers.inc: Output a better default message for card part case
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-10 17:53:17 +02:00
Andreas Müller
a85c9745c6
Enhance card write/part scripts
...
* Check for partion table: If the desired is not found, write it
* Split resize commands so that an error can be identified better.
* Replay sync by dd's oflag=nocache
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-06 15:54:56 +02:00
Andreas Müller
1662dbec7e
card-helpers.inc: show file sizes in SelectDeployedFile
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-06 12:57:25 +02:00
Andreas Müller
ba59349068
common-helpers.inc/EvalEx: Output command which caused the error
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-05 14:36:47 +02:00
Andreas Müller
603d249fe3
card-helpers.inc: Display sizes and implement a rudimentary size check
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-05 14:26:58 +02:00
Andreas Müller
49edcb3192
scripts/raspberrypi: Fix card-kernel-write
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 15:23:40 +02:00
Andreas Müller
d5d561fc73
scripts/kernel-write: group output for devicetree files
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 14:34:08 +02:00
Andreas Müller
90f4bdabb2
common-helpers.inc: yet a another EvalEx(Auto) rework
...
* EvalEx: ensure a command is found in first parameter
* EvalExAuto: remove linefeeds on end messages
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 14:22:28 +02:00
Andreas Müller
232c4d3037
card-helpers.inc: Choose a more generic title for SelectDeployedFile
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 14:19:14 +02:00
Andreas Müller
425b5ae3b5
card-helpers.inc: rework last exit messages
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 13:45:47 +02:00
Andreas Müller
b6556eac05
card-helpers.inc: rework common script parameter handling
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 13:34:29 +02:00
Andreas Müller
7ee6d9c3c4
card-helpers.inc: Add filename which is going to be written in final message
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 13:34:29 +02:00
Andreas Müller
8a19ad108e
card-helpers.inc: Minor cleanup
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 13:12:51 +02:00
Andreas Müller
a18e1921e7
card-helpers.inc / selection-dialogs rework
...
* do not rely on /tmp. BTW I tried the redirect of stderr thingy to get dialog
selection into variable without temporary file but that did not work: dialogs
were not displayed anymore.
* cleanup menuitem to avoid confusion
* SelectSuSudo stores selection in SuSudoSelection and does not open dialog in
case SuSudoSelection is already set
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 13:12:26 +02:00
Andreas Müller
794462b8ea
card-helpers.inc: polish comments
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 11:59:02 +02:00
Andreas Müller
dc4c8f7421
card-helpers.inc: rework EnsureUnmount
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 11:59:02 +02:00
Andreas Müller
b95e8eabb2
scripts: minor prettification
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 23:35:24 +02:00
Andreas Müller
8bf79ed118
scripts/ti-old-omap: Use EvalExAuto / prepare card-kernel-write
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 23:26:43 +02:00
Andreas Müller
84344f5aec
scripts: use EvaExAuto for imx/raspi
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 22:32:21 +02:00
Andreas Müller
5c205225d4
common-helpers.inc: Some ErrorOut / EvalEx rework
...
* ErrorOut outputs to stderr
* Start message is magenta now
* Add EvalExAuto which creates end messages from first word in start message
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 22:14:59 +02:00
Andreas Müller
0fc0a4a9cd
scripts: rename ExecEx -> EvalEx
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 21:31:00 +02:00
Andreas Müller
0dbb955a94
card-write: Apply error-handling/logging to raspi kernel write
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 17:25:46 +02:00
Andreas Müller
541ead999f
card-write/machine-imx.inc: Fix kernel copy to /boot
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 16:55:00 +02:00
Andreas Müller
f898e1f316
card-write/machine-imx.inc: re-add linefeed per devicetree file
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 16:54:12 +02:00
Andreas Müller
62ce7912fa
Add/modify functions for enhanced error-handling/logging + fix spaces in variables
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 16:31:55 +02:00
Andreas Müller
ca5f873b08
Rewrite of card scripts completely
...
Reduce the card specific code to what's needed.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 09:58:24 +02:00