Ryan Lahfa
04cb0a9f04
Some checks failed
lint / check (push) Successful in 24s
Check meta / check_meta (pull_request) Failing after 20s
build configuration / build_storage01 (pull_request) Failing after 42s
build configuration / build_compute01 (pull_request) Failing after 43s
build configuration / build_vault01 (pull_request) Failing after 42s
Check meta / check_dns (pull_request) Failing after 1m3s
build configuration / build_web01 (pull_request) Failing after 38s
build configuration / build_web02 (pull_request) Failing after 39s
build configuration / build_rescue01 (pull_request) Failing after 38s
build configuration / push_to_cache (pull_request) Has been skipped
- extraction for manual recovery via nandwrite - liminix rebuild to interactively develop the AP Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
12 lines
318 B
Bash
Executable file
12 lines
318 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p ubootTools
|
|
|
|
usage() {
|
|
echo "extract the firmware part to write it manually from a Zyxel NWA FIT image"
|
|
echo "$0 <zyxel_nwa_fit_image_path> <firmware_output_file>"
|
|
}
|
|
|
|
ZYXEL_NWA_FIT="$1"
|
|
FIRMWARE_OUTPUT="$2"
|
|
|
|
dumpimage -T flat_dt -p 0 $ZYXEL_NWA_FIT -o $FIRMWARE_OUTPUT
|