1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00

u-boot: add 2011.09+git for beaglebone 1st and 2nd stage

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-09-27 13:03:06 +02:00
parent 64ee1c77f6
commit dd497f403f
3 changed files with 52 additions and 0 deletions

View File

@@ -64,4 +64,5 @@ do_deploy () {
cd ${DEPLOY_DIR_IMAGE}
rm -f ${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
}

View File

@@ -0,0 +1,26 @@
From 5db18d5efdbdcd52ab33e28929a30f743a202bf8 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Fri, 7 Oct 2011 18:17:50 +0200
Subject: [PATCH] am335x-evm: hack in ethernet rmii clock
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
include/configs/am335x_evm.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 543c604..0f806aa 100755
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -163,7 +163,7 @@
"bootm ${loadaddr}\0" \
#define CONFIG_BOOTCOMMAND \
- "if mmc rescan; then " \
+ "mw.l 0x44e10650 0x05 ; if mmc rescan; then " \
"if run loadbootscript; then " \
"run bootscript; " \
"else " \
--
1.6.6.1

View File

@@ -0,0 +1,25 @@
require u-boot.inc
# No patches for other machines yet
COMPATIBLE_MACHINE = "beaglebone"
DEFAULT_PREFERENCE_beaglebone = "99"
PV = "2011.09+git"
PR = "r2"
# SPL build
UBOOT_BINARY = "u-boot.img"
UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
UBOOT_SYMLINK = "u-boot-${MACHINE}.img"
SRC_URI = "git://github.com/joelagnel/u-boot.git;protocol=git;branch=bone-bringup \
file://0001-am335x-evm-hack-in-ethernet-rmii-clock.patch \
"
SRCREV = "d643e691ab2055ef64f73dd70300a73e0443d1ef"
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
S = "${WORKDIR}/git"
do_deploy_append () {
install ${S}/MLO ${DEPLOY_DIR_IMAGE}/MLO
}