openwrtv3/target/linux/apm821xx
Christian Lamparter e2b35f91b3 apm821xx: switch MR24's initramfs to multi-image method
The recent change to switch to gcc 7.3 broke the image
generation code, as the kernel would no longer fit into
KERNEL_SIZE.

This patch fixes the issue by reworking the initramfs
creation and packaging, which will get rid of the
KERNEL_SIZE check in the process.

This new initramfs can be loaded through the MR24 U-boot
in the following way:

=> setenv ipaddr 192.168.1.1
=> setenv bootargs console=ttyS0,$baudrate
=> tftpboot c00000 192.168.1.2:meraki_mr24-initramfs-kernel.bin
[...]
Load address: 0xc00000
Loading: ################################################ [...]
done
    Bytes transferred = 5952544 (5ad420 hex)
    => bootm $fileaddr
    \## Booting kernel from Legacy Image at 00c00000 ...
    ...

For more information and the latest flashing guide:
please visit the OpenWrt Wiki Page for the MR24:
<https://openwrt.org/toh/meraki/mr24#flashing>

Cc: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
2018-03-30 00:30:41 +02:00
..
base-files treewide: move nand_do_upgrade call to platform_do_upgrade 2018-02-16 14:44:02 +01:00
dts apm821xx: convert MR24 to use DT PHY defintion 2018-01-12 08:00:04 +01:00
files/arch/powerpc/platforms/44x apm821xx: fix atheros PCIe cards on the MR24 2016-07-25 10:38:48 +02:00
image apm821xx: switch MR24's initramfs to multi-image method 2018-03-30 00:30:41 +02:00
nand apm821xx: nand remove obsolete kernel config symbol 2018-02-23 07:54:29 +01:00
patches-4.14 Kernel: bump 4.14 to 4.14.29 2018-03-23 23:49:55 +01:00
sata apm821xx: MyBook Live convert to DT PHY 2017-12-14 09:29:30 +01:00
config-4.14 apm821xx: add linux 4.14 apm821xx patches 2018-01-12 08:00:04 +01:00
Makefile apm821xx: switch to 4.14.x kernel 2018-01-12 08:00:05 +01:00