Need assistance regarding serial console

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
Macgyver
DD-WRT Guru


Joined: 26 Nov 2008
Posts: 688
Location: Toronto, Canada

PostPosted: Fri May 17, 2013 15:19    Post subject: Need assistance regarding serial console Reply with quote
At my wits end here with WRT310N and serial console....any ideas why I cant interrupt the boot? I tried xp, 7 , putty, hyperterminal....nothing working and I read everything I could find on it already (yes I searched) Shocked
I have been hitting ctrl+c and/or esc like a maniac when powering on router and neither seem to be working but data is being sent...just not either of those 2 keystrokes
router keeps rebooting in a loop Mad

CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Thu Jan 3 14:20:25 CST 2008 (root@linux)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing PCI. [normal]
PCI: Initializing host
PCI bus 0 slot 0/0: vendor 0x14e4 product 0x0800 (flash memory, rev 0x02)
PCI bus 0 slot 1/0: vendor 0x14e4 product 0x471f (ethernet network, rev 0x02)
PCI bus 0 slot 2/0: vendor 0x14e4 product 0x471a (USB serial bus, interface 0x10, rev 0x02)
PCI bus 0 slot 2/1: vendor 0x14e4 product 0x471a (USB serial bus, interface 0x20, rev 0x02)
PCI bus 0 slot 3/0: vendor 0x14e4 product 0x471b (USB serial bus, rev 0x02)
PCI bus 0 slot 4/0: vendor 0x14e4 product 0x0804 (PCI bridge, rev 0x02)
PCI bus 0 slot 5/0: vendor 0x14e4 product 0x0816 (MIPS processor, rev 0x02)
PCI bus 0 slot 6/0: vendor 0x14e4 product 0x471d (IDE mass storage, rev 0x02)
PCI bus 0 slot 7/0: vendor 0x14e4 product 0x4718 (network/computing crypto, rev 0x02)
PCI bus 0 slot 8/0: vendor 0x14e4 product 0x080f (RAM memory, rev 0x02)
PCI bus 0 slot 9/0: vendor 0x14e4 product 0x471e (class 0xfe, subclass 0x00, rev 0x02)
Initializing Devices.

No DPN
This is a Parallel Flash
Boot partition size = 262144(0x40000)
Partition information:
boot #00 00000000 -> 0003FFFF (262144)
trx #01 00040000 -> 0004001B (2Cool
os #02 0004001C -> 003F7FFF (3899364)
nvram #03 003F8000 -> 003FFFFF (32768)
Partition information:
boot #00 00000000 -> 0003FFFF (262144)
trx #01 00040000 -> 003F7FFF (3899392)
nvram #02 003F8000 -> 003FFFFF (32768)
Reset switch via GPIO 8 ...
PCI bus 0 slot 1/0: pci_map_mem: attempt to map 64-bit region tag=0x800 @ addr=18010004
PCI bus 0 slot 1/0: pci_map_mem: addr=0x18010004 pa=0x18010000
ge0: BCM5750 Ethernet at 0x18010000
CPU type 0x2901A: 300MHz
Total memory: 32768 KBytes

Total memory used by CFE: 0x80700000 - 0x807A2600 (665088)
Initialized Data: 0x80737980 - 0x8073A880 (12032)
BSS Area: 0x8073A880 - 0x8073C600 (7552)
Local Heap: 0x8073C600 - 0x807A0600 (409600)
Stack Area: 0x807A0600 - 0x807A2600 (8192)
Text (code) segment: 0x80700000 - 0x80737980 (227712)
Boot area (physical): 0x007A3000 - 0x007E3000
Relocation Factor: I:00000000 - D:00000000

