51

(52 odpowiedzi, napisanych Oprogramowanie / Software)

Wpisz tylko to, co podalem, zostawiajac swoje ula_prefix, lan ip addres 192.168.8.1 i dane swojej sieci. Resztę usuń. Masz najnowsze lede od Czarka?

52

(53 odpowiedzi, napisanych Sprzęt / Hardware)

Może skopiuj ustawienia odpowiedzialne za działanie modemu. Przywróć ustawienia fabryczne, wklej ustawienia modemu i ustaw wifi od nowa.

53

(52 odpowiedzi, napisanych Oprogramowanie / Software)

Musi działać wink Przywróć do fabrycznych albo wgraj obraz od nowa i edytuj powyższe pliki. option ula_prefix zostaw lepiej swoje.

54

(52 odpowiedzi, napisanych Oprogramowanie / Software)

Zrobiłem na szybko, nie wiem czy poprawnie, ale działa. Popraw adresacje odpowiednią dla Ciebie i napisz czy działa.

/etc/config/network

config interface 'loopback'                                                                                                                     
        option ifname 'lo'                                                                                                                      
        option proto 'static'                                                                                                                   
        option ipaddr '127.0.0.1'                                                                                                               
        option netmask '255.0.0.0'                                                                                                              
                                                                                                                                                
config globals 'globals'                                                                                                                        
        option ula_prefix 'fddd:22e8:eb3f::/48'                                                                                                 
                                                                                                                                                
config interface 'lan'                                                                                                                          
        option type 'bridge'                                                                                                                    
        option ifname 'eth0.1'                                                                                                                  
        option proto 'static'                                                                                                                   
        option ipaddr '192.168.1.1'                                                                                                             
        option netmask '255.255.255.0'                                                                                                          
        option ip6assign '60'                                                                                                                   
                                                                                                                                                
config device 'lan_dev'                                                                                                                         
        option name 'eth0.1'                                                                                                                    
                                                                                                                                                
config interface 'wan'                                                                                                                          
        option proto 'dhcp'                                                                                                                     
        option _orig_ifname 'eth0.2'                                                                                                            
        option _orig_bridge 'false'                                                                                                             
                                                                                                                                                
config device 'wan_dev'                                                                                                                         
        option name 'eth0.2'                                                                                                                    
                                                                                                    
                                                                                                                                                
config interface 'wan6'                                                                                                                         
        option ifname 'eth0.2'                                                                                                                  
        option proto 'dhcpv6'                                                                                                                   
                                                                                                                                                
config switch                                                                                                                                   
        option name 'switch0'                                                                                                                   
        option reset '1'                                                                                                                        
        option enable_vlan '1'                                                                                                                  
                                                                                                                                                
config switch_vlan                                                                                                                              
        option device 'switch0'                                                                                                                 
        option vlan '1'                                                                                                                         
        option ports '1 2 3 4 0t'                                                                                                               
                                                                                                                                                
config switch_vlan   
        option device 'switch0'                                                                                                                 
        option vlan '2'                                                                                                                         
        option ports '5 0t'           


/etc/config/wireless


config wifi-device 'radio0'
        option type 'mac80211'
        option channel '13'
        option hwmode '11g'
        option path 'platform/qca956x_wmac'
        option htmode 'HT20'
        option disabled '0'
        option country 'PL'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'LEDE'
        option encryption 'none'

config wifi-iface
        option device 'radio0'
        option network 'wan'
        option mode 'sta'
        option ssid 'nazwa sieci z modemu'
        option encryption 'psk2'
        option key 'haslo'

55

(52 odpowiedzi, napisanych Oprogramowanie / Software)

Sprawdź najpierw to. Ja może zaraz sobie przerwe zrobie spróbuje skonfigurować router.

56

(52 odpowiedzi, napisanych Oprogramowanie / Software)

Na końcu powinno być repeater_bridge zamiast reapter_bridge. Ale nie wiem czy to jedyny powód. Jak nie uda Ci się nic wykombinować, to w nocy spróbuje uruchomić swój router w tej samej konfiguracji. Mam akurat ten sam. Tylko narazie mam kupe roboty hmm

57

(6 odpowiedzi, napisanych Mini komputery)

Też o tym myślałem i chyba tak zrobie smile. Widziałem, że ktoś na forum w opisie miał taki bajer, może się pochwali jak się sprawuje?

58

(6 odpowiedzi, napisanych Mini komputery)

A który model polecacie? Zastanawiam się nad zakupem jakiejś mocniejszej pomarańczy, tylko nie wiem czy to opłacalne, szczególnie że Raspberry Pi 3 B można kupić u chińczyków za około 140zł. Tylko, że mam już jedną, a lubie nowości wink

59

(52 odpowiedzi, napisanych Oprogramowanie / Software)

A pokaż zawartość pliku /etc/config/network

60

(52 odpowiedzi, napisanych Oprogramowanie / Software)

Tu jest dobrze. Modem nadaje Ci na WAN routera adres 192.168.8.101. W LANie adres rutka to 192.168.2.1, sprawdź czy router nadaje Twojemu kompowi adres z tej samej podsieci. Powinno to działać. Jeśli nie to gdzieś indziej jest błąd.

61

(52 odpowiedzi, napisanych Oprogramowanie / Software)

Da się zrobić.

62

(32 odpowiedzi, napisanych Sprzęt / Hardware)

Chyba się udało smile Zmieniłem poprzez setclk RAM na 300MHz, przy okazji dałem radiator na procesor i podkręciłem go do 600MHz. Podniesienie zegara procka o 50MHz jest w miarę bezpieczne? Narazie zachowuje się dobrze. Zainstalowałem luci lede i zaraz dodam jeszcze vpna i trochę go pomęcze. Mam nadzieję, że wyjdzie z tego cały wink. Fajny ten nowy u-boot.

63

(32 odpowiedzi, napisanych Sprzęt / Hardware)

Teraz niby jest ok, ale  pewnie nie na długo.. Dobra wylutowuje kość, wlutowuje 16MB z Twoim ubootem i pobawie się zegarami. Da się programować flash klipsem nieodlutowując go? Jak zakładam klips i podłączam programator do USB to włącza mi się router i nie wiem czy tak może być.

64

(32 odpowiedzi, napisanych Sprzęt / Hardware)

Przejrzałem PCB i wygląda, na to że jest wszystko dobrze. Wlutowałem oryginalną kość 4MB, przez chwilę było niby ok. Zrobiłem update, ale zaraz się posypały błędy..

https://i.imgur.com/Y5iMT18.jpg

U-Boot 1.1.4 (Mar 19 2015 - 16:41:32)

U-boot AP123


