Replacing Adam2 booloader with PSP bootloader

All about firmwares for routers. Support for RouterTech firmwares is here too.
Post Reply
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: Replacing Adam2 booloader with PSP bootloader

Post by thechief » Wed Jul 14, 2010 10:13 am

Post the system diagnostics.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
paaaja
Regular
Regular
Posts: 45
Joined: Fri Jun 04, 2010 5:18 pm

Re: Replacing Adam2 booloader with PSP bootloader

Post by paaaja » Wed Jul 14, 2010 10:29 am

OK, here you go. Hope it's all, it's a pretty long file

Code: Select all

ROUTERTECH SYSTEM DIAGNOSTICS

Operating system version
Linux version 2.4.17_mvl21-malta-mips_fp_le (developers@RouterTech.Org) #1 Thu Apr 8 09:03:32 BST 2010

Firmware version information
BUILD=RouterTech_3.6.0D_20100408_2.93
VERSION=3.6.0D-RouterTech-4P-Adam2
BOARD=AR7RD
TARGET=Adam2
FSSTAMP=20100408090609

PSP version information

Linux OS DSL-PSPOhioL version 4.5.0.5 Best and Final on BasePSP Version 5.7.6.12  Apr  8 2010 09:04:30 
Avalanche SOC Version: 0x220005 operating in cached, write back, write allocate mode
Cpu Frequency:150 MHZ
System Bus frequency: 125 MHZ


Driver version information
Core Logic version: 3.6.0D 
Texas Instruments CPMAC driver version: 1.5
Texas Instruments CPMAC HAL version: CPMAC 01.07.08 Apr  8 2010 09:03:43
ATM Driver version:[7.05.01.00]
DSL HAL version: [7.05.01.00]
DSP Datapump version: [7.05.00.20] Annex B
SAR HAL version: [01.07.2c]
PDSP Firmware version:[0.54]
Chipset ID: [7300/7300A]

Modem Modulation Information
NO_MODE			0x0
ADSL_G.dmt			0x3
ADSL_G.lite			0x4
ADSL_G.dmt.bis			0x8
ADSL_G.dmt.bis_DELT			0x9
ADSL_2plus			0x10
ADSL_2plus_DELT			0x11
ADSL_re-adsl			0x20
ADSL_re-adsl_DELT			0x21
ADSL_ANSI_T1.413			0x2
MULTI_MODE			0x1
ADSL_G.dmt.bis_AnxI			0x0
ADSL_G.dmt.bis_AnxJ			0x0
ADSL_G.dmt.bis_AnxM			0x0
ADSL_2plus_AnxI			0x0
ADSL_2plus_AnxJ			0x0
ADSL_2plus_AnxM			0x0
G.shdsl			0x0
IDSL			0x0
HDSL			0x0
SDSL			0x0
VDSL			0x0

System environment (/proc/sys/dev/adam2/environment)

Adam2_Release	0.22.02_b04_Mar 10 2005
autoload	1
autoload_timeout	7
bootloaderVersion	0.22.02
bootserport	tty0
connection0	0
connection1	0x4710
cpufrequency	150000000
enable_margin_retrain	1
eoc_vendor_id	0x2E2E44353834AAAA
eoc_vendor_revision	20060209
eoc_vendor_serialnum	00:17:9A:C9:DD:AD_00000000000000
firstfreeaddress	0x9401d888
flashsize	0x00400000
HWA_0	00:17:9A:C9:DD:AD
HWA_HRNDIS	00:E0:A6:66:41:E1
HWA_RNDIS	00:E0:A6:66:41:EB
HWRevision	Unknown
invntry_vernum	2006062100000000
maca	00:17:9A:C9:DD:AD
memsize	0x01000000
modetty0	38400,n,8,1,hw
modetty1	38400,n,8,1,hw
modulation	0x8
mtd0	0x9008a000,0x903f0000
mtd1	0x90010090,0x9008a000
mtd2	0x90000000,0x90010000
mtd3	0x903f0000,0x90400000
mtd4	0x90010000,0x903f0000
my_ipaddress	5.8.8.8
pppoe_dmac	0:0:0:0:0:0
pppoe_sid	0
ProductID	AR7RD
prompt	Adam2_AR7RD
req_fullrate_freq	125000000
SerialNumber	00:17:9A:C9:DD:AD
StaticBuffer	120
SW_FEATURES						0X8000
SW_FEATURES	0X8000
sysfrequency	125000000
usb_man	N/A
usb_pid	0x0
usb_prod	N/A
usb_vid	0x0
vcc_encaps0	0.0
vcc_encaps1	0.0
vcc_encaps2	0.0
vcc_encaps3	0.0
vcc_encaps4	0.0
vcc_encaps5	0.0
vcc_encaps6	0.0
vcc_encaps7	0.0

