Witam szanowne FORUM!!!! (bodajże 6 osób online -więcej niż na forum.openwrt.org)
Ostatnio na eBay: http://www.ebay.pl/itm/Belkin-Wireless- … Sw9r1WC~t7 kupiłem ten router-modem. To kombo f9k1115v2 imodemu adsl f9j1000v1. Zresztą wszystko widać w opisie aukcji. Generalnie ten sam router tylko z innym firmware z obsługą modemu ADSL.
Gdy tylko przyszedł do mnie okazało się że to nówka z małym wgniotkiem na kartonie a miał być używany (refubrished).
Po uruchomieniu przypomniały mi się "wasze" perypetie z brakiem interfejsu po update - u mnie fabrycznie brak web gui, a przynajmniej tak mi się wydawało. Wszystko działa WiFi, dostaję IP z DHCP, jedynie brak GUI. Próbowałem zgodnie z sugestiami z trybu recovery wgrać FW najpierw stabilne (z web gui) od f9k1115 potem oryginalne od f9j1108. Niestety w czasie "wciągania" obrazów router restartuje i uruchamia się w normalnym trybie.
Cóż. Lutowanie wyjścia na serial poszło nieźle: http://imgur.com/a/1Pds4 opisy in english bo postowałem na forum.openwrt.org - (bez większych sukcesów).
bootlog OFW
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2016.10.18 13:13:19 =~=~=~=~=~=~=~=~=~=~=~=
U-Boot 1.1.4 (Feb 13 2014 - 19:07:07)
ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(200): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x3, 0x1e)
Tap values = (0x10, 0x10, 0x10, 0x10)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 232k for U-Boot at: 87fc4000
Reserving 192k for malloc() at: 87f94000
Reserving 44 Bytes for Board Info at: 87f93fd4
Reserving 36 Bytes for Global Data at: 87f93fb0
Reserving 128k for boot params() at: 87f73fb0
Stack Pointer at: 87f73f98
Now running in RAM - U-Boot at: 87fc4000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0x1
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ----> S17 PHY *
Vlan config...
s17 phy0 register value 0x00004140
TEST: FINAL REG VAL after TX Calibration - 0x86000000
TEST: FINAL XMII VAL after RX Calibration - 0x96000000
TEST: FINAL ETH_CFG VAL after RX Calibration - 0x00000001
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7335
eth0: 00:03:7f:09:0b:ad
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
eth1 up
eth0, eth1
Setting 0x18116290 to 0x458a214f
Hit any key to stop autoboot: 2 1 0
## Booting image at 9fe70000 ...
Image Name: Linux Kernel Image
Created: 2014-02-13 11:06:54 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1212379 Bytes = 1.2 MB
Load Address: 80002000
Entry Point: 8027bc30
Verifying Checksum at 0x9fe70040 ...OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8027bc30) ...
## Giving linux memsize in bytes, 134217728
Starting kernel ...
Booting QCA955x
Linux version 2.6.31 (root@Fedora17-32bit) (gcc version 4.3.3 (GCC) ) #1 Thu Feb 13 19:05:13 CST 2014
flash_size passed from bootloader = 16
arg 1: console=ttyS0,115200
arg 2: root=31:02
arg 3: rootfstype=squashfs
arg 4: init=/sbin/init
arg 5: mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),14464k(rootfs),1536k(uImage),64k(ART),16320k@0x0(all)
arg 6: mem=128M
CPU revision is: 00019750 (MIPS 74Kc)
cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 200
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 08000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00008000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00008000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),14464k(rootfs),1536k(uImage),64k(ART),16320k@0x0(all) mem=128M
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 111844k/131072k available (2566k kernel code, 19044k reserved, 695k data, 160k init, 0k highmem)
NR_IRQS:128
plat_time_init: plat time init done
Console: colour dummy device 80x25
Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
Mount-cache hash table entries: 512
****************ALLOC***********************
Packet mem: 80375160 (0xe00000 bytes)
********************************************
NET: Registered protocol family 16
ath_pcibios_init: bus 0
ath_pcibios_init(250): PCI 0 CMD write: 0x356
registering PCI controller with io_map_base unset
ath_pcibios_init: bus 1
ath_pcibios_init(250): PCI 1 CMD write: 0x356
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
SCSI subsystem initialized
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:00.0: PME# disabled
pcibios_map_irq: IRQ 75 for bus 0
pcibios_map_irq: IRQ 76 for bus 1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
ATH GPIOC major 0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NTFS driver 2.1.29 [Flags: R/W].
JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
fuse init (API version 7.12)
msgmni has been set to 218
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
console [ttyS0] enabled
brd: module loaded
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V1.0
6 cmdlinepart partitions found on MTD device ath-nor0
Creating 6 MTD partitions on "ath-nor0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000050000 : "u-boot-env"
0x000000050000-0x000000e70000 : "rootfs"
0x000000e70000-0x000000ff0000 : "uImage"
0x000000ff0000-0x000001000000 : "ART"
0x000000000000-0x000000ff0000 : "all"
Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Communications, Ltd.
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ctnetlink v0.93: registering with nfnetlink.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
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>
arch/mips/atheros/gpio.c (ath_simple_config_init) JUMPSTART_GPIO: 16
athwdt_init: Registering WDT success
ath_otp_init: Registering OTP success
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 160k freed
Start nvram
nvmtd_init: 59
Creating 1 MTD partitions on "rootfs":
0x000000e00000-0x000000e10000 : "EDINVRAMBKP"
Creating 1 MTD partitions on "rootfs":
0x000000e10000-0x000000e20000 : "EDIENVRAMBKP"
Creating 1 MTD partitions on "uImage":
0x000000160000-0x000000170000 : "EDINVRAM"
Creating 1 MTD partitions on "uImage":
0x000000170000-0x000000180000 : "EDIENVRAM"
edi_nvram_init: 1244
envram_safe_load(), backup nvram
nvram_safe_load(), backup nvram
Start nvram
envram_safe_load(), backup nvram
nvram_safe_load(), backup nvram
Start basic
Password for 'admin' changed
Start cmd_agent
Start drv
Start stoptolanbkp
Allocating 1 taps...
0 of 1
1 of 1
.:: Gone into daemonland ::.
Starting Master Thread... OK
Starting Interface Threads...
1 of 1Start lan
Notice: caching turned off
Adding password for admin.
bind: Address already in use
mini_httpd: started as root without requesting chroot(), warning only
bind: Address already in use
mini_httpd: started as root without requesting chroot(), warning only
Creating ap mode for belkin.310
Added ath0 mode master
Configuring RF . . .
Interface doesn't accept private ioctl...
ForBiasAuto (8BE0): Operation not permitted
Created ath0 ap mode belkin.310
Creating ap mode for belkin.310.media
Added ath1 mode master
Configuring RF . . .
Created ath1 ap mode belkin.310.media
Creating ap mode for belkin.310.guests
Added ath2 mode master
Configuring RF . . .
Interface doesn't accept private ioctl...
ForBiasAuto (8BE0): Operation not permitted
Created ath2 ap mode belkin.310.guests
ARPING to 192.168.2.1 from 192.168.2.1 via br0
Sent 1 probe(s) (1 broadcast(s))
Received 0 reply (0 request(s), 0 broadcast(s))
>>>>> WPS MODE, 1
ARPING to 192.168.2.1 from 192.168.2.1 via br0
Sent 1 probe(s) (1 broadcast(s))
Received 0 reply (0 request(s), 0 broadcast(s))
>>>>> WPS MODE, 1
>>>>> WPS MODE, 0
Configuration file: /etc/wpa2/WSC_ath0.conf
ath0: Could not connect to kernel driver
Using interface ath0 with hwaddr b4:75:0e:30:b3:10 and ssid 'belkin.310'
Configuration file: /etc/wpa2/WSC_ath1.conf
ath1: Could not connect to kernel driver
Using interface ath1 with hwaddr ec:1a:59:83:9c:86 and ssid 'belkin.310.media'
random: Cannot read from /dev/random: Resource temporarily unavailable
random: Only 0/20 bytes of strong random data available from /dev/random
random: Allow operation to proceed based on internal entropy
ssid=belkin.310 wpa=2 wpa_pairwise=CCMP wpa_passphrase=ccddd7fm
ssid=belkin.310.media wpa=2 wpa_pairwise=CCMP wpa_passphrase=ccddd7fm
conntrack v1.2.2 (conntrack-tools): connection tracking table has been emptied.
bind: Address already in use
hswebd: started as root without requesting chroot(), warning only
bind: Address already in use
hswebd: started as root without requesting chroot(), warning only
conntrack v1.2.2 (conntrack-tools): connection tracking table has been emptied.
miniupnpd -f /etc/miniupnpd.conf -a 192.168.2.1 -i br1 -w http://192.168.2.1 &
Write Reg: 0x00000624: Oldval = 0x007f7f7f Newval = 0x017f7f7f
miniupnpd,NOTICE,main,1276:HTTP listening on port 49360
miniupnpd,NOTICE,main,1335:Listening for NAT-PMP traffic on port 5351
Write Reg: 0x00000620: Oldval = 0x001000f0 Newval = 0x001004f8
Write Reg: 0x00000618: Oldval = 0xd0e8002b Newval = 0xdff8002b
Write Reg: 0x00000214: Oldval = 0x00000000 Newval = 0x01060606
Write Reg: 0x00000210: Oldval = 0x00000000 Newval = 0x06060606
Write Reg: 0x00000670: Oldval = 0x00000018 Newval = 0x00040018
Write Reg: 0x0000067c: Oldval = 0x00000018 Newval = 0x00040018
Write Reg: 0x00000688: Oldval = 0x00000018 Newval = 0x00040018
Write Reg: 0x00000694: Oldval = 0x00000018 Newval = 0x00040018
Write Reg: 0x000006a0: Oldval = 0x00000018 Newval = 0x00040018
Write Reg: 0x0000066c: Oldval = 0x00140040 Newval = 0x08140040
Write Reg: 0x00000678: Oldval = 0x00140039 Newval = 0x08140039
Write Reg: 0x00000684: Oldval = 0x00140035 Newval = 0x08140035
Write Reg: 0x00000690: Oldval = 0x0014002d Newval = 0x0814002d
Write Reg: 0x0000069c: Oldval = 0x0014001d Newval = 0x0814001d
killall: nbtscan.sh: no process killed
Start log
Start system_probe
Start apmode
Start crond
Starting sxuptpd
Initializing USB port mode:
port1 = NAS
port2 = NAS
Starting usbjcpd
Initialize Hotplug
Mount SysFS
Starting HotPlug: sxhotplugd
insmod USB Storage Module
Initialize SX NAS Plus
Starting SX NAS Plus FSS Daemon: /sbin/sxnas-fssd
Starting SX NAS Plus NS Daemon: /sbin/sxnas-nsd
Starting jcpd
=======
=
=======
=
=======BLINKING_AMBER
renice: getpriority: No such process
router mips #1 Thu Feb 13 19:05:13 CST 2014 (none)
router login: Alarm clock
...Search Power Modem ... #1
Alarm clock
...Search Power Modem ... #2
Alarm clock
...Search Power Modem ... #3
### Power Modem Not Found!!
można przerwać proces bootowania i wejść w bootloader mode, pod koniec printenv:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2016.10.18 13:21:39 =~=~=~=~=~=~=~=~=~=~=~=
U-Boot 1.1.4 (Feb 13 2014 - 19:07:07)
ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(200): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x3, 0x1e)
Tap values = (0x10, 0x10, 0x10, 0x10)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 232k for U-Boot at: 87fc4000
Reserving 192k for malloc() at: 87f94000
Reserving 44 Bytes for Board Info at: 87f93fd4
Reserving 36 Bytes for Global Data at: 87f93fb0
Reserving 128k for boot params() at: 87f73fb0
Stack Pointer at: 87f73f98
Now running in RAM - U-Boot at: 87fc4000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0x1
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ----> S17 PHY *
Vlan config...
s17 phy0 register value 0x00004140
TEST: FINAL REG VAL after TX Calibration - 0x86000000
TEST: FINAL XMII VAL after RX Calibration - 0x96000000
TEST: FINAL ETH_CFG VAL after RX Calibration - 0x00000001
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7335
eth0: 00:03:7f:09:0b:ad
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
eth1 up
eth0, eth1
Setting 0x18116290 to 0x458a214f
Hit any key to stop autoboot: 2 0
ath>
ath>
ath> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),14464k(rootfs),1536k(uImage),64k(ART),16320k@0x0(all)
bootcmd=bootm 0x9fe70000
bootdelay=2
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.2.1
serverip=192.168.2.10
dir=
lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x80060000 ${dir}ap135-squashfs&&erase 0x9f050000 +0xe20000&&cp.b $fileaddr 0x9f050000 $filesize
lk=tftp 0x80060000 ${dir}vmlinux_11ac_offload_s17.lzma.uImage&&erase 0x9fe70000 +$filesize&&cp.b $fileaddr 0x9fe70000 $filesize
ethact=eth0
edibootver=1.00.03
stdin=serial
stdout=serial
stderr=serial
Environment size: 722/65532 bytes
ath>
Czy ma ktoś pomysł jak zassać FW (może być OFW z f9k1115 ale docelowo ma być OpenWrt lub Lede) za pomocą skryptów tftp lub tftpboot.
Za punkt wyjścia biorę te wiki trzeba tylko zmodyfikować adresy pamięci, więc ... proszę o pomoc!!!!