JiapengLi / OpenWrt-HiLink-HLK-RM04

OpenWrt patch and installation guide for HiLink HLK-RM04
openwrt.org
55 stars 33 forks source link

Please detail 32M situation #14

Open mcr opened 8 years ago

mcr commented 8 years ago

Using the 16M uboot image to be sure, I see:

============================================ 
Ralink UBoot Version: 3.6.0.0
-------------------------------------------- 
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping 
DRAM_TYPE: SDRAM 
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 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

I read that the 32M requires some hardware modification, but perhaps I already have it? Linux (OpenWRT) boots and sees only 16M, but perhaps that is because uBoot told it that. I must boot OpenWRT failsafe, or I get OOM errors, having 11Mb used while booting.

bogdanr commented 8 years ago

Unless you made the hardware modifications yourself the device will not have the larger memory.