On Sun, Sep 18, 2011 at 2:20 PM, Koen Kooi <k...@beagleboard.org> wrote:
>
> Op 18 sep 2011, om 19:45 heeft Jason Kridner het volgende geschreven:
>
>> There is a v2011.09 tag on the mainline, but I haven't seen a release
>> notice go out.  It didn't make sense to me to try to carry-forward those
>> all patches since the release tag, so I simply picked the latest tag
>> in the maineline.
>>
>> Patched and tested on BeagleBoard-xM revision C.
>>
>> USB Ethernet was tested with:
>> setenv usbethaddr de:ad:be:ef:00:01
>> usb start
>> dhcp^C
>> setenv ipaddr 10.0.1.2
>> ping 10.0.1.1
>>
>> USB Storage was tested with:
>> <above>
>> usb part
>> fatls usb 0
>>
>> led command was tested with:
>> led all off
>> led all on
>> led 1 on
>> led 1 off
>>
>> gpio command tested with:
>> gpio input 4
>> <hold USER button>
>> gpio input 4
>> <release USER button>
>>
>> Also performed boot test.
>>
>> Signed-off-by: Jason Kridner <j...@ti.com>
>> ---
>> ...-beagleboard-config-disable-cache-for-USB.patch |   34
>> +++++++++++++++++
>> ...02-beagleboard-config-enable-gpio-command.patch |   25 +++++++++++++
>> ...d-some-timeout-durations-for-MMC-and-EHCI.patch |   39
>> ++++++++++++++++++++
>> recipes-bsp/u-boot/u-boot_2011.09.bb               |   22 +++++++++++
>> 4 files changed, 120 insertions(+), 0 deletions(-)
>> create mode 100644
>> recipes-bsp/u-boot/u-boot/2011.09/0001-HACK-beagleboard-config-disable-cache-for-USB.patch
>> create mode 100644
>> recipes-bsp/u-boot/u-boot/2011.09/0002-beagleboard-config-enable-gpio-command.patch
>> create mode 100644
>> recipes-bsp/u-boot/u-boot/2011.09/0003-Increased-some-timeout-durations-for-MMC-and-EHCI.patch
>> create mode 100644 recipes-bsp/u-boot/u-boot_2011.09.bb
>>
>> diff --git
>> a/recipes-bsp/u-boot/u-boot/2011.09/0001-HACK-beagleboard-config-disable-cache-for-USB.patch
>> b/recipes-bsp/u-boot/u-boot/2011.09/0001-HACK-beagleboard-config-disable-cache-for-USB.patch
>> new file mode 100644
>> index 0000000..b50b4c8
>> --- /dev/null
>> +++
>> b/recipes-bsp/u-boot/u-boot/2011.09/0001-HACK-beagleboard-config-disable-cache-for-USB.patch
>> @@ -0,0 +1,34 @@
>> +From 03b9bca863257cb24d8f11bb773ad2b8dff820c6 Mon Sep 17 00:00:00 2001
>> +From: Jason Kridner <j...@ti.com>
>> +Date: Sun, 18 Sep 2011 12:16:31 -0400
>> +Subject: [PATCH 1/3] HACK: beagleboard: config: disable cache for USB
>> +
>> +There is currently a bug in the USB code for the BeagleBoard that is
>> +worked-around by disabling the cache.
>> +
>> +See http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/108224
>> +
>> +Signed-off-by: Jason Kridner <j...@ti.com>
>> +---
>> + include/configs/omap3_beagle.h |    5 +++++
>> + 1 files changed, 5 insertions(+), 0 deletions(-)
>> +
>> +diff --git a/include/configs/omap3_beagle.h
>> b/include/configs/omap3_beagle.h
>> +index 1369c89..8a84d7a 100644
>> +--- a/include/configs/omap3_beagle.h
>> ++++ b/include/configs/omap3_beagle.h
>> +@@ -36,6 +36,11 @@
>> + #define CONFIG_OMAP3430               1       /* which is in a 3430 */
>> + #define CONFIG_OMAP3_BEAGLE   1       /* working with BEAGLE */
>> +
>> ++/* TODO: WORK-AROUND for bug in BeagleBoard-specific USB */
>> ++#define CONFIG_SYS_ICACHE_OFF
>> ++#define CONFIG_SYS_DCACHE_OFF
>> ++#define CONFIG_SYS_L2CACHE_OFF
>
> Do all 3 needs to be off or only the d cache?

I don't have time to test that variation right now, I was just pulling
off of what Joel suggested.  I can try to get to that later in the
week.  Joel, do you know?

I think you had some concerns about the questions my PV choice would
make.  I don't feel strongly about it.  Do you want to fix it up or
shall I submit a v2?

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to