Browse files

realview: fix zImage-initramfs installation

We were copying the actual vmlinux-initramfs.elf kernel which cannot be
launched by QEMU or a real bootloader, use zImage-initramfs instead.

Signed-off-by: Florian Fainelli <>

git-svn-id: svn:// 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information...
1 parent 4dc455e commit 7ed37d7ef48e601c8a6d22fab6980437a47dcc4a florian committed Feb 27, 2014
Showing with 5 additions and 1 deletion.
  1. +5 −1 target/linux/realview/image/Makefile
@@ -8,7 +8,11 @@ include $(TOPDIR)/
include $(INCLUDE_DIR)/
define Image/BuildKernel
- cp $(LINUX_DIR)/arch/$(ARCH)/boot/$(subst ",,$(KERNELNAME)) $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf
+ cp $(KDIR)/$(subst ",,$(KERNELNAME)) $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf
+define Image/BuildKernel/Initramfs
+ cp $(KDIR)/$(subst ",,$(KERNELNAME))-initramfs $(BIN_DIR)/openwrt-$(BOARD)-vmlinux-initramfs.elf
define Image/Build/squashfs

0 comments on commit 7ed37d7

Please sign in to comment.