]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: jz4740: Bump zload address
authorPaul Cercueil <paul@crapouillou.net>
Sun, 8 Jul 2018 15:07:12 +0000 (17:07 +0200)
committerPaul Burton <paul.burton@mips.com>
Tue, 24 Jul 2018 00:35:19 +0000 (17:35 -0700)
commit38254de79c0e9d8f0d154f54e5aa28a5a152c746
tree36de3fdbede30b6691bc5ca8e837f659bfd1321e
parent2f76867ebe15db4301fb442f312dec3ba05fb7f9
MIPS: jz4740: Bump zload address

Having the zload address at 0x8060.0000 means the size of the
uncompressed kernel cannot be bigger than around 6 MiB, as it is
deflated at address 0x8001.0000.

This limit is too small; a kernel with some built-in drivers and things
like debugfs enabled will already be over 6 MiB in size, and so will
fail to extract properly.

To fix this, we bump the zload address from 0x8060.0000 to 0x8100.0000.

This is fine, as all the boards featuring Ingenic JZ SoCs have at least
32 MiB of RAM, and use u-boot or compatible bootloaders which won't
hardcode the load address but read it from the uImage's header.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19787/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
arch/mips/jz4740/Platform