Sitecom WLR-4100?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware
Goto page 1, 2  Next
Author Message
ManIkWeet
DD-WRT Novice


Joined: 11 Jul 2014
Posts: 2

PostPosted: Fri Jul 11, 2014 14:43    Post subject: Sitecom WLR-4100? Reply with quote
I have a Sitecom WLR-4100 here and I want to try DD-WRT on it, I haven't found any information about this device but I know it's quite common (in the Netherlands?)

I opened it up and took pictures, I am willing to test a firmware on it... I am not sure if it has serial (maybe those 4 holes in top right?)... I don't know anything about serial at all but willing to learn Smile

Images:
http://imgur.com/axyQHa8,hInSUoO,KsKG6CQ,QR5h0aJ,mcu1oO3,uVvtnRa,wIOu0eI,k41mS2C,SncBPqy#0
Sponsor
SamDecrock
DD-WRT Novice


Joined: 05 Nov 2015
Posts: 1

PostPosted: Sun Feb 21, 2016 10:58    Post subject: Reply with quote
Did you have any success running DD-WRT (or any other custom firmware) on the Sitecom WLR-4100?
Sirpolex
DD-WRT Novice


Joined: 24 Feb 2020
Posts: 11
Location: Rome (Italy)

PostPosted: Mon Feb 24, 2020 16:40    Post subject: Reply with quote
I downloaded the source code of WLR-4100v1002 and I identified the attached file suggesting:
- RALINK MT7620
- RT2880_DRAM_64M
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 6913
Location: Texas, USA

PostPosted: Mon Feb 24, 2020 17:04    Post subject: Reply with quote
Need to know how much flash RAM this thing has via serial boot log dump, etc.
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net


Last edited by kernel-panic69 on Thu Jun 25, 2020 20:08; edited 1 time in total
Sirpolex
DD-WRT Novice


Joined: 24 Feb 2020
Posts: 11
Location: Rome (Italy)

PostPosted: Tue Mar 03, 2020 21:40    Post subject: Reply with quote
Actually is MediaTek which is merged with Ralink:
- MT7620A SoC
- NT5TU32M16DG-AC DDR DRAM, 32MX16, 0.4ns, CMOS
- QCA8337-AL3C Ethernet Switch
Sirpolex
DD-WRT Novice


Joined: 24 Feb 2020
Posts: 11
Location: Rome (Italy)

PostPosted: Fri Mar 06, 2020 10:14    Post subject: Re: Sitecom WLR-4100? Reply with quote
ManIkWeet wrote:
I have a Sitecom WLR-4100 here and I want to try DD-WRT on it, I haven't found any information about this device but I know it's quite common (in the Netherlands?)

I opened it up and took pictures, I am willing to test a firmware on it... I am not sure if it has serial (maybe those 4 holes in top right?)... I don't know anything about serial at all but willing to learn Smile

Images:
http://imgur.com/axyQHa8,hInSUoO,KsKG6CQ,QR5h0aJ,mcu1oO3,uVvtnRa,wIOu0eI,k41mS2C,SncBPqy#0


The picture of my WLR-4100v1002 is pretty different than the ManIkWeet one. I am aware of another version WLR-4100 v1001.
Supposing ManIkWeet has V1001, they replaced Ethernet Switch RTL8367RB with QCA8337-AL3C in V1002. Even the SoC looks different.
kernel-panic69 wrote:
So this thread should be moved to the Ralink sub-forum as it is not a Broadcom device.

Do I have to open a brand new post in Ralink Forum?
Or does the adminstrator move this thread?
Dark_Shadow
DD-WRT Guru


Joined: 31 Aug 2009
Posts: 2442
Location: Third Rock from the Sun

PostPosted: Fri Mar 06, 2020 14:50    Post subject: Reply with quote
ManIkWeet's is a v21??
_________________
Peacock Thread-FAQ -- dd-wrt Wiki

Testing Multiple Routers -- Bootloader Collection Project -- My Wiki
Sirpolex
DD-WRT Novice


