Zyxel NBG334W dd-wrt support

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3  Next
Author Message
stanislav
DD-WRT Novice


Joined: 05 May 2012
Posts: 15

PostPosted: Wed Nov 21, 2012 7:38    Post subject: Reply with quote
Yes, ar2317.
In the process...I have a problem with tftp server:
load -r -b 0x80041000 linux.bin
Using default protocol (TFTP)
TFTP timed out 1/15
Can't load 'linux.bin': operation timed out

I try to understand...

Sash, thank you!
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Wed Nov 21, 2012 10:02    Post subject: Reply with quote
in general its a firewall problem
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
stanislav
DD-WRT Novice


Joined: 05 May 2012
Posts: 15

PostPosted: Wed Nov 21, 2012 20:29    Post subject: Reply with quote
I loaded linux.bin and I have reboot loop.

Log:
MicroRedBoot v1.4, (c) 2009 DD-WRT.COM (Jul 8 2012 REVISION 18550M)
keep the reset button pushed to enter redboot!
CPU Type: Atheros AR2315/6/7/8
CPU Clock: 184Mhz
Found Flash device SIZE=0x00400000 SECTORSIZE=0x00010000 FLASHBASE=0xBFC00000
Found FIS Directory on [0xBFFE0000]
found bootable image: [linux] at [0xBFC10000] EP [0x80041000]
Booting Linux
loading........................................................................9
mips devid = 90
CPU revision is: 00019064
mem setup
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Built 1 zonelists in Zone order. Total pages: 4064
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=squashM
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 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).
PID hash table entries: 64 (order: 6, 256 bytes)
Using 92.000 MHz high precision timer.
console [ttyS0] enabled
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 12948k/16384k available (2222k kernel code, 3436k reserved, 289k data, )
Mount-cache hash table entries: 512
NET: Registered protocol family 16
scanning for board data at A83FF000 (FFFFFFFF)
scanning for board data at A83FE000 (FFFFFFFF)
scanning for board data at A83FD000 (FFFFFFFF)
scanning for board data at A83FC000 (FFFFFFFF)
scanning for board data at A83FB000 (FFFFFFFF)
scanning for board data at A83FA000 (FFFFFFFF)
scanning for board data at A83F9000 (FFFFFFFF)
scanning for board data at A83F8000 (FFFFFFFF)
scanning for board data at A83F7000 (FFFFFFFF)
scanning for board data at A83F6000 (FFFFFFFF)
scanning for board data at A83F5000 (FFFFFFFF)
scanning for board data at A83F4000 (FFFFFFFF)
scanning for board data at A83F3000 (FFFFFFFF)
scanning for board data at A83F2000 (FFFFFFFF)
scanning for board data at A83F1000 (FFFFFFFF)
scanning for board data at A83F0000 (35333131)
found 1
Found board config at 0xa83f0000
Radio config found at offset 0xf8(0x1f8) (a83f00f8)
Generic PHY: Registered new driver
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: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
gpio_proc: module loaded and /proc/gpio/ created
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xb1100003 (irq = 37) is a 16550A
serial8250 serial8250.0: unable to register port at index 0 (IO3f8 MEM0 IRQ4): 8
serial8250 serial8250.0: unable to register port at index 1 (IO2f8 MEM0 IRQ3): 8
serial8250 serial8250.0: unable to register port at index 2 (IO3e8 MEM0 IRQ4): 8
serial8250 serial8250.0: unable to register port at index 3 (IO2e8 MEM0 IRQ3): 8
Infineon ADM6996: Registered new driver
Marvell 88E6060/88E6061: Registered new driver
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
MPPE/MPPC encryption/compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
scanning for root partition

