mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-24 15:43:09 +00:00
78e63ce7e3
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> |
||
---|---|---|
.. | ||
adm5120 | ||
adm8668 | ||
apm821xx | ||
ar7 | ||
ar71xx | ||
arc770 | ||
archs38 | ||
arm64 | ||
at91 | ||
ath25 | ||
au1000 | ||
bcm53xx | ||
brcm47xx | ||
brcm63xx | ||
brcm2708 | ||
cns3xxx | ||
gemini | ||
generic | ||
imx6 | ||
ipq806x | ||
ixp4xx | ||
kirkwood | ||
lantiq | ||
malta | ||
mcs814x | ||
mediatek | ||
mpc85xx | ||
mvebu | ||
mxs | ||
octeon | ||
omap | ||
omap24xx | ||
orion | ||
oxnas | ||
ppc40x | ||
ppc44x | ||
ramips | ||
rb532 | ||
realview | ||
sunxi | ||
uml | ||
x86 | ||
xburst | ||
zynq | ||
Makefile |