Joined: 24 Feb 2020
Posts: 11
Location: Rome (Italy)

PostPosted: Fri Mar 06, 2020 15:41    Post subject: WLR-4100 v1 002 8M Flash Reply with quote
I discover the MX25L6406E 8Mbyte Flash on the rear side of the board.
I waiting from Amazon the USB to RS232 adapter for the boot log.
Sirpolex
DD-WRT Novice


Joined: 24 Feb 2020
Posts: 11
Location: Rome (Italy)

PostPosted: Thu Jun 25, 2020 19:56    Post subject: Bootlog Reply with quote
U-boot Ver:1.0.0.1 2013/05/23 14:40:54



Board: Ralink APSoC DRAM: 64 MB
spi_wait_nsec: 28

spi device id: c2 20 17 c2 20 (2017c220)

find flash: MX25L6405D

Flash size 8MB, sector count = 128

============================================

ASIC 7620_MP (Port5<->GigaSW)

Product Name: WLR-4100v1002


Please choose the operation:

2: Load system code then write to Flash via TFTP.

3: Boot system code via Flash (default).

9: Load Boot Loader code then write to Flash via TFTP.



You choosed 3


 0



3: System Boot system code via Flash.

## Booting image at bc050000 ...

Image Name: Linux Kernel Image

Image Type: MIPS Linux Kernel Image (lzma compressed)

Data Size: 1826190 Bytes = 1.7 MB

Load Address: 80000000

Entry Point: 8000c110

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK


Starting kernel ...



LINUX started...

THIS IS ASIC

init started: BusyBox v1.13.3 (2014-02-21 19:07:17 CST)

starting pid 746, tty '/dev/console': '/sbin/config_init'
mknod: /dev/ttyS0: File exists
mknod: /dev/ttyS1: File exists
Config Init version: 1.4.1.24 date: 2014/02/21
Wed Jan 1 00:00:00 UTC 2014
ln: /lib/./modules: File exists

starting pid 795, tty '/dev/ttyS1': '/sbin/config_term'
************************************************************************
* WLR-4100v1002 *
************************************************************************

KernelApp/Ramdisk Ver:1.4.1.24 Date:2014/02/21
password:
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 6913
Location: Texas, USA

PostPosted: Thu Jun 25, 2020 20:05    Post subject: Reply with quote
Without flash layout, porting this thing will not be possible. Need to know flash partition layout.
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
Sirpolex
DD-WRT Novice


Joined: 24 Feb 2020
Posts: 11
Location: Rome (Italy)

PostPosted: Thu Jun 25, 2020 20:24    Post subject: Reply with quote
kernel-panic69 wrote:
Without flash layout, porting this thing will not be possible. Need to know flash partition layout.

is there any way to send command via RS232?

I put "admin" password then I got:
password:
sh: /sbin/cli: not found
password:


then I put another password and I got:
!!! wrong password !!!
password:


Thank you for your feedback
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 6913
Location: Texas, USA

PostPosted: Thu Jun 25, 2020 20:32    Post subject: Reply with quote
Looks like they've locked things out. Normally, you'd be able to type in 'help' to get a list of commands and go from there. Not sure if you'd get any information by selecting to TFTP firmware and flashing stock firmware to it.
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
Sirpolex
DD-WRT Novice


Joined: 24 Feb 2020
Posts: 11
Location: Rome (Italy)

PostPosted: Thu Jun 25, 2020 20:59    Post subject: Reply with quote
kernel-panic69 wrote:
Looks like they've locked things out. Normally, you'd be able to type in 'help' to get a list of commands and go from there. Not sure if you'd get any information by selecting to TFTP firmware and flashing stock firmware to it.

I got this:
2: System Load Linux Kernel then write to Flash via TFTP.
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
Operation terminated


SITECOM provides the source code:
http://www.sitecomlearningcentre.com/products/wlr-4100v1002/wi-fi-router-x4-n300/downloads
Could I find flash map in some configuration source file?

Thank you for your help.
Sirpolex
DD-WRT Novice