Boot version: v4.7
The boot is CFE
mac_init(): Find mac [edited] in location 1
Nothing...
CMD: [ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0]
eth0: Link speed: 1000BaseT FDX
Device eth0: hwaddr -edited-, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
CMD: [go;]
Check CRC of image1
Len: 0x320000 (3276800) (0xBC040000)
Offset0: 0x1C (2Cool (0xBC04001C)
Offset1: 0x9A8 (2472) (0xBC0409A8)
Offset2: 0xE3000 (929792) (0xBC123000)
Header CRC: 0x49F852FA
Calculate CRC: 0x49F852FA
Image 1 is OK
Try to load image 1.
CMD: [boot -raw -z -addr=0x80001000 -max=0x770000 flash0.os:]
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3856 bytes read
Entry at 0x80001000
Closing network.
eth0: cannot clear 1400/00000002
Starting program at 0x80001000
CPU ProcId is: 0x0002901a, options: 0x0000004d
Linux version 2.4.37 (eko@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #4112 Mon Aug 31 20:23:52 CEST 2009
Setting the PFC to its default value
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM4785 rev 2 at 300 MHz
Using 150.000 MHz high precision timer.
Calibrating delay loop... 299.82 BogoMIPS
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Ignoring BAR0-1 of IDE controller 00:06.0
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0Cool with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 2) is a 16550A
ttyS01 at 0xb8000400 (irq = 2) is a 16550A
PCI: Setting latency timer of device 01:01.0 to 64
PCI: Enabling device 01:01.0 (0004 -> 0006)
Overriding boardvendor: 0x14e4 instead of 0x14e4
Overriding boardtype: 0x46d instead of 0x4321
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v0.0 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x22e6a0
partition size = 2347008
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"
0x00123000-0x00360000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00360000-0x003f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
/sbin/initKernel panic: Attempted to kill init!
: can't resolve symbol 'getpgrp'<0>Rebooting in 5 seconds..

_________________

Hardware that works for me
Linksys WRT:
E3000 16214 K26
Sponsor
smokinabowl
DD-WRT User


Joined: 21 Sep 2007
Posts: 310
Location: pittsburgh pa

PostPosted: Fri May 17, 2013 15:58    Post subject: Reply with quote
check your soldering... maybe you have tx on the router connected fine but not rx
_________________
TP-Link TL-WR1043ND - DD-WRT std BS build 20675
WRT54GS v3/64mb ram/usb/sd mod - Tomato 1.28.0000 MIPS1 K26
WRT54G v5/16mb ram/usb/sd mod - DD-WRT mega BS build 14929
WAP54g v2/32mb ram/usb/sd mod - DD-WRT micro Eko Build 15943
WRTSL54GS sd mod - DD-WRT mini-usb Eko build 18946
Belkin N300 - DD-WRT std-usb-nas Eko build 16773M K2.6
Murrkf
DD-WRT Guru


Joined: 22 Sep 2008
Posts: 9927

PostPosted: Fri May 17, 2013 17:21    Post subject: Reply with quote
I have found that it is almost impossible to do this fast enough when working by yourself. Get someone to switch the router on and hit cntl-c like a maniac while it is booting. Make sure caps lock is off.
_________________
See this:
http://i31.tinypic.com/24mz3ms.png

LOM: "If you show that you have not bothered to read the forum announcements or to follow the advices in them then the level of help available for you will drop substantially, also known as Murrkf's law.."
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 12310
Location: N41 55.327 W88 03.986

PostPosted: Fri May 17, 2013 17:23    Post subject: Reply with quote
make sure rx isn't open when testing with an ohm meter (router powered off). Diff router but I fixed one that was missing the smt resister on the rx line.

Also.. it is typically recommended to the connect the adapters tx to it's rx and make sure your key strokes are echo'd in the terminal.

I can also say that if the scroll lock key is on or if flow control is set to anything but off or none, you can not stop the boot.

_________________
[MODERATOR DELETED] Shocked
Macgyver
DD-WRT Guru


Joined: 26 Nov 2008
Posts: 688
Location: Toronto, Canada

PostPosted: Fri May 17, 2013 18:47    Post subject: mission accomplished! thanks!! Reply with quote
well after hours of pressing ctrl-c one gets pretty good at pressing those buttons...I think I beat them into the keyboard Evil or Very Mad ...it was the rx connection that was off...a friend had attempted to repair it himself before giving it to me and under the solder for J2 I saw a missing pad...dont ask me but I connected inside the WAN port with a wire and no solder just bent the wire in place and its aliveeeee....thanks for your help guys was at my wits end Very Happy
_________________

Hardware that works for me
Linksys WRT:
E3000 16214 K26
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom 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 can attach files in this forum
You can download files in this forum