Commit Graph

15 Commits (1634461bd208f4bd108ea5c3d3f1cf9eb56d4a7e)

Author SHA1 Message Date
Rosen Penev 69f8983af4 scripts/flashing/flash.sh: remove trailing whitespaces
Signed-off-by: Rosen Penev <rosenp@gmail.com>
[cut out of patch with different subject]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
4 years ago
Rosen Penev 34a2780395 scripts/flashing/flash.sh: Add missing quotes
These are in if statements (where they should be), and echo output that is
not piped to anything. These should be safe.

Found with shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Petr Štetiar 57bb89b57f scripts/jungo-image: convert to Python 3 with 2-to-3
Let's convert the script to Python 3.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
5 years ago
David Bauer e7bc8984d9 scripts: make eva_ramboot.py offset configurable
The current eva_ramboot.py script is currently only compatible with
Lantiq based AVM devices. For IPQ40xx devices, the offset needs to be
changed. Also an alignment is not necessary here.

Adjust the script to be able to pass an optional offset to load the
image to. In case no offset is provided, the script behaves exactly as
before this commit.

Signed-off-by: David Bauer <mail@david-bauer.net>
5 years ago
Valentin Spreckels 7a303fe5d1 scripts: add EVA ramboot script
Use the EVA bootloader to load a small linux system into the ram and boot
it from there:

  ./scripts/flashing/eva_ramboot.py 192.168.178.1 path/to/initramfs-kernel.bin

Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>
Acked-by: John Crispin <john@phrozen.org>
[reworded commit message]
Signed-off-by: Mathias Kresin <dev@kresin.me>
6 years ago
Bastian Köcher 5378c85677 build: remove absolute path to perl and replace with /usr/bin/env perl
Signed-off-by: Bastian Köcher <git@kchr.de>
7 years ago
John Crispin 20940138ac scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42911
10 years ago
Florian Fainelli 27fc94ff52 make flashing scripts executable
SVN-Revision: 21958
14 years ago
Jose Vasconcellos 6e22a2bb4f Add check for IXP42x A0 stepping.
SVN-Revision: 15013
15 years ago
Nicolas Thill 8a253e1ac1 adam2flash: fix 'Interrupted system call' error when flashing (closes: #4490, thanks oliver)
SVN-Revision: 14344
16 years ago
Jose Vasconcellos 9a74dd2faa Added support WRV54G.
SVN-Revision: 14186
16 years ago
Jose Vasconcellos f30bf8cbd4 Fix to wait for internal http server to complete transfer. Rework and simplify command line options.
SVN-Revision: 14098
16 years ago
Jose Vasconcellos 435790e112 Fix parsing of password option; set timeout for writing.
SVN-Revision: 14046
16 years ago
Florian Fainelli d8df4c38a8 Also move jungo-image.py to scripts/flashing
SVN-Revision: 13675
16 years ago
Florian Fainelli dd4eef0468 Move flashing scripts to scripts/flashing/
SVN-Revision: 13674
16 years ago