summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/u-boot/u-boot.inc1
-rw-r--r--recipes-bsp/u-boot/u-boot/0001-am335x-evm-hack-in-ethernet-rmii-clock.patch26
-rw-r--r--recipes-bsp/u-boot/u-boot_2011.10rc.bb25
3 files changed, 52 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot.inc b/recipes-bsp/u-boot/u-boot.inc
index f9dab47e..310d80ca 100644
--- a/recipes-bsp/u-boot/u-boot.inc
+++ b/recipes-bsp/u-boot/u-boot.inc
@@ -64,4 +64,5 @@ do_deploy () {
64 64
65 cd ${DEPLOY_DIR_IMAGE} 65 cd ${DEPLOY_DIR_IMAGE}
66 rm -f ${UBOOT_SYMLINK} 66 rm -f ${UBOOT_SYMLINK}
67 ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
67} 68}
diff --git a/recipes-bsp/u-boot/u-boot/0001-am335x-evm-hack-in-ethernet-rmii-clock.patch b/recipes-bsp/u-boot/u-boot/0001-am335x-evm-hack-in-ethernet-rmii-clock.patch
new file mode 100644
index 00000000..af7fae72
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot/0001-am335x-evm-hack-in-ethernet-rmii-clock.patch
@@ -0,0 +1,26 @@
1From 5db18d5efdbdcd52ab33e28929a30f743a202bf8 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Fri, 7 Oct 2011 18:17:50 +0200
4Subject: [PATCH] am335x-evm: hack in ethernet rmii clock
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7---
8 include/configs/am335x_evm.h | 2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
10
11diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
12index 543c604..0f806aa 100755
13--- a/include/configs/am335x_evm.h
14+++ b/include/configs/am335x_evm.h
15@@ -163,7 +163,7 @@
16 "bootm ${loadaddr}\0" \
17
18 #define CONFIG_BOOTCOMMAND \
19- "if mmc rescan; then " \
20+ "mw.l 0x44e10650 0x05 ; if mmc rescan; then " \
21 "if run loadbootscript; then " \
22 "run bootscript; " \
23 "else " \
24--
251.6.6.1
26
diff --git a/recipes-bsp/u-boot/u-boot_2011.10rc.bb b/recipes-bsp/u-boot/u-boot_2011.10rc.bb
new file mode 100644
index 00000000..9aebb1bc
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot_2011.10rc.bb
@@ -0,0 +1,25 @@
1require u-boot.inc
2
3# No patches for other machines yet
4COMPATIBLE_MACHINE = "beaglebone"
5DEFAULT_PREFERENCE_beaglebone = "99"
6PV = "2011.09+git"
7PR = "r2"
8
9# SPL build
10UBOOT_BINARY = "u-boot.img"
11UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
12UBOOT_SYMLINK = "u-boot-${MACHINE}.img"
13
14SRC_URI = "git://github.com/joelagnel/u-boot.git;protocol=git;branch=bone-bringup \
15 file://0001-am335x-evm-hack-in-ethernet-rmii-clock.patch \
16 "
17SRCREV = "d643e691ab2055ef64f73dd70300a73e0443d1ef"
18
19LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
20
21S = "${WORKDIR}/git"
22
23do_deploy_append () {
24 install ${S}/MLO ${DEPLOY_DIR_IMAGE}/MLO
25}