openwrt/target/linux
Christian Lamparter 78e63ce7e3 apm821xx: add size check for initramfs kernel for the Meraki MR24
Russell Senior reported an issue with the MR24 initramfs kernels:
> ## Booting kernel from Legacy Image at 00c10000 ...
>   Image Name:   POWERPC LEDE Linux-4.4.19
>   Created:      2016-08-31  11:57:05 UTC
>   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>   Data Size:    2155723 Bytes = 2.1 MiB
>   Load Address: 00000000
>   Entry Point:  00000000
>   Verifying Checksum ... OK
>Wrong Ramdisk Image Format
>Ramdisk image is corrupt or invalid

For the MR24, the kernel is uploaded to 0x10000. The ramdisk starts
at 0x200000. This leaves the kernel with just 0x1f0000 bytes = 1984kb.
This patch adds a size check so the image creation script will abort
instead of producing a unbootable initramfs image. A separate patch
"apm821xx: Fix initramfs image for the Meraki MR24" which fixed the
reported issue was submitted earlier.

Cc: Russell Senior <russell@personaltelco.net>
Cc: Chris Blake <chrisrblake93@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2016-09-05 07:28:52 +02:00
..
adm5120
adm8668 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
apm821xx apm821xx: add size check for initramfs kernel for the Meraki MR24 2016-09-05 07:28:52 +02:00
ar7 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ar71xx ar71xx: fix ethernet driver fast reset issue causing tx timeouts 2016-09-03 22:50:28 +02:00
arc770 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
archs38 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
arm64 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
at91
ath25 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
au1000 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
bcm53xx build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
brcm47xx build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
brcm63xx build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
brcm2708 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
cns3xxx build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
gemini gemini: rename config-default to config-4.4 2016-08-24 01:44:05 +03:00
generic generic: add NET3380 UDC support 2016-09-04 13:36:10 +02:00
imx6 imx6: enable ARM crypto acceleration 2016-09-04 13:36:10 +02:00
ipq806x ipq806x: fix ipq8065 s2a/s2b regulator frequency (fixes ethernet performance) 2016-08-24 15:15:16 +02:00
ixp4xx
kirkwood
lantiq lantiq: fix ath5k EEPROM loading 2016-08-24 19:30:52 +02:00
malta
mcs814x
mediatek kernel: update kernel 4.4 to version 4.4.19 2016-08-23 10:51:17 +03:00
mpc85xx build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
mvebu mvebu: use ptgen instead of fdisk to make the clearfog image script more portable 2016-09-02 14:43:53 +02:00
mxs
octeon build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
omap build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
omap24xx
orion orion: rename config-default to config-3.18 2016-08-24 01:47:48 +03:00
oxnas oxnas: add mem=128M to stg-212 built-in cmdline for legacy u-boot 2016-09-04 04:58:54 +02:00
ppc40x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ppc44x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ramips build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
rb532 rb532: rename config-default to config 4.1 2016-08-24 01:48:01 +03:00
realview build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
sunxi
uml
x86 x86: enable fpu for all subtargets 2016-08-30 10:51:21 +02:00
xburst build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
zynq
Makefile