RT5350 Stop the system process

Hello.
I have a HLK RM04 32Mb module. I uploaded the version through openwrt website Bleeding Edge, r38333.
But I have a problem I can't openwrt update to the latest.
Did not work commands:
opkg update
wget -O /tmp/a.bin
Winscp uploading does not work either Openwrt hangs. Under the RS232 console, I see how the system starts to load processes and resets during the upload process.
I tried to upload a new openwrt in failsafe mode, but then the ethernet ports do not work - I can't connect to winscp.

r=-22
[    4.210000] gpio-keys-polled: probe of gpio-keys-polled.4 failed with error -22
kmod: ran 20 iterations
- preinit -
procd: - preinit -
[    4.530000] rt305x-esw 10110000.esw: link changed 0x00
Press the [f] key and hit [enter] to enter failsafe mode
f
- failsafe -


BusyBox v1.19.4 (2013-12-22 23:53:25 EET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

ash: can't access tty; job control turned off
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 HLK-RM02 (Bleeding Edge, r38333)
 -----------------------------------------------------
root@(none):/# [    6.140000] rt305x-esw 10110000.esw: link changed 0x10
=-22
ash100: =-22: not found
00root@(none):/# [    4.210000] gpio-keys-polled: probe of gpio-keys-polled.4 fail
ed with error -22
ash: missing ]
root@(none):/# kmod: ran 20 iterations
ash: kmod:: not found
root@(none):/# - preinit -
ash: -: not found
root@(none):/# procd: - preinit -
ash: procd:: not found
root@(none):/# [    4.530000] rt305x-esw 10110000.esw: link changed 0x00
ash: missing ]
root@(none):/# Press the [f] key and hit [enter] to enter failsafe mode
ash: Press: not found
failsafroot@(none):/# f
ash: f: not found
e -


Buroot@(none):/# - failsafe -
ash: syBox v1-: not found
root@(none):/#
root@(none):/#
root@(none):/# BusyBox v1.19.4 (2013-12-22 23:53:25 EET) built-in shell (ash)
ash: syntax error: unexpected "("
root@(none):/# Enter 'help' for a list of built-in commands.
ash: Enter: not found
root@(none):/#
h: can'troot@(none):/# ash: can't access tty; job control turned off
>   _______                     ________        __
>  |       |.-----.-----.-----.|  |  |  |.----.|  |_
>  |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
>  |_______||   __|_____|__|__||________||__|  |____|
>           |__| W I R E L E S S   F R E E D O M
>  -----------------------------------------------------
>  HLK-RM02 (Bleeding Edge, r38333)
>  -----------------------------------------------------
> root@(none):/# [    6.140000] rt305x-esw 10110000.esw: link changed 0x10

Kilning processes to relieve the system also does nothing. When uploading the new openwrt, the module also resets. Anyone have any ideas for uploading a new openwrt? Or restoring the original HLK software?
Thank you in advance.
Ps. Sorry for the translotor

Is this your device?
I am not sure which version is this. Snapshot is at r13013 and there is 19.07.2 stable release for this device.

Ancient OpenWrt master snapshot sources from about October 2013. Bleeding edge r38333 matches that...
(Commit counting restarted in the LEDE split, but that 38333 is from the old count)

(The quote also shows that log output was copy pasted to shell, making confusing reading of the execution attempts...)

2 Likes

My mode is this one HLK
Any ideas on how to update this to openwrt 19.07?
When I try to upload a new openwrt, the module resets.

RAM is going to be tight. Do not opkg update as you don't need the package list prior to replacing the OS. Use free to see how much RAM there is. Unnecessary services will need to be disabled, you can't just kill their process as they will restart.

Maybe manually flash from the bootloader?

Can you say more about this manual flash bootldoer?
Do you mean desoldering flash bones and programming them with an external programmer?

No, using the serial port to the u-boot bootloader console.

U-boot is disablle on this model. HLK

Outdated approach
There is not a simple way to run OpenWrt on this tiny module, because Hi-link disabled uboot. Therefor we can solve this by finding a Hi-Link compatible firmware for it.

For example of *Hame MPR-A1*:

Solder out the Hame MPR-A1's 4M flash, then just copy all 4M content.
Solder out the Hi-Link's 4M flash, write the MPR-A1's 4M firmware to it.
Solder back the flash, Now the Hi-Link HLK-RM04 performs like a MPR-A1, and more information here.

I think it's best to re-program W25Q128 via SPI in raspberry pi.
Openwrt HLK RM04https://openwrt.org/toh/hilink/hlk-rm04
Can I upload the squashfs-factory.bin file right away? Do I have to play first?
uboot256.img and then start the u-boot press 2 and upload the file with the extension bin through tftp.?
Regards