diff options
Diffstat (limited to 'meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl/0001-colibri-vf-enable-sdboot-by-default.patch')
-rw-r--r-- | meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl/0001-colibri-vf-enable-sdboot-by-default.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl/0001-colibri-vf-enable-sdboot-by-default.patch b/meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl/0001-colibri-vf-enable-sdboot-by-default.patch new file mode 100644 index 0000000..2e72ff6 --- /dev/null +++ b/meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl/0001-colibri-vf-enable-sdboot-by-default.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From a388755704c3f8c4336939f3c868942d68b1e256 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
3 | Date: Thu, 28 May 2015 09:06:54 +0300 | ||
4 | Subject: [PATCH] colibri vf: enable sdboot by default | ||
5 | |||
6 | Run sdboot first, update dtb file location to /boot/ and | ||
7 | remove console message from tty1 | ||
8 | --- | ||
9 | include/configs/colibri_vf.h | 6 +++--- | ||
10 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
11 | |||
12 | diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h | ||
13 | index feea159..b080510 100644 | ||
14 | --- a/include/configs/colibri_vf.h | ||
15 | +++ b/include/configs/colibri_vf.h | ||
16 | @@ -135,7 +135,7 @@ | ||
17 | "load mmc 0:2 ${kernel_addr_r} /boot/${kernel_file} && " \ | ||
18 | "run sddtbload; bootz ${kernel_addr_r} - ${dtbparam}\0" \ | ||
19 | "sddtbload=setenv dtbparam; load mmc 0:2 ${fdt_addr_r} " \ | ||
20 | - "${soc}-colibri-${fdt_board}.dtb && " \ | ||
21 | + "/boot/${soc}-colibri-${fdt_board}.dtb && " \ | ||
22 | "setenv dtbparam ${fdt_addr_r}\0" | ||
23 | |||
24 | #define NFS_BOOTCMD \ | ||
25 | @@ -160,7 +160,7 @@ | ||
26 | "/boot/${soc}-colibri-${fdt_board}.dtb && " \ | ||
27 | "setenv dtbparam ${fdt_addr_r}\0" | ||
28 | |||
29 | -#define CONFIG_BOOTCOMMAND "run ubiboot; run sdboot; run nfsboot" | ||
30 | +#define CONFIG_BOOTCOMMAND "run sdboot; run ubiboot; run nfsboot" | ||
31 | |||
32 | #define DFU_ALT_NAND_INFO "vf-bcb part 0,1;u-boot part 0,2;ubi part 0,4" | ||
33 | |||
34 | @@ -173,7 +173,7 @@ | ||
35 | "defargs=\0" \ | ||
36 | "console=ttyLP0\0" \ | ||
37 | "setup=setenv setupargs fec_mac=${ethaddr} consoleblank=0 " \ | ||
38 | - "console=tty1 console=${console},${baudrate}n8 ${memargs}\0" \ | ||
39 | + "console=${console},${baudrate}n8 ${memargs}\0" \ | ||
40 | "setsdupdate=mmc rescan && set interface mmc && " \ | ||
41 | "fatload ${interface} 0:1 ${loadaddr} flash_blk.img && " \ | ||
42 | "source ${loadaddr}\0" \ | ||
43 | -- | ||
44 | 1.9.1 | ||
45 | |||