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:36:49 -0600 [thread overview]
Message-ID: <552BFEB1.9010701@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ1d1Z3ZPTp9o-ffUgsMdtJgOzgXiB_4JhV-R98ZUSdHew@mail.gmail.com>
On 04/13/2015 11:29 AM, Simon Glass wrote:
> Hi Stephen,
>
> On 13 April 2015 at 11:04, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> 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
>>
>>
>
> I saw that too, and not just on Tegra. But in my testing it didn't
> happen on every run and it happened before and after switching to
> driver model. Can you check by running it 5 times?
>
> I saw a report of this problem on the mailing list so figured it was
> unrelated. For now I can remove this patch from dm/next, but I'll wait
> to hear from you.
I already checked the bisect result 5 times on the bad and immediately
preceding good commit.
>> ...
>>>
>>> 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
>
> This is supposed to use alloc_priv() in drivers/core/device.c to
> allocate a DMA-aligned address. I wonder which buffer is causing this
> problem? I'll check it out on seaboard - I did most of my testing on
> Jetson only a sanity check on seaboard, so perhaps something broke in
> the meantime.
It looks like this one in tegra_nand.c:nand_rw_page():
dma_prepare(buf, 1 << chip->page_shift, is_writing);
... which is odd since I thought that "buf" was simply the user-supplied
buffer, incremented by the NAND page size each time. I'll trace through
the code a bit more.
>> 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?
>
> Which NAND issue?
The cache alignment errors during NAND write.
next prev parent reply other threads:[~2015-04-13 17:36 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
2015-04-13 17:29 ` Simon Glass
2015-04-13 17:36 ` Stephen Warren [this message]
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=552BFEB1.9010701@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.