OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version All
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by mrning - 04.08.2018

FS#1728 - Newifi D1- Unable to reboot

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) },
psyborg commented on 08.08.2018 11:52

show us your firstboot kernel log with and without patch

mrning commented on 09.08.2018 06:04

Hello,

here are the kernel logs attached.

psyborg commented on 09.08.2018 12:09

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

mrning commented on 11.08.2018 07:27

Here is the log without patch

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing