wandboard: genimage: Pass an offset for the rootfs
PATCH 1/2 wandboard: genimage: Pass an offset for the rootfs
Pass an offset of 1MB for the start of the rootfs.
Otherwise we get rootfs corruption when the bootloader is manually written to the SD card.
--- board/wandboard/genimage.cfg | 1 + 1 file changed, 1 insertion(+)
board/wandboard/genimage.cfg +1 -0
@@ -26,6 +26,7 @@ image sdcard.img { partition rootfs { partition-type = 0x83 image = "rootfs.ext4" + offset = 1M size = 512M } }
Signature · 1 line
2.7.4
PATCH 2/2 configs/wandboard: Bump U-Boot and kernel versions
Bump U-Boot to 2017.09 version and kernel to 4.13.3.
--- configs/wandboard_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
configs/wandboard_defconfig +4 -4
@@ -3,8 +3,8 @@ BR2_cortex_a9=y BR2_ARM_ENABLE_NEON=y BR2_ARM_ENABLE_VFP=y BR2_ARM_FPU_VFPV3=y -# Linux headers same as kernel, a 4.7 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y +# Linux headers same as kernel, a 4.13 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" BR2_ROOTFS_POST_BUILD_SCRIPT="board/wandboard/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/wandboard/post-image.sh"
@@ -13,13 +13,13 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BOARDNAME="wandboard" BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.09" BR2_TARGET_UBOOT_FORMAT_IMG=y BR2_TARGET_UBOOT_SPL=y BR2_TARGET_UBOOT_SPL_NAME="SPL" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.3" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13.3" BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-wandboard imx6dl-wandboard imx6q-wandboard-revb1 imx6dl-wandboard-revb1"
Signature · 1 line
2.7.4
Arnout Vandecappelle
AppliedPATCH 1/2 wandboard: genimage: Pass an offset for the rootfs
In reply to Fabio EstevamQuoted 6 lines · Fabio Estevam
Pass an offset of 1MB for the start of the rootfs.
Otherwise we get rootfs corruption when the bootloader is manually written to the SD card.
Signed-off-by Fabio Estevam <[email protected]>
Applied both to master, thanks.
Regards,
Arnout
Quoted 17 lines
--- board/wandboard/genimage.cfg | 1 + 1 file changed, 1 insertion(+)board/wandboard/genimage.cfg +1
-0@@ -26,6 +26,7 @@ image sdcard.img { partition rootfs { partition-type = 0x83 image = "rootfs.ext4" + offset = 1M size = 512M } }
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/2 wandboard: genimage: Pass an offset for the rootfs
In reply to Fabio EstevamQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabio" == Fabio Estevam <[email protected]> writes:
Pass an offset of 1MB for the start of the rootfs. Otherwise we get rootfs corruption when the bootloader is manually written to the SD card.
Signed-off-by Fabio Estevam <[email protected]>
Committed to 2017.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 wandboard: genimage: Pass an offset for the rootfs
In reply to Fabio EstevamQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabio" == Fabio Estevam <[email protected]> writes:
Pass an offset of 1MB for the start of the rootfs. Otherwise we get rootfs corruption when the bootloader is manually written to the SD card.
Signed-off-by Fabio Estevam <[email protected]>
Committed to 2017.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard