OpenWrt/LEDE Project

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

FS#3552 - Linksys RE6500 bootloops with latest snapshots

The RE6500 was working fine on an old 19.07 snapshot: OpenWrt 19.07-SNAPSHOT r10578-b3d70f628b

I sysupgraded to latest snapshot and it does not come up. Judging from the LEDs, it seems to bootloop.

Booting the latest snapshot initramfs through TFTP works. I sysupgraded again from the initramfs, and it still bootloops.

Possibly related to FS#3539. I will try to get a serial output to see what happens.

Project Manager
Baptiste Jonglez commented on 01.01.2021 13:02

Ok, on the serial port, it goes up to:

U-Boot 1.1.3 (Jun  2 2015 - 15:52:13)
                                     
Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83f20000

It spends several seconds here, and then reboots.

According to the wiki, there should be kernel boot log just after this point.

Project Manager
Baptiste Jonglez commented on 01.01.2021 14:15

It works with a self-built image on r15386-c22b689cf8

Probably an issue with kernel size, my build:

u-boot legacy uImage, MIPS OpenWrt Linux-5.4.85, Linux/MIPS, OS Kernel Image (lzma), 2407280 bytes, Fri Jan 1 12:22:58 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0xB38001C5, Data CRC: 0x402476AB

vs snapshot build:

u-boot legacy uImage, MIPS OpenWrt Linux-5.4.85, Linux/MIPS, OS Kernel Image (lzma), 2512013 bytes, Thu Dec 31 22:09:09 2020, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0x43D6213D, Data CRC: 0x8CD79BE0

Borromini commented on 02.01.2021 00:24

Looks like 8 MiB flash, how big is the kernel 'partition'? Or does mt7621 use a dynamic splitter?

Project Manager
Baptiste Jonglez commented on 02.01.2021 08:26

Yes it's a 8 MB flash device.

Good question. It looks dynamic to me:

0x000000000000-0x000000030000 : "u-boot"
0x000000030000-0x000000040000 : "u-boot-env"
0x000000040000-0x000000050000 : "factory"
0x000000050000-0x000000800000 : "firmware"
0x000000000000-0x00000024bbb0 : "kernel"
0x00000024bbb0-0x0000007b0000 : "rootfs"
0x0000004e0000-0x0000007b0000 : "rootfs_data"

0x24bbb0 = 2407344 (my kernel is 2407280)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing