OpenCloudOS-Kernel/arch/mips/boot
Shmulik Ladkani 2ccc5b150f MIPS: Calculate VMLINUZ_LOAD_ADDRESS based on the length of vmlinux.bin
Fix VMLINUZ_LOAD_ADDRESS calculation to be based on the length of
vmlinux.bin, the actual uncompressed kernel binary.

Previously it was based on the length of KBUILD_IMAGE (the unstripped ELF
vmlinux), which is bigger than vmlinux.bin.  As a result, vmlinuz was
loaded into a memory address higher then actually needed - a problem for
small memory platforms.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
To: linux-mips@linux-mips.org
Cc: alex@digriz.org.uk
Cc: manuel.lauss@googlemail.com
Cc: sam@ravnborg.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1564/
Acked-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-10-04 18:34:00 +01:00
..
compressed MIPS: Calculate VMLINUZ_LOAD_ADDRESS based on the length of vmlinux.bin 2010-10-04 18:34:00 +01:00
.gitignore MIPS: Clean up the calculation of VMLINUZ_LOAD_ADDRESS 2010-08-05 13:26:33 +01:00
Makefile MIPS: Refactor arch/mips/boot/Makefile 2010-08-05 13:25:57 +01:00
ecoff.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
elf2ecoff.c MIPS: Remove useless zero initializations. 2009-09-17 20:07:51 +02:00