OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Etienne CHAMPETIER - 20.09.2020

FS#3354 - RB750Gr3 fail to boot with recent snapshots

I can netboot and flash RB750Gr3 with latest 19.04 (built myself)
Latest master snapshot from today september 20 fail to netboot or flashboot (after flashing from an image that netboot ;) )
Build from a fresh master git clone (default + luci-ssl) also fail

OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80001000...

# boot stuck here

Build with the following patch on top of 90853439a162d7c5389f6a68028b4390c349c04d netboot and flashboot fine

diff --git a/target/linux/ramips/mt7621/config-5.4 b/target/linux/ramips/mt7621/config-5.4
index b4c8ab1f1c..c7a5e6d2d3 100644
--- a/target/linux/ramips/mt7621/config-5.4
+++ b/target/linux/ramips/mt7621/config-5.4
@@ -27,7 +27,7 @@ CONFIG_CEVT_R4K=y
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_CLKSRC_MIPS_GIC=y
 CONFIG_CLONE_BACKWARDS=y
-CONFIG_CMDLINE="rootfstype=squashfs,jffs2"
+CONFIG_CMDLINE="rootfstype=squashfs,jffs2 earlyprintk"
 CONFIG_CMDLINE_BOOL=y
 # CONFIG_CMDLINE_OVERRIDE is not set
 CONFIG_COMMON_CLK=y
Etienne CHAMPETIER commented on 21.09.2020 19:45

Here what made the image boot:

CONFIG_CMDLINE="rootfstype=squashfs,jffs2 earlyprintk"
CONFIG_CMDLINE="rootfstype=squashfs,jffs2 loglevel=1"
CONFIG_CMDLINE="rootfstype=squashfs,jffs2 loglevel=7"
CONFIG_CMDLINE="rootfstype=squashfs,jffs2 testtestte"
CONFIG_CMDLINE="rootfstype=squashfs,jffs2           "

f00b4r0 on IRC said: "When I have a bit more time on my hand i'll take another look at lzma-loader's code. I'm now convinced it's the cmdline/stack setup there that's causing this bug."

Perry commented on 05.10.2020 14:09

Has there been any progress on this? This bug seems to also affect the Miktotik RBM11G

Perry commented on 05.10.2020 14:11

Also, I did a bisect and it looks like commit 7081b1704e978414cf8e9ea10bf77be9787aa338 is the cause of the problem.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing