From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MTD update?
Date: Wed, 17 Oct 2007 16:21:34 +0200 [thread overview]
Message-ID: <200710171621.34293.sr@denx.de> (raw)
In-Reply-To: <2563ac9e0710170637n27d68939l332aeb7ec018c204@mail.gmail.com>
Hi William,
On Wednesday 17 October 2007, William Juul wrote:
> On two custom designs (ARM and PPC based) we are running YAFFS on NAND
> devices in U-boot and Linux.
>
> We had problems configuring YAFFS/MTD in such a way that we could use
> the same partition in both U-boot and Linux. Additionaly we could not
> find support for 4KB pages in the current MTD implementation in
> U-boot. We also ran into (easily fixable) problems since nand_ids.c
> contained two entries with the same ID.
>
> Thus, we upgraded the MTD files in U-boot by using the corresponding
> files in Linux 2.6.22.1, which we used at the time). This was a rather
> large change of u-boot source, but it solved all problems we had with
> NAND. The patch touched several files in drivers/nand, include,
> include/linux, include/linux/mtd and common. The patch has a total
> size of >300KB.
>
> Currently this patch is based on 1.2.0 and it will require some work
> before we submit a patch:
> - base the patch on 1.3.0
> - MAKEALL ppc/arm is currently breaking for some configurations
> - some code clean-up
>
> We do not have the resources (time/HW) to test this patch on anything
> else than our two custom boards. Thus we will have to rely on help
> from the community after submitting the patch..
I'll be glad to review the code (if time permits) and test it on some of my
platforms (PPC based).
> Comments?
I think this is a necessary move. A lot changed in the Linux MTD code, since
it was last ported from Linux to U-Boot. So I really appreciate your effort
here.
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2007-10-17 14:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 13:37 [U-Boot-Users] MTD update? William Juul
2007-10-17 14:21 ` Stefan Roese [this message]
2007-10-30 15:17 ` William Juul
2007-10-31 7:17 ` Stefan Roese
2007-10-31 21:05 ` William Juul
2007-11-01 0:12 ` [U-Boot-Users] Interrupt in u-boot standalone application Leonid
2007-11-02 10:18 ` [U-Boot-Users] MTD update? Marcel Ziswiler
2007-11-02 10:43 ` Stefan Roese
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=200710171621.34293.sr@denx.de \
--to=sr@denx.de \
--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.