Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] linux: add support for vmlinuz.bin kernel image format
@ 2015-12-15  7:34 yegorslists at googlemail.com
  2015-12-15 20:42 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2015-12-15  7:34 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Linux for MIPS supports raw binary zboot image (vmlinuz.bin).
Add it to the "Kernel binary format" list.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 linux/Config.in | 4 ++++
 linux/linux.mk  | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/linux/Config.in b/linux/Config.in
index 57b3490..8b29b71 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -249,6 +249,10 @@ config BR2_LINUX_KERNEL_VMLINUZ
 	bool "vmlinuz"
 	depends on BR2_mips || BR2_mipsel
 
+config BR2_LINUX_KERNEL_VMLINUZ_BIN
+	bool "vmlinuz.bin"
+	depends on BR2_mips || BR2_mipsel
+
 config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
 	bool "custom target"
 	help
diff --git a/linux/linux.mk b/linux/linux.mk
index dd2cc49..f95bc58 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -139,6 +139,8 @@ else ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y)
 LINUX_IMAGE_NAME = vmlinux
 else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y)
 LINUX_IMAGE_NAME = vmlinuz
+else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ_BIN),y)
+LINUX_IMAGE_NAME = vmlinuz.bin
 endif
 # The if-else blocks above are all the image types we know of, and all
 # come from a Kconfig choice, so we know we have LINUX_IMAGE_NAME set
@@ -167,6 +169,8 @@ ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y)
 LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME)
 else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y)
 LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME)
+else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ_BIN),y)
+LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME)
 else
 LINUX_IMAGE_PATH = $(KERNEL_ARCH_PATH)/boot/$(LINUX_IMAGE_NAME)
 endif # BR2_LINUX_KERNEL_VMLINUX
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] linux: add support for vmlinuz.bin kernel image format
  2015-12-15  7:34 [Buildroot] [PATCH] linux: add support for vmlinuz.bin kernel image format yegorslists at googlemail.com
@ 2015-12-15 20:42 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-12-15 20:42 UTC (permalink / raw)
  To: buildroot

Yegor,

On Tue, 15 Dec 2015 08:34:06 +0100, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Linux for MIPS supports raw binary zboot image (vmlinuz.bin).
> Add it to the "Kernel binary format" list.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  linux/Config.in | 4 ++++
>  linux/linux.mk  | 4 ++++
>  2 files changed, 8 insertions(+)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-15 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15  7:34 [Buildroot] [PATCH] linux: add support for vmlinuz.bin kernel image format yegorslists at googlemail.com
2015-12-15 20:42 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox