In Putty at 115200 bit/s I have a lot of boot logs.
After a while, I have a linux shell loged in root.
So I played with some commands:
So with a shell and a root access, is it possible to install openwrt ?
If yes, which firmware image download ?
I also found a tftp mode with a longpress on reset on boot:
U-Boot 2012.07-g14bd29e [local,local] (Apr 18 2018 - 14:36:32)
U-boot 2012.07 dni1 V0.3 for BR500 DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 1024MB;
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
131072 bytes read: OK
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC1 addr:XX:XX:XX:XX:XX:XX
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC2 addr:XX:XX:XX:XX:XX:XX
eth0, eth1
The Router is in TFTP Server Firmware Recovery mode NOW!
Listening on Port : 69, IP Address: 192.168.1.1 ...
Upgrade Mode
Abort
Firmware recovering from TFTP server is stopped or failed! :(
Hit any key to stop autoboot: 0
The Router is in TFTP Server Firmware Recovery mode NOW!
Listening on Port : 69, IP Address: 192.168.1.1 ...
Rcv:
.................................................................
.................................................................
......................................................MODEL ID on image: R7800
Firmware Image MODEL ID do not match open source firmware ID
File has bad checksum!
TFTP error: '' (0)
Starting again
So, i open the .img file and I saw this:
I changed the device like this:
now I have this:
The Router is in TFTP Server Firmware Recovery mode NOW!
Listening on Port : 69, IP Address: 192.168.1.1 ...
Rcv:
.................................................................
.................................................................
......................................................MODEL ID on image: BR200
Firmware Image MODEL ID do not match open source firmware ID
File has bad checksum!
TFTP error: '' (0)
Starting again
So the router read the new device name, but still have an error...
I dont know where change the "Firmware Image MODEL ID" and "open source firmware ID"
it's looking very much like a r7800 with twice the ram and no wireless, the board looks identical to the r7800 on the wiki just missing lots of wireless components.
root@BR200:/# cd /sbin
root@BR200:/sbin# artmtd -r board_data
Usage: artmtd -r name [<arguments> ...]
************* SN Usage:
SN read:
artmtd -r sn
SN write:
artmtd -w sn number
For instance: artmtd -w sn 1ML1747D0000B
SN should be 0~9 or A~Z
************* REGION Usage:
REGION read:
artmtd -r region
REGION wirte:
Usage: artmtd -w region region name
For instance : artmtd -w region NA
The REGION name only is "NA,WW,GR,PR,RU,BZ,IN,KO,JP,AU,CA,US"
************* LANGUAGE Usage:
Language read:
artmtd -r language
************* SSID Usage:
ssid read:
artmtd -r ssid
ssid read:
artmtd -w ssid SSID
************* PASSPHRASE Usage:
passphrase read:
artmtd -r passphrase
passphrase read:
artmtd -w passphrase PASSPHRASE
************* WPSPIN Usage:
wpspin read:
artmtd -r wpspin
wpspin write:
artmtd -w wpspin 12345670
*************HW MODEL ID Usage:
HW MODEL ID read:
artmtd -r board_hw_id
artmtd -r board_model_id
artmtd -w board_hw_id HW_ID
artmtd -w board_model_id MODEL_ID
*************MAC Usage:ssid read:
artmtd -r mac
ssid read:
artmtd -w mac_lan 00:11:22:33:44:50
ssid read:
artmtd -w mac_wan 00:11:22:33:44:51
ssid read:
artmtd -w mac_5g 00:11:22:33:44:52
root@BR200:/sbin#
So if we go back to the TFTP error, if you changed model_id from BR200 to R7800 using: artmtd -w board_model_id R7800
You should be able to load Openwrt for the R7800 on your BR200.
Alternatively you could download and make a model specific Openwrt build
BusyBox v1.35.0 (2023-01-03 00:24:21 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 22.03.3, r20028-43d71ad93e
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#
Its work
just artmtd dont write data in flash.
So I execute:
cd /sbin
artmtd -w board_model_id R7800
artmtd -w board_hw_id 29764958+0+128+512+4x4+4x4+cascade
Then, I push the reset once, wait a bit and push long to get the Tftp mode
@frollic any idea who the r7800 developer is, as this model should be able to be fully supported with a couple of tweaks, @xmow49 only has access to half the available ram at present, not that it should matter as Openwrt is far more efficient.