problem with dir300nru b1

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


Joined: 09 Aug 2009
Posts: 24

PostPosted: Thu Aug 02, 2012 9:14    Post subject: problem with dir300nru b1 Reply with quote
Quote:

U-Boot 1.1.3 (Feb 24 2011 - 11:12:27)

Board: Ralink APSoC DRAM: 32 MB
relocate_code Pointer at: 81fb0000
config usb..*** Error: D+/D- is 1/1, config usb failed.
..*** Error: D+/D- is 1/1, config usb failed.


Set info->start[0]=BF000000
flash_protect ON: from 0xBF000000 to 0xBF01E727
flash_protect ON: from 0xBF030000 to 0xBF030FFF
============================================
Ralink UBoot Version: 3.5.2.0
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: NOR Flash
Date:Feb 24 2011 Time:11:12:27
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 320 MHZ ####
estimate memory size =32 Mbytes

Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP. 0

3: System Boot system code via Flash.
## Booting image at bf050000 ...
Bad Magic Number,48445230

what is
Quote:
config usb..*** Error: D+/D- is 1/1, config usb failed

and
Quote:
Bad Magic Number,48445230

how fix it??

P.S. dir300nru same dir600 http://www.dd-wrt.com/wiki/index.php/DIR600
Sponsor
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 354

PostPosted: Thu Aug 02, 2012 10:51    Post subject: Re: problem with dir300nru b1 Reply with quote
Hi,

Why don't try to hexedit the firmware using XVI32 ?
Please read this. http://www.dd-wrt.com/phpBB2/viewtopic.php?t=55600

Regards !!!
jurismv
DD-WRT Novice


Joined: 09 Aug 2009
Posts: 24

PostPosted: Thu Aug 02, 2012 10:59    Post subject: Re: problem with dir300nru b1 Reply with quote
TendaW311R+ thanks, i do this and flash in router. It start good)))

But what is
Quote:
config usb..*** Error: D+/D- is 1/1, config usb failed

???
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 354

PostPosted: Thu Aug 02, 2012 11:45    Post subject: Re: problem with dir300nru b1 Reply with quote
jurismv wrote:
TendaW311R+ thanks, i do this and flash in router. It start good)))

But what is
Quote:
config usb..*** Error: D+/D- is 1/1, config usb failed

???

I do not know. Maybe someone will help you more than me, but I will follow this topic and will try to help you Wink

After flashing can I see your boot log ? Thanks
jurismv
DD-WRT Novice


Joined: 09 Aug 2009
Posts: 24

PostPosted: Fri Aug 03, 2012 4:51    Post subject: Reply with quote
here log of firmware with fix ftp://ftp.dlink.ru/pub/Router/DIR-300_NRU/Firmware/B1_B2_B3/old/DIR300B1_v201_97rg.bin

Quote:

U-Boot 1.1.3 (Feb 24 2011 - 11:12:27)


Board: Ralink APSoC DRAM: 32 MB

relocate_code Pointer at: 81fb0000

config usb..*** Error: D+/D- is 1/1, config usb failed.

..*** Error: D+/D- is 1/1, config usb failed.



Set info->start[0]=BF000000

flash_protect ON: from 0xBF000000 to 0xBF01E727

flash_protect ON: from 0xBF030000 to 0xBF030FFF

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

Ralink UBoot Version: 3.5.2.0

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

ASIC 3052_MP2 (Port5<->None)

DRAM component: 256 Mbits SDR

DRAM bus: 16 bit

Total memory: 32 MBytes

Flash component: NOR Flash

Date:Feb 24 2011 Time:11:12:27

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

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384


##### The CPU freq = 320 MHZ ####

estimate memory size =32 Mbytes


Please choose the operation:

1: Load system code to SDRAM via TFTP.

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

3: Boot system code via Flash (default).

4: Entr boot command line interface.

7: Load Boot Loader code then write to Flash via Serial.

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

 4  3  2  1  0



3: System Boot system code via Flash.

## Booting image at bf050000 ...

Image Name: Linux Kernel Image

Created: 2009-07-27 8:51:14 UTC

Image Type: MIPS Linux Kernel Image (lzma compressed)

Data Size: 881923 Bytes = 861.3 kB

Load Address: 80000000

Entry Point: 802b9000

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

No initrd

## Transferring control to Linux (at address 802b9000) ...

## Giving linux memsize in MB, 32


Starting kernel ...


Linux version 2.6.21 (leon@enzo) (gcc version 3.3.5) #1 Mon Jul 27 16:41:44 CST 2009

