Skip to contentSkip to conversation

configs/imx6qsabreauto: Use zImage by default

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

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/4 configs/imx6qsabreauto: Use zImage by default

From: Fabio Estevam <[email protected]>

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_imx6qsabreauto_defconfig | 2 --
 1 file changed, 2 deletions(-)
configs/freescale_imx6qsabreauto_defconfig +0 -2
index b9a9446..ef2c20e 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-sabreauto"
 
Signature · 1 line
2.7.4
author reviewer
#1 lore raw

PATCH 2/4 configs/imx6qsabreauto: Add ext4 rootfs option

From: Fabio Estevam <[email protected]>

Allow building a ext4 rootfs type.

---
 configs/freescale_imx6qsabreauto_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/freescale_imx6qsabreauto_defconfig +1 -0
index ef2c20e..4536dc4 100644
@@ -23,6 +23,7 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabreauto"
 # 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
author reviewer
#2 lore raw

PATCH 3/4 configs/imx6dlsabreauto: Use zImage by default

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

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_imx6dlsabreauto_defconfig | 2 --
 1 file changed, 2 deletions(-)
configs/freescale_imx6dlsabreauto_defconfig +0 -2
index 5a8d4ce..402d9c0 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="imx6dl-sabreauto"
 
Signature · 1 line
2.7.4
author reviewer
#3 lore raw

PATCH 4/4 configs/imx6dlsabreauto: Add ext4 rootfs option

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

Allow building a ext4 rootfs type.

---
 configs/freescale_imx6dlsabreauto_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/freescale_imx6dlsabreauto_defconfig +1 -0
index 402d9c0..8eb3632 100644
@@ -23,6 +23,7 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-sabreauto"
 # 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
#4 lore raw

PATCH 1/4 configs/imx6qsabreauto: Use zImage by default

In reply to Fabio Estevam

Hello,

Quoted 5 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

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

Quoted 7 lines

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

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

All four patches applied, thanks!

Thomas

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