found squashfs at E0000
found RedBoot partition at [0xBFC00000]
found linux partition at [0xBFC10000]
Creating 8 MTD partitions on "spiflash":
0x00000000-0x00010000 : "RedBoot"
0x00010000-0x003d0000 : "linux"
0x000e0000-0x003b0000 : "rootfs"
0x003b0000-0x003d0000 : "ddwrt"
0x003d0000-0x003e0000 : "nvram"
0x003e0000-0x003f0000 : "FIS directory"
0x003f0000-0x00400000 : "board_config"
0x00000000-0x00400000 : "fullflash"
watchdog hb: 60 ISR: 0x20 IMR: 0x8 WD : 0x2751efac WDC: 0x0
ar2315_wdt_init using heartbeat 60 s cycles 2400000000
watchdog hb: 60 ISR: 0x20 IMR: 0x88 WD : 0x8f07ecff WDC: 0x0
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
ctnetlink v0.93: registering with nfnetlink.
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
ClusterIP Version 0.8 loaded successfully
TCP bic registered
TCP cubic registered
TCP westwood registered
TCP highspeed registered
TCP hybla registered
TCP htcp registered
TCP vegas registered
TCP scalable registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Welcome to PF_RING 3.2.1
(C) 2004-06 L.Deri <deri@ntop.org>
NET: Registered protocol family 27
PF_RING: bucket length 128 bytes
PF_RING: ring slots 4096
PF_RING: sample rate 1 [1=no sampling]
PF_RING: capture TX No [RX only]
PF_RING: transparent mode Yes
PF_RING initialized correctly.
PF_RING: registered /proc/net/pf_ring/
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
decode /dev/mtdblock2
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 124k freed
starting Architecture code for dir300
ar2315_wdt: starting watchdog w/timeout 60 seconds
watchdog hb: 60 ISR: 0x20 IMR: 0x89 WD : 0x8f0b138f WDC: 0x0
Algorithmics/MIPS FPU Emulator v1.5
test pattern is FFFFFFFF
eth0: Atheros AR231x: 00:19:cb:e0:16:5e, irq 4
ar2313_eth_mii: probed
eth0: ADM6996 PHY driver attached.
eth0: attached PHY driver [Infineon ADM6996] (mii_bus:phy_addr=0:00)
ath_hal: module license 'Proprietary' taints kernel.
eth0: Configuring MAC for half duplex
Reset ICPLUS Phy
Start Autonegotiation
Port 0, Negogiation timeout
Port 1, Negogiation timeout
Port 2, Negogiation timeout
Port 3, Negogiation timeout
Port 4, Negogiation timeout
Port 5, Negogiation timeout
Setup VLANS
write register 29, addr 24 with 0
write register 29, addr 25 with 0
write register 29, addr 26 with 0
write register 29, addr 27 with 0
write register 29, addr 28 with 2
write register 29, addr 30 with 0
write register 29, addr 23 with 7C2
write register 30, addr 1 with 2F
write register 30, addr 2 with 30
write register 30, addr 9 with 1089
device vlan0 entered promiscuous mode
device eth0 entered promiscuous mode
device vlan2 entered promiscuous mode
nvram_commit(): end
br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device vlan0 left promiscuous mode
device vlan0 entered promiscuous mode
sh: can't create /proc/sys/dev/wifi0/maxvaps: Permission denied
ath0
sh: can't create /proc/sys/dev/wifi0/csma: nonexistent directory
nvram_commit(): end
erase[65536]
ar2315_wdt_release: release with 58 left
Restarting system.


And now I have not access to redboot. Is it possible to stop reboot in minicom (serial)?
stanislav
DD-WRT Novice


Joined: 05 May 2012
Posts: 15

PostPosted: Wed Nov 21, 2012 21:05    Post subject: Reply with quote
Finally I got following when I press RESET:
DD-WRT v24-sp2 std (c) 2009 NewMedia-NET GmbH
Release: 10/10/09 (SVN revision: 13064)

DD-WRT login: AT S7=45 S0=0 L1 V1 X4
DD-WRT v24-sp2 std (c) 2009 NewMedia-NET GmbH
Release: 10/10/09 (SVN revision: 13064)

DD-WRT login: root
Password:
==========================================================

____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|

DD-WRT v24-sp2
http://www.dd-wrt.com

==========================================================
Jan 1 00:03:18 login[1727]: root login on 'console'