DRAM:  64 MB
id read 0x100000ff
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
Fetching MAC Address from 0x83ff5188
Fetching MAC Address from 0x83ff5188
wasp reset mask:c03300
WASP ----> S27 PHY
file: ag934x.c,line: 180==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:11:20:00
s27 reg init 
athrs27_phy_setup ATHR_PHY_CONTROL 4: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4: 0x10
eth0 up
WASP ----> S27 PHY
file: ag934x.c,line: 180==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:11:20:01
s27 reg init lan 
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0: 0x50
athrs27_phy_setup ATHR_PHY_CONTROL 1: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 2: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 3: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3: 0x50
eth1 up
eth0, eth1
is_auto_upload_firmware=0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.45 (eric@Osiris) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49389) ) #9 Fri Feb 10 20:43:57 EST 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9341 rev 3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=TL-MR3420-v2  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61204K/65536K available (2425K kernel code, 143K rwdata, 284K rodata, 276K init, 184K bss, 4332K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is TP-LINK TL-MR3420 v2
[    0.560000] Switched to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.570000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.580000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.590000] TCP: reno registered
[    0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.620000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.640000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.660000] msgmni has been set to 119
[    0.660000] io scheduler noop registered
[    0.670000] io scheduler deadline registered (default)
[    0.670000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.680000] console [ttyS0] disabled
[    0.700000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.710000] console [ttyS0] enabled
[    0.710000] console [ttyS0] enabled
[    0.720000] bootconsole [early0] disabled
[    0.720000] bootconsole [early0] disabled
[    0.730000] m25p80 spi0.0: found gd25q32, expected m25p80
[    0.740000] m25p80 spi0.0: gd25q32 (4096 Kbytes)
[    0.740000] 5 tp-link partitions found on MTD device spi0.0
[    0.750000] Creating 5 MTD partitions on "spi0.0":
[    0.750000] 0x000000000000-0x000000020000 : "u-boot"
[    0.760000] 0x000000020000-0x000000118f3c : "kernel"
[    0.760000] 0x000000118f3c-0x0000003f0000 : "rootfs"
[    0.770000] mtd: device 2 (rootfs) set to be root filesystem
[    0.780000] 1 squashfs-split partitions found on MTD device rootfs
[    0.780000] 0x000000380000-0x0000003f0000 : "rootfs_data"
[    0.790000] 0x0000003f0000-0x000000400000 : "art"
[    0.800000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.820000] libphy: ag71xx_mdio: probed
[    1.420000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[    1.430000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.020000] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.060000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.070000] TCP: cubic registered
[    2.070000] NET: Registered protocol family 17
[    2.080000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.090000] Bridge firewalling registered
[    2.090000] 8021q: 802.1Q VLAN Support v1.8
[    2.110000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.120000] Freeing unused kernel memory: 276K (8032b000 - 80370000)
[    3.200000] init: Console is alive
[    3.210000] init: - watchdog -
[    5.260000] init: - preinit -
[    5.900000] random: procd urandom read with 9 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.480000] eth1: link up (1000Mbps/Full duplex)
[    9.230000] jffs2: notice: (333) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.250000] mount_root: switching to jffs2 overlay
[    9.290000] eth1: link down
[    9.310000] procd: - early -
[    9.310000] procd: - watchdog -
[   10.100000] procd: - ubus -
[   11.110000] procd: - init -
Please press Enter to activate this console.
[   12.260000] tun: Universal TUN/TAP device driver, 1.6
[   12.270000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   12.280000] gre: GRE over IPv4 demultiplexor driver
[   12.280000] ip_gre: GRE over IPv4 tunneling driver
[   12.310000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[   12.320000]  Hooked IMQ after mangle on PREROUTING
[   12.330000]  Hooked IMQ after nat on POSTROUTING
[   12.330000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1, imq_dev_accurate_stats = 1)
[   12.340000]  Hooking IMQ before NAT on PREROUTING.
[   12.350000]  Hooking IMQ after NAT on POSTROUTING.
[   12.370000] u32 classifier
[   12.380000]     input device check on
[   12.380000]     Actions configured
[   12.380000] Mirror/redirect action on
[   12.450000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
[   12.460000] Backport generated by backports.git backports-20151218-0-g2f58d9d
[   12.500000] Ebtables v2.0 registered
[   12.510000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.600000] Netfilter messages via NETLINK v0.30.
[   12.720000] xt_time: kernel timezone is -0000
[   12.870000] PPP generic driver version 2.4.2
[   12.880000] PPP MPPE Compression module registered
[   12.890000] NET: Registered protocol family 24
[   12.890000] PPTP driver version 0.8.5
[   13.010000] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
[   21.770000] device eth1 entered promiscuous mode
[   23.970000] eth0: link up (100Mbps/Full duplex)
[   24.180000] device wlan0 entered promiscuous mode
[   24.180000] br-lan: port 2(wlan0) entered forwarding state
[   24.190000] br-lan: port 2(wlan0) entered forwarding state
[   24.480000] eth1: link up (1000Mbps/Full duplex)
[   24.480000] br-lan: port 1(eth1) entered forwarding state
[   24.490000] br-lan: port 1(eth1) entered forwarding state
[   24.970000] br-lan: port 2(wlan0) entered disabled state
[   25.510000] br-lan: port 2(wlan0) entered forwarding state
[   25.510000] br-lan: port 2(wlan0) entered forwarding state
[   26.490000] br-lan: port 1(eth1) entered forwarding state
[   27.510000] br-lan: port 2(wlan0) entered forwarding state



BusyBox v1.23.2 (2017-02-09 15:24:42 EST) built-in shell (ash)

------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.9.2    | OpenWrt Chaos Calmer branch        |
| Gargoyle revision ecc1da74| OpenWrt commit 03d52cf             |
| Built February 10, 2017   | Target  ar71xx/default             |
------------------------------------------------------------------
root@Gargoyle:/# [   49.320000] random: nonblocking pool is initialized

root@Gargoyle:/# [   68.980000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
[   68.990000]                old minutes west=0, new minutes west=-60
[   76.000000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 00000000, ra == 00000000
[   76.000000] Oops[#1]:
[   76.000000] CPU: 0 PID: 2199 Comm: hotplug-call Not tainted 3.18.45 #9
[   76.000000] task: 82d0dd10 ti: 82d02000 task.ti: 82d02000
[   76.000000] $ 0   : 00000000 80370000 838289b0 00000000
[   76.000000] $ 4   : 838289b0 82d0dd10 1100f400 ffff00fe
[   76.000000] $ 8   : 82d03fe0 0000f400 00000000 ffffff80
[   76.000000] $12   : 7ff36248 00000000 00000174 00000000
[   76.000000] $16   : 83b97070 838289b0 8030d290 802d0000
[   76.000000] $20   : 00000000 80310000 8030d290 83992c00
[   76.000000] $24   : 00000001 8009bd40                  
[   76.000000] $28   : 82d02000 82d03f28 83b971fc 00000000
[   76.000000] Hi    : 00000011
[   76.000000] Lo    : b1f3f800
[   76.000000] epc   : 00000000   (null)
[   76.000000]     Not tainted
[   76.000000] ra    : 00000000   (null)
[   76.000000] Status: 1100f402 KERNEL EXL 
[   76.000000] Cause : 00800008
[   76.000000] BadVA : 00000000
[   76.000000] PrId  : 0001974c (MIPS 74Kc)
[   76.000000] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv4 nf_conntrack_amanda mac80211 ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_iprange xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm slhc nfnetlink nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip ebt_dnat ebt_arpreply ebt_arpnat ebt_arp ebt_among ebt_802_3 crc_ccitt compat em_nbyte sch_teql sch_htb sch_prio act_ipt sch_gred sch_dsmark cls_basic sch_codel em_text em_meta act_police sch_pie sch_tbf sch_sfq sch_fq em_cmp sch_red act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress xt_IMQ imq ipt_weburl ipt_webmon ipt_timerange ipt_layer7 nf_conntrack ipt_bandwidth x_tables ip_gre gre ip_tunnel tun sha1_generic ecb arc4 crypto_blkcipher gpio_button_hotplug aead crypto_hash
[   76.000000] Process hotplug-call (pid: 2199, threadinfo=82d02000, task=82d0dd10, tls=77fe4440)
[   76.000000] Stack : 00000012 00000000 7fa8c890 00000001 77fdd068 77f23144 33302d68 6f73746e
          00000000 00000001 00000000 77fe4440 01200012 00000000 00000000 00000000
          00000000 6d696e63 82d22460 00000013 0000000e 00000007 00000001 802ecb80
          00000000 77f55ff4 77fdd000 00000000 7fa8caf0 00000000 00000000 00000000
          004584e4 77f3bb80 00000000 00000000 77f5c3a0 7ff36238 7ff36258 004197b3
          ...
[   76.000000] Call Trace:
[   76.000000] 
Code: (Bad address in epc)
[   76.000000] 
[   76.310000] ---[ end trace 221be650cd08274e ]---

root@Gargoyle:/# 
root@Gargoyle:/# 
root@Gargoyle:/# 
root@Gargoyle:/# 
root@Gargoyle:/# 
root@Gargoyle:/# 
root@Gargoyle:/# reboot
root@Gargoyle:/# [  158.440000] br-lan: port 2(wlan0) entered disabled state
[  158.440000] br-lan: port 1(eth1) entered disabled state
[  158.450000] device eth1 left promiscuous mode
[  158.450000] br-lan: port 1(eth1) entered disabled state
[  158.500000] eth1: link down
[  158.500000] device wlan0 left promiscuous mode
[  158.500000] br-lan: port 2(wlan0) entered disabled state
[  158.820000] eth0: link down
[  162.820000] Removing MTD device #3 (rootfs_data) with use count 1
[  162.840000] reboot: Restarting system


U-Boot 1.1.4 (Mar 19 2015 - 16:41:32)

U-boot AP123


DRAM:  64 MB
id read 0x100000ff
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
Fetching MAC Address from 0x83ff5188
Fetching MAC Address from 0x83ff5188
wasp reset mask:c03300
WASP ----> S27 PHY
file: ag934x.c,line: 180==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:11:20:00
s27 reg init 
athrs27_phy_setup ATHR_PHY_CONTROL 4: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4: 0x10
eth0 up
WASP ----> S27 PHY
file: ag934x.c,line: 180==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:11:20:01
s27 reg init lan 
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0: 0x50
athrs27_phy_setup ATHR_PHY_CONTROL 1: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 2: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 3: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3: 0x50
eth1 up
eth0, eth1
is_auto_upload_firmware=0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.45 (eric@Osiris) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49389) ) #9 Fri Feb 10 20:43:57 EST 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9341 rev 3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=TL-MR3420-v2  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61204K/65536K available (2425K kernel code, 143K rwdata, 284K rodata, 276K init, 184K bss, 4332K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is TP-LINK TL-MR3420 v2
[    0.560000] Switched to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.570000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.580000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.590000] TCP: reno registered
[    0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.620000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.640000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.650000] msgmni has been set to 119
[    0.650000] io scheduler noop registered
[    0.660000] io scheduler deadline registered (default)
[    0.660000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.670000] console [ttyS0] disabled
�    0.700000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.700000] console [ttyS0] enabled
[    0.700000] console [ttyS0] enabled
[    0.710000] bootconsole [early0] disabled
[    0.710000] bootconsole [early0] disabled
[    0.730000] m25p80 spi0.0: found gd25q32, expected m25p80
[    0.740000] m25p80 spi0.0: gd25q32 (4096 Kbytes)
[    0.740000] 5 tp-link partitions found on MTD device spi0.0
[    0.750000] Creating 5 MTD partitions on "spi0.0":
[    0.750000] 0x000000000000-0x000000020000 : "u-boot"
[    0.760000] 0x000000020000-0x000000118f3c : "kernel"
[    0.770000] 0x000000118f3c-0x0000003f0000 : "rootfs"
[    0.770000] mtd: device 2 (rootfs) set to be root filesystem
[    0.780000] 1 squashfs-split partitions found on MTD device rootfs
[    0.780000] 0x000000380000-0x0000003f0000 : "rootfs_data"
[    0.790000] 0x0000003f0000-0x000000400000 : "art"
[    0.800000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.820000] libphy: ag71xx_mdio: probed
[    1.420000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[    1.430000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.020000] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.060000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.070000] TCP: cubic registered
[    2.070000] NET: Registered protocol family 17
[    2.080000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.090000] Bridge firewalling registered
[    2.090000] 8021q: 802.1Q VLAN Support v1.8
[    2.110000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.120000] Freeing unused kernel memory: 276K (8032b000 - 80370000)
[    3.200000] init: Console is alive
[    3.210000] init: - watchdog -
[    5.260000] init: - preinit -
[    5.900000] random: procd urandom read with 9 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.480000] eth1: link up (1000Mbps/Full duplex)
[    9.230000] jffs2: notice: (333) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.250000] mount_root: switching to jffs2 overlay
[    9.290000] eth1: link down
[    9.310000] procd: - early -
[    9.310000] procd: - watchdog -
[   10.090000] procd: - ubus -
[   11.110000] procd: - init -
Please press Enter to activate this console.
[   12.260000] tun: Universal TUN/TAP device driver, 1.6
[   12.270000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   12.280000] gre: GRE over IPv4 demultiplexor driver
[   12.290000] ip_gre: GRE over IPv4 tunneling driver
[   12.300000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[   12.330000]  Hooked IMQ after mangle on PREROUTING
[   12.330000]  Hooked IMQ after nat on POSTROUTING
[   12.340000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1, imq_dev_accurate_stats = 1)
[   12.350000]  Hooking IMQ before NAT on PREROUTING.
[   12.350000]  Hooking IMQ after NAT on POSTROUTING.
[   12.380000] u32 classifier
[   12.380000]     input device check on
[   12.380000]     Actions configured
[   12.390000] Mirror/redirect action on
[   12.450000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
[   12.460000] Backport generated by backports.git backports-20151218-0-g2f58d9d
[   12.490000] Ebtables v2.0 registered
[   12.500000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.590000] Netfilter messages via NETLINK v0.30.
[   12.690000] xt_time: kernel timezone is -0000
[   12.830000] PPP generic driver version 2.4.2
[   12.840000] PPP MPPE Compression module registered
[   12.850000] NET: Registered protocol family 24
[   12.850000] PPTP driver version 0.8.5
[   13.000000] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
[   18.180000] CPU 0 Unable to handle kernel paging request at virtual address e043012c, epc == 8007500c, ra == 80060820
[   18.190000] CPU 0 Unable to handle kernel paging request at virtual address 756179d0, epc == 8009aefc, ra == 800a95b4
[   18.190000] Oops[#1]:
[   18.190000] CPU: 0 PID: 1634607169 Comm:  Not tainted 3.18.45 #9
[   18.190000] task: 8fa20060 ti: 800e8000 task.ti: 65000000
[   18.190000] $ 0   : 00000000 00000001 8030d210 75617900
[   18.190000] $ 4   : 8fa20060 65726e20 00000001 65726e21
[   18.190000] $ 8   : 00000004 3c040004 00040000 38e92e55
[   18.190000] $12   : 00000000 00000000 00000000 5caa9c68
[   18.190000] $16   : 8fa20060 00000000 3cbfdf23 80390000
[   18.190000] $20   : 80390000 00000004 8030d8d0 800e9c94
[   18.190000] $24   : 00000000 801c1804                  
[   18.190000] $28   : 800e8000 800e9b14 00989680 800a95b4
[   18.190000] Hi    : 00000004
[   18.190000] Lo    : 30e23400
[   18.190000] epc   : 8009aefc 0x8009aefc
[   18.190000]     Not tainted
[   18.190000] ra    : 800a95b4 0x800a95b4
[   18.190000] Status: 11007402 KERNEL EXL 
[   18.190000] Cause : 00800008
[   18.190000] BadVA : 756179d0
[   18.190000] PrId  : 0001974c (MIPS 74Kc)
[   18.190000] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv4 nf_conntrack_amanda mac80211 ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_iprange xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm slhc nfnetlink nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip ebt_dnat ebt_arpreply ebt_arpnat ebt_arp ebt_among ebt_802_3 crc_ccitt compat em_nbyte sch_teql sch_htb sch_prio act_ipt sch_gred sch_dsmark cls_basic sch_codel em_text em_meta act_police sch_pie sch_tbf sch_sfq sch_fq em_cmp sch_red act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress xt_IMQ imq ipt_weburl ipt_webmon ipt_timerange ipt_layer7 nf_conntrack ipt_bandwidth x_tables ip_gre gre ip_tunnel tun sha1_generic ecb arc4 crypto_blkcipher gpio_button_hotplug aead crypto_hash
[   18.190000] Process  (pid: 1634607169, threadinfo=800e8000, task=8fa20060, tls=02242021)
[   18.190000] Stack : 3cbfdf23 80390000 80390000 00000004 8030d8d0 80390000 00000000 800b5aac
[   18.190000]    00008821 24420001 ae020014 8e040000 8030d708 8030d8d0 00000004 3cbfdf23
[   18.190000]    8030d8d0 8030d708 8030d6d0 7fffffff 00000004 ffffffff 00000000 00000003
[   18.190000]    3cbfc4e9 800aa034 80310000 80310000 00000079 80310000 80310000 8030d6d0
[   18.190000]    3cbfc4e9 800aa5f0 2402fff4 8fbf0024 8fb30020 8fb2001c 00000004 3cbfc4e9
[   18.190000]    ...
[   18.190000] Call Trace:[<800b5aac>] 0x800b5aac
[   18.190000] [<800aa034>] 0x800aa034
[   18.190000] [<800aa5f0>] 0x800aa5f0
[   18.190000] [<800730f8>] 0x800730f8
[   18.190000] [<800a3c24>] 0x800a3c24
[   18.190000] [<800a6098>] 0x800a6098
[   18.190000] [<800e9ce4>] 0x800e9ce4
[   18.190000] [<800a35f4>] 0x800a35f4
[   18.190000] [<8006deb4>] 0x8006deb4
[   18.190000] [<80060830>] 0x80060830
[   18.190000] [<801c2290>] 0x801c2290
[   18.190000] [<801c22b0>] 0x801c22b0
[   18.190000] [<801c2290>] 0x801c2290
[   18.190000] [<801c1804>] 0x801c1804
[   18.190000] [<800a13e4>] 0x800a13e4
[   18.190000] [<800e8000>] 0x800e8000
[   18.190000] [<800e9d4c>] 0x800e9d4c
[   18.190000] [<800a1cdc>] 0x800a1cdc
[   18.190000] [<800a1ce8>] 0x800a1ce8
[   18.190000] [<800a1624>] 0x800a1624
[   18.190000] [<800a232c>] 0x800a232c
[   18.190000] [<800e9ef4>] 0x800e9ef4
[   18.190000] [<80060820>] 0x80060820
[   18.190000] [<800a2524>] 0x800a2524
[   18.190000] [<800e9ef4>] 0x800e9ef4
[   18.190000] [<80074f88>] 0x80074f88
[   18.190000] [<800e9e30>] 0x800e9e30
[   18.190000] [<800e9e30>] 0x800e9e30
[   18.190000] [<80075264>] 0x80075264
[   18.190000] [<8007500c>] 0x8007500c
[   18.190000] [<80060820>] 0x80060820
[   18.190000] [<800ea074>] 0x800ea074
[   18.190000] [<80060820>] 0x80060820
[   18.190000] [<80060820>] 0x80060820
[   18.190000] [<800ea074>] 0x800ea074
[   18.190000] [<800ea074>] 0x800ea074
[   18.190000] [<80060820>] 0x80060820
[   18.190000] [<800ea000>] 0x800ea000
[   18.190000] [<800e9fac>] 0x800e9fac
[   18.190000] [<80060820>] 0x80060820
[   18.190000] [<8007500c>] 0x8007500c
[   18.190000] 
[   18.190000] 
[   18.190000] Code: 8c8501e8  00a73821  ac8701e8 <8c6500d0> 10a00004  00000000  8c840400  14800010  00000000 
[   18.190000] ---[ end trace 91eb745b91eb745b ]---
[   18.190000] Kernel panic - not syncing: Fatal exception in interrupt
[   18.190000] Rebooting in 3 seconds..

U-Boot 1.1.4 (Mar 19 2015 - 16:41:32)

U-boot AP123


DRAM:  64 MB
id read 0x100000ff
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
Fetching MAC Address from 0x83ff5188
Fetching MAC Address from 0x83ff5188
wasp reset mask:c03300
WASP ----> S27 PHY
file: ag934x.c,line: 180==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:11:20:00
s27 reg init 
athrs27_phy_setup ATHR_PHY_CONTROL 4: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4: 0x10
eth0 up
WASP ----> S27 PHY
file: ag934x.c,line: 180==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:11:20:01
s27 reg init lan 
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0: 0x50
athrs27_phy_setup ATHR_PHY_CONTROL 1: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 2: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 3: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3: 0x50
eth1 up
eth0, eth1
is_auto_upload_firmware=0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.45 (eric@Osiris) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49389) ) #9 Fri Feb 10 20:43:57 EST 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9341 rev 3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=TL-MR3420-v2  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61204K/65536K available (2425K kernel code, 143K rwdata, 284K rodata, 276K init, 184K bss, 4332K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is TP-LINK TL-MR3420 v2
[    0.560000] Switched to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.570000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.580000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.590000] TCP: reno registered
[    0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.620000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.640000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.650000] msgmni has been set to 119
[    0.650000] io scheduler noop registered
[    0.660000] io scheduler deadline registered (default)
[    0.660000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.670000] console [ttyS0] disabled
�    0.690000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.700000] console [ttyS0] enabled
[    0.700000] console [ttyS0] enabled
[    0.710000] bootconsole [early0] disabled
[    0.710000] bootconsole [early0] disabled
[    0.730000] m25p80 spi0.0: found gd25q32, expected m25p80
[    0.740000] m25p80 spi0.0: gd25q32 (4096 Kbytes)
[    0.740000] 5 tp-link partitions found on MTD device spi0.0
[    0.750000] Creating 5 MTD partitions on "spi0.0":
[    0.750000] 0x000000000000-0x000000020000 : "u-boot"
[    0.760000] 0x000000020000-0x000000118f3c : "kernel"
[    0.760000] 0x000000118f3c-0x0000003f0000 : "rootfs"
[    0.770000] mtd: device 2 (rootfs) set to be root filesystem
[    0.780000] 1 squashfs-split partitions found on MTD device rootfs
[    0.790000] 0x000000380000-0x0000003f0000 : "rootfs_data"
[    0.790000] 0x0000003f0000-0x000000400000 : "art"
[    0.800000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.820000] libphy: ag71xx_mdio: probed
[    1.420000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[    1.430000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.020000] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.060000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.070000] TCP: cubic registered
[    2.070000] NET: Registered protocol family 17
[    2.080000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.090000] Bridge firewalling registered
[    2.090000] 8021q: 802.1Q VLAN Support v1.8
[    2.110000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.120000] Freeing unused kernel memory: 276K (8032b000 - 80370000)
[    3.200000] init: Console is alive
[    3.210000] init: - watchdog -
[    5.260000] init: - preinit -
[    5.900000] random: procd urandom read with 9 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.480000] eth1: link up (1000Mbps/Full duplex)
[    9.250000] jffs2: notice: (334) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.270000] mount_root: switching to jffs2 overlay
[    9.310000] eth1: link down
[    9.320000] procd: - early -
[    9.330000] procd: - watchdog -
[   10.110000] procd: - ubus -
[   11.130000] procd: - init -
Please press Enter to activate this console.
[   12.280000] tun: Universal TUN/TAP device driver, 1.6
[   12.280000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   12.290000] gre: GRE over IPv4 demultiplexor driver
[   12.300000] ip_gre: GRE over IPv4 tunneling driver
[   12.320000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[   12.340000]  Hooked IMQ after mangle on PREROUTING
[   12.340000]  Hooked IMQ after nat on POSTROUTING
[   12.350000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1, imq_dev_accurate_stats = 1)
[   12.360000]  Hooking IMQ before NAT on PREROUTING.
[   12.360000]  Hooking IMQ after NAT on POSTROUTING.
[   12.400000] u32 classifier
[   12.400000]     input device check on
[   12.410000]     Actions configured
[   12.410000] Mirror/redirect action on
[   12.480000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
[   12.490000] Backport generated by backports.git backports-20151218-0-g2f58d9d
[   12.540000] Ebtables v2.0 registered
[   12.560000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.650000] Netfilter messages via NETLINK v0.30.
[   12.760000] xt_time: kernel timezone is -0000
[   12.960000] PPP generic driver version 2.4.2
[   12.970000] PPP MPPE Compression module registered
[   12.980000] NET: Registered protocol family 24
[   12.980000] PPTP driver version 0.8.5
[   13.100000] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
[   22.040000] device eth1 entered promiscuous mode
[   24.320000] device wlan0 entered promiscuous mode
[   24.660000] eth1: link up (1000Mbps/Full duplex)
[   24.690000] br-lan: port 1(eth1) entered forwarding state
[   24.690000] br-lan: port 1(eth1) entered forwarding state
[   25.150000] eth0: link up (100Mbps/Full duplex)
[   25.630000] br-lan: port 2(wlan0) entered forwarding state
[   25.630000] br-lan: port 2(wlan0) entered forwarding state
[   26.690000] br-lan: port 1(eth1) entered forwarding state
[   27.630000] br-lan: port 2(wlan0) entered forwarding state



BusyBox v1.23.2 (2017-02-09 15:24:42 EST) built-in shell (ash)

------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.9.2    | OpenWrt Chaos Calmer branch        |
| Gargoyle revision ecc1da74| OpenWrt commit 03d52cf             |
| Built February 10, 2017   | Target  ar71xx/default             |
------------------------------------------------------------------
root@Gargoyle:/# [   52.390000] random: nonblocking pool is initialized
[   69.240000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
[   69.250000]                old minutes west=0, new minutes west=-60

65

(32 odpowiedzi, napisanych Sprzęt / Hardware)

Wziałęm nową i wrzuciłem uboota i dało się normalnie zweryfikować. A tej poprzedniej nie. Oglądałem okolice kości FLASH i wygląda wszystko w porządku, ale jeszcze jutro pod lupą sprawdzę, bo dzisiaj już oczy zmęczone. Pół dnia walczyłem z routerami smile. Spróbuje może jeszcze oryginalną wlutować. Jakby Ci przyszedł jeszcze jakiś pomysł, co może być nie tak będę wdzieczny.

66

(32 odpowiedzi, napisanych Sprzęt / Hardware)

Miałeś rację kostka FLASH uszkodzona. Nie mogłem zweryfikować obrazu po wgraniu programatorem. Niestety na nowej kości dzieję się to samo sad

***************************************
*     U-Boot 1.1.4-b29f18ad-clean     *
*          Build: 2017-08-31          *
***************************************

** Warning: reset caused by watchdog!

  BOARD: TP-Link TL-MR3420 v2
    SOC: AR9341 rev. 3
    CPU: MIPS 74Kc
    RAM: 64 MB DDR1 16-bit CL3-3-3-8
  FLASH: 16 MB Winbond W25Q128
    MAC: 00:03:7F:09:0B:AD
 CLOCKS: CPU/RAM/AHB/SPI/REF
         550/400/200/ 25/ 25 MHz

Hit any key to stop booting:  0

Booting image from 0x9F020000...

   Vendor/image name:    OpenWrt r3514-97ebdf9
   Hardware ID:          0x34200002
   Whole image size:     3.8 MB (3932160 bytes)
   Kernel size:          1.3 MB (1359556 bytes)
   Rootfs size:          2.1 MB (2176342 bytes)
   Kernel load address:  0x80060000
   Kernel entry point:   0x80060000

   Header CRC...  skipped
   Data CRC...    skipped

Stopping network... OK!
Uncompressing Kernel... OK!
Starting kernel...

[    0.000000] Linux version 4.4.87 (cezary@eko.one.pl) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Thu Sep 14 18:47:54 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9341 rev 3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=TL-MR3420-v2  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 59968K/65536K available (3100K kernel code, 163K rwdata, 776K rodata, 304K init, 205K bss, 5568K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:550.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6950037990 ns
[    0.000010] sched_clock: 32 bits at 275MHz, resolution 3ns, wraps every 7809031678ns
[    0.008865] Calibrating delay loop... 274.02 BogoMIPS (lpj=1370112)
[    0.081886] pid_max: default: 32768 minimum: 301
[    0.087268] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094791] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.105720] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.116943] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.125316] NET: Registered protocol family 16
[    0.132040] MIPS: machine is TP-LINK TL-MR3420 v2
[    0.588857] clocksource: Switched to clocksource MIPS
[    0.596114] NET: Registered protocol family 2
[    0.602098] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.610085] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.617316] TCP: Hash tables configured (established 1024 bind 1024)
[    0.624639] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.631317] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.638762] NET: Registered protocol family 1
[    0.648771] Crashlog allocated RAM at address 0x3f00000
[    0.671838] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.678472] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.692539] io scheduler noop registered
[    0.697000] io scheduler deadline registered (default)
[    0.703164] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.713482] console [ttyS0] disabled
�    0.737653] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.747459] console [ttyS0] enabled
[    0.747459] console [ttyS0] enabled
[    0.755014] bootconsole [early0] disabled
[    0.755014] bootconsole [early0] disabled
[    0.769525] m25p80 spi0.0: found w25q128, expected m25p80
[    0.775119] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.781302] 5 tp-link partitions found on MTD device spi0.0
[    0.787063] Creating 5 MTD partitions on "spi0.0":
[    0.792066] 0x000000000000-0x000000020000 : "u-boot"
[    0.798814] 0x000000020000-0x00000016c0c4 : "kernel"
[    0.805851] 0x00000016c0c4-0x000000ff0000 : "rootfs"
[    0.812847] mtd: device 2 (rootfs) set to be root filesystem
[    0.818732] 1 squashfs-split partitions found on MTD device rootfs
[    0.825184] 0x000000380000-0x000000ff0000 : "rootfs_data"
[    0.832637] 0x000000ff0000-0x000001000000 : "art"
[    0.839424] 0x000000020000-0x000000ff0000 : "firmware"
[    0.864170] libphy: ag71xx_mdio: probed
[    1.450945] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[    1.461177] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.050739] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.093069] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.102259] NET: Registered protocol family 10
[    2.112002] NET: Registered protocol family 17
[    2.116685] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.129914] 8021q: 802.1Q VLAN Support v1.8
[    2.142388] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.151698] Freeing unused kernel memory: 304K
[    3.179016] init: Console is alive
[    3.182777] init: - watchdog -
[    4.483406] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.621552] usbcore: registered new interface driver usbfs
[    4.627362] usbcore: registered new interface driver hub
[    4.633012] usbcore: registered new device driver usb
[    4.687156] SCSI subsystem initialized
[    4.698281] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.706919] ehci-platform: EHCI generic platform driver
[    4.712521] ehci-platform ehci-platform: EHCI Host Controller
[    4.718505] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.728800] ehci-platform ehci-platform: TX-TX IDP fix enabled
[    4.734864] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.758903] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.766421] hub 1-0:1.0: USB hub found
[    4.770729] hub 1-0:1.0: 1 port detected
[    4.780048] usbcore: registered new interface driver usb-storage
[    4.787077] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.796947] init: - preinit -
[    5.503966] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    5.532700] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.100126] eth1: link up (1000Mbps/Full duplex)
[    8.104937] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
cat: can't open '�keypress_true=': No such file or directory
[    8.753823] mount_root: loading kmods from internal overlay
[    8.782234] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    8.790998] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    9.088582] block: attempting to load /etc/config/fstab
[    9.094373] block: unable to load configuration (fstab: Entry not found)
[    9.101688] block: no usable configuration
[    9.106665] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    9.118395] urandom-seed: Seed file not found (/etc/urandom.seed)
[    9.157989] eth1: link down
[    9.173397] procd: - early -
[    9.176494] procd: - watchdog -
[    9.820195] procd: - watchdog -
[    9.823753] procd: - ubus -
[   10.090870] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[   10.100752] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.110203] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.119946] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.129353] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.138906] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.148409] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.158231] procd: - init -
Please press Enter to activate this console.
[   10.425725] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.440550] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   10.448828] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   10.465182] nf_conntrack version 0.5.0 (941 buckets, 3764 max)
[   10.512973] xt_time: kernel timezone is -0000
[   10.542197] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.600275] PPP generic driver version 2.4.2
[   10.607671] NET: Registered protocol family 24
[   10.685319] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
[   10.811291] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.965481] SQUASHFS error: xz decompression failed, data probably corrupt
[   10.972627] SQUASHFS error: squashfs_read_data failed to read block 0x1f81e2
[   10.979919] SQUASHFS error: Unable to read fragment cache entry [1f81e2]
[   10.986841] SQUASHFS error: Unable to read page, block 1f81e2, size 17c98
[   10.993892] SQUASHFS error: Unable to read fragment cache entry [1f81e2]
[   11.000820] SQUASHFS error: Unable to read page, block 1f81e2, size 17c98
[   11.007862] SQUASHFS error: Unable to read fragment cache entry [1f81e2]
[   11.014790] SQUASHFS error: Unable to read page, block 1f81e2, size 17c98
[   11.110347] 
do_page_fault(): sending SIGSEGV to uci for invalid read access from 00000004
[   11.118797] epc = 77811bbc in libc.so[7778e000+92000]
[   11.124136] ra  = 77811bb4 in libc.so[7778e000+92000]
[   11.129391] 
[   11.664569] 
do_page_fault(): sending SIGSEGV to hotplug-call for invalid read access from 00e162fc
[   11.673889] epc = 0041ad47 in busybox[400000+4c000]
[   11.678982] ra  = 0041ad45 in busybox[400000+4c000]
[   11.684042] 
[   11.823246] 
do_page_fault(): sending SIGSEGV to sleep for invalid read access from 77d7c2d8
[   11.831895] epc = 77d55780 in libc.so[77cd2000+92000]
[   11.837156] ra  = 77d55770 in libc.so[77cd2000+92000]
[   11.842411] 
[   11.936201] SQUASHFS error: xz decompression failed, data probably corrupt
[   11.943353] SQUASHFS error: squashfs_read_data failed to read block 0x1f81e2
[   11.950651] SQUASHFS error: Unable to read fragment cache entry [1f81e2]
[   11.957576] SQUASHFS error: Unable to read page, block 1f81e2, size 17c98
[   11.990380] SQUASHFS error: Unable to read fragment cache entry [1f81e2]
[   11.997315] SQUASHFS error: Unable to read page, block 1f81e2, size 17c98
[   12.098999] 
do_page_fault(): sending SIGSEGV to procd for invalid write access to 00000045
[   12.107542] epc = 77663fc0 in libc.so[775f2000+92000]
[   12.112828] ra  = 77661910 in libc.so[775f2000+92000]
[   12.118073] 
[   12.148234] SQUASHFS error: Unable to read fragment cache entry [1f81e2]
[   12.155236] SQUASHFS error: Unable to read page, block 1f81e2, size 17c98
[   12.244049] SQUASHFS error: Unable to read fragment cache entry [1f81e2]
[   12.251040] SQUASHFS error: Unable to read page, block 1f81e2, size 17c98
[   12.331739] SQUASHFS error: Unable to read fragment cache entry [1f81e2]
[   12.338673] SQUASHFS error: Unable to read page, block 1f81e2, size 17c98
[   12.576738] 
do_page_fault(): sending SIGSEGV to basename for invalid read access from 77080168
[   12.585740] epc = 77126250 in libc.so[770a4000+92000]
[   12.591018] ra  = 771261e4 in libc.so[770a4000+92000]
[   12.596250] 
[   13.059680] CPU 0 Unable to handle kernel paging request at virtual address 05858340, epc == 80120be4, ra == 800829dc
[   13.070726] Oops[#1]:
[   13.073086] CPU: 0 PID: 720 Comm: rm Not tainted 4.4.87 #0
[   13.078752] task: 83921928 ti: 82c36000 task.ti: 82c36000
[   13.084328] $ 0   : 00000000 00000001 05858340 00000020
[   13.089766] $ 4   : 82c2c180 08100020 804d0000 830061e0
[   13.095197] $ 8   : 00002993 83b21f78 00000001 00000000
[   13.100626] $12   : 8108217c 00000024 804c0000 ffffff80
[   13.106055] $16   : 82c2c180 82c2c194 00000000 00000807
[   13.111485] $20   : 00000000 00000000 77a67518 77a68d8c
[   13.116914] $24   : 81082188 00000100                  
[   13.122345] $28   : 82c36000 82c37e90 00000000 800829dc
[   13.127775] Hi    : 000001cb
[   13.130750] Lo    : 00001e75
[   13.133751] epc   : 80120be4 put_files_struct+0x80/0x110
[   13.139250] ra    : 800829dc do_exit+0x2d4/0x704
[   13.144011] Status: 1100fc03 KERNEL EXL IE 
[   13.148358] Cause : 00800008 (ExcCode 02)
[   13.152496] BadVA : 05858340
[   13.155473] PrId  : 0001974c (MIPS 74Kc)
[   13.159520] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4 mac80211 iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ip_tables cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT x_tables slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack crc_ccitt compat ledtrig_usbport usb_storage ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crc32c_generic crypto_hash
[   13.221916] Process rm (pid: 720, threadinfo=82c36000, task=83921928, tls=77a6fd48)
[   13.229819] Stack : 83921928 83a5f180 83921928 83a5f180 83921928 83a5f180 00000000 83a5f1b4
          77a64000 800829dc 834af000 00000000 00000000 801152a0 00000012 00000000
          00000000 7fb81f34 00000003 0040788d 77a64000 77a64000 77a67518 77a68d8c
          00000000 80083a78 82c20010 ffffff9c 7fb82f7a 00000000 00000000 80083ae8
          77a64000 77a64000 77a67518 77a68d8c 00000000 80062c6c 00000001 775df3d0
          ...
[   13.266808] Call Trace:
[   13.269343] [<80120be4>] put_files_struct+0x80/0x110
[   13.274479] [<800829dc>] do_exit+0x2d4/0x704
[   13.278893] [<80083a78>] do_group_exit+0x48/0xa4
[   13.283669] [<80083ae8>] __wake_up_parent+0x0/0x18
[   13.288615] 
[   13.290156] 
Code: 00000000  8e220004  00541021 <c0440000> 00001821  e0430000  1060fffc  00000000  10800007 
[   13.300506] ---[ end trace d2f725c7020ff9e7 ]---
[   13.307595] Fatal exception: panic in 5 seconds
[   14.189718] reboot: Restarting system

67

(32 odpowiedzi, napisanych Sprzęt / Hardware)

OK zaraz spróbuję wrzucić. Do ilu musi dojechać mtest przy 64MB? Bo robiłem ale wymiekłem po jakiejś godzinie.

68

(32 odpowiedzi, napisanych Sprzęt / Hardware)

Chyba uwaliłem kolejny router hmm Tym razem wymieniłem kość RAM w MR3420 v2. Niby się uruchamia, u-boot rozpoznaje ram i można wgrywać obraz (próbowałem lede, gargoyle, producenta), ale po wgraniu firmwareu router ciągle się resetuje, bądź zawiesza w pewnym momencie.  Robiłem firstboot i różne inne kombinacje, poprawiałem luty kości i flasha, niestety bez rezultatu.
Poniżej logi z konsoli:

 *********************************************
*   U-Boot 1.1.4  (Nov 19 2014, 09:48:39)   *
*********************************************

AP123 (AR9341) U-Boot for TL-MR3420 v2

DRAM:   64 MB DDR 32-bit
FLASH:  Winbond W25Q128 (16 MB)
CLOCKS: 535/400/200/25 MHz (CPU/RAM/AHB/SPI)

LED on during eth initialization...

Hit any key to stop autobooting:  0 

Booting image at: 0x9F020000

   Image name:   OpenWrt r3514-97ebdf
   Image type:   MIPS Linux Kernel Image (lzma compressed)
   Data size:    1359556 Bytes = 1.3 MB
   Load address: 0x80060000
   Entry point:  0x80060000

Uncompressing kernel image... OK!
Starting kernel...

[    0.000000] Linux version 4.4.87 (cezary@eko.one.pl) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Thu Sep 14 18:47:54 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9341 rev 3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=TL-MR3420-v2  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 59968K/65536K available (3100K kernel code, 163K rwdata, 776K rodata, 304K init, 205K bss, 5568K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns
[    0.000010] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns
[    0.008866] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[    0.091895] pid_max: default: 32768 minimum: 301
[    0.097282] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.104800] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.115775] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.126996] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.135389] NET: Registered protocol family 16
[    0.142146] MIPS: machine is TP-LINK TL-MR3420 v2
[    0.599185] clocksource: Switched to clocksource MIPS
[    0.606468] NET: Registered protocol family 2
[    0.612475] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.620462] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.627692] TCP: Hash tables configured (established 1024 bind 1024)
[    0.635016] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.641692] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.649142] NET: Registered protocol family 1
[    0.659326] Crashlog allocated RAM at address 0x3f00000
[    0.683056] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.689749] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.703823] io scheduler noop registered
[    0.708290] io scheduler deadline registered (default)
[    0.714461] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.724852] console [ttyS0] disabled
[    0.749035] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.758841] console [ttyS0] enabled
[    0.758841] console [ttyS0] enabled
[    0.766405] bootconsole [early0] disabled
[    0.766405] bootconsole [early0] disabled
[    0.781037] m25p80 spi0.0: found w25q128, expected m25p80
[    0.786633] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.792823] 5 tp-link partitions found on MTD device spi0.0
[    0.798587] Creating 5 MTD partitions on "spi0.0":
[    0.803593] 0x000000000000-0x000000020000 : "u-boot"
[    0.810403] 0x000000020000-0x00000016c0c4 : "kernel"
[    0.817372] 0x00000016c0c4-0x000000ff0000 : "rootfs"
[    0.824402] mtd: device 2 (rootfs) set to be root filesystem
[    0.830355] 1 squashfs-split partitions found on MTD device rootfs
[    0.836749] 0x000000380000-0x000000ff0000 : "rootfs_data"
[    0.844234] 0x000000ff0000-0x000001000000 : "art"
[    0.851049] 0x000000020000-0x000000ff0000 : "firmware"
[    0.876092] libphy: ag71xx_mdio: probed
[    1.471276] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[    1.481517] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.071067] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.113414] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.122668] NET: Registered protocol family 10
[    2.132501] NET: Registered protocol family 17
[    2.137189] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.150421] 8021q: 802.1Q VLAN Support v1.8
[    2.162994] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.172317] Freeing unused kernel memory: 304K
[    3.218466] init: Console is alive
[    3.222315] init: - watchdog -
[    4.548158] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.687698] usbcore: registered new interface driver usbfs
[    4.693560] usbcore: registered new interface driver hub
[    4.699161] usbcore: registered new device driver usb
[    4.750797] SCSI subsystem initialized
[    4.762259] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.770924] ehci-platform: EHCI generic platform driver
[    4.776450] ehci-platform ehci-platform: EHCI Host Controller
[    4.782490] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.792789] ehci-platform ehci-platform: TX-TX IDP fix enabled
[    4.798836] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.819230] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.826779] hub 1-0:1.0: USB hub found
[    4.831098] hub 1-0:1.0: 1 port detected
[    4.840495] usbcore: registered new interface driver usb-storage
[    4.847532] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.857393] init: - preinit -
[    5.584315] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    5.613730] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.180615] eth1: link up (1000Mbps/Full duplex)
[    8.185427] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[    8.853830] mount_root: loading kmods from internal overlay
[    8.882821] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    8.891583] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    9.242588] jffs2: notice: (416) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.259052] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    9.268912] block: extroot: not configured
[    9.325783] jffs2: notice: (413) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.473161] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    9.482547] block: extroot: not configured
[    9.487818] mount_root: switching to jffs2 overlay
[    9.499979] urandom-seed: Seed file not found (/etc/urandom.seed)
[    9.543059] eth1: link down
[    9.557957] procd: - early -
[    9.562154] procd: - watchdog -
[   10.210583] procd: - watchdog -
[   10.214155] procd: - ubus -
[   10.485576] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.495454] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.504899] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.514653] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.524063] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.534162] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.543771] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.553565] procd: - init -
Please press Enter to activate this console.
[   10.911883] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.925644] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   10.933994] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   10.950668] nf_conntrack version 0.5.0 (941 buckets, 3764 max)
[   10.998981] xt_time: kernel timezone is -0000
[   11.028394] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.087346] PPP generic driver version 2.4.2
[   11.094886] NET: Registered protocol family 24
[   11.173133] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
[   11.301773] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.564224] SQUASHFS error: xz decompression failed, data probably corrupt
[   11.571368] SQUASHFS error: squashfs_read_data failed to read block 0x1847ca
[   11.578653] SQUASHFS error: Unable to read fragment cache entry [1847ca]
[   11.585587] SQUASHFS error: Unable to read page, block 1847ca, size 1282c
[   11.592641] SQUASHFS error: Unable to read fragment cache entry [1847ca]
[   11.599573] SQUASHFS error: Unable to read page, block 1847ca, size 1282c
[   11.670435] CPU 0 Unable to handle kernel paging request at virtual address 00000010, epc == 800f13d8, ra == 800f141c
[   11.681481] Oops[#1]:
[   11.683839] CPU: 0 PID: 609 Comm: reload_config Not tainted 4.4.87 #0
[   11.690492] task: 838b6338 ti: 82c74000 task.ti: 82c74000
[   11.696068] $ 0   : 00000000 00000000 00000000 83056000
[   11.701507] $ 4   : 804c7fb8 000002a0 83057000 00000000
[   11.706936] $ 8   : ffffffff 803d0000 803d0000 00000004
[   11.712365] $12   : 00000001 7fe4dae4 00000000 70000003
[   11.717796] $16   : 00000001 830da000 7ffffff2 00000001
[   11.723225] $20   : 7ffffff2 00000017 00000010 00000001
[   11.728655] $24   : 00000000 00000000                  
[   11.734085] $28   : 82c74000 82c75d98 00000010 800f141c
[   11.739516] Hi    : 0000000c
[   11.742490] Lo    : 00000000
[   11.745501] epc   : 800f13d8 handle_mm_fault+0x6c/0xb14
[   11.750903] ra    : 800f141c handle_mm_fault+0xb0/0xb14
[   11.756297] Status: 1100fc03 KERNEL EXL IE 
[   11.760644] Cause : 00800008 (ExcCode 02)
[   11.764782] BadVA : 00000010
[   11.767758] PrId  : 0001974c (MIPS 74Kc)
[   11.771806] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4 mac80211 iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ip_tables cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT x_tables slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack crc_ccitt compat ledtrig_usbport usb_storage ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crc32c_generic crypto_hash
[   11.834202] Process reload_config (pid: 609, threadinfo=82c74000, task=838b6338, tls=7755bd48)
[   11.843092] Stack : 00000000 8017a578 ffffffff 00000000 00000000 8385a960 82c75e80 00000080
          00000000 800f3ab0 00000000 7755190c 83a63934 80106b48 00000000 7ffff000
          00000000 00000017 830da000 00000000 7ffffff2 00000017 838b6338 00000001
          00000010 800ed954 83a63900 00000000 8385a960 00000000 00000000 00000001
          00000080 00000000 00000000 0000000a 82c50010 82c6c600 7ffffff2 00000000
          ...
[   11.880080] Call Trace:
[   11.882616] [<800f13d8>] handle_mm_fault+0x6c/0xb14
[   11.887662] [<800ed954>] __get_user_pages.part.3+0x1b8/0x33c
[   11.893534] [<8010c574>] copy_strings+0x168/0x310
[   11.898395] [<8010c734>] copy_strings_kernel+0x18/0x2c
[   11.903706] [<8010d728>] do_execveat_common+0x38c/0x5ac
[   11.909101] 
[   11.910640] 
Code: 24421000  10620010  00c03821 <8ed00000> 3c1e8000  03d08021  00108302  7e474b00  00108300 
[   11.920996] ---[ end trace a43b31f736a44a38 ]---
[   11.927837] Fatal exception: panic in 5 seconds
[   16.939196] Kernel panic - not syncing: Fatal exception
[   16.945854] Rebooting in 1 seconds..
     

Jakie obrazy polecacie do tego minikomputera? A może macie jakieś własnej roboty i chcecie się podzielić? Próbowałem już różnych armbianów, openwrt, dietpi itd. ale niestety ciężko ze stabilnością. Chcę zainstalować tam środowisko graficzne i Reverse SSH tunnel. A co dalej? Jeszcze nie wiem. Narazie bawie się, ale trochę kiepsko jeśli chodzi o wsparcie, w porównaniu do raspberry pi.  Chętnie zapoznam się też z Waszymi pomysłami na zastosowanie tego malucha.

Może nie najlepszej jakości, ale są: https://imgur.com/a/qL5eR.

71

(16 odpowiedzi, napisanych Sprzęt / Hardware)

Spróbuj podłączyć router bezpośrednio do kompa, z uruchomionym serwerem, ustawiajac na sztywno adres. Sprawdz też czy firewall nie blokuje serwera tftp. W ostateczności jak potrafisz wylutować flash to mogę Ci go zaprogramować.

72

(5 odpowiedzi, napisanych Sprzęt / Hardware)

Dobra robota. Posiadasz może angielską wersję tego uboota?

Niestety przy wgrywaniu przez failsafe to samo. Wkurzyłem się lekko i wylutowałem flash, skopiowałem uboot, art i nowy obraz lede.. Śmiga wszystko jak dawniej smile Dzięki Cezary za pomoc.

74

(32 odpowiedzi, napisanych Sprzęt / Hardware)

Jeśli dobrze patrze, to według tego schematu od drugiej nóżki flash odchodzi rezystor 1k i tworzy dzielnik napiecia z rezystorem 3k. Teraz to już nic nie wiem smile

Dalej to samo. Może to jakiś problem montowaniem?