summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot-imx/mx6sl_evk-Fix-the-patch-for-the-default-environment-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-imx/mx6sl_evk-Fix-the-patch-for-the-default-environment-.patch')
-rw-r--r--recipes-bsp/u-boot/u-boot-imx/mx6sl_evk-Fix-the-patch-for-the-default-environment-.patch67
1 files changed, 67 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-imx/mx6sl_evk-Fix-the-patch-for-the-default-environment-.patch b/recipes-bsp/u-boot/u-boot-imx/mx6sl_evk-Fix-the-patch-for-the-default-environment-.patch
new file mode 100644
index 00000000..5d3f868d
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-imx/mx6sl_evk-Fix-the-patch-for-the-default-environment-.patch
@@ -0,0 +1,67 @@
1From bf99fdddbca321f7e74ed82febbe4b5539e3ac66 Mon Sep 17 00:00:00 2001
2From: Daiane Angolini <daiane.angolini@freescale.com>
3Date: Thu, 14 Mar 2013 16:35:35 -0300
4Subject: [PATCH] mx6sl_evk: Change the patch for the default environment
5 variable
6
7Upstream-Status: Pending
8
9Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
10---
11 include/configs/mx6sl_evk.h | 40 ++++++++++++++++++++++++----------------
12 1 file changed, 24 insertions(+), 16 deletions(-)
13
14diff --git a/include/configs/mx6sl_evk.h b/include/configs/mx6sl_evk.h
15index 4c327bc..dfb6374 100644
16--- a/include/configs/mx6sl_evk.h
17+++ b/include/configs/mx6sl_evk.h
18@@ -122,22 +122,30 @@
19 #define CONFIG_RD_LOADADDR 0x81000000
20
21 #define CONFIG_EXTRA_ENV_SETTINGS \
22- "netdev=eth0\0" \
23- "ethprime=FEC0\0" \
24- "uboot=u-boot.bin\0" \
25- "kernel=uImage\0" \
26- "nfsroot=/opt/eldk/arm\0" \
27- "bootargs_base=setenv bootargs console=ttymxc0,115200\0"\
28- "bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs "\
29- "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\
30- "bootcmd_net=run bootargs_base bootargs_nfs; " \
31- "tftpboot ${loadaddr} ${kernel}; bootm\0" \
32- "bootargs_mmc=setenv bootargs ${bootargs} " \
33- "root=/dev/mmcblk0p1 rootwait\0" \
34- "bootcmd_mmc=run bootargs_base bootargs_mmc; " \
35- "mmc dev 1; " \
36- "mmc read ${loadaddr} 0x800 0x2000; bootm\0" \
37- "bootcmd=run bootcmd_mmc\0" \
38+ "script=boot.scr\0" \
39+ "uimage=uImage\0" \
40+ "mmcdev=1\0" \
41+ "mmcpart=1\0" \
42+ "mmcroot=/dev/mmcblk0p2 rw\0" \
43+ "mmcrootfstype=ext3 rootwait\0" \
44+ "mmcargs=setenv bootargs console=ttymxc0,${baudrate} " \
45+ "root=${mmcroot} " \
46+ "rootfstype=${mmcrootfstype}\0" \
47+ "loadbootscript=" \
48+ "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
49+ "bootscript=echo Running bootscript from mmc ...; " \
50+ "source\0" \
51+ "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
52+ "mmcboot=echo Booting from mmc ...; " \
53+ "run mmcargs; " \
54+ "bootm\0" \
55+ "netargs=setenv bootargs console=ttymxc0,${baudrate} " \
56+ "root=/dev/nfs " \
57+ "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
58+ "netboot=echo Booting from net ...; " \
59+ "run netargs; " \
60+ "dhcp ${uimage}; bootm\0" \
61+ "bootcmd=run loaduimage; run mmcboot;\0" \
62
63
64 #define CONFIG_ARP_TIMEOUT 200UL
65--
661.7.10.4
67