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#1728 - Newifi D1- Unable to reboot #6695

Closed
openwrt-bot opened this issue Aug 4, 2018 · 5 comments
Closed

FS#1728 - Newifi D1- Unable to reboot #6695

openwrt-bot opened this issue Aug 4, 2018 · 5 comments
Labels
flyspray kernel pull request/issue with Linux kernel related changes

Comments

@openwrt-bot
Copy link

ningzichun:

Newifi D1, openwrt trunk, 18.06, etc.

This device can not reboot and there is a patch that can fix this problem.
The official builds don't include it, so the only way to solve it is to build the firmware by ourselves, which is very inconvenient.

I hope there is someone who can solve this problem.

Thank you!

The patch is from https://forum.openwrt.org/t/newifi-d1-unable-to-reboot/7910/8

--- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1075,7 +1075,7 @@ static const struct flash_info spi_nor_i { "mx25u6435f", INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) }, { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) }, - { "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_READ_OP) }, { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) }, { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
@openwrt-bot
Copy link
Author

psyborg:

show us your firstboot kernel log with and without patch

@openwrt-bot
Copy link
Author

ningzichun:

Hello,

here are the kernel logs attached.

@openwrt-bot
Copy link
Author

psyborg:

without patch bootlog is incomplete: last relevant message: erasing all blocks after the end marker...

try again, but wait few minutes until filesystem operation complete

@openwrt-bot
Copy link
Author

ningzichun:

Here is the log without patch

@aparcar aparcar added the kernel pull request/issue with Linux kernel related changes label Feb 22, 2022
@981213
Copy link
Member

981213 commented Mar 7, 2022

It's fixed upsteam.

@981213 981213 closed this as completed Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes
Projects
None yet
Development

No branches or pull requests

3 participants