CPU information
processor		: 0
cpu model		: MIPS 4KEc V4.8
BogoMIPS		: 149.91
wait instruction	: no
microsecond timers	: yes
extra interrupt vector	: yes
hardware watchpoint	: yes
VCED exceptions		: not available
VCEI exceptions		: not available

Memory (RAM) information
        total:    used:    free:  shared: buffers:  cached:
Mem:  14610432 12435456  2174976        0  1298432  4542464
Swap:        0        0        0
MemTotal:        14268 kB
MemFree:          2124 kB
MemShared:           0 kB
Buffers:          1268 kB
Cached:           4436 kB
SwapCached:          0 kB
Active:           1960 kB
Inactive:         5536 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        14268 kB
LowFree:          2124 kB
SwapTotal:           0 kB
SwapFree:            0 kB

Flash memory (chip) information
Flash type: AMD; Manufacturer=SAMSUNG.
Manufacturer_ID=0x00EC; Chip_ID=0x00A2; Chip_Size=0x400000; Erase_Regions=0x0002

Mount points
/dev/mtdblock/0 / squashfs ro 0 0
none /dev devfs rw 0 0
proc /proc proc rw 0 0
ramfs /var ramfs rw 0 0

Filesystems
nodev	rootfs
nodev	bdev
nodev	proc
nodev	sockfs
nodev	tmpfs
nodev	shm
nodev	pipefs
nodev	ramfs
	minix
nodev	devfs
	squashfs

MTD
dev:    size   erasesize  name
mtd0: 00366000 00010000 "mtd0"
mtd1: 00079f70 00010000 "mtd1"
mtd2: 00010000 00002000 "mtd2"
mtd3: 00010000 00010000 "mtd3"
mtd4: 003e0000 00010000 "mtd4"

Kernel modules
tiatm                 138672   1

Interrupts
  7:  4771320   R4000 timer/counter [MIPS interrupt]
  8:        0   unified secondary [hw0 (Avalanche Primary)]
 15:  9132894   serial [hw0 (Avalanche Primary)]
 23:  9861880 + SAR  [hw0 (Avalanche Primary)]
 41:  8337224 + Cpmac Driver, + Cpmac Driver, + Cpmac Driver, + Cpmac Driver [hw0 (Avalanche Primary)]
 47:       56 + DSL  [hw0 (Avalanche Primary)]

Devices
Character devices:
  1 mem
  2 pty/m%d
  3 pty/s%d
  4 tts/%d
  5 cua/%d
 10 misc
108 ppp
128 ptm
136 pts/%d
162 raw

Block devices:
  7 loop
 31 mtdblock

Processes
  PID USER       VSZ STAT COMMAND
    1 root       996 S    init
    2 root         0 SW   [keventd]
    3 root         0 RWN  [ksoftirqd_CPU0]
    4 root         0 SW   [kswapd]
    5 root         0 SW   [bdflush]
    6 root         0 SW   [kupdated]
    7 root         0 SW   [mtdblockd]
  302 root      1188 S    /usr/sbin/thttpd -d /usr/www -u root -p 80 -c /cgi-b
  304 root      2180 R    /usr/bin/cm_pc
  306 root      3640 S    /usr/bin/cm_logic -m /dev/ticfg -c /etc/config.xml
  325 root       748 S    /sbin/dproxy -c /etc/resolv.conf -d
  427 root       996 S    init
  561 root      2392 S    /usr/sbin/pppd plugin pppoe nas0 user ADSL password
  581 root       920 S    /sbin/msntp -r 2 -t 5 -p 30 -s wwv.nist.gov ntp2b.mc
  582 root       712 S    /usr/sbin/upnpd ppp0 br0
  585 root       684 S    /usr/sbin/udhcpd /var/tmp/udhcpd.conf
24242 root      1004 S N  /bin/sh diagnostics.cgi
24243 root      1188 S    /usr/sbin/thttpd -d /usr/www -u root -p 80 -c /cgi-b
24336 root       628 S N  /usr/local/bin/diagnostics
24337 root       996 S N  sh -c /usr/local/bin/diagnostics.sh
24338 root      1004 S N  /bin/sh /usr/local/bin/diagnostics.sh
24538 root       996 R N  /bin/ps

ADSL Modem information

AR7 DSL Modem Statistics:
--------------------------------
[DSL Modem Stats]
	US Connection Rate:	991	DS Connection Rate:	8331
	DS Line Attenuation:	102	DS Margin:		10
	US Line Attenuation:	5	US Margin:		9
	US Payload :		1607222160	DS Payload:		1755670880
	US Superframe Cnt :	2803755	DS Superframe Cnt:	2803755
	US Transmit Power :	8	DS Transmit Power:	12
	LOS errors:		0	SEF errors:		0
	Errored Seconds:	13	Severely Err Secs:	0
	Frame mode:		0	Max Frame mode:		0
	Trained Path:		0	US Peak Cell Rate:	2337
	Trained Mode:		8	Selected Mode:		8
	ATUC Vendor Code:	4753504E	ATUC Revision:	2
	Hybrid Selected:	2	Trellis:		1
	Showtime Count:		1	DS Max Attainable Bit Rate: 8348 kbps
	BitSwap:		1	US Max Attainable Bit Rate: 1008000 bps
	Annex: 			AnxB	psd_mask_qualifier: 0x0000
	ATUC ghsVid:  ff b5 47 53 50 4e 00 0b
	T1413Vid: 00 00		T1413Rev: 00		VendorRev: 00
	ATUR ghsVid:  00 2e 2e 44 35 38 34 aa
	T1413Vid: 00 00	T1413Rev: 00	VendorRev: 00

	[Upstream (TX) Interleave path]
	CRC: 	0	FEC: 	0	NCD: 	0
	LCD: 	0	HEC: 	0

	[Downstream (RX) Interleave path]
	CRC: 	0	FEC: 	0	NCD: 	0
	LCD: 	0	HEC: 	0

	[Upstream (TX) Fast path]
	CRC: 	2	FEC: 	0	NCD: 	0
	LCD: 	0	HEC: 	0

	[Downstream (RX) Fast path]
	CRC: 	13	FEC: 	0	NCD: 	0
	LCD: 	0	HEC: 	0

[ATM Stats]
	[Upstream/TX]
	Good Cell Cnt:	33483795
	Idle Cell Cnt:	78002582


	[Downstream/RX)]
	Good Cell Cnt:	126054962
	Idle Cell Cnt:	810542901
	Bad Hec Cell Cnt:	5
	Overflow Dropped Cell Cnt:	0

[SAR AAL5 Stats]
	Tx PDU's:	4392683
	Rx PDU's:	5806974
	Tx Total Bytes:	1517079795
	Rx Total Bytes:	1677283943
	Tx Total Error Counts:	0
	Rx Total Error Counts:	5


[OAM Stats]
	Near End F5 Loop Back Count:	0
	Near End F4 Loop Back Count:	0
	Far End F5 Loop Back Count:	0
	Far End F4 Loop Back Count:	0
	SAR OAM Ping Response Drop Count=15

Trained modulation: 
ADSL_G.dmt.bis 

Path mode: 
FastPath

Network statistics
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 0.0.0.0:5000            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:www             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:domain          0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:ftp             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:telnet          0.0.0.0:*               LISTEN      
tcp        0      0 mygateway1.AR7RD:5000   192.168.1.123:50199     TIME_WAIT   
tcp        0      0 mygateway1.AR7RD:www    192.168.1.123:50198     TIME_WAIT   
tcp        0      0 mygateway1.AR7RD:www    192.168.1.123:50196     TIME_WAIT   
tcp        0      0 mygateway1.AR7RD:5000   192.168.1.123:50190     TIME_WAIT   
tcp        0      0 mygateway1.AR7RD:www    192.168.1.123:50211     ESTABLISHED 
tcp        0      0 mygateway1.AR7RD:www    192.168.1.123:50209     TIME_WAIT   
tcp        0      0 mygateway1.AR7RD:www    192.168.1.123:50207     TIME_WAIT   
tcp        0      0 mygateway1.AR7RD:www    192.168.1.123:50205     TIME_WAIT   
tcp        0      0 mygateway1.AR7RD:www    192.168.1.123:50203     TIME_WAIT   
tcp        0      0 mygateway1.AR7RD:www    192.168.1.123:50201     TIME_WAIT   
tcp        0      0 mygateway1.AR7RD:www    192.168.1.123:50193     TIME_WAIT   
udp        0      0 mygateway1.AR7RD:2049   0.0.0.0:*                           
udp        0      0 0.0.0.0:domain          0.0.0.0:*                           
udp        0      0 0.0.0.0:bootps          0.0.0.0:*                           
udp    15264      0 0.0.0.0:tftp            0.0.0.0:*                           
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  6      [ ]         DGRAM                       367 /dev/log
unix  2      [ ]         DGRAM                       369 /dev/klog
unix  2      [ ]         DGRAM                       339 /var/tmp/cm_pc.ctl
unix  2      [ ]         DGRAM                       353 /var/tmp/cm_logic.ctl
unix  2      [ ]         DGRAM                      1110 
unix  2      [ ]         DGRAM                       828 
unix  2      [ ]         DGRAM                       744 
unix  2      [ ]         DGRAM                       736 
unix  2      [ ]         STREAM                      325 
unix  2      [ ]         DGRAM                       324 
unix  2      [ ]         DGRAM                        25 

