From: Craig Day <cday@phytec.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Update for 5329
Date: Wed, 1 Aug 2007 10:28:15 -0700 [thread overview]
Message-ID: <02fb01c7d461$677fbf50$1a0510ac@CRAIG> (raw)
In-Reply-To: <4791E710007FEB4BBF83775D787F462F04934CBB@az33exm22.fsl.freescale.net>
Hi TsiChung,
I've ported u-boot 1.1.6 over to the LPC3180 (arm926ejs core) and have
included NAND support. The nand_write_ecc function in
drivers/nand/nand_base.c appears to be writing pages correctly, but the
pointer to the source data in memory for nand_verify_pages does not seem to
be updated correctly. Specifically, line 1707 in nand_base.c contains:
this->data_poi = bufstart; However, the problem is that bufstart is never
updated, and always points to the beginning of the data source, causing all
nand_page_verify calls to compare the newest written pages in NAND flash to
the beginning of the data source. After the first block NAND writing fails
due to nand_verify_pages failing. To fix this I added in:
bufstart += (1 << this->phys_erase_shift);
Have you seen this problem? Or has anyone else run into this problem? Or is
there something I'm missing?
cheers,
Craig
-----Original Message-----
From: u-boot-users-bounces@lists.sourceforge.net
[mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of Liew Tsi
Chung-r5aahp
Sent: Wednesday, August 01, 2007 9:13 AM
To: u-boot-users at lists.sourceforge.net
Cc: Stefan Roese; Wilson Callan
Subject: [U-Boot-Users] Update for 5329
Stefan,
Here is the updates:
1. Update-CONFIG_MCFUART.patch
2. Added-common-define-CONFIG_CF_MII-for-do_mii.patch
3. Moved-sync-from-m5329evb.c-to-include-asm-m68k-io.patch
4. Added-uart_gpio_conf-for-port-configuration.patch
5. Update-timer.patch
6. Added-fsl_i2c-header-file.patch
7. Added-NAND-Flash-support-and-I2C-support.patch
8. Added-GPIO-enabled-for-I2C-signals.patch
Note: NAND support still partially incomplete, unable to read/write.
Erase, bad, markbad, lock, unlock and info seems working.
Thanks,
Regards,
TsiChung
next prev parent reply other threads:[~2007-08-01 17:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 16:13 [U-Boot-Users] Update for 5329 Liew Tsi Chung-r5aahp
2007-08-01 17:28 ` Craig Day [this message]
2007-08-02 5:23 ` Stefan Roese
2007-08-02 15:14 ` Craig Day
2007-08-02 15:22 ` Stefan Roese
2007-08-02 5:56 ` Stefan Roese
2007-08-06 20:52 ` [U-Boot-Users] Update for 5329 - part I Liew Tsi Chung-r5aahp
2007-08-08 8:02 ` Stefan Roese
2007-08-06 20:53 ` [U-Boot-Users] Update for 5329 - part II Liew Tsi Chung-r5aahp
2007-08-08 8:03 ` Stefan Roese
2007-08-08 8:08 ` Liew Tsi Chung-r5aahp
2007-08-14 17:27 ` [U-Boot-Users] ColdFire: Timer and MCF52x2 update Liew Tsi Chung-r5aahp
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='02fb01c7d461$677fbf50$1a0510ac@CRAIG' \
--to=cday@phytec.com \
--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.