aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/csysimg.h
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/csysimg.h
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/csysimg.h')
-rw-r--r--tools/firmware-utils/src/csysimg.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/tools/firmware-utils/src/csysimg.h b/tools/firmware-utils/src/csysimg.h
deleted file mode 100644
index 1214c7dee4..0000000000
--- a/tools/firmware-utils/src/csysimg.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- *
- * Copyright (C) 2007,2009 Gabor Juhos <juhosg@openwrt.org>
- *
- * This program was based on the code found in various Linux
- * source tarballs released by Edimax for it's devices.
- * Original author: David Hsu <davidhsu@realtek.com.tw>
- */
-
-#define SIG_LEN 4
-
-#define ADM_CODE_ADDR 0x80500000
-#define ADM_WEBP_ADDR 0x10000
-#define ADM_WEBP_SIZE 0x10000
-#define ADM_BOOT_SIZE 0x8000
-#define ADM_CONF_SIZE 0x8000
-#define ADM_BOOT_SIG "\x00\x60\x1A\x40"
-
-
-/*
- * Generic signatures
- */
-#define SIG_CSYS "CSYS"
-#define SIG_CONF "HS\x00\x00"
-#define SIG_BOOT_RTL "\x00\x00\x40\x21"
-
-/*
- * Web page signatures
- */
-#define SIG_BR6104K "WB4K"
-#define SIG_BR6104KP "WBKP"
-#define SIG_BR6104Wg "WBGW"
-#define SIG_BR6104IPC "WBIP"
-#define SIG_BR6114WG SIG_BR6104IPC
-#define SIG_BR6524K "2-K-"
-#define SIG_BR6524KP "2-KP" /* FIXME: valid? */
-#define SIG_BR6524N "WNRA"
-#define SIG_BR6524WG "2-WG" /* FIXME: valid? */
-#define SIG_BR6524WP "2-WP" /* FIXME: valid? */
-#define SIG_BR6541K "4--K"
-#define SIG_BR6541KP "4-KP" /* FIXME: valid? */
-#define SIG_BR6541WP "4-WP" /* FIXME: valid? */
-#define SIG_C54BSR4 SIG_BR6104IPC
-#define SIG_EW7207APg "EWAS"
-#define SIG_PS1205UWg "4000"
-#define SIG_PS3205U "5010"
-#define SIG_PS3205UWg "5011"
-#define SIG_RALINK "RNRA"
-#define SIG_5GXI "5GXI" /* fake signature */
-
-#define SIG_H2BR4 SIG_BR6524K
-#define SIG_H2WR54G SIG_BR6524WG
-
-#define SIG_XRT401D SIG_BR6104K
-#define SIG_XRT402D SIG_BR6524K
-
-/*
- * CSYS image file header
- */
-struct csys_header {
- unsigned char sig[SIG_LEN];
- uint32_t addr;
- uint32_t size;
-};