Canyon CNP-WF514N3A

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


Joined: 02 Jan 2012
Posts: 22

PostPosted: Tue Jan 03, 2012 18:38    Post subject: Reply with quote
I have packed the files and posted them in my previous post, If you cannot get them from the post, let me know and I will upload them elsewhere.

The stock firmware does indeed have a web-gui upgrade section.

Thanks for the help.
Sponsor
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Wed Jan 04, 2012 13:29    Post subject: Reply with quote
The Canyon stock firmware you uploaded is from TP-Link and the header says that it is from a 1043 Very Happy

Have you tried to load factory-to-ddwrt for a 1043 through the gui update page?
Looks like it should work.

_________________
Kernel panic: Aiee, killing interrupt handler!
p1001
DD-WRT Novice


Joined: 02 Jan 2012
Posts: 22

PostPosted: Wed Jan 04, 2012 14:03    Post subject: Reply with quote
I have tried, gives me the following error:

Quote:
Error code: 18005
Upgrade unsuccessfully because the version of the upgraded file was incorrect. Please check the file name.


I also tried to load stock TP-Link firmware with the same outcome.

The current version information is:
Firmware Version: 3.12.5 Build 101223 Rel.57776n
Hardware Version: CNP-WF514N3A v1 00000000
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Wed Jan 04, 2012 14:33    Post subject: Reply with quote
There are a bunch of bytes in the Canyon header which are zeroed in a TP-Link firmware but not in Canyons, I'll try to see if I can figure out how they are used.

It is quite common that rebranded routers are locked out from running the original mfgrs firmware so I am not surprised that it couldn't.

_________________
Kernel panic: Aiee, killing interrupt handler!
p1001
DD-WRT Novice


Joined: 02 Jan 2012
Posts: 22

PostPosted: Thu Jan 05, 2012 17:22    Post subject: Reply with quote
Hmm, Okay, well I am going to proceed to reprogram the flash with an external programmer.

I would just like to know - what exactly should I program, from what I can gather, I need the first 128kb from a bootable stock tp-link FW (with my MAC placed at 1fc00), then a DDWRT FW, and then the art from my original FW, or am I missing something?
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Jan 06, 2012 2:39    Post subject: Reply with quote
p1001 wrote:
Hmm, Okay, well I am going to proceed to reprogram the flash with an external programmer.

I would just like to know - what exactly should I program, from what I can gather, I need the first 128kb from a bootable stock tp-link FW (with my MAC placed at 1fc00), then a DDWRT FW, and then the art from my original FW, or am I missing something?



I've been looking at the u-boot boot loader to see if there were any additional tests of the header and what it checks.
There weren't any additional tests so you should be able to tftp either 1043 stock firmware or factory-to-ddwrt.

You need the serial connection since the boot delay is only 1 second so you start the tftp process manually from the u-boot cmd prompt:

tftpboot 0x81000000 firmware.bin
erase 0xbf020000 +0x7c0000
cp.b 0x81000000 0xbf020000 0x7c0000
bootm 0xbf020000

_________________
Kernel panic: Aiee, killing interrupt handler!
p1001
DD-WRT Novice


Joined: 02 Jan 2012
Posts: 22

PostPosted: Sat Jan 07, 2012 9:36    Post subject: Reply with quote
Okay, so I was able to program it by desoldering the flash and programming it via SPI. However, it seems that this router uses a different wifi module than the TP-link, since no wifi adapters show up with any of the DD-WRT builds I have tried, nor OPENWRT builds (I did install the kmod-ath9k package). Even with the stock TP-link firmware, the WIFI does not work... Everything else seems fine, but this router is useless without wifi.

Any suggestions?
chris
Site Admin


Joined: 06 Jun 2006
Posts: 101
Location: Germany, Bensheim

PostPosted: Sat Jan 07, 2012 9:43    Post subject: Reply with quote
Hi,

