Skip to contentSkip to conversation

configs: zynq: revive BR2_LINUX_KERNEL_UIMAGE

PATCH New Masahiro Yamada 2 participants 2 messages May 28, 2016 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: zynq: revive BR2_LINUX_KERNEL_UIMAGE

Commit 5c67cb1d0445 ("linux: use zImage by default on ARM") changed the default kernel image, but missed to update Zynq defconfigs.

U-Boot on Zynq boards still loads uImage, so BR2_LINUX_KERNEL_UIMAGE should be defined to generate uImage.

---
 configs/zynq_microzed_defconfig | 1 +
 configs/zynq_zc706_defconfig    | 1 +
 configs/zynq_zed_defconfig      | 1 +
 3 files changed, 3 insertions(+)
configs/zynq_microzed_defconfig +1 -0
index c73fae5..3faa3b8 100644
@@ -9,6 +9,7 @@ BR2_LINUX_KERNEL_CUSTOM_GIT=y
 BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git"
 BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2015.1"
 BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq"
+BR2_LINUX_KERNEL_UIMAGE=y
 BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zed"
configs/zynq_zc706_defconfig +1 -0
index d1a46ca..fff49d3 100644
@@ -10,6 +10,7 @@ BR2_LINUX_KERNEL_CUSTOM_GIT=y
 BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git"
 BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2014.2.01"
 BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq"
+BR2_LINUX_KERNEL_UIMAGE=y
 BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zc706"
configs/zynq_zed_defconfig +1 -0
index 1330be4..0e2c8ff 100644
@@ -9,6 +9,7 @@ BR2_LINUX_KERNEL_CUSTOM_GIT=y
 BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git"
 BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2015.1"
 BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq"
+BR2_LINUX_KERNEL_UIMAGE=y
 BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zed"
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 configs: zynq: revive BR2_LINUX_KERNEL_UIMAGE

Hello,

Quoted 6 lines · Masahiro Yamada

Commit 5c67cb1d0445 ("linux: use zImage by default on ARM") changed the default kernel image, but missed to update Zynq defconfigs.

U-Boot on Zynq boards still loads uImage, so BR2_LINUX_KERNEL_UIMAGE should be defined to generate uImage.

Quoted 6 lines
---
 configs/zynq_microzed_defconfig | 1 +
 configs/zynq_zc706_defconfig    | 1 +
 configs/zynq_zed_defconfig      | 1 +
 3 files changed, 3 insertions(+)

Applied to master, thanks.

Thomas

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