[PATCH] AT91RM9200 NAND support

Savin Zlobec savin at epico.si
Tue Jun 20 09:17:04 EDT 2006


Thomas Gleixner wrote:

>On Tue, 2006-06-20 at 14:44 +0200, Thomas Gleixner wrote:
>  
>
> Oops, looked at the wrong place. The culprit is elsewhere.
>
>Please replace the debug patch by the one below.
>  
>
[...]

Here is what I get.
    savin

Chip not ready in nand_command():
Last caller: c012bd44 (nand_base.c:1638)
Last command: 0x10
Current caller: c012c12c (nand_base.c:1728)
Current command: 0x60

Chip not ready in nand_command():
Last caller: c012bffc (nand_base.c:1393)
Last command: 0x10
Current caller: c012bfd0 (nand_base.c:1382)
Current command: 0x80

Chip not ready in nand_command():
Last caller: c012bd44 (nand_base.c:1638)
Last command: 0x10
Current caller: c012b688 (nand_base.c:996)
Current command: 0x00

961     static int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
996     chip->cmdfunc(mtd, NAND_CMD_READ0, 0x00, page);

1375    static int nand_write_page(struct mtd_info *mtd, struct 
nand_chip *chip,
1382    chip->ecc.write_page(mtd, chip, buf);
1393    status = chip->waitfunc(mtd, chip, FL_WRITING);

1582    static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
1638    status = chip->waitfunc(mtd, chip, FL_WRITING);

1723    static void single_erase_cmd(struct mtd_info *mtd, int page)
1728    chip->cmdfunc(mtd, NAND_CMD_ERASE2, -1, -1);





More information about the linux-mtd mailing list