what does the kernel log say, when the drivers are loading?

_________________
NewMedia-NET GmbH
Christian Scheele (CEO)
http://www.dd-wrt.com
p1001
DD-WRT Novice


Joined: 02 Jan 2012
Posts: 22

PostPosted: Sat Jan 07, 2012 9:55    Post subject: Reply with quote
kernel log:

Code:
<5>Linux version 2.6.24.111 (root@dd-wrt) (gcc version 4.3.3 (GCC) ) #3413 Sat Aug 7 06:49:52 CEST 2010
<4>flash_size passed from bootloader = 8
<4>CPU revision is: 00019374
<6>booting platform Atheros AR9132 rev 2 (0xb9)
<4>Determined physical RAM map:
<4> memory: 02000000 @ 00000000 (usable)
<7>On node 0 totalpages: 8192
<7>  Normal zone: 64 pages used for memmap
<7>  Normal zone: 0 pages reserved
<7>  Normal zone: 8128 pages, LIFO batch:0
<7>  Movable zone: 0 pages used for memmap
<4>Built 1 zonelists in Zone order.  Total pages: 8128
<5>Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd  init=/sbin/init
<4>Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.
<4>Primary data cache 32kB, 4-way, linesize 32 bytes.
<6>Synthesized TLB refill handler (20 instructions).
<6>Synthesized TLB load handler fastpath (32 instructions).
<6>Synthesized TLB store handler fastpath (32 instructions).
<6>Synthesized TLB modify handler fastpath (31 instructions).
<6>Cache parity protection disabled
<4>PID hash table entries: 128 (order: 7, 512 bytes)
<4>Using 200.000 MHz high precision timer.
<6>Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>Memory: 29660k/32768k available (1991k kernel code, 3108k reserved, 312k data, 112k init, 0k highmem)
<7>Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
<4>Mount-cache hash table entries: 512
<6>NET: Registered protocol family 16
<6>Generic PHY: Registered new driver
<6>NET: Registered protocol family 2
<6>Time: MIPS clocksource has been installed.
<6>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>TCP established hash table entries: 1024 (order: 1, 8192 bytes)
<6>TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>TCP: Hash tables configured (established 1024 bind 1024)
<6>TCP reno registered
<5>gpio_proc: module loaded and /proc/gpio/ created
<4>AR7100 GPIOC major 0
<6>devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
<6>devfs: boot_options: 0x1
<6>squashfs: version 3.0 (2006/03/15) Phillip Lougher
<6>io scheduler noop registered
<6>io scheduler deadline registered (default)
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
<6>serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A
<6>console [ttyS0] enabled
<6>PPP generic driver version 2.4.2
<6>PPP Deflate Compression module registered
<6>PPP BSD Compression module registered
<6>MPPE/MPPC encryption/compression module registered
<6>NET: Registered protocol family 24
<6>PPPoL2TP kernel driver, V1.0
<6>IMQ starting with 2 devices...
<6>IMQ driver loaded successfully.
<6>     Hooking IMQ before NAT on PREROUTING.
<6>     Hooking IMQ after NAT on POSTROUTING.
<6>tun: Universal TUN/TAP device driver, 1.6
<6>tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<0>guessed flashsize = 8M
<0>scanning for root partition
<0>tplink uboot detected
<0>bootloader size = 20000
<0>
<4>found squashfs at 160000
<5>Creating 8 MTD partitions on "ar7100-nor0":
<5>0x00000000-0x00020000 : "RedBoot"
<5>0x00020000-0x007e0000 : "linux"
<5>0x00160000-0x006f0000 : "rootfs"
<5>0x006f0000-0x007e0000 : "ddwrt"
<5>0x007e0000-0x007f0000 : "nvram"
<5>0x007f0000-0x00800000 : "FIS directory"
<5>0x007f0000-0x00800000 : "board_config"
<5>0x00000000-0x00800000 : "fullflash"
<6>Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
<4>GACT probability on
<4>Mirror/redirect action on
<4>Simple TC action Loaded
<4>u32 classifier
<4>    Actions configured
<4>Netfilter messages via NETLINK v0.30.
<4>nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
<4>ctnetlink v0.93: registering with nfnetlink.
<6>IPv4 over IPv4 tunneling driver
<6>GRE over IPv4 tunneling driver
<6>ip_tables: (C) 2000-2006 Netfilter Core Team
<6>IPP2P v0.8.2 loading
<5>ClusterIP Version 0.8 loaded successfully
<6>TCP bic registered
<6>TCP cubic registered
<6>TCP westwood registered
<6>TCP highspeed registered
<6>TCP hybla registered
<6>TCP htcp registered
<6>TCP vegas registered
<6>TCP scalable registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<4>Welcome to PF_RING 3.2.1
<4>(C) 2004-06 L.Deri <deri@ntop.org>
<6>NET: Registered protocol family 27
<4>PF_RING: bucket length    128 bytes
<4>PF_RING: ring slots       4096
<4>PF_RING: sample rate      1 [1=no sampling]
<4>PF_RING: capture TX       No [RX only]
<4>PF_RING: transparent mode Yes
<4>PF_RING initialized correctly.
<4>PF_RING: registered /proc/net/pf_ring/
<6>802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
<6>All bugs added by David S. Miller <davem@redhat.com>
<0>decode 1f02
<4>VFS: Mounted root (squashfs filesystem) readonly.
<6>Mounted devfs on /dev
<6>Freeing unused kernel memory: 112k freed
<6>Realtek RTL8366rb: Registered new driver
<5>Realtek RTL8366rb switch driver version 0.1.0
<6>rtl8366rb-smi rtl8366rb-smi: using GPIO pins 18 (SDA) and 19 (SCK)
<6>rtl8366rb-smi rtl8366rb-smi: RTL5937 ver. 3 chip found
<6>rtl8366-smi: probed
<4>rtl8366rb init vlan
<4> [0]phy_abilityAutoNegotiation : 1
<4>[0]phy_abilityHalf_10 : 1
<4>[0]phy_abilityFull_10 : 1
<4>[0]phy_abilityHalf_100 : 1
<4>[0]phy_abilityFull_100 : 1
<4>[0]phy_abilityFull_1000 : 1
<4>[0]phy_abilityFC : 1
<4>[0]phy_abilityAsyFC : 1
<4>[1]phy_abilityAutoNegotiation : 1
<4>[1]phy_abilityHalf_10 : 1
<4>[1]phy_abilityFull_10 : 1
<4>[1]phy_abilityHalf_100 : 1
<4>[1]phy_abilityFull_100 : 1
<4>[1]phy_abilityFull_1000 : 1
<4>[1]phy_abilityFC : 1
<4>[1]phy_abilityAsyFC : 1
<4>[2]phy_abilityAutoNegotiation : 1
<4>[2]phy_abilityHalf_10 : 1
<4>[2]phy_abilityFull_10 : 1
<4>[2]phy_abilityHalf_100 : 1
<4>[2]phy_abilityFull_100 : 1
<4>[2]phy_abilityFull_1000 : 1
<4>[2]phy_abilityFC : 1
<4>[2]phy_abilityAsyFC : 1
<4>[3]phy_abilityAutoNegotiation : 1
<4>[3]phy_abilityHalf_10 : 1
<4>[3]phy_abilityFull_10 : 1
<4>[3]phy_abilityHalf_100 : 1
<4>[3]phy_abilityFull_100 : 1
<4>[3]phy_abilityFull_1000 : 1
<4>[3]phy_abilityFC : 1
<4>[3]phy_abilityAsyFC : 1
<4>[4]phy_abilityAutoNegotiation : 1
<4>[4]phy_abilityHalf_10 : 1
<4>[4]phy_abilityFull_10 : 1
<4>[4]phy_abilityHalf_100 : 1
<4>[4]phy_abilityFull_100 : 1
<4>[4]phy_abilityFull_1000 : 1
<4>[4]phy_abilityFC : 1
<4>[4]phy_abilityAsyFC : 1
<4>rtl8366s_getEthernetPHY fail for 5!!!!
<4>rtl8366s_getEthernetPHY fail for 6!!!!
<4>rtl8366s_getEthernetPHY fail for 7!!!!
<4>rtl8366s_getEthernetPHY fail for 8!!!!
<4>rtl8366s_getEthernetPHY fail for 9!!!!
<4>rtl8366s_getEthernetPHY fail for 10!!!!
<4>rtl8366s_getEthernetPHY fail for 11!!!!
<4>rtl8366s_getEthernetPHY fail for 12!!!!
<4>rtl8366s_getEthernetPHY fail for 13!!!!
<4>rtl8366s_getEthernetPHY fail for 14!!!!
<4>rtl8366s_getEthernetPHY fail for 15!!!!
<4>ag7100_mod: module license 'unspecified' taints kernel.
<4>AG7100: Length per segment 1536
<4>AG7100: Max segments per packet 1
<4>AG7100: Max tx descriptor count    100
<4>AG7100: Max rx descriptor count    252
<4>AG7100: fifo cfg 3 00780008
<4>AG7100CHH: Mac address for unit 0
<4>AG7100CHH: ff:ff:ff:ff:ff:ff
<6>ag7100_mii: probed
<0>phymap is null
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>ar71xx-ehci ar71xx-ehci.0: Atheros AR91xx built-in EHCI controller
<6>ar71xx-ehci ar71xx-ehci.0: new USB bus registered, assigned bus number 1
<6>ar71xx-ehci ar71xx-ehci.0: irq 3, io mem 0x1b000000
<6>ar71xx-ehci ar71xx-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
<6>usb usb1: configuration #1 chosen from 1 choice
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
<5>SCSI subsystem initialized
<4>sr_mod: Unknown symbol register_cdrom
<4>sr_mod: Unknown symbol cdrom_ioctl
<4>sr_mod: Unknown symbol cdrom_media_changed
<4>sr_mod: Unknown symbol cdrom_release
<4>sr_mod: Unknown symbol cdrom_open
<4>sr_mod: Unknown symbol unregister_cdrom
<4>sr_mod: Unknown symbol cdrom_number_of_slots
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<4>ag7100_ring_alloc Allocated 1600 at 0x81c35800
<4>ag7100_ring_alloc Allocated 4032 at 0x813fb000
<4>AG7100: cfg1 0x2f cfg2 0x7014
<4>AG7100: unit 0 phy is up...RGMii 1000Mbps full duplex
<4>AG7100: pll reg 0x18050014: 0x1a000000  AG7100: CPU PhaseLockLoop      : 0x1050
<4>AG7100: Secondary PhaseLockLoop: 0x1032
<4>AG7100: Ethernet Internal Clock Control: 0x0
<4>AG7100: mii: 0x22
<4>AG7100: cfg1: 0x2f
<4>AG7100: cfg2: 0x7215
<4>AG7100: fcfg_0: 0x1d1f00
<4>AG7100: fcfg_1: 0x7ff0000
<4>AG7100: fcfg_2: 0xfff
<4>AG7100: fcfg_3: 0x7803ff
<4>AG7100: fcfg_4: 0xffff
<4>AG7100: fcfg_5: 0xfefef
<4>AG7100: done cfg2 0x7215 ifctl 0x0 miictrl 0x22
<4>AG7100: LAN Rx Hang Detected 1 times!
<4>Writing 4
<6>ath_mimo_hal: 0.9.17.1 (AR5416, REGOPS_FUNC)
<6>ath_ahb: 0.9.4.5 (Atheros/multi-bss)
<6>ath_dfs: Version 2.0.0
<4>Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
<6>wlan: 0.8.4.2 (Atheros/multi-bss)
<6>wlan: mac acl policy registered
<6>ath_rate_atheros: Version 2.0.1
<4>Copyright (c) 2001-2004 Atheros Communications, Inc, All Rights Reserved
<6>ar5416CheckEepromDef: Read Magic = 0xFFFF
<6>EEPROM being read from flash @0xbfff1000
<6>need_swap = False.
<6>Bad EEPROM checksum 0x0 or revision 0x000f
<3>wifi%d: unable to attach hardware; HAL status 7
<4>ath_ahb: No devices found, driver not installed.
<3>br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
<6>device br0 entered promiscuous mode
<6>device vlan1 entered promiscuous mode
<6>device eth0 entered promiscuous mode
<6>br0: port 1(vlan1) entering learning state
<6>device br0 left promiscuous mode
<6>device br0 entered promiscuous mode
<6>device br0 left promiscuous mode
<6>device br0 entered promiscuous mode
<6>Ethernet Channel Bonding Driver: v3.1.3 (June 13, 2007)
<6>bonding: MII link monitoring set to 100 ms
<6>device vlan2 entered promiscuous mode
<6>device vlan2 left promiscuous mode
<6>br0: topology change detected, propagating
<6>br0: port 1(vlan1) entering forwarding state
<6>etherip: Ethernet over IPv4 tunneling driver
 
