openwrtv4/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 kernel: remove unused morse led trigger driver 2016-08-04 20:53:02 +02:00
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 at91: fix SAMA5D3 subtarget 2016-04-25 14:54:07 +02:00
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 ixp4xx: fix Avila SoC audio driver compilation 2016-06-07 11:15:55 +02:00
kirkwood build: rename sysupgrade-nand to sysupgrade-tar 2016-07-29 16:53:03 +02:00
lantiq lantiq: fix ath5k EEPROM loading 2016-08-24 19:30:52 +02:00
malta malta: enable be64 and le64 subtargets 2016-08-15 15:32:36 +02:00
mcs814x branding: add LEDE branding 2016-03-24 22:40:13 +01:00
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 mxs: unconditionally install kernel images/dtb files into rootfs (needed by boards) 2016-07-20 10:13:50 +02:00
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 image / basefiles: make console password configurable 2016-04-18 21:53:07 +02:00
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 sunxi/pcduino3: Remove selection of absent rtl8188eu 2016-07-23 12:27:42 +02:00
uml uml: revert accidentally committed change 2016-04-25 14:09:05 +02:00
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 build: remove cpio.gz and tar.gz from regular filesystem types 2016-07-25 12:43:39 +02:00
Makefile