aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot-imx
diff options
context:
space:
mode:
authorDaiane Angolini <daiane.angolini@freescale.com>2012-10-31 08:36:07 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2012-10-31 16:42:17 -0200
commitff7452166700835355136c40bdba9d76018eebd2 (patch)
treeb951292ab319630dcb2839d751518a6d51e5324e /recipes-bsp/u-boot/u-boot-imx
parent77777fb9419394899fccd31fd57c2ca422113a73 (diff)
downloadmeta-fsl-arm-ff7452166700835355136c40bdba9d76018eebd2.tar.gz
meta-fsl-arm-ff7452166700835355136c40bdba9d76018eebd2.tar.bz2
meta-fsl-arm-ff7452166700835355136c40bdba9d76018eebd2.zip
u-boot-imx: upgrade u-boot 2009
Take u-boot 2009.08 from Freescale BSP 12.09.01 Fix bootenv for imx6qsabreauto board Teach how to use u-boot 2009.08 Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-imx')
-rw-r--r--recipes-bsp/u-boot/u-boot-imx/mx6q_sabreauto-Fix-the-patch-for-the-default-environ.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-imx/mx6q_sabreauto-Fix-the-patch-for-the-default-environ.patch b/recipes-bsp/u-boot/u-boot-imx/mx6q_sabreauto-Fix-the-patch-for-the-default-environ.patch
new file mode 100644
index 0000000..f485364
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-imx/mx6q_sabreauto-Fix-the-patch-for-the-default-environ.patch
@@ -0,0 +1,66 @@
+From a81c7686f8c0c4fc6e88228f215092c00d4714c1 Mon Sep 17 00:00:00 2001
+From: Daiane Angolini <daiane.angolini@freescale.com>
+Date: Tue, 30 Oct 2012 07:47:59 -0500
+Subject: [PATCH] mx6q_sabreauto: Fix the patch for the default environment
+ variable
+
+Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
+---
+ include/configs/mx6q_sabreauto.h | 41 ++++++++++++++++++++++---------------
+ 1 files changed, 24 insertions(+), 17 deletions(-)
+
+diff --git a/include/configs/mx6q_sabreauto.h b/include/configs/mx6q_sabreauto.h
+index 5f8f02c..5910eca 100644
+--- a/include/configs/mx6q_sabreauto.h
++++ b/include/configs/mx6q_sabreauto.h
+@@ -121,23 +121,30 @@
+ #define CONFIG_RD_LOADADDR (CONFIG_LOADADDR + 0x300000)
+
+ #define CONFIG_EXTRA_ENV_SETTINGS \
+- "netdev=eth0\0" \
+- "ethprime=FEC0\0" \
+- "uboot=u-boot.bin\0" \
+- "kernel=uImage\0" \
+- "nfsroot=/opt/eldk/arm\0" \
+- "bootargs_base=setenv bootargs console=ttymxc3,115200\0"\
+- "bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs "\
+- "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\
+- "bootcmd_net=run bootargs_base bootargs_nfs; " \
+- "tftpboot ${loadaddr} ${kernel}; bootm\0" \
+- "bootargs_mmc=setenv bootargs ${bootargs} " \
+- "root=/dev/mmcblk0p1 rootwait\0" \
+- "bootcmd_mmc=run bootargs_base bootargs_mmc; " \
+- "mmc dev 2; " \
+- "mmc read ${loadaddr} 0x800 0x2000; bootm\0" \
+- "bootcmd=run bootcmd_mmc\0" \
+-
++ "script=boot.scr\0" \
++ "uimage=uImage\0" \
++ "mmcdev=2\0" \
++ "mmcpart=1\0" \
++ "mmcroot=/dev/mmcblk1p2 rw\0" \
++ "mmcrootfstype=ext3 rootwait\0" \
++ "mmcargs=setenv bootargs console=ttymxc3,${baudrate} " \
++ "root=${mmcroot} " \
++ "rootfstype=${mmcrootfstype}\0" \
++ "loadbootscript=" \
++ "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
++ "bootscript=echo Running bootscript from mmc ...; " \
++ "source\0" \
++ "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
++ "mmcboot=echo Booting from mmc ...; " \
++ "run mmcargs; " \
++ "bootm\0" \
++ "netargs=setenv bootargs console=ttymxc3,${baudrate} " \
++ "root=/dev/nfs " \
++ "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
++ "netboot=echo Booting from net ...; " \
++ "run netargs; " \
++ "dhcp ${uimage}; bootm\0" \
++ "bootcmd=run loaduimage; run mmcboot;\0" \
+
+ #define CONFIG_ARP_TIMEOUT 200UL
+
+--
+1.7.5.4
+