p1001
DD-WRT Novice


Joined: 02 Jan 2012
Posts: 22

PostPosted: Sat Jan 07, 2012 10:41    Post subject: Reply with quote
Okay, thanks for making me look more carefully at the log. I just rewrote my original art to the board_config with

Code:

mtd -r write /mnt/mtdblock4.bin board_config


And now everything seems to be back to normal.

Thank you very much.
chris
Site Admin


Joined: 06 Jun 2006
Posts: 101
Location: Germany, Bensheim

PostPosted: Sat Jan 07, 2012 11:22    Post subject: Reply with quote
Hi,

i will have a look into the firmware files, to see the difference from the tp-link header to the canyon header.
Hopefully we can provide then a factory -> dd-wrt firmware.

_________________
NewMedia-NET GmbH
Christian Scheele (CEO)
http://www.dd-wrt.com
p1001
DD-WRT Novice


Joined: 02 Jan 2012
Posts: 22

PostPosted: Sat Jan 07, 2012 14:30    Post subject: Reply with quote
chris wrote:
Hi,

i will have a look into the firmware files, to see the difference from the tp-link header to the canyon header.
Hopefully we can provide then a factory -> dd-wrt firmware.




Maybe it is something to do with the 'x' at 45h
werk666
DD-WRT Novice


Joined: 24 Mar 2010
Posts: 8

PostPosted: Mon Jan 30, 2012 22:50    Post subject: Reply with quote
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=666198#666198

wi-fi will not work on dd-wrt and tp-link firmware!
need to redo software....
p1001
DD-WRT Novice


Joined: 02 Jan 2012
Posts: 22

PostPosted: Wed Feb 01, 2012 6:31    Post subject: Reply with quote
werk666 wrote:
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=666198#666198

wi-fi will not work on dd-wrt and tp-link firmware!
need to redo software....


I do not understand. Do you mean to say that yo made a web-upgrade file and now the WIFI does not work with the dd-wrt? maybe you also wrote over your art? (see 4 posts above.)

My wifi was working perfectly with dd-wrt last time I checked...
werk666
DD-WRT Novice


Joined: 24 Mar 2010
Posts: 8

PostPosted: Wed Feb 01, 2012 22:15    Post subject: Reply with quote
Very strange! I tried all versions of dd-wrt and tplink and Wi-Fi did not work, at its web-gui dd-wrt not view!
And if you compare the firmware from Canyon TP-link and you can see how they differ in content!
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 2 of 4
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