D
D
Dmitry Kovalenko2017-03-05 22:43:15
linux
Dmitry Kovalenko, 2017-03-05 22:43:15

The router with OpenWRT does not boot, what's wrong with it?

There is a device on SoC Ralink RT5350F. Almost complete hardware clone of Nexx WT1520. Previously, there was a firmware from Zyxel Keenetic 4G II, I decided to upgrade to OpenWRT.
Actually, the problem is: not a single build is loaded beyond these lines:

U-Boot 1.1.3 (Apr 11 2013 - 00:10:51)

Board: Ralink APSoC DRAM:  16 MB
relocate_code Pointer at: 80fb4000
spi_wait_nsec: 42
spi device id: c2 20 16 c2 20 (2016c220)
find flash: MX25L3205D
raspi_read: from:30000 len:1000
.*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.6.0.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping
DRAM_TYPE: SDRAM
DRAM_SIZE: 128 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 16 MBytes
Flash component: SPI Flash
Date:Apr 11 2013  Time:00:10:51
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

 ##### The CPU freq = 360 MHZ ####
 estimate memory size =16 Mbytes

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                     0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
.   Image Name:   MIPS OpenWrt Linux-3.18.45
   Created:      2017-03-05  12:30:01 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1087633 Bytes =  1 MB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:109891
.................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 16

Starting kernel ...

[    0.000000] Linux version 3.18.45 ([email protected]) (gcc version 4.8.3 (O                                                                                                                                                             penWrt/Linaro GCC 4.8-2014.04 r49389) ) #3 Sun Mar 5 14:29:13 EET 2017
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is Nexx WT1520
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]

Flashing the uboot bootloader did not help.
Suspicious: 16 MB of RAM appears in the logs, but in fact it is 32 MB.
Those firmware that are still loaded immediately fall due to lack of RAM. Previously, OpenWRT worked quietly on this router, without such problems. It is unlikely that this is an "iron" problem - no manipulations with the device were performed.
What can be done about this, and how can I still get OpenWRT on this device?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Somov, 2017-03-06
@DarkDemon

Apparently uboot is not configured correctly Initrd not found or empty - disabling initrd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question