Commit Graph

15 Commits

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>
2020-05-24 14:44:00 +02:00
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>
2020-05-24 14:44:00 +02:00
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>
2019-07-26 08:09:16 +02:00
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>
2019-02-28 11:32:55 +01:00
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>
2018-03-18 22:22:38 +01:00
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>
2017-05-02 14:33:58 +02:00
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
2014-10-14 12:21:11 +00:00
Florian Fainelli
27fc94ff52 make flashing scripts executable
SVN-Revision: 21958
2010-06-26 22:18:15 +00:00
Jose Vasconcellos
6e22a2bb4f Add check for IXP42x A0 stepping.
SVN-Revision: 15013
2009-03-24 12:24:06 +00:00
Nicolas Thill
8a253e1ac1 adam2flash: fix 'Interrupted system call' error when flashing (closes: #4490, thanks oliver)
SVN-Revision: 14344
2009-02-01 17:36:07 +00:00
Jose Vasconcellos
9a74dd2faa Added support WRV54G.
SVN-Revision: 14186
2009-01-25 20:42:03 +00:00
Jose Vasconcellos
f30bf8cbd4 Fix to wait for internal http server to complete transfer. Rework and simplify command line options.
SVN-Revision: 14098
2009-01-18 18:38:32 +00:00
Jose Vasconcellos
435790e112 Fix parsing of password option; set timeout for writing.
SVN-Revision: 14046
2009-01-15 22:05:10 +00:00
Florian Fainelli
d8df4c38a8 Also move jungo-image.py to scripts/flashing
SVN-Revision: 13675
2008-12-17 13:50:04 +00:00
Florian Fainelli
dd4eef0468 Move flashing scripts to scripts/flashing/
SVN-Revision: 13674
2008-12-17 13:35:14 +00:00