Iptables chains
Chain INPUT (policy ACCEPT 10014 packets, 1658K bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 CFG        tcp  --  any    any     hit-nxdomain.opendns.com  anywhere           tcp dpt:www Records Packet's Source Interface 

 2121  208K ACCEPT     all  --  ppp0   any     anywhere             anywhere           state RELATED,ESTABLISHED 
59509 5720K DROP       all  --  ppp0   any     anywhere             anywhere           

Chain FORWARD (policy ACCEPT 4388K packets, 1376M bytes)
 pkts bytes target     prot opt in     out     source               destination         
5655K 5771M ACCEPT     all  --  ppp0   any     anywhere             anywhere           state RELATED,ESTABLISHED 
58130 2932K TCPMSS     tcp  --  any    any     anywhere             anywhere           tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU 
86204 8726K UPNP       all  --  ppp0   !ppp0   anywhere             anywhere           
    0     0 DROP       all  --  ppp0   any     anywhere             anywhere           

Chain OUTPUT (policy ACCEPT 23429 packets, 8000K bytes)
 pkts bytes target     prot opt in     out     source               destination         
 3283  433K DROP       icmp --  any    ppp0    anywhere             anywhere           icmp destination-unreachable 
    0     0 DROP       icmp --  any    ppp0    anywhere             anywhere           state INVALID 

Chain UPNP (1 references)
 pkts bytes target     prot opt in     out     source               destination         
28074 1512K ACCEPT     tcp  --  any    any     anywhere             192.168.1.123      tcp dpt:20000 
58130 7215K ACCEPT     udp  --  any    any     anywhere             192.168.1.123      udp dpt:20000 

Network interface details
br0       Link encap:Ethernet  HWaddr 00:17:9A:C9:DD:AD  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4404558 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5756242 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:1391585140 (1.2 GiB)  TX bytes:1572537893 (1.4 GiB)

br1       Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br2       Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:17:9A:C9:DD:AD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4404575 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5802403 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:1453251514 (1.3 GiB)  TX bytes:1586845739 (1.4 GiB)
          Base address:0x2800 

eth1      Link encap:Ethernet  HWaddr 82:17:9A:C9:DD:AD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4404575 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5802403 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:1453251514 (1.3 GiB)  TX bytes:1586845739 (1.4 GiB)
          Base address:0x2800 

eth2      Link encap:Ethernet  HWaddr 92:17:9A:C9:DD:AD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4404575 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5802403 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:1453251514 (1.3 GiB)  TX bytes:1586845739 (1.4 GiB)
          Base address:0x2800 

eth3      Link encap:Ethernet  HWaddr A2:17:9A:C9:DD:AD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4404575 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5802403 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:1453251514 (1.3 GiB)  TX bytes:1586845739 (1.4 GiB)
          Base address:0x2800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

nas0      Link encap:Ethernet  HWaddr 00:00:02:03:04:05  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5807244 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4392938 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:1537991973 (1.4 GiB)  TX bytes:1517108885 (1.4 GiB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:85.207.218.4  P-t-P:84.244.127.22  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:5806384 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4392078 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1491501329 (1.3 GiB)  TX bytes:1376527943 (1.2 GiB)

User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: Replacing Adam2 booloader with PSP bootloader

Post by thechief » Wed Jul 14, 2010 1:08 pm

Firmware version information
BUILD=RouterTech_3.6.0D_20100408_2.93
VERSION=3.6.0D-RouterTech-4P-Adam2
BOARD=AR7RD
TARGET=Adam2
FSSTAMP=20100408090609
That is not a 4mb-flash firmware. If it was, you would see "4mb-flash" in the version information.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
paaaja
Regular
Regular
Posts: 45
Joined: Fri Jun 04, 2010 5:18 pm

Re: Replacing Adam2 booloader with PSP bootloader

Post by paaaja » Wed Jul 14, 2010 2:42 pm

Hm, but I'm sure I put the 4mb firmware in my router. Today I repeated the process of flashing via Web GUI and nothing happened. A nice progressbar reached 100%, I rebooted the router and there was still the lite firmware. I'm sure I saw similar topic here on the forum, so after I manage to install the full 4mb firmware, I'll be back.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: Replacing Adam2 booloader with PSP bootloader

Post by thechief » Wed Jul 14, 2010 3:40 pm

The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
paaaja
Regular
Regular
Posts: 45
Joined: Fri Jun 04, 2010 5:18 pm

Re: Replacing Adam2 booloader with PSP bootloader

Post by paaaja » Thu Jul 15, 2010 12:04 pm

Phew, it was one hell of a job. I tried flashing with the newest Router Repair Tool, it somehow trashed my mtd0 and mtd4 partitions. So I used this tool co calculate new values. It worked, I flashed a working firmware and modified the bootloader. I was successful only with PC-Tool 2.3, other tools either crashed or didn't work. So I now have a PSP bootloader 1.4.0.8. Thanks for your undying effort
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: Replacing Adam2 booloader with PSP bootloader

Post by thechief » Thu Jul 15, 2010 12:50 pm

Congratulations! I am puzzled though, as to why you needed a tool to calculate the mtd values. They are already in the firmware distribution files (routertech_firmware_20100408_mtd_logs.zip).
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
paaaja
Regular
Regular
Posts: 45
Joined: Fri Jun 04, 2010 5:18 pm

Re: Replacing Adam2 booloader with PSP bootloader

Post by paaaja » Thu Jul 15, 2010 2:55 pm

thechief wrote:Congratulations! I am puzzled though, as to why you needed a tool to calculate the mtd values. They are already in the firmware distribution files (routertech_firmware_20100408_mtd_logs.zip).
Because I didn't want to put in the values by the hand, and Router Repair Tool was running, so I used it :)
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: Replacing Adam2 booloader with PSP bootloader

Post by thechief » Thu Jul 15, 2010 3:42 pm

Ok then ;)
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
cesarvog
Novice
Novice
Posts: 14
Joined: Sat Mar 14, 2009 7:55 pm

Re: Replacing Adam2 booloader with PSP bootloader

Post by cesarvog » Sun Jul 18, 2010 12:57 am

Ok, so here is my successful experience with replacing the bootloader AND the firmware version of a bricked G604T v1:

I followed the first post of this thread as carefully as I could and was able to revive my ancient hardware which has served me well for many years once again.

I was previously running the ADAM2 version of Routertech wireless firmware v 2.91.1, but the modem started acting crazy for no reason, having trouble syncing tha ADSL line andaccepting wireless connections, so I decided it was time to take my chances... I used the second more recent version of bootloader image provided on the first page of this thread, and the corresponding PSP version of Routertech wireless firmware v 2.93 after the bootloader was replaced. For bootloader replacement I used the cat command and not the dd command. Everything was done via PcTool 2.4 on an Imac Core 2 Duo 2.0 running Windows XP Sp3 natively (BootCamp).

Since I'm a Mac user, NAT-PMP support is important to me. I have tried enabling it by setting
RT_cmd_1 to echo enable_natpmp=yes'>>/etc/upnpd.conf and have confirmed it was set by the systems diagnostics page. But I could not locate the familiar message indicating NAT-PMP support was enabled on the system log. Therefore I ask:

Is NAT-PMP still supported on PSP based v.2.93 of the firmware?

Thanks in advance to all.

Cesar/Brazil
mstombs
RouterTech Team
RouterTech Team
Posts: 3753
Joined: Wed Jan 10, 2007 11:54 pm

Re: Replacing Adam2 booloader with PSP bootloader

Post by mstombs » Sun Jul 18, 2010 11:23 am

Congrats on the bootloader change

The nat-pmp should still work, but there is an extra "'" is your post, what does "getenv RT_cmd_1", or "cat /etc/upnpd.conf" report? The use of strong ' and weak " quotes in the setting of this var is important. If its wrong in the docs please advise exactly where...
cesarvog
Novice
Novice
Posts: 14
Joined: Sat Mar 14, 2009 7:55 pm

Re: Replacing Adam2 booloader with PSP bootloader

Post by cesarvog » Sun Jul 18, 2010 4:51 pm

Thanks for your reply mstombs!

cat /etc/upnpd.conf output:

enable_natpmp=yes
deny 0-1024 0.0.0.0/0 0-1024


It looks ok to me... I suppose the extra ' was actually a cut and paste error in my previous messsage, right? Should have been
echo 'enable_natpmp=yes'>>/etc/upnpd.conf
but somehow I cut out the first ' character...

I followed instructions from upnp.txt in the documentation set.
If you would allow me: I suggest the contents of the upnp.txt file be reviewed to make all commands contain double > characteres, resulting in appending to the upnpd.conf file. As it stands now, some commands contain only one > character. If one was to use such syntax one would end up replacing the original contents (deny 0-1024 0.0.0.0/0 0-1024) of the upnpd.conf file with only the contents of the setenv command.
I'm sorry my knowledge does not allow me to understand exactly what would be the results of such replacement, but I thought it would be better to only add the desired command, not to replace the contents of the file.
Best regards,
Cesar/Brazil
mstombs
RouterTech Team
RouterTech Team
Posts: 3753
Joined: Wed Jan 10, 2007 11:54 pm

Re: Replacing Adam2 booloader with PSP bootloader

Post by mstombs » Sun Jul 18, 2010 7:51 pm

The default low port numbers deny rule is added to the upnp.conf if there is no other one there, when upnp starts, so it should be OK, but you are correct only the first addition to the upnp conf file can use single ">". So does nat-pmp work from your mac? I have only tested from windoze or Linux, utorrent and skype can both use nat-pmp from these platforms.
cesarvog
Novice
Novice
Posts: 14
Joined: Sat Mar 14, 2009 7:55 pm

Re: Replacing Adam2 booloader with PSP bootloader

Post by cesarvog » Sun Jul 18, 2010 10:55 pm

Once again, thanks for your reply, time and experience sharing.

As far as I know, it appears to be working... Transmission and Back to My Mac report a green light, which seem to indicate that the required ports were opened on demand.

One other thing I noticed is that I cannot find a upnp.leases file on the var/tmp folder, as on my previous setup.

So, to tell you the truth, I'm not quite sure.
Teebe
Novice
Novice
Posts: 10
Joined: Fri Nov 05, 2010 4:45 pm

Re: Replacing Adam2 booloader with PSP bootloader

Post by Teebe » Wed Nov 10, 2010 9:11 pm

Hi,

My DSL-G604T V.A1 needs a new boot loader, PSP or Acorp or OpenWrt and descriptive information to connect a mini-232/USB on its logic board to upgrade it, using CLI.
I am running RT 2.94 without major problems, except for a fragile behavior when changing setup (Adam2 environment spoiling).

Any suggestions?

Thank you

Tiberio
Post Reply