Re: [LEDE-DEV] apm821xx target: kernel gets too big

2018-03-18 Thread Christian Lamparter
On Sonntag, 18. März 2018 00:24:06 CET Hauke Mehrtens wrote:
> Hi,
> 
> After the upgrade to GCC 7.3 the kernel on the apm821xx target gets too
> big for the meraki_mr24 device and the build in build bot is failing.
> Could you please have a look at this problem:
> http://phase1.builds.lede-project.org/builders/apm821xx%2Fnand
>From what I remember, the limits are set in place to accomodate the
initramfs image. And the initramfs is currently limited by these u-boot
varliables:

meraki_loadaddr=c0
meraki_loadaddr_kernel=c1
meraki_loadaddr_fdt=c00400
meraki_loadaddr_ramdisk=e0

The image (with the meraki header) get loaded to c0.
The FDT is located at 0xc00400 - 0xc0 = 64512 Bytes (DTB_SIZE)
The kernel has to fit into 0xc1 - 0xe0 = 2031616 Bytes 
(1984 KB aka. KERNEL_SIZE) 
And the ram disk is from 0xe0 onward.

The kernel for sysupgrade.tar does not have such a limitation.

Chris do you have any idea?

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


[LEDE-DEV] apm821xx target: kernel gets too big

2018-03-17 Thread Hauke Mehrtens
Hi,

After the upgrade to GCC 7.3 the kernel on the apm821xx target gets too
big for the meraki_mr24 device and the build in build bot is failing.
Could you please have a look at this problem:
http://phase1.builds.lede-project.org/builders/apm821xx%2Fnand

Hauke

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev