Skip to contentSkip to conversation

configs/imx6qsabresd: Use zImage by default

PATCH New Fabio Estevam 2 participants 3 messages Sep 22, 2016 – Sep 23, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 configs/imx6qsabresd: Use zImage by default

Currently the generated sdcard.img does not boot because U-Boot looks for a zImage type of kernel instead of uImage.

Remove the generation of uImage, so that the sdcard.img can successfully boot.

---
 configs/freescale_imx6qsabresd_defconfig | 2 --
 1 file changed, 2 deletions(-)
configs/freescale_imx6qsabresd_defconfig +0 -2
index b7419b0..fc465a2 100644
@@ -17,8 +17,6 @@ BR2_LINUX_KERNEL_CUSTOM_GIT=y
 BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
 BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_4.1.15_1.1.0_ga"
 BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
-BR2_LINUX_KERNEL_UIMAGE=y
-BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd"
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 configs/imx6qsabresd: Add ext4 rootfs option

Allow building a ext4 rootfs type.

---
 configs/freescale_imx6qsabresd_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/freescale_imx6qsabresd_defconfig +1 -0
index fc465a2..4191e99 100644
@@ -23,6 +23,7 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd"
 # filesystem
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
 
 # required tools to create the microSD image
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/2 configs/imx6qsabresd: Use zImage by default

In reply to Fabio Estevam

Hello,

Quoted 10 lines · Fabio Estevam

Currently the generated sdcard.img does not boot because U-Boot looks for a zImage type of kernel instead of uImage.

Remove the generation of uImage, so that the sdcard.img can successfully boot.

---
 configs/freescale_imx6qsabresd_defconfig | 2 --
 1 file changed, 2 deletions(-)

Both patches applied, thanks!

Thomas

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