From: Thierry Reding <thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: Andrey Smirnov
<andrey.smirnov-MC3rjLPHZ0ivD/XHwUtZZ+TW4wlIGRCZ@public.gmane.org>,
"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [RFC] tegra_pcm DMA buffers allocation
Date: Fri, 20 Apr 2012 07:58:31 +0200 [thread overview]
Message-ID: <20120420055831.GA15470@avionic-0098.adnet.avionic-design.de> (raw)
In-Reply-To: <4F90858D.4010206-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1809 bytes --]
* Stephen Warren wrote:
> On 04/19/2012 03:07 PM, Andrey Smirnov wrote:
> > On Thu, 2012-04-19 at 16:07 -0400, Stephen Warren wrote:
> ...
> >> BTW, did you try running the mainline code on your board. If it's
> >> derived from Harmony, it should be easy to get it going.
> >
> > Last time we did there was no support for Tegra's NAND and display
> > controllers
>
> What do you need the NAND controllers for? I'm not 100% certain, but I
> believe we plan on upstreaming NAND support into U-Boot, but not the
> kernel, since we didn't see a need for it there IIRC.
We use a device that is sort of a set-top box, which currently boots from an
SD card. However the SD card is eventually supposed to allow users to display
custom media (slide show, ...). In that case it is very stupid to keep the OS
on the same card.
While U-Boot NAND support is enough to get a kernel booted, you still need
the root filesystem to be loaded from NAND by the kernel. Kernel support is
also pretty much a requirement for runtime updates.
> (Not that we'd stop anyone else doing it)
I've been trying to make the NAND controller work on Tegra 2. Unfortunately
there's not much of a reference to work off except the driver that Simon
Glass posted to the U-Boot mailing list and written by Jim Lin. There is also
a driver in the NVIDIA downstream kernels but that's pretty much broken.
The U-Boot driver doesn't use interrupts obviously so I've resolved to use it
as a base and add interrupt support. Unfortunately I've hit a snag and
whenever I enable interrupts I see the CPU stormed by the NAND controller for
unknown reasons (no bits in ISR, DMA control or decode status registers set).
I'll have to investigate further. Maybe the controller isn't properly
initialized yet.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2012-04-20 5:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-19 16:00 [RFC] tegra_pcm DMA buffers allocation Andrey Smirnov
2012-04-19 20:07 ` Stephen Warren
[not found] ` <4F90708F.8070504-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-04-19 21:07 ` Andrey Smirnov
2012-04-19 21:37 ` Stephen Warren
[not found] ` <4F90858D.4010206-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-04-19 23:30 ` Andrey Smirnov
2012-04-20 5:58 ` Thierry Reding [this message]
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=20120420055831.GA15470@avionic-0098.adnet.avionic-design.de \
--to=thierry.reding-rm9k5ik7kjkj5m59nbduvrnah6klmebb@public.gmane.org \
--cc=andrey.smirnov-MC3rjLPHZ0ivD/XHwUtZZ+TW4wlIGRCZ@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox