Modify

Opened 2 years ago

Last modified 2 years ago

#21970 new defect

Openwrt trunk - mvebu - WRT 1200AC

Reported by: adrien Owned by: developers
Priority: highest Milestone:
Component: base system Version: Trunk
Keywords: mvebu nand bug timeout Cc:

Description

Hello

With my linksys WRT 1200AC router and OpenWRT trunk, I have a strange bug :

   28.121056] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   28.321054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   28.521054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   28.721054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   28.921054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   29.121054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   29.321054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   29.521054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   29.721054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   29.921054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   30.121054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   30.321054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   30.521054] pxa3xx-nand f10d0000.flash: Wait time out!!!
[   30.721054] pxa3xx-nand f10d0000.flash: Wait time out!!!

This lines are present on 8 boot / 10.

Same bug in #21404

I dont find solutions to correct this bug.

Any idea ?

Thank

Adrien

Attachments (0)

Change History (3)

comment:1 Changed 2 years ago by adrien

Fix with this patch

--- linux-4.1.16/drivers/mtd/nand/pxa3xx_nand.c
+++ linux-4.1.16/drivers/mtd/nand/pxa3xx_nand.c
@@ -38,8 +38,8 @@
 
 #include <linux/platform_data/mtd-nand-pxa3xx.h>
 
-#define	CHIP_DELAY_TIMEOUT	msecs_to_jiffies(200)
-#define NAND_STOP_DELAY		msecs_to_jiffies(40)
+#define	CHIP_DELAY_TIMEOUT	msecs_to_jiffies(2000)
+#define NAND_STOP_DELAY		msecs_to_jiffies(400)
 #define PAGE_CHUNK_SIZE		(2048)
 
 /*

comment:2 Changed 2 years ago by anonymous

Try the 4.4.4 kernel from trunk, for me i don't see this error on my 1200AC.

comment:3 Changed 2 years ago by adrien

Thank for your reply :)
But with the patch, all is ok now with kernel 4.1.16.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.