The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock1 noinitrd
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
arch_init_irq: cause = a0800018, status = 1100ff00
PID hash table entries: 128 (order: 7, 512 bytes)
mips_time_init: calculating r4koff ... 0x00138800 (1280000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29388k/32768k available (2285k kernel code, 3380k reserved, 498k data, 116k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered
io scheduler deadline registered (default)
FLASH_API: MAN_ID=1 DEV_ID=7E1A00 SIZE=4MB
rt3052 access driver initialization.
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
ra2880_read_mac: 00:00:00:00:00:00
ra2880_read_mac: 00:00:00:00:00:00
Ralink APSoC Ethernet Driver Initilization. v1.60 256 rx/tMsleep at ch#1 to collect RX=0, RSSI=-127
Msleep at ch#2 to collect RX=0, RSSI=-127
Msleep at ch#3 to collect RX=0, RSSI=-127
Msleep at ch#4 to collect RX=0, RSSI=-127
Msleep at ch#5 to collect RX=0, RSSI=-127
Msleep at ch#6 to collect RX=0, RSSI=-127
Msleep at ch#7 to collect RX=0, RSSI=-127
Msleep at ch#8 to collect RX=0, RSSI=-127
Msleep at ch#9 to collect RX=0, RSSI=-127
Msleep at ch#10 to collect RX=0, RSSI=-127
Msleep at ch#11 to collect RX=0, RSSI=-127
Dirtyness = 0.0.0.0. - 0.0.0.0. - 0.0.0.
APAutoSelectChannel pick up ch#9
Main bssid = 00:0c:43:30:52:10
<==== RTMPInitialize, Status=0
0x1300 = 00064380
ttyS1: 1 input overrun(s)
device ra0 entered promiscuous mode
br0: port 2(ra0) entering learning state
br0: topology change detected, propagating
br0: port 2(ra0) entering forwarding state
br0: port 2(ra0) multicast bandwidth 900kbps
Configuration file: /var/run/hostapd.ra0.conf
[/etc/templates/wps.sh] setie ...
Using interface ra0 with hwaddr 00:0c:43:30:52:10 and ssid 'dlink'
hostapd_setup_interface: return 0
Start WLAN interface ra0 Done !!!
[/var/run/wlan_schedule_contrl.sh] ...
start Guest Zone
[/etc/templates/gzone.sh] ...
[/etc/templates/enable_gzone.sh] ...
start RG ...
[/etc/templates/rg.sh] start ...
[/var/run/rg_start.sh] ...
Port status change
Send SIGUSR1 to PID:483
ttyS1: 4 input overrun(s)
killall: udhcpc: no process killed
Using /lib/modules/ip_stun_func.ko
Register STUN module successes!
Using /lib/modules/sw_tcpip.ko
REDSonic turbo net initialized
ttyS1: 2 input overrun(s)
Using /lib/modules/ifresetcnt.ko
Network interface reset count v1.0
insmod: /lib/modules/2.6.21: No such file or directory
insmod: ip_conntrack_ike_m.ko: no module by that name found
insmod: /lib/modules/2.6.21: No such file or directory
insmod: ip_conntrack_esp_m.ko: no module by that name found
insmod: /lib/modules/2.6.21: No such file or directory
insmod: ip_conntrack_proto_esp_m.ko: no module by that name found
insmod: /lib/modules/2.6.21: No such file or directory
insmod: ip_nat_proto_esp_m.ko: no module by that name found
sendto_unsock(/var/run/portt.unixsocket, flush)
/proc/sys/net/ipv4/arp_flood_burst: cannot create
/proc/sys/net/ipv4/arp_flood_cost: cannot create
start DNRD ...
[/etc/templates/dnrd.sh] ...
[/var/run/dnrd_start.sh] ...
Start DNRD ...
Notice: caching turned off
Start telnetd ...
start UPNPD ...
[/etc/templates/upnpd.sh] ...
[/var/run/upnpd_start.sh] ...
Starting UPnP ...
[/var/run/upnp_alive.sh] ...
start WAN ...
Set WAN port media type 0
Port status change
Send SIGUSR1 to PID:483
Port status change
Send SIGUSR1 to PID:483
ttyS1: 1 input overrun(s)
[/etc/templates/wan.sh] start ...
[/var/run/wan_start.sh] ...
insmod: /lib/modules/2.6.21: No such file or directory
Using /lib/modules/sw_tcpip.ko
insmod: cannot insert `/lib/modules/sw_tcpip.ko': Invalid parameters (17): Invalid argument
It is the DHCP mod start!!
wireleth2.2: Setting MAC address to ess_event_receiv 00e: Malformed net delink message: le fan=260 left=256 p 19len=244
wireles c0s_event_receive: 02 Malformed netli.
nk message: len=ttyS1: 1 input overrun(s)
260 left=256 plen=244
wireless_event_receive: Malformed netlink message: len=260 left=256 plen=244
wireless_event_receive: Malformed netlink message: len=260 left=256 plen=244
wireless_event_receive: Malformed netlink message: len=260 left=256 plen=244
Restore WAN MAC : 00:de:fa:19:c0:02
DHCP client on WAN(eth2.2) CloneMAC() ...
wireless_event_receive: Malformed netlink message: len=260 left=256 plen=244
start LLD2D ...
[/etc/templates/lld2d.sh] ...
[/var/run/lld2d_start.sh] ...
Start LLD2 daemon ...
start Neaps ...
[/etc/templates/neaps.sh] start ...
[/var/run/neaps_start.sh] ...
Start Neap Server ...
start igmpproxy ...
[/etc/templates/igmpproxy.sh] start ...
[/var/run/igmpproxy_stop.sh] ...
IGMP proxy is not started !
[/var/run/igmpproxy_start.sh] ...
/proc/igmp_snoop: cannot create
IGMP proxy is not enabled!
Change the STATUS LED...
[/etc/init.d/S10system.sh] done!
rcS done!

Starting pid 1166, console /dev/tts/1: '/bin/sh'


BusyBox v1.00 (2009.07.27-08:42+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

#
jurismv
DD-WRT Novice


Joined: 09 Aug 2009
Posts: 24

PostPosted: Fri Aug 03, 2012 9:19    Post subject: Reply with quote
another problem: after install dd-wrt again, router lose mac-address
Quote:
root@DD-WRT:~# ifconfig
apcli0 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:14
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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

apcli0:0 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:14
inet addr:169.254.255.1 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

br0 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:10
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:378 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:93295 (91.1 KiB) TX bytes:3616 (3.5 KiB)

eth2 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:10
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:616 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:191310 (186.8 KiB)
Interrupt:3

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

ra0 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:12
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1082 errors:0 dropped:0 overruns:0 frame:0
TX packets:867 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:164152 (160.3 KiB) TX bytes:109806 (107.2 KiB)
Interrupt:4

ra1 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:13
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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

vlan1 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:10
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:308 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:95245 (93.0 KiB)

vlan2 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:10
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:308 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:95245 (93.0 KiB)

root@DD-WRT:~#

how to fix???
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 354

PostPosted: Fri Aug 03, 2012 17:07    Post subject: Reply with quote
Why don't try to upload factory firmware ( D-LINK original firmware )and see if the problem is still existence
jurismv
DD-WRT Novice


Joined: 09 Aug 2009
Posts: 24

PostPosted: Mon Aug 06, 2012 4:24    Post subject: Reply with quote
TendaW311R+ wrote:
Why don't try to upload factory firmware ( D-LINK original firmware )and see if the problem is still existence

original firmware works good (mac good), but no Repeater mode
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 354

PostPosted: Mon Aug 06, 2012 12:07    Post subject: Reply with quote
I am sorry but I am now so good with bootloader's problems. Try with the newest firmware of D-link
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 354

PostPosted: Mon Aug 06, 2012 12:09    Post subject: Reply with quote
And another suggestion: Try to upload dd-wrt using Emergency mode
jurismv
DD-WRT Novice


Joined: 09 Aug 2009
Posts: 24

PostPosted: Mon Aug 06, 2012 18:55    Post subject: Reply with quote
TendaW311R+ wrote:
And another suggestion: Try to upload dd-wrt using Emergency mode

I try, but can't find router on 192.168.0.1 or 192.168.1.1 (power off -> press reset -> power on -> 20 sec and more -> release reset -> router just restart)
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 354

PostPosted: Mon Aug 06, 2012 19:04    Post subject: Reply with quote
jurismv wrote:
TendaW311R+ wrote:
And another suggestion: Try to upload dd-wrt using Emergency mode

I try, but can't find router on 192.168.0.1 or 192.168.1.1 (power off -> press reset -> power on -> 20 sec and more -> release reset -> router just restart)

OK, maybe for your router there is not Emergency room. Upload d-link firmware and after that try to flash through WEB interface to dd-wrt
jurismv
DD-WRT Novice


Joined: 09 Aug 2009
Posts: 24

PostPosted: Mon Aug 06, 2012 19:27    Post subject: Reply with quote
I am doing like this, upload d-link firmware v2.01 (see the link above, only this version allows to install not original firmware from web interface), then i do reset to factory defaults and after upload dd-wrt firmware.
But after install dd-wrt, router loses mac address.
jurismv
DD-WRT Novice


Joined: 09 Aug 2009
Posts: 24

PostPosted: Mon Aug 06, 2012 19:34    Post subject: Reply with quote
Another question: what is the latest version of boot loader for dir300-600 (now u-boot 1.1.3)???

Last edited by jurismv on Mon Aug 06, 2012 19:35; edited 1 time in total
TendaW311R+
DD-WRT User


Joined: 19 Oct 2011
Posts: 354

PostPosted: Mon Aug 06, 2012 19:34    Post subject: Reply with quote
jurismv wrote:
I am doing like this, upload d-link firmware v2.01 (see the link above, only this version allows to install not original firmware from web interface), then i do reset to factory defaults and after upload dd-wrt firmware.
But after install dd-wrt, router loses mac address.

Try with the newest version for your router
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT 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