openwrt-mirror/target/linux
INAGAKI Hiroshi cd2a6906da ramips: parameterize some values in Build/znet-header
Parameterize magic number and header length to use the device-specific
values.

example:

On WRC-X1800GS, an additional ELECOM-specific header and a magic number
"COMC" are required.

Stock FW v1.18:

$ hexdump -n $((0x40080)) -C wrc-x1800gs_v1.18.bin
00000000  45 4c 45 43 4f 4d 00 00  57 52 43 2d 58 31 38 30  |ELECOM..WRC-X180|
00000010  30 47 53 00 00 00 00 00  00 00 00 00 00 00 00 00  |0GS.............|
00000020  00 00 00 00 00 00 00 00  31 2e 31 38 00 00 00 00  |........1.18....|
00000030  00 00 00 00 00 00 00 00  43 4f 4d 43 04 00 ac 00  |........COMC....|
00000040  40 f0 49 74 b1 e8 6a ca  e4 20 65 1f 34 2e 30 34  |@.It..j.. e.4.04|
00000050  28 58 56 46 2e 31 29 62  31 37 00 00 00 00 00 00  |(XVF.1)b17......|
00000060  00 00 00 00 00 00 00 00  ff ff ff ff ff ff ff ff  |................|
00000070  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00040000  d0 0d fe ed 00 36 9c c0  00 00 00 38 00 36 9a e0  |.....6.....8.6..|
00040010  00 00 00 28 00 00 00 11  00 00 00 10 00 00 00 00  |...(............|
00040020  00 00 00 6c 00 36 9a a8  00 00 00 00 00 00 00 00  |...l.6..........|
00040030  00 00 00 00 00 00 00 00  00 00 00 01 00 00 00 00  |................|
00040040  00 00 00 03 00 00 00 04  00 00 00 62 65 54 97 8f  |...........beT..|
00040050  00 00 00 03 00 00 00 28  00 00 00 00 4d 49 50 53  |.......(....MIPS|
00040060  20 4f 70 65 6e 57 72 74  20 46 49 54 20 28 46 6c  | OpenWrt FIT (Fl|
00040070  61 74 74 65 6e 65 64 20  49 6d 61 67 65 20 54 72  |attened Image Tr|
00040080

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2024-05-25 19:33:28 +02:00
..
airoha airoha: set KERNEL_TESTING_PATCHVER:=6.6 2024-05-12 12:52:16 +02:00
apm821xx apm821xx: restore 6.1 config+patches 2024-04-05 09:26:26 +02:00
archs38 archs38: remove 5.15 support 2024-03-29 09:58:45 +01:00
armsr armsr: armv8: enable serial console for Renesas platforms 2024-05-07 13:01:20 +01:00
at91 at91: 5.15: remove old config and patch files 2024-04-28 17:50:37 +02:00
ath79 ath79: add support for 8Devices Carambola3 board 2024-05-24 11:29:23 +02:00
bcm27xx bcm27xx: correct cmdline.txt consoles for procd 2024-05-01 20:22:42 +02:00
bcm47xx kernel: bump 5.15 to 5.15.158 2024-05-12 12:16:18 +02:00
bcm53xx kernel: bump 6.1 to 6.1.89 2024-04-30 20:18:15 +02:00
bcm4908 bcm4908: set kernel 6.6 as a testing version 2024-04-27 12:14:00 +02:00
bmips bmips: Build U-Boot into the XG6846 target 2024-05-01 21:32:23 +02:00
d1 d1: define subtarget specifically 2024-04-08 21:52:51 +02:00
gemini gemini: In-flight ethernet patches 2024-05-19 22:06:11 +02:00
generic generic: 6.6: backports and add LED support for Aquantia PHYs 2024-05-24 18:34:13 +01:00
imx imx: kernel: add imx8mp PCI support 2024-03-24 21:19:10 +01:00
ipq40xx ipq40xx: eap1300: add eap1300ext as alt model 2024-05-25 18:37:09 +02:00
ipq806x ipq806x: mr42/mr52: fix PCIe ports 2024-05-16 19:28:16 +02:00
ixp4xx ixp4xx: Add back support for D-Link DSM G600 A 2024-05-25 09:17:19 +02:00
kirkwood kernel: move mv88e6xxx fix to generic backports 2024-04-26 19:56:19 +03:00
lantiq lantiq: add patch to fix the reset gpio handling in the pci driver 2024-05-15 08:54:58 +02:00
layerscape treewide: disable spectre mitigation on unaffected Arm32 targets 2024-03-23 20:00:49 +01:00
loongarch64 loongarch64: new target 2024-05-04 14:14:16 +08:00
malta malta: refresh kernel 6.6 configuration 2024-04-29 00:24:02 +02:00
mediatek mediatek: filogic: prevent faulty mac address assignment 2024-05-25 12:41:26 +02:00
mpc85xx mpc85xx: convert WS-AP3710i to simpleImage wrapper 2024-04-29 03:18:54 +02:00
mvebu mvebu: switch to kernel 6.6 2024-05-12 11:29:23 +02:00
mxs mxs: drop 6.1 support 2024-04-25 14:33:22 +02:00
octeon octeon: convert to new LED color/function format where possible 2024-02-07 14:48:41 +01:00
octeontx kernel: bump 5.15 to 5.15.155 2024-04-16 23:11:25 +02:00
omap omap: drop kernel 5.15 2024-02-13 19:05:48 +01:00
pistachio pistachio: 6.1: refresh kernel patches 2024-04-22 11:27:05 +02:00
qoriq qoriq: add kernel 6.1 support 2024-04-18 00:30:03 +03:00
qualcommax qualcommax: ipq807x support Netgear Orbi Pro SXK80 2024-05-22 14:51:36 +02:00
ramips ramips: parameterize some values in Build/znet-header 2024-05-25 19:33:28 +02:00
realtek realtek: Trap LLDP packets to the CPU 2024-05-10 16:03:51 +02:00
rockchip rockchip: switch to kernel 6.6 2024-05-09 10:43:37 +02:00
sifiveu sifiveu: drop 6.1 support 2024-04-30 11:02:48 +02:00
starfive generic: 6.1: backport AXP PMIC support 2024-03-26 21:56:57 +01:00
sunxi sunxi: add support for Lichee Pi Zero Dock (V3s) board 2024-05-04 00:41:02 +02:00
tegra tegra: trimslice: enable USB HID driver 2024-05-17 17:04:24 +03:00
uml uml: restore 6.1 config + patches 2024-03-23 21:38:00 +01:00
x86 x86: generic: config-6.6: add/remove default syms 2024-05-05 21:22:31 +02:00
zynq zynq: 5.15: remove files 2024-05-01 10:26:41 +02:00
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00