All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Testing u-boot-dm/next
Date: Mon, 13 Apr 2015 11:04:08 -0600	[thread overview]
Message-ID: <552BF708.4040402@wwwdotorg.org> (raw)
In-Reply-To: <552BEE62.6000306@wwwdotorg.org>

On 04/13/2015 10:27 AM, Stephen Warren wrote:
> On 04/08/2015 09:11 PM, Simon Glass wrote:
>> (Correcting address for Masahiro, sorry)
>>
>> On 8 April 2015 at 21:07, Simon Glass <sjg@chromium.org> wrote:
>>
>>> Hi,
>>>
>>> I have quite a few patches queued up in the next branch of u-boot-dm,
>>> ready for when the merge window options.
>>>
>>> If anyone has time and can give it a spin on their board, it would be
>>> much
>>> appreciated!
>
> On Jetson TK1, there's something up with USB.
...
> ... and here's u-boot-dm/next
>
>> Tegra124 (Jetson TK1) # usb start
>> starting USB...
>> USB-1:   USB EHCI 1.10
>> scanning bus 0 for devices... 1 USB Device(s) found
>> USB-1:   USB EHCI 1.10
>>
>> scanning bus 1 for devices... EHCI timed out on TD - token=0x80008d80
>>       USB device not accepting new address (error=2)
>> EHCI timed out on TD - token=0x80008d80
>>
>>       USB device not accepting new address (error=2)
>> 4 USB Device(s) found
>>        scanning usb for ethernet devices... 0 Ethernet Device(s) found

...
> Seaboard/Springbank appears to have the same issue. Additionally, the
> flashing process spews a ton of:
>
> ERROR: v7_dcache_inval_range - start address is not aligned - 0x3f77a428
> ERROR: v7_dcache_inval_range - stop address is not aligned - 0x3f77ac28

Both of those bisect to:

7bf0b2d00982 dm: usb: tegra: Move to driver model for USB

I wonder if the NAND issue is just a bug that's triggered by stack/data 
layout changes, and that commit tickles it?

For testing, it may be easier to load U-Boot into RAM that flash it 
every time. If so, since there's only 1 USB port, you'll need to use 
"usb reset" to re-scan that USB port. That will only work with the 
following patch, which I'll send in a minute:

diff --git a/include/configs/tegra-common-post.h 
b/include/configs/tegra-common-post.h
index c3ad8beb903d..9ab58555378c 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -26,10 +26,11 @@
  #define STDIN_KBD_KBC ""
  #endif

-#ifdef CONFIG_USB_KEYBOARD
+#if defined(CONFIG_USB_KEYBOARD) && !defined(CONFIG_SPL_BUILD)
  #define STDIN_KBD_USB ",usbkbd"
  #define CONFIG_SYS_USB_EVENT_POLL
  #define CONFIG_PREBOOT			"usb start"
+#define CONFIG_SYS_STDIO_DEREGISTER
  #else
  #define STDIN_KBD_USB ""
  #endif

  reply	other threads:[~2015-04-13 17:04 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09  3:07 [U-Boot] Testing u-boot-dm/next Simon Glass
2015-04-09  3:11 ` Simon Glass
2015-04-09 12:52   ` Bin Meng
2015-04-10 17:42     ` Simon Glass
2015-04-11 13:22       ` Bin Meng
2015-04-11 13:48         ` Bin Meng
2015-04-11 14:00           ` Simon Glass
2015-04-13 14:27           ` Simon Glass
2015-04-13 15:05             ` Bin Meng
2015-04-13 15:20               ` Simon Glass
2015-04-11 13:57         ` Simon Glass
2015-04-13 16:27   ` Stephen Warren
2015-04-13 17:04     ` Stephen Warren [this message]
2015-04-13 17:29       ` Simon Glass
2015-04-13 17:36         ` Stephen Warren
2015-04-13 17:46           ` Simon Glass
2015-04-13 17:52             ` Simon Glass
2015-04-13 19:03               ` Stephen Warren
2015-04-13 20:17                 ` Simon Glass
2015-04-14  3:25                   ` Simon Glass
2015-04-14  3:42                     ` Simon Glass
2015-04-25  4:46   ` Stephen Warren
2015-04-25 14:49     ` Simon Glass
2015-04-09  7:55 ` Przemyslaw Marczak
2015-04-10 17:40   ` Simon Glass
2015-04-10 17:50     ` Przemyslaw Marczak
2015-04-10 17:57       ` Simon Glass
2015-04-10 18:08         ` Przemyslaw Marczak
2015-04-13 14:31           ` Simon Glass
2015-04-13 15:26             ` Przemyslaw Marczak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=552BF708.4040402@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.