Re: [PATCH] MIPS: Allow compressed images to be loaded at the usual address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

On 2/5/2017 11:21 PM, Alban wrote:

From: Alban Bedel <albeu@xxxxxxx>

Normally compressed images have to be loaded at a different address to
allow the decompressor to run. This add an option to let vmlinuz copy
itself to the correct address from the normal vmlinux address.

Signed-off-by: Alban Bedel <albeu@xxxxxxx>
[...]

   Just some grammar nitpicking...

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b3c5bde..8074fc5 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2961,6 +2961,14 @@ choice
 		bool "Extend builtin kernel arguments with bootloader arguments"
 endchoice

+config ZBOOT_VMLINUZ_AT_VMLINUX_LOAD_ADDRESS
+	bool "Load compressed images at the same address as uncompressed"
+	depends on SYS_SUPPORTS_ZBOOT
+	help
+	  vmlinux and vmlinuz normally have different load addresses, with
+	  this option vmlinuz expect to be loaded at the same address as

   Expects.

[...]

MBR, Sergei





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux