diff options
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-imx/mx6dl_sabresd-Change-default-environment-to-work-wit.patch')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-imx/mx6dl_sabresd-Change-default-environment-to-work-wit.patch | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-imx/mx6dl_sabresd-Change-default-environment-to-work-wit.patch b/recipes-bsp/u-boot/u-boot-imx/mx6dl_sabresd-Change-default-environment-to-work-wit.patch new file mode 100644 index 00000000..da4a771e --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-imx/mx6dl_sabresd-Change-default-environment-to-work-wit.patch | |||
@@ -0,0 +1,67 @@ | |||
1 | From 7ae3e4c665bd27111ee8ae2b801251b1d32f44cc Mon Sep 17 00:00:00 2001 | ||
2 | From: Daiane Angolini <daiane.angolini@freescale.com> | ||
3 | Date: Wed, 20 Mar 2013 03:57:54 -0500 | ||
4 | Subject: [PATCH] mx6dl_sabresd: Change default environment to work with OE | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com> | ||
9 | --- | ||
10 | include/configs/mx6dl_sabresd.h | 41 ++++++++++++++++++++++---------------- | ||
11 | 1 files changed, 24 insertions(+), 17 deletions(-) | ||
12 | |||
13 | diff --git a/include/configs/mx6dl_sabresd.h b/include/configs/mx6dl_sabresd.h | ||
14 | index a496453..6499d25 100644 | ||
15 | --- a/include/configs/mx6dl_sabresd.h | ||
16 | +++ b/include/configs/mx6dl_sabresd.h | ||
17 | @@ -121,23 +121,30 @@ | ||
18 | #define CONFIG_RD_LOADADDR (CONFIG_LOADADDR + 0x300000) | ||
19 | |||
20 | #define CONFIG_EXTRA_ENV_SETTINGS \ | ||
21 | - "netdev=eth0\0" \ | ||
22 | - "ethprime=FEC0\0" \ | ||
23 | - "uboot=u-boot.bin\0" \ | ||
24 | - "kernel=uImage\0" \ | ||
25 | - "nfsroot=/opt/eldk/arm\0" \ | ||
26 | - "bootargs_base=setenv bootargs console=ttymxc0,115200\0"\ | ||
27 | - "bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs "\ | ||
28 | - "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\ | ||
29 | - "bootcmd_net=run bootargs_base bootargs_nfs; " \ | ||
30 | - "tftpboot ${loadaddr} ${kernel}; bootm\0" \ | ||
31 | - "bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp " \ | ||
32 | - "root=/dev/mmcblk0p1 rootwait\0" \ | ||
33 | - "bootcmd_mmc=run bootargs_base bootargs_mmc; " \ | ||
34 | - "mmc dev 3; " \ | ||
35 | - "mmc read ${loadaddr} 0x800 0x2000; bootm\0" \ | ||
36 | - "bootcmd=run bootcmd_net\0" \ | ||
37 | - | ||
38 | + "script=boot.scr\0" \ | ||
39 | + "uimage=uImage\0" \ | ||
40 | + "mmcdev=2\0" \ | ||
41 | + "mmcpart=1\0" \ | ||
42 | + "mmcroot=/dev/mmcblk1p2 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 | #define CONFIG_ARP_TIMEOUT 200UL | ||
64 | |||
65 | -- | ||
66 | 1.7.5.4 | ||
67 | |||