Skip to contentSkip to conversation

imx28evk: Fix the first partition location

PATCH New Fabio Estevam 2 participants 4 messages Oct 25, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 imx28evk: Fix the first partition location

When the SD card is connected to the host PC it can be mount as /dev/mmcblk0.

In this case the first partition is /dev/mmcblk0p1, not /dev/mmcblk01.

So use the ${PART1} variable to correctly assign this location.

---
 board/freescale/imx28evk/create-boot-sd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/freescale/imx28evk/create-boot-sd.sh +1 -1
index 5e050cb..bce2212 100755
@@ -71,7 +71,7 @@ sync
 
 # Copy the bootloader at offset 2048
 # (We need to skip the partition table in the .sd, too.)
-dd if=output/images/u-boot.sd of=${DEV}1 bs=1M
+dd if=output/images/u-boot.sd of=${PART1} bs=1M
 
 # Prepare a temp dir for mounting partitions
 TMPDIR=$(mktemp -d)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 configs/imx28evk: Update U-Boot and kernel versions

Update U-Boot to 2016.09.01 and kernel to 4.8.4 version.

---
 configs/freescale_imx28evk_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
configs/freescale_imx28evk_defconfig +4 -4
index 9a430f7..a638462 100644
@@ -2,8 +2,8 @@
 BR2_arm=y
 BR2_arm926t=y
 
-# Linux headers same as kernel, a 3.19 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19=y
+# Linux headers same as kernel, a 4.8 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y
 
 # system
 BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
@@ -11,7 +11,7 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
 # kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.19.2"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.4"
 BR2_LINUX_KERNEL_DEFCONFIG="mxs"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx28-evk"
@@ -20,5 +20,5 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx28-evk"
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BOARDNAME="mx28evk"
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01"
 BR2_TARGET_UBOOT_FORMAT_SD=y
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 configs/imx28evk: Update U-Boot and kernel versions

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Estevam <[email protected]> writes:

Update U-Boot to 2016.09.01 and kernel to 4.8.4 version.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/2 imx28evk: Fix the first partition location

In reply to Fabio Estevam
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Estevam <[email protected]> writes:

When the SD card is connected to the host PC it can be mount as /dev/mmcblk0.

In this case the first partition is /dev/mmcblk0p1, not /dev/mmcblk01.

So use the ${PART1} variable to correctly assign this location.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard