aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/imagetag.ggo
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2021-07-05 11:54:26 +0200
committerRafał Miłecki <rafal@milecki.pl>2021-10-05 16:20:10 +0200
commit8cc9a74a3f6bf363645efda6db417f8dadd3d844 (patch)
tree68f1648a077df8e49328f087eccaf94c2e47d1e8 /tools/firmware-utils/src/imagetag.ggo
parentf82c93b93c0a021921ac7a30ba6e7a090c7ddd1c (diff)
downloadupstream-8cc9a74a3f6bf363645efda6db417f8dadd3d844.tar.gz
upstream-8cc9a74a3f6bf363645efda6db417f8dadd3d844.tar.bz2
upstream-8cc9a74a3f6bf363645efda6db417f8dadd3d844.zip
firmware-utils: update to version 2021-10-05
Includes following changes: db65821f006c cmake: fix missing install target 3a0cfc856991 Add initial GitLab CI support 8f47adea6f87 Add missing includes for byte swap operations fbafae9f8037 Convert to CMake based project Additionaly moves source code into separate Git project repository and converts the package build to utilize CMake. Signed-off-by: Petr Štetiar <ynezz@true.cz> [rmilecki: rebase, update to the latest repo git & rm -r src] Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'tools/firmware-utils/src/imagetag.ggo')
-rw-r--r--tools/firmware-utils/src/imagetag.ggo46
1 files changed, 0 insertions, 46 deletions
diff --git a/tools/firmware-utils/src/imagetag.ggo b/tools/firmware-utils/src/imagetag.ggo
deleted file mode 100644
index 7318485293..0000000000
--- a/tools/firmware-utils/src/imagetag.ggo
+++ /dev/null
@@ -1,46 +0,0 @@
-# Command line option parsing generator file for imagetag
-# Supplied-To: gengetopt
-#
-# Copyright 2010 Daniel Dickinson <openwrt@cshore.neomailbox.net>
-#
-# This file is subject to the terms and conditions of the GNU General Public
-# License. See the file "COPYING" in the main directory of this archive
-# for more details.
-#
-
-package "imagetag"
-version "2.0.0"
-purpose "Generate image with CFE imagetag for Broadcom 63xx routers."
-description "Copyright (C) 2008 Axel Gembe
-Copyright (C) 2009-2010 Daniel Dickinson
-Licensed unter the terms of the Gnu General Public License.
-
-Given a root filesystem, a linux kernel, and an optional CFE, generates an image with an imagetag for a Broadcom 63xx-based router. Additional parameters to be specified depend on the specfic brand and model of router."
-args "--file-name=imagetag_cmdline"
-
-option "kernel" i "File with LZMA compressed kernel to include in the image." string typestr="filename" required
-option "rootfs" f "File with RootFS to include in the image." string typestr="filename" required
-option "output" o "Name of output file." string typestr="filename" required
-option "cfe" - "File with CFE to include in the image." string typestr="filename" optional
-option "boardid" b "Board ID to set in the image (must match what router expects, e.g. \"96345GW2\")." string required
-option "chipid" c "Chip ID to set in the image (must match the actual hardware, e.g. \"6345\")." string required
-option "flash-start" s "Flash start address." string typestr="address" optional default="0xBFC00000"
-option "image-offset" n "Offset from start address for the first byte after the CFE (in memory)." string typestr="offset" default="0x10000" optional
-option "tag-version" v "Version number for imagetag format." string default="6" optional
-option "signature" a "Magic string (signature), for boards that need it." string default="Broadcom Corporatio" optional
-option "signature2" m "Second magic string (signature2)." string default="ver. 2.0" optional
-option "block-size" k "Flash erase block size." string optional default="0x10000"
-option "load-addr" l "Kernel load address." string typestr="address" required
-option "entry" e "Address where the kernel entry point will be for booting." string typestr="address" required
-option "layoutver" y "Flash layout version (version 2.2x of the Broadcom code requires this)." string optional
-option "info1" 1 "String for first vendor information section." string optional
-option "altinfo" - "String for vendor information section (alternate/pirelli)." string optional
-option "info2" 2 "String for second vendor information section." string optional
-option "root-first" - "Put the rootfs before the kernel (only for stock images, e.g. captured from the router's flash memory)." flag off
-option "rsa-signature" r "String for RSA Signature section." string optional
-option "second-image-flag" - "Dual Image Flag (2=not-specified)." values="0", "1", "2" default="2" typestr="flag-value" optional
-option "inactive" - "Inactive Flag (2=not-specified)." values="0", "1", "2" default="2" typestr="flag-value" optional
-option "reserved2" - "String for second reserved section." string optional
-option "kernel-file-has-header" - "Indicates that the kernel file includes the kernel header with correct load address and entry point, so no changes are needed" flag off
-option "pad" p "Pad the image to this size if smaller (in MiB)" int typestr="size (in MiB)" optional
-option "align-rootfs" - "Align the rootfs start to erase block size" flag off