Posted: Sat Oct 08, 2011 15:59 Post subject: Issue Fonera 2200 ddwrt
Hi, I have this problem "can't program at region 0x80041000 : unknow error.
The version file is the lastest v24sp2.
If I update with v24rc6.2 work perfectly with out
I use serial or fon flash.
Where is the problem?
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version V1.00 - built 10:37:27, Dec 12 2006
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Board: FON1
RAM: 0x80000000-0x81000000, [0x80040aa0-0x80fe1000] available
FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each.
== Executing boot script in 10.000 seconds - enter ^C to abort
^C
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> fconfig
Run script at boot: true
Boot script:
.. fis load -l linux
.. exec
Enter script, terminate with empty line
>> fis load -l linux
>> exec
>>
Boot script timeout (1000ms resolution): 10
Use BOOTP for network configuration: false
Gateway IP address: 192.168.1.1
Local IP address: 192.168.1.1
Local IP address mask: 255.255.255.0
Default server IP address: 192.168.1.166
Console baud rate: 9600
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
Update RedBoot non-volatile configuration - continue (y/n)? y
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> ip_address -l 192.168.1.1/24 -h 192.168.1.166
IP: 192.168.1.1/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.166
RedBoot> load foneram-plus.elf
Using default protocol (TFTP)
Entry point: 0x802a8000, address range: 0x80041000-0x803fdaf6
RedBoot> go
Linux version 2.6.19.2 (eric@ubuntu) (gcc version 4.1.2) #33 Fri Apr 11 18:07:48
CPU revision is: 00019064
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists. Total pages: 4064
Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/pret
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.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 12040k/16384k available (2105k kernel code, 4344k reserved, 350k data, )
Mount-cache hash table entries: 512
Checking for 'wait' instruction... available.
NET: Registered protocol family 16
Radio config found at offset 0xf8(0x1f8)
NET: Registered protocol family 2
IP route cache hash table entries: 128 (order: -3, 512 bytes)
TCP established hash table entries: 512 (order: -1, 2048 bytes)
TCP bind hash table entries: 256 (order: -2, 1024 bytes)
TCP: Hash tables configured (established 512 bind 256)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
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
nbd: registered device at major 43
PHY ID: ffff:ffff
eth0: Dropping NETIF_F_SG since no checksum feature.
eth0: Atheros AR231x: 00:18:84:80:ed:d4, irq 4
cmdlinepart partition parsing not available
Searching for RedBoot partition table in spiflash at offset 0x7d0000
Searching for RedBoot partition table in spiflash at offset 0x7e0000
4 RedBoot partitions found on MTD device spiflash
Creating 4 MTD partitions on "spiflash":
0x00000000-0x00030000 : "RedBoot"
0x007e0000-0x007ef000 : "FIS directory"
mtd: partition "FIS directory" doesn't end on an erase block -- force read-only
0x007ef000-0x007f0000 : "RedBoot config"
mtd: partition "RedBoot config" doesn't start on an erase block boundary -- fory
0x007f0000-0x00800000 : "board_config"
ip_conntrack version 2.4 (128 buckets, 1024 max) - 240 bytes per conntrack
eth0: Configuring MAC for full duplex
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Time: MIPS clocksource has been installed.
Freeing unused kernel memory: 1368k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device eth0.0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0.0) entering forwarding state
init started: BusyBox v1.4.2 (2008-03-07 22:17:12 CET) multi-call binary
mount: cannot read /etc/fstab: No such file or directory
umount: cannot umount /jffs: Invalid argument
Please press Enter to activate this console. br-lan: port 1(eth0.0) entering die
device eth0.0 left promiscuous mode
br-lan: port 1(eth0.0) entering disabled state
eth0.0: dev_set_promiscuity(master, -1)
device eth0 left promiscuous mode
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device eth0.0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0.0) entering forwarding state
br-lan: port 1(eth0.0) entering disabled state
device eth0.0 left promiscuous mode
br-lan: port 1(eth0.0) entering disabled state
eth0.0: dev_set_promiscuity(master, -1)
device eth0 left promiscuous mode
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device eth0.0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0.0) entering forwarding state
: udhcpc (v1.4.2) started
: Sending discover...
: udhcpc: sendto: Network is down
gpio_proc: module loaded and /proc/gpio/ created
loop: loaded (max 8 devices)
: Sending discovwlan: 0.8.4.2 (0.9.2.1)
er...
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.17.2 (AR5212, AR5312, RF2316, TX_DESC_SWAP)
ath_rate_sample: 1.2 (0.9.2.1)
wlan: mac acl policy registered
ath_ahb: 0.9.4.5 (0.9.2.1)
ath_pci: switching rfkill capability off
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 3s
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 11.0 phy 4.8 radio 7.0
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 2315 WiSoC: mem=0xb0000000, irq=3
: Changing password for root
: New password:
: Retype password:Sending discover...
: Password for root changed by root
: Interface doesn't accept private ioctl...
: mode (8BE2): Network dropped connection on reset
: Sending discover...
device ath0 entered promiscuous mode
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
br-lan: port 2(ath0) entering disabled state
device ath0 left promiscuous mode
br-lan: port 2(ath0) entering disabled state
device ath0 entered promiscuous mode
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
: Sending discover...
: Sending discover...
: Sending discover...
: Sending discover...
: Sending discover...
: Sending discover...
: Sending discover...
: Sending discover...
: Sending discover...
BusyBox v1.4.2 (2008-03-07 22:17:12 CET) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
---------------------------------------------
Based on OpenWrt - http://www.openwrt.org
Kamikaze 7.06 - kernel 2.6.19.2
Ram-version for la Fonera+ - 01/2008
---------------------------------------------------
Download "linux.bin r14896 6328KB".
Download and extract file "foneram-plus.elf" from here.
Download and extract file "nc.exe" from Netcat for Windows if you try to debrick from Windows.
Code:
RedBoot> fis init
RedBoot> fis create -l 0x007a0000 -e 0x80041000 -n linux
RedBoot> fis list
RedBoot> fconfig -d boot_script_data
boot_script_data:
Enter script, terminate with empty line
>> fis load -l linux
>> exec
>>
Update RedBoot non-volatile configuration - continue (y/n)? y
Wait 1 minute leds POWER and WLAN are alternatively blinking orange.
Wifi network is WEP encrypted. WEP-key is the serial number of your Fonera+
Root password is the serial number of your Fonera+
Then try to connect Telnet/SSH to 192.168.1.1 on LAN port or WLAN
Now connect Telnet/SSH to 192.168.1.1 on WLAN.
Code:
root@LamaBleu:~# cat /proc/cpuinfo
system type : Atheros AR2315
processor : 0
cpu model : MIPS 4KEc V6.4
BogoMIPS : 183.50
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : no
ASEs implemented :
VCED exceptions : not available
VCEI exceptions : not available
Hello, I've made the connections as shown, but the CPU is not recognized.
D2--->A1
D3--->A2
D4--->A3
D5--->A4
D6--->A5
D11--->Y8
A8--->pin3 TDO
Y1--->pin6 srst (fonera 2200)
y2--->pin4 tdi
y3--->pin5 tck
y4--->pin2 tdi
y5--->pin1 trst