firmware-utils: replace GPL 2.0 boilerplate/reference with SPDX
This uses "GPL-2.0-only" header for files identified using scancode license scanner with 100% score as GPL 2.0. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
parent
a0b827b916
commit
f705008d7e
37 changed files with 36 additions and 218 deletions
|
@ -1,21 +1,9 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* add_header.c - partially based on OpenWrt's motorola-bin.c
|
* add_header.c - partially based on OpenWrt's motorola-bin.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
|
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
|
||||||
* Gabor Juhos <juhosg@openwrt.org>
|
* Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License,
|
|
||||||
* version 2 as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _BUFFALO_LIB_H
|
#ifndef _BUFFALO_LIB_H
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* dns313-header.c
|
* dns313-header.c
|
||||||
*
|
*
|
||||||
|
@ -8,7 +9,6 @@
|
||||||
* The DNS313 use the same header on zImage, ramdisk, rootfs.
|
* The DNS313 use the same header on zImage, ramdisk, rootfs.
|
||||||
*
|
*
|
||||||
* Written by Linus Walleij <linus.walleij@linaro.org>
|
* Written by Linus Walleij <linus.walleij@linaro.org>
|
||||||
* License terms: GPLv2
|
|
||||||
*/
|
*/
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2014 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2014 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2012 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2012 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,20 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* mkbrncmdline.c - partially based on OpenWrt's wndr3700.c
|
* mkbrncmdline.c - partially based on OpenWrt's wndr3700.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011 Tobias Diedrich <ranma+openwrt@tdiedrich.de>
|
* Copyright (C) 2011 Tobias Diedrich <ranma+openwrt@tdiedrich.de>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License,
|
|
||||||
* version 2 as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,20 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* mkbrnimg.c - partially based on OpenWrt's wndr3700.c
|
* mkbrnimg.c - partially based on OpenWrt's wndr3700.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011 Tobias Diedrich <ranma+openwrt@tdiedrich.de>
|
* Copyright (C) 2011 Tobias Diedrich <ranma+openwrt@tdiedrich.de>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License,
|
|
||||||
* version 2 as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
||||||
* Copyright (C) 2016 FUKAUMI Naoki <naobsd@gmail.com>
|
* Copyright (C) 2016 FUKAUMI Naoki <naobsd@gmail.com>
|
||||||
*
|
*
|
||||||
* Based on mkdniimg.c
|
* Based on mkdniimg.c
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2012 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2012 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007 OpenWrt.org
|
* Copyright (C) 2007 OpenWrt.org
|
||||||
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License,
|
|
||||||
* version 2 as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* (C) Nicolò Veronese <nicveronese@gmail.com>
|
* (C) Nicolò Veronese <nicveronese@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2016 FUKAUMI Naoki <naobsd@gmail.com>
|
* Copyright (c) 2016 FUKAUMI Naoki <naobsd@gmail.com>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,19 +1,7 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2013 Jeff Kent <jeff@jkent.net>
|
* Copyright (C) 2013 Jeff Kent <jeff@jkent.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
|
||||||
* published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* This tool encrypts and decrypts uImage formatted firmware for Hilink
|
* This tool encrypts and decrypts uImage formatted firmware for Hilink
|
||||||
* HLK-RM04 wireless modules. It will also truncate a dump of mtd6 and make
|
* HLK-RM04 wireless modules. It will also truncate a dump of mtd6 and make
|
||||||
* it an image suitable for flashing via the stock firmware upgrade page.
|
* it an image suitable for flashing via the stock firmware upgrade page.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2015 Thomas Hebb <tommyhebb@gmail.com>
|
* Copyright (C) 2015 Thomas Hebb <tommyhebb@gmail.com>
|
||||||
*
|
*
|
||||||
|
@ -6,11 +7,6 @@
|
||||||
* same purpose. I have created this reimplementation at his request. The
|
* same purpose. I have created this reimplementation at his request. The
|
||||||
* original script can be found at:
|
* original script can be found at:
|
||||||
* <https://github.com/riptidewave93/meraki-partbuilder>
|
* <https://github.com/riptidewave93/meraki-partbuilder>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Builder/viewer/extractor utility for Poray firmware image files
|
* Builder/viewer/extractor utility for Poray firmware image files
|
||||||
*
|
*
|
||||||
|
@ -12,11 +13,6 @@
|
||||||
* Itself based on:
|
* Itself based on:
|
||||||
* TP-Link WR941 V2 firmware checksum fixing tool.
|
* TP-Link WR941 V2 firmware checksum fixing tool.
|
||||||
* Copyright (C) 2008,2009 Wang Jian <lark@linux.net.cn>
|
* Copyright (C) 2008,2009 Wang Jian <lark@linux.net.cn>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* --- ZyXEL header format ---
|
* --- ZyXEL header format ---
|
||||||
* Original Version by Benjamin Berg <benjamin@sipsolutions.net>
|
* Original Version by Benjamin Berg <benjamin@sipsolutions.net>
|
||||||
|
@ -29,11 +30,6 @@
|
||||||
*
|
*
|
||||||
* The checksum for the header is calculated over the first 2048 bytes with
|
* The checksum for the header is calculated over the first 2048 bytes with
|
||||||
* the rootfs image checksum as the placeholder during calculation.
|
* the rootfs image checksum as the placeholder during calculation.
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 OpenWrt.org
|
* Copyright (C) 2014 OpenWrt.org
|
||||||
* Copyright (C) 2014 Mikko Hissa <mikko.hissa@werzek.com>
|
* Copyright (C) 2014 Mikko Hissa <mikko.hissa@werzek.com>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012 OpenWrt.org
|
* Copyright (C) 2012 OpenWrt.org
|
||||||
* Copyright (C) 2012 Mikko Hissa <mikko.hissa@uta.fi>
|
* Copyright (C) 2012 Mikko Hissa <mikko.hissa@uta.fi>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
*
|
||||||
* This tool was based on:
|
* This tool was based on:
|
||||||
* TP-Link WR941 V2 firmware checksum fixing tool.
|
* TP-Link WR941 V2 firmware checksum fixing tool.
|
||||||
* Copyright (C) 2008,2009 Wang Jian <lark@linux.net.cn>
|
* Copyright (C) 2008,2009 Wang Jian <lark@linux.net.cn>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
*
|
||||||
* This tool was based on:
|
* This tool was based on:
|
||||||
* TP-Link WR941 V2 firmware checksum fixing tool.
|
* TP-Link WR941 V2 firmware checksum fixing tool.
|
||||||
* Copyright (C) 2008,2009 Wang Jian <lark@linux.net.cn>
|
* Copyright (C) 2008,2009 Wang Jian <lark@linux.net.cn>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
*
|
||||||
* This tool was based on:
|
* This tool was based on:
|
||||||
* TP-Link WR941 V2 firmware checksum fixing tool.
|
* TP-Link WR941 V2 firmware checksum fixing tool.
|
||||||
* Copyright (C) 2008,2009 Wang Jian <lark@linux.net.cn>
|
* Copyright (C) 2008,2009 Wang Jian <lark@linux.net.cn>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
*
|
||||||
* This tool was based on:
|
* This tool was based on:
|
||||||
* TP-Link WR941 V2 firmware checksum fixing tool.
|
* TP-Link WR941 V2 firmware checksum fixing tool.
|
||||||
* Copyright (C) 2008,2009 Wang Jian <lark@linux.net.cn>
|
* Copyright (C) 2008,2009 Wang Jian <lark@linux.net.cn>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
|
||||||
* Copyright (C) 2016 Stijn Tintel <stijn@linux-ipv6.be>
|
* Copyright (C) 2016 Stijn Tintel <stijn@linux-ipv6.be>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _ANSI_SOURCE
|
#define _ANSI_SOURCE
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,16 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2008 OpenWrt.org
|
* Copyright (C) 2007-2008 OpenWrt.org
|
||||||
* Copyright (C) 2007-2008 Gabor Juhos <juhosg at openwrt.org>
|
* Copyright (C) 2007-2008 Gabor Juhos <juhosg at openwrt.org>
|
||||||
*
|
|
||||||
* This code was based on the information of the ZyXEL's firmware
|
|
||||||
* image format written by Kolja Waschk, can be found at:
|
|
||||||
* http://www.ixo.de/info/zyxel_uclinux
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This code was based on:
|
* This code was based on:
|
||||||
* PC1 Cipher Algorithm ( Pukall Cipher 1 )
|
* PC1 Cipher Algorithm ( Pukall Cipher 1 )
|
||||||
* By Alexander PUKALL 1991
|
* By Alexander PUKALL 1991
|
||||||
|
|
|
@ -1,16 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* uimage_padhdr.c : add zero paddings after the tail of uimage header
|
* uimage_padhdr.c : add zero paddings after the tail of uimage header
|
||||||
*
|
*
|
||||||
* Copyright (C) 2019 NOGUCHI Hiroshi <drvlabo@gmail.com>
|
* Copyright (C) 2019 NOGUCHI Hiroshi <drvlabo@gmail.com>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License,
|
|
||||||
* version 2 as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2014 Soul Trace <S-trace@list.ru>
|
* Copyright (C) 2014 Soul Trace <S-trace@list.ru>
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2008 OpenWrt.org
|
* Copyright (C) 2007-2008 OpenWrt.org
|
||||||
|
@ -6,11 +7,6 @@
|
||||||
* This code was based on the information of the ZyXEL's firmware
|
* This code was based on the information of the ZyXEL's firmware
|
||||||
* image format written by Kolja Waschk, can be found at:
|
* image format written by Kolja Waschk, can be found at:
|
||||||
* http://www.ixo.de/info/zyxel_uclinux
|
* http://www.ixo.de/info/zyxel_uclinux
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
|
||||||
* by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ZYNOS_H
|
#ifndef _ZYNOS_H
|
||||||
|
|
|
@ -8,10 +8,6 @@
|
||||||
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
|
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
|
||||||
* Gabor Juhos <juhosg@openwrt.org>
|
* Gabor Juhos <juhosg@openwrt.org>
|
||||||
* Copyright (C) 2021 Bjørn Mork <bjorn@mork.no>
|
* Copyright (C) 2021 Bjørn Mork <bjorn@mork.no>
|
||||||
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License,
|
|
||||||
* version 2 as published by the Free Software Foundation.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
Loading…
Reference in a new issue