Sorry gaplee. I was taking about the fact that Sina bricked his module followed your instruction. I did the same thing but mine is working, except for the fact that it kept running out of memory.
I am new at openwrt and trying to figure how to solve the memory issue. Your post mentioned that there is an issue with the memory node in dts. (Which I don't how that work yet). So I thought that might be related to the memory issue I am having.
Here is what I encountered. If I compile the openwrt using your instruction, https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04 and set the mem=16M in kernel config. The module runs out of memory before the initialization completed, as experienced by jenshoej (post 54). Sometimes it works after I reboot or it works after I flash the module with the same bin again. It's very strange.
After hlk-rm04 initialized without memory error, I enabled wifi by changing /etc/config/wireless. It will run out of memory again if I restart. It works fine if the wifi is disable.
I started using your 'hlk-rm04-16m-luci-usb-mjpg.bin' and it works without any issue. (I am using trunk 38333)
The bottom line is that I intent to make changes to openwrt so I have to use the bin that I compile.
Back to memory issue
You said, (post 56)
A few days ago, someone sent me a mail said that the 16M version HLK-RM04 can't start up. After dig it, i found that the memory node in dts file doesn't work. Now i think there are two ways to solve this bug:
and then (post 58)
The dts file (the patch) is on my github https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04.
So, did you just updated it or it has been there for a while.
I am trying to figure out if I am using the correct dts. (I will google how to config memory node in dts )
"The memory configuration of HLK-RM04 is in wrong. 16M SDRAM is on it but memory configuration is in 32M mode. I've mentioned this on wiki. Make the memory configuration to be right is recommended, it'll save much time.
Months ago we can use a memory node to force set the 16M SDRAM, but now it doesn't work,"
so the question is how to create a correct memory configuration?
1. cannot set 16M configuration in dts file?
2. what about mem=16M in kernel menuconfig -- I don't have enough information yet. May be my memory issue is related to code rather then setting.