After updating the OpenWRT with an image built using https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04, it hangs during boot, any tip of what could be the cause?
U-Boot 1.1.3 (Jan 9 2014 - 18:11:05)
Board: Ralink APSoC DRAM: 16 MB
relocate_code Pointer at: 80fb4000
spi_wait_nsec: 42
spi device id: ef 40 16 0 0 (40160000)
find flash: W25Q32BV
raspi_read: from:30000 len:1000
.raspi_read: from:30000 len:1000
.============================================
Ralink UBoot Version: 3.6.0.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: EEPROM
DRAM_SIZE: 128 Mbits SDR
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 16 MBytes
Flash component: SPI Flash
Date:Jan 9 2014 Time:18:11:05
============================================
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: HLK-RM02
Created: 2014-05-08 17:46:28 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3765646 Bytes = 3.6 MB
Load Address: 80000000
Entry Point: 80000000
raspi_read: from:50040 len:39758e
.......................................................... 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.10.13 (administrator@elementaryOS) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38333) ) #6 Thu May 8 18:45:19 WEST 2014
[ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[ 0.000000] MIPS: machine is HILINK HLK-RM04
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 01000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x00ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x00ffffff]
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 mem=16M
[ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Writing ErrCtl register=0000f0ff
[ 0.000000] Readback ErrCtl register=0000f0ff
[ 0.000000] Memory: 10420k/16384k available (2118k kernel code, 5964k reserved, 536k data, 2912k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:128
[ 0.000000] CPU Clock: 360MHz
[ 0.000000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.080000] pinctrl core: initialized pinctrl subsystem
[ 0.090000] NET: Registered protocol family 16
[ 0.110000] rt2880-pinmux pinctrl.1: invalid group "rgmii" for function "gpio"
[ 0.120000] rt2880-pinmux pinctrl.1: invalid group "mdio" for function "gpio"
[ 0.150000] bio: create slab <bio-0> at 0
[ 0.160000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.170000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.180000] Switching to clocksource MIPS
[ 0.190000] NET: Registered protocol family 2
[ 0.200000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.220000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.230000] TCP: Hash tables configured (established 512 bind 512)
[ 0.240000] TCP: reno registered
[ 0.250000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.270000] NET: Registered protocol family 1
It hangs here :-(
The module works well (at least the module boots and I can interact with it through the serial console) with the image rt305x-hlk-rm04-generic-sysupgrade.bin obtained here: https://github.com/bogdanr/HLK-RM04. I've made the upgrade through TFTP.
Thanks in advance
Fernando
(Last edited by fgomes on 9 May 2014, 11:51)