scripts: make eva_ramboot.py offset configurable
authorDavid Bauer <mail@david-bauer.net>
Mon, 18 Feb 2019 22:58:32 +0000 (23:58 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 28 Feb 2019 10:32:55 +0000 (11:32 +0100)
commite7bc8984d9ca348b19551c79c6589aab260e7544
treea119b7ea71225dcffaa748893522187fc25f3a0a
parent18e942b6c4e51a5a717a121697a63f3f98d93b19
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>
scripts/flashing/eva_ramboot.py