* [U-Boot-Users] New NAND code draft
@ 2004-04-30 12:05 Pantelis Antoniou
2004-06-06 23:24 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Pantelis Antoniou @ 2004-04-30 12:05 UTC (permalink / raw)
To: u-boot
Hi there
In the attached patch you can see the progress of my work
in the NAND rewrite.
This is not suitable for inclusion yet.
Things that work now:
1. Correct handling of bad blocks.
2. NAND boot works
3. Updated to latest MTD snapshot.
4. Direct to NAND tftp/nfs support.
Things that are probably borked:
1. Multiple chip support (I don't have such hardware available
and the previous code was kinda of unclear.
2. Since there is DOC support in u-boot that utilizes the old
code and definitions I left the linux/mtd/nand.h header in
place, and created a new mtd_nand.h header for the new stuff.
3. JFFS2 support although there is probably b0rken.
4. The read.xxx/write.xxx support is just not there yet.
I would appreciate it if you could take a look and report
back to me.
Regards
Pantelis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nand-new.diff.bz2
Type: application/x-bzip2
Size: 19019 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040430/2caf7fd7/attachment.bin
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] New NAND code draft
2004-04-30 12:05 [U-Boot-Users] New NAND code draft Pantelis Antoniou
@ 2004-06-06 23:24 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-06-06 23:24 UTC (permalink / raw)
To: u-boot
In message <40924100.9000800@intracom.gr> you wrote:
>
> In the attached patch you can see the progress of my work
> in the NAND rewrite.
...
> I would appreciate it if you could take a look and report
> back to me.
It doesn't even compile for me:
-> MAKEALL PPChameleonEVB_MODEL_ME
... MEDIUM model
Configuring for PPChameleonEVB board...
cmd_nand.c: In function `nand_write_page_oob':
cmd_nand.c:974: warning: unused variable `i'
cmd_nand.c: In function `nand_erase':
cmd_nand.c:1233: warning: implicit declaration of function `nand_mark_bad_sector'
cmd_nand.c: At top level:
cmd_nand.c:863: warning: `nand_write_page' defined but not used
common/libcommon.a(cmd_nand.o)(.text+0x1c7c): In function `nand_erase':
/tmp/u-boot/common/cmd_nand.c:1243: undefined reference to `nand_mark_bad_sector'
common/libcommon.a(cmd_nand.o)(.text+0x1f90): In function `nand_write_ecc':
/tmp/u-boot/common/cmd_nand.c:1407: undefined reference to `nand_mark_bad_sector'
common/libcommon.a(cmd_nand.o)(.text+0x1fec):/tmp/u-boot/common/cmd_nand.c:1380: undefined reference to `nand_mark_bad_sector'
make: *** [u-boot] Error 1
ppc_8xx-size: u-boot: No such file or directory
->
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
When all is said and done, more is said than done.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-06 23:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-30 12:05 [U-Boot-Users] New NAND code draft Pantelis Antoniou
2004-06-06 23:24 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox