Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1035 - gen_nand probe failed #5982

Closed
openwrt-bot opened this issue Oct 2, 2017 · 2 comments
Closed

FS#1035 - gen_nand probe failed #5982

openwrt-bot opened this issue Oct 2, 2017 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

avware:

Flash latest snapshot release on BT Homehub 5.0 Type A showing an error -22 on dmesg:

root@MoonAP:~# dmesg | grep nand
[ 1.002411] gen_nand 14000000.nand-parts: platform_nand_data is missing
[ 1.007679] gen_nand: probe of 14000000.nand-parts failed with error -22
[ 1.015082] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 1.020705] nand: AMD/Spansion S34ML01G1
[ 1.024672] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.043926] 4 ofpart partitions found on MTD device 14000000.nand-parts
[ 1.050306] Creating 4 MTD partitions on "14000000.nand-parts":

The router seems to be functionally. I cannot rollback immediatly to a previous version because timeout of sysupgrade when it tries to write on mtd memory; but after 2-3 attempts (with reboot) I successful flashed an old release r4767-g9adfecc that has no problem:

BusyBox v1.26.2 () built-in shell (ash)
 _________
/        /\      _    ___ ___  ___

/ LE / \ | | | | | |
/ DE / \ | || _|| |) | _|
/
_/ LE \ |||/|| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (SNAPSHOT, r4767-9adfecc)
________/ -----------------------------------------------------------

root@MoonAP:# dmesg | grep nand
[ 0.961083] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 0.966060] nand: AMD/Spansion S34ML01G1
[ 0.970027] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.989464] 4 ofpart partitions found on MTD device 14000000.nand-parts
[ 0.995624] Creating 4 MTD partitions on "14000000.nand-parts":
root@MoonAP:
#

@openwrt-bot
Copy link
Author

mkresin:

I have a commit in my [[https://git.lede-project.org/?p=lede/mkresin/staging.git;a=summary|staging tree]] which will fix the error message.

But it is unrelated to the sysupgrade issue you reported, since the failing driver was never used.

I use the HH5A as my main device for development and never hit anything like you described. Sysupgrade from latest snapshot to latest snapshot works as well.

Either a specific sequence/way of doing the sysupgrade is required to trigger the bug or your hardware is faulty.

@openwrt-bot
Copy link
Author

avware:

Ok, I'll try the new snapshot release and I will report an issue eventually.

thank you Mathias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant