[meta-freescale] [PATCH 1/2] barebox: fix sdcard partition scheme
Eric Bénard
eric at eukrea.com
Thu Jan 10 06:56:46 PST 2013
- SDCard's partition scheme was changed in image_type_fsl.bbclass so
update barebox's configuration to match the new one.
- tested on MCIMX53-START-R board 1.0 rev B
Signed-off-by: Eric Bénard <eric at eukrea.com>
---
.../imx53qsb/0001-imx53qsb-default-config-for-OE-s-sdcard-image.patch | 2 +-
recipes-bsp/barebox/barebox-2012.02.0/imx53qsb/config | 4 ++--
recipes-bsp/barebox/barebox_2012.02.0.bb | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipes-bsp/barebox/barebox-2012.02.0/imx53qsb/0001-imx53qsb-default-config-for-OE-s-sdcard-image.patch b/recipes-bsp/barebox/barebox-2012.02.0/imx53qsb/0001-imx53qsb-default-config-for-OE-s-sdcard-image.patch
index 6a3c000..399e95a 100644
--- a/recipes-bsp/barebox/barebox-2012.02.0/imx53qsb/0001-imx53qsb-default-config-for-OE-s-sdcard-image.patch
+++ b/recipes-bsp/barebox/barebox-2012.02.0/imx53qsb/0001-imx53qsb-default-config-for-OE-s-sdcard-image.patch
@@ -22,7 +22,7 @@ index 0000000..3a5ae42
+#!/bin/sh
+
+mkdir /mnt
-+mount /dev/disk0.1 fat /mnt
++mount /dev/disk0.0 fat /mnt
diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot
index 1120757..e46705d 100644
--- a/defaultenv/bin/boot
diff --git a/recipes-bsp/barebox/barebox-2012.02.0/imx53qsb/config b/recipes-bsp/barebox/barebox-2012.02.0/imx53qsb/config
index b60bf3c..c65e6ad 100644
--- a/recipes-bsp/barebox/barebox-2012.02.0/imx53qsb/config
+++ b/recipes-bsp/barebox/barebox-2012.02.0/imx53qsb/config
@@ -21,7 +21,7 @@ rootfs_loc=disk
# boot parameters for SDCard boot
kernel_name=uImage
-rootfs_part_linux_dev=mmcblk0p3
+rootfs_part_linux_dev=mmcblk0p2
rootfs_type=ext3
# can be either 'jffs2' or 'ubifs'
@@ -45,7 +45,7 @@ autoboot_timeout=3
bootargs="console=ttymxc0,115200"
-disk_parts="512k(barebox)ro,512k(bareboxenv),4M(kernel),-(root)"
+disk_parts="512k(barebox)ro,512k(bareboxenv),8M(kernel),-(root)"
# set a fancy prompt (if support is compiled in)
PS1="\e[1;32mbarebox@\e[1;31m\h:\w\e[0m "
diff --git a/recipes-bsp/barebox/barebox_2012.02.0.bb b/recipes-bsp/barebox/barebox_2012.02.0.bb
index 20d7d40..1eed4d3 100644
--- a/recipes-bsp/barebox/barebox_2012.02.0.bb
+++ b/recipes-bsp/barebox/barebox_2012.02.0.bb
@@ -1,6 +1,6 @@
require barebox.inc
-PR = "r2"
+PR = "r3"
SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2 \
file://defconfig \
--
1.7.11.7
More information about the meta-freescale
mailing list