Commit Graph

64 Commits

Author SHA1 Message Date
Andreas Müller
496883ea76 card-helpers.inc: Show more proper sizes
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2022-01-03 19:55:55 +01:00
Andreas Müller
537184d597 machine-raspberrypi: Avoid unwanted entries
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-12-28 17:56:34 +01:00
Andreas Müller
5c18f09d97 machine-raspberrypi: Make card-write compatible to meta-raspberrypi's wic
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-12-28 12:17:58 +01:00
Andreas Müller
4c3d75c89a scripts/update-recipe-checksums.sh: Fix by ignoring quotes in output
The have been introduced recently and turned our search and replace to noop

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-08-17 16:42:45 +02:00
Andreas Müller
715ae745b6 card-helpers: Add hint for tired users running non matching card-write scripts
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-05-04 23:03:00 +02:00
Andreas Müller
1e88143ba8 update-recipe-checksums.sh: error out immediately in case of missing recipe
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-05-15 12:35:00 +02:00
Andreas Müller
2442ec1ee0 update-recipe-checksums.sh: add optional -d param to set directory
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-18 00:59:34 +02:00
Andreas Müller
56b6d11605 scripts: prepare scipts to write bbone images based upon wic
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-09-19 12:43:58 +02:00
Andreas Müller
5ee9a3271c update-recipe-checksums.sh: accept multiple recipes
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-01-23 23:30:15 +01:00
Andreas Müller
55364ea08a documenatation tweaks
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-13 10:56:24 +01:00
Andreas Müller
5d44dfa7da update-recipe-checksums: error out in case not target is set
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-10 19:20:27 +01:00
Andreas Müller
510be13ce3 card-helpers.inc: Use bitbake environment to find images/kernels..
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-09 12:10:20 +01:00
Andreas Müller
23fedc9c41 update-recipe-checksums.sh: rework
* replace for loop by while -> immediate response
* Ask bitbake for location of recipes

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-09 11:45:48 +01:00
Andreas Müller
c218f591ad common-helpers.inc: Add GetBitbakeEnvVar
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-09 11:44:24 +01:00
Andreas Müller
addde18883 Add update-recipe-checksums.sh for automatic checksum alignment on bulk bumb
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-09 00:35:56 +01:00
Andreas Müller
e345196eb4 README-SDCard-write: this and that
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-13 14:36:37 +02:00
Andreas Müller
c6b6d8caf5 card-scripts: rework requisites
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-12 18:01:40 +02:00
Andreas Müller
2b19d4d6fb card-kernel-write: Remove redundancies / add doc
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-12 17:49:56 +02:00
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
68445ff3af ti-old-omap-card-kernel-write-overo.sh: rework override
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-12 16:37:26 +02:00
Andreas Müller
5502771ef4 Add card script doc
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-12 16:36:26 +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
df84197a3f Fix previous fix - was pushed too early
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-10 17:48:41 +02:00
Andreas Müller
34904adb9d ti-old-omap-card-part: Fix some late-night crap
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-10 17:46:30 +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