BusyBox v1.13.4 (2009-10-10 03:14:27 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@DD-WRT:~#
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Wed Nov 21, 2012 22:21    Post subject: Reply with quote
jo also my guess ... looks like an inversed reset button...

is it working in general?

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
stanislav
DD-WRT Novice


Joined: 05 May 2012
Posts: 15

PostPosted: Thu Nov 22, 2012 12:05    Post subject: Reply with quote
I will check it...
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Thu Nov 22, 2012 12:14    Post subject: Reply with quote
ah forgot. u can disable the reset button in nvram so u wont have to push it all day long Wink
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
stanislav
DD-WRT Novice


Joined: 05 May 2012
Posts: 15

PostPosted: Thu Nov 22, 2012 13:22    Post subject: Reply with quote
[delete]

Last edited by stanislav on Fri Nov 23, 2012 12:22; edited 2 times in total
stanislav
DD-WRT Novice


Joined: 05 May 2012
Posts: 15

PostPosted: Thu Nov 22, 2012 18:08    Post subject: Reply with quote
Sash, you are right! RESET button is inversed.
stanislav
DD-WRT Novice


Joined: 05 May 2012
Posts: 15

PostPosted: Thu Nov 22, 2012 19:48    Post subject: Reply with quote
In general it is look like working... But changes doesn't save in nvram after reboot. I made nvram commit

I try to understand...
AmEv
DD-WRT Novice


Joined: 27 May 2012
Posts: 7

PostPosted: Sat Dec 29, 2012 19:27    Post subject: Reply with quote
I also have this router that I'm trying to load DD-WRT onto.

Couple questions though, I am kinda new to this.

What's the best way to get the bootloader on? Serial-only, tftp push, something else?
If I need serial, what's the interface and pinout?

Thanks in advance.
stanislav
DD-WRT Novice


Joined: 05 May 2012
Posts: 15

PostPosted: Sun Dec 30, 2012 12:14    Post subject: Reply with quote
I think, that is better use jtag for load RedBoot.
Jtag pins(Zyxel NBG334W):
nTRST 1 2 GND
TDI 3 4 GND
TDO 5 6 GND
TMS 7 8 GND
TCK 9 10 GND
nRST 11 12 N/C
NC 13 14 VCC
But It is possible to load RedBoot via Serial(You can get brick your router).
Pins of Serial port(Zyxel NBG334W):
GND EMPTY RxD TxD VCC+(3.3V)

BootBase commands:
======= Debug Command Listing =======
AT just answer OK
ATHE print help
ATBAx change baudrate. 1:38.4k, 2:19.2k, 3:9.6k 4:57.6k 5:115.2k
ATENx,(y) set BootExtension Debug Flag (y=password)
ATSE show the seed of password generator
ATTI(h,m,s) change system time to hour:min:sec or show current time
ATDA(y,m,d) change system date to year/month/day or show current date
ATDS dump RAS stack
ATDT dump Boot Module Common Area
ATDUx,y dump memory contents from address x for length y
ATRBx display the 8-bit value of address x
ATRWx display the 16-bit value of address x
ATRLx display the 32-bit value of address x
ATGO(x) run program at addr x or boot router
ATGR boot router
ATGT run Hardware Test Program
ATRTw,x,y(,z) RAM test level w, from address x to y (z iterations)
ATSH dump manufacturer related data in ROM
ATDOx,y download from address x for length y to PC via XMODEM
ATTD download router configuration to PC via XMODEM
ATUR upload router firmware to flash ROM
ATLC upload router configuration file to flash ROM
ATXSx xmodem select: x=0: CRC mode(default); x=1: checksum mode

1)For load RedBoot is necessary to change Debug Mode Flag.

Format of the command for change Debug Mode Flag:
ATEN1,password

For generate a password use command ATSE, and you get "seed", next use script on the following site for calculate password: http://www.tonycool.es/zyxel/zynpass_en.htm
You can find additional information on site: http://www.ixo.de/info/zyxel_uclinux/

2) atbt1 //block0 write enable (1=enable, other=disable)
3) atuxbfc00000,bfc0df60 //xmodem upload from flash block x to y
AmEv
DD-WRT Novice


Joined: 27 May 2012
Posts: 7

PostPosted: Mon Dec 31, 2012 3:17    Post subject: Reply with quote
Thanks!


Whoo, I've got a laptop running Linux, and it's old enough to have a parallel port.

Time to test 'em out. Hook up that JTAG.
sschevy010
DD-WRT Novice


Joined: 11 Jan 2013
Posts: 6

PostPosted: Fri Jan 18, 2013 2:51    Post subject: Reply with quote
Any Updates no this? I too have NBG334W and would like to use DD-WRT so I can setup PPTP Client on it, even though it has one on it.. but its a screwed up design...
stanislav
DD-WRT Novice


Joined: 05 May 2012
Posts: 15

PostPosted: Mon Jan 21, 2013 6:02    Post subject: Reply with quote
I haven't any update.
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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