Niestety ja nie bardzo umiem czytać logi, pomożecie sprawdzić co jest nie tak?
U-Boot 1.1.3 (Jan 12 2011 - 11:35:36)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 837c4000
******************************
Software System Reset Occurred
******************************
flash_protect ON: from 0xBC000000 to 0xBC02AFAF
flash_protect ON: from 0xBC030000 to 0xBC030FFF
*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 3.5.2.0
--------------------------------------------
ASIC 3883_MP (MAC to VITESSE Mode)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 128 MBytes
Flash component: NOR Flash
Date:Jan 12 2011 Time:11:35:36
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 500 MHZ ####
estimate memory size =64 Mbytes
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP. 0
early Realtek giga Mac support...
GPIOMODE current: 181c
GPIOMODE writing: 181d
GPIOMODE current: 181d
get reg 0x1300: 6088
get reg 0x1300: 6088
get reg 0x1300: 6088
get reg 0x1300: 6088
get reg 0x1300: 6088
rtk_switch_init(): return 0
rtk_port_macForceLinkExt1_set(): return 0
org Ext1 txDelay: 0, rxDelay: 0
new Ext txDelay: 0, rxDelay: 7
rtk_port_rgmiiDelayExt1_set(): return 0
rtk_led_enable_set(LED_GROUP_0...): return 0
rtk_led_enable_set(LED_GROUP_1...): return 0
rtk_led_operation_set(): return 0
rtk_led_groupConfig_set(LED_GROUP_0...): return 0
rtk_led_groupConfig_set(LED_GROUP_1...): return 0
rtl8367m_switch_init_pre() return 0
Bootloader version: 1.0.0.6
MAC Address: BC:AE:C5:EA:DA:52
GPIOMODE before: 181d
GPIOMODE writing: 181d
GPIOMODE restoring: 181d
## Checking image at bc050000 ...
Image Name: MIPS OpenWrt Linux-4.14.63
Created: 2018-08-16 7:51:15 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1437443 Bytes = 1.4 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ...
3: System Boot system code via Flash.
## Booting image at bc050000 ...
Image Name: MIPS OpenWrt Linux-4.14.63
Created: 2018-08-16 7:51:15 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1437443 Bytes = 1.4 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
[ 0.000000] Linux version 4.14.63 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7101-a63e38b)) #0 Wed Aug 15 20:42:39 2018
[ 0.000000] SoC Type: Ralink RT3883 ver:1 eco:5
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] MIPS: machine is Asus RT-N56U
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] random: get_random_bytes called from 0x8042172c with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000300
[ 0.000000] Readback ErrCtl register=00000300
[ 0.000000] Memory: 125212K/131072K available (3574K kernel code, 174K rwdata, 472K rodata, 188K init, 219K bss, 5860K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] CPU Clock: 500MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[ 0.000013] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[ 0.015484] Calibrating delay loop... 249.44 BogoMIPS (lpj=1247232)
[ 0.097755] pid_max: default: 32768 minimum: 301
[ 0.107176] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.120203] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.140128] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.159609] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.171798] pinctrl core: initialized pinctrl subsystem
[ 0.183634] NET: Registered protocol family 16
[ 0.196624] rt3883-pci 10140000.pci: mode: PCIe
[ 1.836317] PCI host bridge /pci@10140000/host-bridge ranges:
[ 1.847632] MEM 0x0000000020000000..0x000000002fffffff
[ 1.857994] IO 0x0000000010160000..0x000000001016ffff
[ 1.869844] Can't analyze schedule() prologue at 80379450
[ 1.896412] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 1.907455] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 1.920101] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 1.932140] PCI host bridge to bus 0000:00
[ 1.940143] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 1.953860] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 1.965586] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.979085] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.996038] pci 0000:00:01.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[ 2.009450] pci 0000:00:01.0: BAR 1: assigned [mem 0x20100000-0x2010ffff]
[ 2.022921] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x2000ffff]
[ 2.036411] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 2.046261] pci 0000:00:01.0: bridge window [mem 0x20000000-0x200fffff]
[ 2.064911] clocksource: Switched to clocksource MIPS
[ 2.076250] NET: Registered protocol family 2
[ 2.085977] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.099762] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.112349] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.125166] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 2.136688] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 2.149427] NET: Registered protocol family 1
[ 2.161221] rt-timer 10000100.timer: maximum frequency is 5065Hz
[ 2.174039] Crashlog allocated RAM at address 0x3f00000
[ 2.186445] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 2.205512] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.217010] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.248612] io scheduler noop registered
[ 2.256317] io scheduler deadline registered (default)
[ 2.267562] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 2.283486] console [ttyS0] disabled
[ 2.290551] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 2.310217] console [ttyS0] enabled
[ 2.310217] console [ttyS0] enabled
[ 2.324025] bootconsole [early0] disabled
[ 2.324025] bootconsole [early0] disabled
[ 2.340661] cacheinfo: Failed to find cpu0 device node
[ 2.350944] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.363824] 1c000000.nor-flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[ 2.384868] Amd/Fujitsu Extended Query Table at 0x0040
[ 2.395122] Amd/Fujitsu Extended Query version 1.1.
[ 2.405193] number of CFI chips: 1
[ 2.419233] 4 fixed-partitions partitions found on MTD device 1c000000.nor-flash
[ 2.434039] Creating 4 MTD partitions on "1c000000.nor-flash":
[ 2.445690] 0x000000000000-0x000000030000 : "u-boot"
[ 2.456602] 0x000000030000-0x000000040000 : "u-boot-env"
[ 2.468213] 0x000000040000-0x000000050000 : "factory"
[ 2.479366] 0x000000050000-0x000000800000 : "firmware"
[ 2.496381] 2 uimage-fw partitions found on MTD device firmware
[ 2.508233] 0x000000050000-0x0000001aef43 : "kernel"
[ 2.519070] 0x0000001aef43-0x000000800000 : "rootfs"
[ 2.529923] mtd: device 5 (rootfs) set to be root filesystem
[ 2.541288] 1 squashfs-split partitions found on MTD device rootfs
[ 2.553628] 0x0000003f0000-0x000000800000 : "rootfs_data"
[ 2.566179] rtl8367 rtl8367: using GPIO pins 1 (SDA) and 2 (SCK)
[ 2.578798] rtl8367 rtl8367: RTL8367M ver. 0 chip found
[ 2.734903] random: fast init done
[ 4.634206] libphy: rtl8367: probed
[ 4.641806] libphy: Fixed MDIO Bus: probed
[ 4.651840] mtk_soc_eth 10100000.ethernet: using fixed link parameters
[ 4.664924] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): link up (1000Mbps/Full duplex)
[ 4.682855] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 4.700005] rt2880_wdt 10000120.watchdog: Initialized
[ 4.711713] NET: Registered protocol family 10
[ 4.725550] Segment Routing with IPv6
[ 4.732994] NET: Registered protocol family 17
[ 4.741966] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 4.767804] 8021q: 802.1Q VLAN Support v1.8
[ 4.782949] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 4.798418] Freeing unused kernel memory: 188K
[ 4.807310] This architecture does not have kernel memory protection.
[ 5.440754] init: Console is alive
[ 5.447895] init: - watchdog -
[ 6.236321] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.364344] usbcore: registered new interface driver usbfs
[ 6.375459] usbcore: registered new interface driver hub
[ 6.386212] usbcore: registered new device driver usb
[ 6.403474] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.418598] ehci-platform: EHCI generic platform driver
[ 6.439411] phy phy-usbphy.0: remote usb device wakeup disabled
[ 6.451224] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 6.460105] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 6.471631] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 6.487562] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 6.524937] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 6.538576] hub 1-0:1.0: USB hub found
[ 6.546583] hub 1-0:1.0: 2 ports detected
[ 6.558603] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 6.572903] ohci-platform: OHCI generic platform driver
[ 6.583692] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 6.597311] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 6.613201] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 6.700023] hub 2-0:1.0: USB hub found
[ 6.708018] hub 2-0:1.0: 2 ports detected
[ 6.805754] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.830754] init: - preinit -
Board is ASUS RT-N56U, replacing uImage header...
[ 7.719948] mtk_soc_eth 10100000.ethernet eth0: link up (1000Mbps/Full duplex)
[ 7.735283] 8021q: adding VLAN 0 to HW filter on device eth0
[ 7.772353] random: procd: uninitialized urandom read (4 bytes read)
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
[ 10.035757] jffs2: notice: (407) jffs2_build_xattr_subsystem: complete building xattr subsystem, 8 of xdatum (2 unchecked, 6 orphan) and 20 of xref (6 dead, 2 orphan) found.
[ 10.067903] mount_root: switching to jffs2 overlay
[ 10.111186] overlayfs: upper fs does not support tmpfile.
[ 10.127617] urandom-seed: Seeding with /etc/urandom.seed
[ 10.202573] mtk_soc_eth 10100000.ethernet eth0: link down
[ 10.227181] procd: - early -
[ 10.233041] procd: - watchdog -
[ 11.087093] procd: - watchdog -
[ 11.093726] procd: - ubus -
[ 11.295202] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.480552] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.493931] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.507955] procd: - init -
Please press Enter to activate this console.
[ 11.856457] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.876912] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.902527] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[ 11.918552] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 11.937072] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.959358] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 12.053974] xt_time: kernel timezone is -0000
[ 12.131288] PPP generic driver version 2.4.2
[ 12.143141] NET: Registered protocol family 24
[ 12.182842] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 12.194437] rt2800pci 0000:01:00.0: loaded eeprom from mtd device "factory"
[ 12.208360] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3071, rev 021c detected
[ 12.223811] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[ 12.353700] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[ 12.368199] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 3883, rev 0400 detected
[ 12.383657] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 3853 detected
[ 12.405525] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 13.760715] urandom_read: 5 callbacks suppressed
[ 13.760725] random: jshn: uninitialized urandom read (4 bytes read)
[ 26.167970] mtk_soc_eth 10100000.ethernet eth0: link up (1000Mbps/Full duplex)
[ 26.182722] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 26.194388] 8021q: adding VLAN 0 to HW filter on device eth0
[ 26.358258] device eth0 entered promiscuous mode
[ 26.407986] br-lan: port 1(eth0.1) entered blocking state
[ 26.418826] br-lan: port 1(eth0.1) entered disabled state
[ 26.430016] device eth0.1 entered promiscuous mode
[ 26.508390] br-lan: port 1(eth0.1) entered blocking state
[ 26.519221] br-lan: port 1(eth0.1) entered forwarding state
[ 26.530567] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 27.245069] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 27.258199] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 31.146756] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[ 31.399718] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.40
[ 31.774563] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 31.793843] br-lan: port 2(wlan0) entered blocking state
[ 31.804531] br-lan: port 2(wlan0) entered disabled state
[ 31.815545] device wlan0 entered promiscuous mode
[ 31.836329] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 31.849281] br-lan: port 2(wlan0) entered blocking state
[ 31.859915] br-lan: port 2(wlan0) entered forwarding state
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 'fdf8:eb3b:306c::/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'
option macaddr 'be:ae:c5:ea:da:52'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config device 'wan_dev'
option name 'eth0.2'
option macaddr 'bc:ae:c5:ea:da:51'
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 '0 1 2 3 8t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 8t'
i jeszcze wynik polecenia:
#swconfig dev switch0 show | grep link:
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow auto
link: port:1 link:down
link: port:2 link:down
link: port:3 link:down
link: port:4 link:down
link: port:5 link:down
link: port:6 link:down
link: port:7 link:down
link: port:8 link:up speed:1000baseT full-duplex txflow rxflow
port:0 to lan, port:8 to CPU
Próbowałem włączyć wifi i połączyć się przez radio ale mimo włączenia sieci w powietrzu nie widać. Lampki elektrycznie przy gniazdku lan działają, komp widzi niezidentyfikowaną sieć ale połączyć się nie da. Nie wiem co jest nie tak...