summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot/2011.09git
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-11-02 19:24:36 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-11-02 19:24:36 +0100
commitf0da35713774a031b980bded8b38b735b72d1e22 (patch)
tree2ace9c226d02c12cc08471d76764c5d3ce80f1c4 /recipes-bsp/u-boot/u-boot/2011.09git
parent51a7587cde6e7380181907caee86b2cff678f5b6 (diff)
downloadmeta-ti-f0da35713774a031b980bded8b38b735b72d1e22.tar.gz
u-boot 2011.10rc: tweak loadaddress for faster boot
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot/2011.09git')
-rw-r--r--recipes-bsp/u-boot/u-boot/2011.09git/0005-am335x-Change-mmc_load_uimage-to-load-at-a-fixed-add.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot/2011.09git/0005-am335x-Change-mmc_load_uimage-to-load-at-a-fixed-add.patch b/recipes-bsp/u-boot/u-boot/2011.09git/0005-am335x-Change-mmc_load_uimage-to-load-at-a-fixed-add.patch
new file mode 100644
index 00000000..f73d3c4e
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot/2011.09git/0005-am335x-Change-mmc_load_uimage-to-load-at-a-fixed-add.patch
@@ -0,0 +1,49 @@
1From bd152bec1086a35f426c53c9bb9f0c309e216037 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed, 2 Nov 2011 19:07:10 +0100
4Subject: [PATCH 5/5] am335x: Change mmc_load_uimage to load at a fixed address
5 The kernel normally expects to be run from 0x80008000 so if we
6 load from SD card at that-mkimage header we can save a copy of
7 the kernel.
8
9Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
10---
11 include/configs/am335x_evm.h | 8 ++++----
12 1 files changed, 4 insertions(+), 4 deletions(-)
13
14diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
15index 56e36da..8c0fae2 100755
16--- a/include/configs/am335x_evm.h
17+++ b/include/configs/am335x_evm.h
18@@ -74,8 +74,8 @@
19 "loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}\0" \
20 "importbootenv=echo Importing environment from mmc ...; " \
21 "env import -t $loadaddr $filesize\0" \
22- "mmc_load_uimage_fat=fatload mmc ${mmc_dev} ${loadaddr} ${bootfile}\0" \
23- "mmc_load_uimage=ext2load mmc 0:2 ${loadaddr} /boot/${bootfile}\0" \
24+ "mmc_load_uimage_fat=fatload mmc ${mmc_dev} 0x80007fc0 ${bootfile}\0" \
25+ "mmc_load_uimage=ext2load mmc 0:2 0x80007fc0 /boot/${bootfile}\0" \
26 "optargs=\0" \
27 "bootargs_defaults=setenv bootargs " \
28 "console=${console} " \
29@@ -103,7 +103,7 @@
30 "ip=dhcp\0" \
31 "mmc_boot=run mmc_args; " \
32 "run mmc_load_uimage; " \
33- "bootm ${loadaddr}\0" \
34+ "bootm\0" \
35 "nand_boot=echo Booting from nand ...; " \
36 "run nand_args; " \
37 "nand read.i ${loadaddr} ${nand_src_addr} ${nand_img_siz}; " \
38@@ -137,7 +137,7 @@
39 "fi;" \
40 "if run mmc_load_uimage; then " \
41 "run mmc_args;" \
42- "bootm ${loadaddr};" \
43+ "bootm;" \
44 "fi;" \
45 "fi;" \
46 "run nand_boot;" \
47--
481.7.2.5
49