Joined: 24 Feb 2020
Posts: 11
Location: Rome (Italy)

PostPosted: Thu Jun 25, 2020 21:28    Post subject: Flash map Reply with quote
Sirpolex wrote:

Could I find flash map in some configuration source file?

Found: Wink

name: "Bootloader",
size: 0x30000,
offset: 0,

name: "Config ",
size: 0x10000,
offset: 0x30000,

name: "Factory", /* mtdblock3, RFData */
size: 0x10000, /* 64KB */
offset: 0x40000,

name: "Kernel",
size: 0x790000,
offset: 0x50000,

name: "app",
size: 0x660000, /* 2MB+64KB */
offset: 0x1FA000,

name: "backup", /* backup configuration */
size: 0x10000, /* 64KB */
offset: 0x7e0000,

name: "storage",
size: 0x10000, /* 64 KB */
offset: 0x7f0000,
Sirpolex
DD-WRT Novice


Joined: 24 Feb 2020
Posts: 11
Location: Rome (Italy)

PostPosted: Thu Jun 25, 2020 23:53    Post subject: RS 232 commands Reply with quote
I tried some operation which were not proposed in the menu:
_____________________________________________
0: System Load Linux then write to Flash via Serial.
## Ready for binary (kermit) download to 0x80100000 at 115200 bps...
_____________________________________________
1: System Load Linux to SDRAM via TFTP.
Please Input new ones /or Ctrl-C to discard
Input device IP (192.168.99.9) ==:192.168.99.9
_____________________________________________
4: System Enter Boot Command Line Interface.
U-Boot 1.1.3 (May 23 2013 - 14:40:54)
MT7620 #
_____________________________________________
8: System Load UBoot to SDRAM via TFTP.
Please Input new ones /or Ctrl-C to discard
Input device IP (192.168.99.9) ==:192.168.99.9
____________________________________________
_____________________________________________

Finally the 4 was the most interesting one.... So I typed:
MT7620 # help

and I got the commands list:

? - alias for 'help'
bootm - boot application image from memory
cp - memory copy
erase - erase SPI FLASH memory
go - start application at address 'addr'
help - print online help
loadb - load binary file over serial line (kermit mode)
md - memory display
mdio - Ralink PHY register R/W command !!
mm - memory modify (auto-incrementing)
nm - memory modify (constant address)
printenv- print environment variables
reset - Perform RESET of the CPU
rf - read/write rf register
saveenv - save environment variables to persistent storage
setenv - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version


Then I tried some commands:
_____________________________________________

MT7620 # bootm
## Booting image at 80100000 ...
Bad Magic Number,FFBFFBFF
_____________________________________________
MT7620 # md 0x0000
00000000: 327b1a07 0152f42b 58126e08 201a04f0 ..{2+.R..n.X...
00000010: 51334b4e 08a20031 c2010f8d 6dd6e1d5 NK3Q1..........m
00000020: 10fb0d09 c4e39598 e2430301 464c6ab5 ..........C..jLF
00000030: f222b09c 40e43d41 62f02ecf 2a0903a8 ..".A=.@...b...*
......
_____________________________________________
MT7620 # printenv
bootcmd=tftp
bootdelay=1
baddrate=115200
ethaddr="xx:xx:xx:xx:xx:xx"
ipaddr=192.168.99.9
serverip=192.168.99.8
sn=xxxxxxxxx
hw_ver=1.0.0
hw_id=0222104A
pro_id=000
country=000
domain=1
op_mode=0
wanaddr=xx:xx:xx:xx:xx:xx
wlanaddr=xx:xx:xx:xx:xx:xx
iNICaddr=xx:xx:xx:xx:xx:xx
eth_en=0
snextra=*********
bootfile=uImageWLR-5100v1002
uboot_ver=1.0.0.1
sku_table=0
language_code=uk
stdin=serial
stdout=serial
stderr=serial
Environment size: 429/4092 bytes
_____________________________________________
MT7620 # version
U-Boot 1.1.3 (May 23 2013 - 14:40:54)


No idea on how to proceed.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum