From: Charles Manning <manningc2@actrix.gen.nz>
To: Luca Ceresoli <luca@lucaceresoli.net>
Cc: linux-omap@vger.kernel.org, notasas@gmail.com
Subject: Re: UbiFS + HWECC(?) + BeagleBoard = fail
Date: Wed, 15 Dec 2010 17:13:42 +1300 [thread overview]
Message-ID: <201012151713.43028.manningc2@actrix.gen.nz> (raw)
In-Reply-To: <LD5JNC$C40D8861A973796B25CD03BFFD0B4CA1@aruba.it>
On Thursday 09 December 2010 21:30:48 Luca Ceresoli wrote:
> Charles Manning wrote:
> > Luca, I have been having similar problems on a hacked Overo kernel.
> >
> > I have no problems with 2.6.35.
> >
> > I tried just commenting out the define and disabling PREFETCH and did not
> > get a good boot due to ubi not finding the volume info.
> >
> > Are you loading up a UBI image with uboot?
> >
> > Are you using the ubi volume as rootfs?
>
> To make it work again, I did from u-boot:
> - nand scrub (*completely* wipe the NAND)
> - ubi part nand0,3 (recreate partitions)
> - ubi create rootfs 400000
> - ...create other partitions...
> - ubi write ... (to rewrite rootfs)
> - finally, boot with the kernel having the define commented and PREFETCH
> off.
>
> Not all of these may be needed, but this way I got the board up and running
> again.
>
> Luca
What branch are you working from?
I tried working from a reasonably recent master on
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
I found that reads via the prefetch eengine work, but reads via
ioread16_rep(nand->IO_ADDR_R, buf, len / 2)
do not.
Perhaps this is due to the address not being set up properly. Any clues?
I found that I can make everything work by realigning all accesses in
nand_base.c to be 4-byte aligned.
-- Charles
next prev parent reply other threads:[~2010-12-15 4:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 8:30 UbiFS + HWECC(?) + BeagleBoard = fail Luca Ceresoli
2010-12-15 4:13 ` Charles Manning [this message]
2010-12-15 17:35 ` Charles Manning
-- strict thread matches above, loose matches on Subject: below --
2010-12-07 10:29 Luca Ceresoli
2010-12-08 0:19 ` Charles Manning
2010-12-06 17:51 Luca Ceresoli
2010-11-07 7:40 [AvataR]
2010-11-08 11:08 ` Grazvydas Ignotas
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=201012151713.43028.manningc2@actrix.gen.nz \
--to=manningc2@actrix.gen.nz \
--cc=linux-omap@vger.kernel.org \
--cc=luca@lucaceresoli.net \
--cc=notasas@gmail.com \
/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