All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] imx28evk: Fix the first partition location
@ 2016-10-25 16:21 Fabio Estevam
  2016-10-25 16:21 ` [Buildroot] [PATCH 2/2] configs/imx28evk: Update U-Boot and kernel versions Fabio Estevam
  2016-10-25 17:56 ` [Buildroot] [PATCH 1/2] imx28evk: Fix the first partition location Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2016-10-25 16:21 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 board/freescale/imx28evk/create-boot-sd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/freescale/imx28evk/create-boot-sd.sh b/board/freescale/imx28evk/create-boot-sd.sh
index 5e050cb..bce2212 100755
--- a/board/freescale/imx28evk/create-boot-sd.sh
+++ b/board/freescale/imx28evk/create-boot-sd.sh
@@ -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)
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] configs/imx28evk: Update U-Boot and kernel versions
  2016-10-25 16:21 [Buildroot] [PATCH 1/2] imx28evk: Fix the first partition location Fabio Estevam
@ 2016-10-25 16:21 ` Fabio Estevam
  2016-10-25 17:57   ` Peter Korsgaard
  2016-10-25 17:56 ` [Buildroot] [PATCH 1/2] imx28evk: Fix the first partition location Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2016-10-25 16:21 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 configs/freescale_imx28evk_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configs/freescale_imx28evk_defconfig b/configs/freescale_imx28evk_defconfig
index 9a430f7..a638462 100644
--- a/configs/freescale_imx28evk_defconfig
+++ b/configs/freescale_imx28evk_defconfig
@@ -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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] imx28evk: Fix the first partition location
  2016-10-25 16:21 [Buildroot] [PATCH 1/2] imx28evk: Fix the first partition location Fabio Estevam
  2016-10-25 16:21 ` [Buildroot] [PATCH 2/2] configs/imx28evk: Update U-Boot and kernel versions Fabio Estevam
@ 2016-10-25 17:56 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2016-10-25 17:56 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabio" == Fabio Estevam <fabio.estevam@nxp.com> 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.

 > Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] configs/imx28evk: Update U-Boot and kernel versions
  2016-10-25 16:21 ` [Buildroot] [PATCH 2/2] configs/imx28evk: Update U-Boot and kernel versions Fabio Estevam
@ 2016-10-25 17:57   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2016-10-25 17:57 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabio" == Fabio Estevam <fabio.estevam@nxp.com> writes:

 > Update U-Boot to 2016.09.01 and kernel to 4.8.4 version.
 > Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-25 17:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-25 16:21 [Buildroot] [PATCH 1/2] imx28evk: Fix the first partition location Fabio Estevam
2016-10-25 16:21 ` [Buildroot] [PATCH 2/2] configs/imx28evk: Update U-Boot and kernel versions Fabio Estevam
2016-10-25 17:57   ` Peter Korsgaard
2016-10-25 17:56 ` [Buildroot] [PATCH 1/2] imx28evk: Fix the first partition location Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.