PPPoA ma niższy narzut o 8 bajtów i powinno być minimalnie szybsze.
Strony Poprzednia 1 2 3
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez olek210
Strony Poprzednia 1 2 3
PPPoA ma niższy narzut o 8 bajtów i powinno być minimalnie szybsze.
Chyba tym się skończy, chociaż może jak WAN będzie po kablu to wyniki będą bardziej sensowne.
Do tego chciałem postawić ten 1043 - podłączyć do niego hilinka i zobaczyć, czy kablowy WAN 4300 przenosi tyle, ile wydoli WAN LTE. Ale nie wyszło
Zastanawiam się nad Edge Router X - jest na niego wireguard i nawet nie musiałbym na OpenWRT flashować, tylko OpenWRT ma tę zaletę, że na (prawie) wszystkich ustrojstwach mam ten sam interfejs i nie muszę w mojej ułomnej pamięci grzebać "jak to się tu robi"
Prawdopodobnie ten pull request rozwiąże twój problem z transferami
:
https://github.com/openwrt/openwrt/pull/2630
BT Home Hub 5A
Neostrada VDSL 80mb:
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fdbc:54aa:3bd2::/48'
network.dsl=dsl
network.dsl.annex='a'
network.dsl.tone='av'
network.dsl.xfer_mode='ptm'
network.dsl.line_mode='vdsl'
network.dsl.ds_snr_offset='-35'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0.1'
network.lan.proto='static'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.lan.ipaddr='192.168.2.2'
network.lan_dev=device
network.lan_dev.name='eth0.1'
network.lan_dev.macaddr='xx:xx:xx:xx:xx:xx'
network.wan=interface
network.wan.ifname='dsl0.35'
network.wan.proto='pppoe'
network.wan.password='xxxxxxxxx'
network.wan.ipv6='0'
network.wan.username='xxxxxxx@neostrada.pl'
network.wan_dev=device
network.wan_dev.name='dsl0'
network.wan_dev.macaddr='xx:xx:xx:xx:xx:xx'
network.wan6=interface
network.wan6.ifname='@wan'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='0 1 2 4 6t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='5 6t'Statystyki:
root@OpenWrt:~# /etc/init.d/dsl_control dslstat
ATU-C Vendor ID: Broadcom 164.125
ATU-C System Vendor ID: Broadcom
Chipset: Lantiq-VRX200
Firmware Version: 5.8.1.8.1.6
API Version: 4.17.18.6
XTSE Capabilities: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2
Annex: B
Line Mode: G.993.2 (VDSL2)
Profile: 17a
Line State: UP [0x801: showtime_tc_sync]
Forward Error Correction Seconds (FECS): Near: 970 / Far: 276
Errored seconds (ES): Near: 0 / Far: 3
Severely Errored Seconds (SES): Near: 0 / Far: 0
Loss of Signal Seconds (LOSS): Near: 0 / Far: 0
Unavailable Seconds (UAS): Near: 133 / Far: 133
Header Error Code Errors (HEC): Near: 0 / Far: 0
Non Pre-emtive CRC errors (CRC_P): Near: 8765 / Far: 0
Pre-emtive CRC errors (CRCP_P): Near: 0 / Far: 0
Power Management Mode: L0 - Synchronized
Latency [Interleave Delay]: 8.0 ms [Interleave] 8.0 ms [Interleave]
Data Rate: Down: 59.866 Mb/s / Up: 6.015 Mb/s
Line Attenuation (LATN): Down: 14.6 dB / Up: 11.8 dB
Signal Attenuation (SATN): Down: 14.6 dB / Up: 9.8 dB
Noise Margin (SNR): Down: 5.5 dB / Up: 7.8 dB
Aggregate Transmit Power (ACTATP): Down: -18.0 dB / Up: 14.6 dB
Max. Attainable Data Rate (ATTNDR): Down: 64.255 Mb/s / Up: 6.384 Mb/s
Line Uptime Seconds: 596
Line Uptime: 9m 56sProblem rozwiązany. Na przyszłość jakby ktoś miał taki problem z tym routerem to w konsoli VR9 należy wpisać:
setenv bootcmd ubi part UBI\; ubi read \$(loadaddr) kernel\; bootm \$(loadaddr)
saveenvI zrestartować.
Wrzuciłem przez http:
root@lede:cd /tmp/
root@lede:/tmp# wget http://192.168.1.118/lede-lantiq-xrx200-BTHOMEHUBV5A-squash
fs-sysupgrade.bin
Downloading 'http://192.168.1.118/lede-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin'
Connecting to 192.168.1.118:80
Writing to 'lede-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin'
lede-lantiq-xrx200-B 100% |*******************************| 4970k 0:00:00 ETA
Download completed (5089448 bytes)
root@lede:/tmp# ls -l
-rw-r--r-- 1 root root 4 Nov 5 21:17 TZ
-rw-r--r-- 1 root root 74 Nov 5 21:50 dhcp.leases
drwxr-xr-x 2 root root 40 Nov 5 21:20 dnsmasq.d
drwxr-xr-x 2 root root 40 Nov 5 21:32 dropbear
drwxr-xr-x 2 root root 60 Nov 5 21:20 etc
drwxr-xr-x 2 root root 60 Nov 5 21:19 hosts
-rw-r--r-- 1 root root 5089448 Nov 5 21:55 lede-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin
drwxr-xr-x 3 root root 60 Nov 5 21:19 lib
drwxr-xr-x 2 root root 40 Jan 1 1970 lock
drwxr-xr-x 2 root root 80 Nov 5 21:15 log
drwxr-xr-x 2 root root 40 Nov 5 21:19 mounts
-rw-r--r-- 1 root root 32 Nov 5 21:20 resolv.conf
-rw-r--r-- 1 root root 0 Nov 5 21:15 resolv.conf.auto
drwxr-xr-x 4 root root 200 Nov 5 21:32 run
drwxrwxrwt 2 root root 40 Jan 1 1970 shm
drwxr-xr-x 2 root root 60 Nov 5 21:19 state
drwxr-xr-x 2 root root 80 Jan 1 1970 sysinfo
drwxr-xr-x 2 root root 40 Nov 5 21:15 tmp
root@lede:/tmp# sysupgrade lede-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.b
in
Cannot save config while running from ramdisk.
killall: watchdog: no process killed
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... ubusd logd netifd odhcpd mountd ntpd dnsmasq
Sending KILL to remaining processes ...
removing ubiblock0_1
[ 2526.069955] block ubiblock0_1: released
Volume ID 0, size 15 LEBs (1935360 bytes, 1.8 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "kernel", alignment 1
Volume ID 1, size 26 LEBs (3354624 bytes, 3.2 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 122056704
Volume ID 2, size 946 LEBs (122056704 bytes, 116.4 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
umount: can't unmount /: Invalid argument
[ 2553.044150] reboot: Restarting sy▒
ROM VER: 1.1.4
CFG 04
UARTReset i znowu to samo:
ROM VER: 1.1.4
CFG 06
NAND
NAND Read OK
DDR autotuning Rev 0.3d
DDR size from 0xa0000000 - 0xa7ffffff
DDR check ok... start booting...
U-Boot 2010.06-LANTIQ-v-2.2.46 (Dec 28 2013 - 00:25:33 on bat@gonzo-jungo)
CLOCK CPU 500M RAM 250M
secure boot
DRAM: 125 MiB
NAND: ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD S34ML01G1)
128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
In: serial
Out: serial
Err: serial
Net: Internal phy(GE) firmware version: 0x841b
vr9 Switch
Type "run flash_nfs" to mount root filesystem over NFS
Hit any key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000000100000-0x000007f80000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=0"
UBI: MTD device size: 126 MiB
UBI: number of good PEBs: 1012
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 4
UBI: available PEBs: 10
UBI: total number of reserved PEBs: 1002
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 1511/1036
Looking for active section/image:
0. section: type:8 not an image
1. section: type:9 not an image
2. section: type:1 not an image
3. section: type:3 not an image
4. section: type:3 not an image
5. section: type:2 image. reading section header @0x140e76c...
OpenRG volume not found
ubi_volume_read failed; read -19
header read failed!
6. section: type:2 image. reading section header @0x281cf6c...
OpenRG volume not found
ubi_volume_read failed; read -19
header read failed!
7. section: type:7 not an image
Verifying image(s):
No active image found!!!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
VR9 #Dodatkowo jak nie zatrzymam bootowania po wrzuceniu uboota przez port szeregowy, startuje ten obraz LEDE, chyba z flashu:
U-Boot 2013.10-openwrt4 (Nov 05 2016 - 21:13:45) BTHOMEHUBV5A
Board: BT Home Hub 5A
SoC: Lantiq VRX268 v1.2
CPU: 125 MHz
IO: 125 MHz
BUS: 125 MHz
BOOT: UART
DRAM: 128 MiB
NAND: 128 MiB
Using default environment
In: serial
Out: serial
Err: serial
Net: ltq-eth
Hit any key to stop autoboot: 0
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=0"
UBI: MTD device size: 126 MiB
UBI: number of good PEBs: 1012
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 4
UBI: available PEBs: 10
UBI: total number of reserved PEBs: 1002
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 1511/1036
Read 0 bytes from volume kernel to 81000000
No size specified -> Using max size (1935360)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: MIPS LEDE Linux-4.4.74
Created: 2017-07-10 9:02:27 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1839667 Bytes = 1.8 MiB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.4.74 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4552-9d07d2d) ) #0 SMP Sun Jul 9 21:46:53 2017
[ 0.000000] SoC: xRX200 rev 1.2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is BTHOMEHUBV5A - BT Home Hub 5A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] Detected 1 available secondary CPU(s)
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] PERCPU: Embedded 9 pages/cpu @8110c000 s8112 r8192 d20560 u36864
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyLTQ0,115200
[ 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=00001c20
[ 0.000000] Readback ErrCtl register=00001c20
[ 0.000000] Memory: 122648K/131072K available (4215K kernel code, 172K rwdata, 1284K rodata, 1224K init, 224K bss, 8424K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] Setting up vectored interrupts
[ 0.000000] Setting up IPI vectored interrupts
[ 0.000000] CPU Clock: 125MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 30580167144 ns
[ 0.000615] sched_clock: 32 bits at 62MHz, resolution 16ns, wraps every 34359738360ns
[ 0.010332] Calibrating delay loop... 4.76 BogoMIPS (lpj=9536)
[ 0.089657] pid_max: default: 32768 minimum: 301
[ 0.105417] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.113705] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.288968] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.289717] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.294825] CPU1 revision is: 00019556 (MIPS 34Kc)
[ 0.391818] Synchronize counters for CPU 1: done.
[ 0.404863] Brought up 2 CPUs
[ 0.808089] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.822139] futex hash table entries: 512 (order: 2, 16384 bytes)
[ 0.842359] pinctrl core: initialized pinctrl subsystem
[ 0.922373] NET: Registered protocol family 16
[ 1.282160] pinctrl-xway 1e100b10.pinmux: Init done
[ 1.338491] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[ 1.659079] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 1.735511] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[ 1.744516] MEM 0x0000000018000000..0x0000000019ffffff
[ 1.751772] IO 0x000000001ae00000..0x000000001affffff
[ 1.924555] PCI host bridge /fpi@10000000/pcie@d900000 ranges:
[ 2.609439] usbcore: registered new interface driver usbfs
[ 2.624038] usbcore: registered new interface driver hub
[ 2.636964] usbcore: registered new device driver usb
[ 2.673197] PCI host bridge to bus 0000:00
[ 2.679802] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[ 2.689341] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff]
[ 2.698748] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 2.707898] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.756321] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[ 2.777494] PCI host bridge to bus 0000:01
[ 2.784800] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff]
[ 2.794285] pci_bus 0000:01: root bus resource [io 0x1d800000-0x1d8fffff]
[ 2.803714] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[ 2.812787] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 2.828057] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[ 2.881594] pci 0000:01:00.0: bridge configuration invalid ([bus 02-00]), reconfiguring
[ 2.953585] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c1fffff]
[ 2.962966] pci 0000:01:00.0: BAR 9: assigned [mem 0x1c200000-0x1c2fffff pref]
[ 2.973174] pci 0000:02:00.0: BAR 0: assigned [mem 0x1c000000-0x1c1fffff 64bit]
[ 2.984013] pci 0000:02:00.0: BAR 6: assigned [mem 0x1c200000-0x1c20ffff pref]
[ 2.993382] pci 0000:01:00.0: PCI bridge to [bus 02]
[ 3.000908] pci 0000:01:00.0: bridge window [mem 0x1c000000-0x1c1fffff]
[ 3.010411] pci 0000:01:00.0: bridge window [mem 0x1c200000-0x1c2fffff pref]
[ 3.022339] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[ 3.030641] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[ 3.039636] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1
[ 3.047928] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned
[ 3.142593] clocksource: Switched to clocksource MIPS
[ 3.282285] NET: Registered protocol family 2
[ 3.375253] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 3.387309] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 3.398735] TCP: Hash tables configured (established 1024 bind 1024)
[ 3.411845] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 3.422109] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 3.447897] NET: Registered protocol family 1
[ 3.502965] gptu: totally 6 16-bit timers/counters
[ 3.517841] gptu: misc_register on minor 63
[ 3.527495] gptu: succeeded to request irq 126
[ 3.536796] gptu: succeeded to request irq 127
[ 3.547761] gptu: succeeded to request irq 128
[ 3.558163] gptu: succeeded to request irq 129
[ 3.567799] gptu: succeeded to request irq 130
[ 3.577876] gptu: succeeded to request irq 131
[ 3.608044] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin
[ 3.638239] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7E00000
[ 3.648187] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7E00000
[ 3.802243] No VPEs reserved for AP/SP, not initialize VPE loader
[ 3.802243] Pass maxvpes=<n> argument as kernel argument
[ 3.816600] No TCs reserved for AP/SP, not initializing RTLX.
[ 3.816600] Pass maxtcs=<n> argument as kernel argument
[ 3.911523] Crashlog allocated RAM at address 0x3f00000
[ 4.954695] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 4.963337] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 5.228466] io scheduler noop registered
[ 5.235248] io scheduler deadline registered (default)
[ 5.291998] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 5.304174] console [ttyLTQ0] enabled
[ 5.304174] console [ttyLTQ0] enabled
[ 5.313932] bootconsole [early0] disabled
[ 5.313932] bootconsole [early0] disabled
[ 5.434753] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 5.440822] nand: AMD/Spansion S34ML01G1
[ 5.445128] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 5.478157] Bad block table found at page 65472, version 0x01
[ 5.495667] Bad block table found at page 65408, version 0x01
[ 5.512317] 4 ofpart partitions found on MTD device 14000000.nand-parts
[ 5.519399] Creating 4 MTD partitions on "14000000.nand-parts":
[ 5.526690] 0x000000000000-0x0000000a0000 : "u-boot"
[ 5.643980] 0x0000000a0000-0x0000000c0000 : "uboot-env"
[ 5.762688] 0x0000000c0000-0x000000100000 : "unused"
[ 5.879938] 0x000000100000-0x000007f80000 : "ubi"
[ 6.444834] libphy: lantiq,xrx200-mdio: probed
[ 6.648170] net-xrx200: invalid MAC, using random
[ 6.720484] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00, irq=-1)
[ 6.792485] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:01, irq=-1)
[ 6.864479] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[ 6.940420] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[ 7.016412] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:05, irq=-1)
[ 7.280431] ltq-cputemp cputemp@0: Current CPU die temperature: 45.0 °C
[ 7.304425] wdt 1f8803f0.watchdog: Init done
[ 7.639057] NET: Registered protocol family 10
[ 7.751681] NET: Registered protocol family 17
[ 7.760988] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 7.776001] 8021q: 802.1Q VLAN Support v1.8
[ 7.990986] UBI: auto-attach mtd3
[ 7.994675] ubi0: attaching mtd3
[ 10.959821] eth0: port 4 got link
[ 11.526295] ubi0: scanning is finished
[ 12.088931] ubi0: attached mtd3 (name "ubi", size 126 MiB)
[ 12.095941] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 12.103455] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 12.110882] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[ 12.118538] ubi0: good PEBs: 1012, bad PEBs: 0, corrupted PEBs: 0
[ 12.125196] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128
[ 12.134867] ubi0: max/mean erase counter: 1511/1036, WL threshold: 4096, image sequence number: 646460963
[ 12.145207] ubi0: available PEBs: 0, total reserved PEBs: 1012, PEBs reserved for bad PEB handling: 20
[ 12.159682] ubi0: background thread "ubi_bgt0d" started, PID 356
[ 12.261418] block ubiblock0_1: created from ubi0:1(rootfs)
[ 12.268252] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[ 12.596066] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 12.742623] Freeing unused kernel memory: 1224K (8058e000 - 806c0000)
[ 16.781667] random: nonblocking pool is initialized
[ 91.432191] init: Console is alive
[ 91.446430] init: - watchdog -
[ 106.062043] init: - preinit -To jest tylko początek, przy tych 2x4,76 BogoMIPSACH powoli się uruchamia.
Masz może jeszcze jakieś pomysły?
Cześć,
Chciałem zainstalować LEDE na tym routerze. Kroki które wykonałem:
1. Zabootowałem z UART i wysłałem przez port szeregowy U-boota stąd https://github.com/mkresin/lede/releases;
2. Wysłałem przez TFTP plik: lede-lantiq-xrx200-BTHOMEHUBV5A-installimage.bin również z powyższej strony;
3. Zrobiłem kopię Oryginalnego Firmware i zapisałem na pendrive zgodnie z tutorialem;
4. Na pendrive wrzuciłem aktualny spapschot LEDE stąd: http://downloads.lede-project.org/snaps … pgrade.bin;
Dotąd wszystko było OK.
Router się zrestartował, wystartował U-boot i nie może zabootować LEDE:
Kroki instalacji:
Wysłanie Uboota, LEDE i start LEDE:
ROM VER: 1.1.4
CFG 04
UART
***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
U-Boot 2013.10-openwrt4 (Nov 05 2016 - 21:13:45) BTHOMEHUBV5A
Board: BT Home Hub 5A
SoC: Lantiq VRX268 v1.2
CPU: 125 MHz
IO: 125 MHz
BUS: 125 MHz
BOOT: UART
DRAM: 128 MiB
NAND: 128 MiB
Using default environment
In: serial
Out: serial
Err: serial
Net: ltq-eth
Hit any key to stop autoboot: 0
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=0"
UBI: MTD device size: 126 MiB
UBI: number of good PEBs: 1012
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 3
UBI: available PEBs: 9
UBI: total number of reserved PEBs: 1003
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 1510/1035
Read 0 bytes from volume kernel to 81000000
Volume kernel not found!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
BTHOMEHUBV5A # tftpboot 0x81000000 lede-lantiq-xrx200-BTHOMEHUBV5A-installimage.bin; bootm 0x81000000
ltq_phy: addr 0, link 0, speed 10, duplex 0
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 1, speed 1000, duplex 1
ltq_phy: addr 5, link 0, speed 10, duplex 0
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'lede-lantiq-xrx200-BTHOMEHUBV5A-installimage.bin'.
Load address: 0x81000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############################
done
Bytes transferred = 3474686 (3504fe hex)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: MIPS LEDE Linux-4.4.30
Created: 2016-11-05 20:35:36 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3474622 Bytes = 3.3 MiB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.4.30 (mkresin@desktop) (gcc version 5.4.0 (LEDE GCC 5.4.0 r2112+5) ) #0 Sat Nov 5 20:35:36 2016
[ 0.000000] SoC: xRX200 rev 1.2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is BTHOMEHUBV5A - BT Home Hub 5A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] Primary instruction cache 32kB, 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: 32512
[ 0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[ 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=00001d20
[ 0.000000] Readback ErrCtl register=00001d20
[ 0.000000] Memory: 118932K/131072K available (3775K kernel code, 161K rwdata, 1152K rodata, 5584K init, 210K bss, 12140K 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] Setting up vectored interrupts
[ 0.000000] CPU Clock: 125MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 30580167144 ns
[ 0.000610] sched_clock: 32 bits at 62MHz, resolution 16ns, wraps every 34359738360ns
[ 0.009754] Calibrating delay loop... 4.80 BogoMIPS (lpj=9600)
[ 0.082692] pid_max: default: 32768 minimum: 301
[ 0.095566] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.103691] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.513151] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.531650] pinctrl core: initialized pinctrl subsystem
[ 0.582933] NET: Registered protocol family 16
[ 0.830957] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.871843] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[ 1.119569] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 1.426891] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[ 1.434523] MEM 0x0000000018000000..0x0000000019ffffff
[ 1.441304] IO 0x000000001ae00000..0x000000001affffff
[ 2.191745] usbcore: registered new interface driver usbfs
[ 2.203922] usbcore: registered new interface driver hub
[ 2.213708] usbcore: registered new device driver usb
[ 2.242780] PCI host bridge to bus 0000:00
[ 2.248780] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[ 2.257599] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff]
[ 2.266376] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 2.274872] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.311593] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[ 2.327486] PCI host bridge to bus 0000:01
[ 2.333478] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff]
[ 2.342298] pci_bus 0000:01: root bus resource [io 0x1d800000-0x1d8fffff]
[ 2.351076] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[ 2.359573] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 2.372484] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[ 2.415717] pci 0000:01:00.0: bridge configuration invalid ([bus 02-00]), reconfiguring
[ 2.471475] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c1fffff]
[ 2.480400] pci 0000:01:00.0: BAR 9: assigned [mem 0x1c200000-0x1c2fffff pref]
[ 2.489903] pci 0000:02:00.0: BAR 0: assigned [mem 0x1c000000-0x1c1fffff 64bit]
[ 2.499782] pci 0000:02:00.0: BAR 6: assigned [mem 0x1c200000-0x1c20ffff pref]
[ 2.508780] pci 0000:01:00.0: PCI bridge to [bus 02]
[ 2.515811] pci 0000:01:00.0: bridge window [mem 0x1c000000-0x1c1fffff]
[ 2.524646] pci 0000:01:00.0: bridge window [mem 0x1c200000-0x1c2fffff pref]
[ 2.535232] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[ 2.543168] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[ 2.551445] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1
[ 2.559381] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned
[ 2.618527] clocksource: Switched to clocksource MIPS
[ 2.716471] NET: Registered protocol family 2
[ 2.780922] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.792174] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.801770] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.813639] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 2.822418] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 2.843168] NET: Registered protocol family 1
[ 7.248854] gptu: totally 6 16-bit timers/counters
[ 7.260774] gptu: misc_register on minor 63
[ 7.267025] gptu: succeeded to request irq 126
[ 7.272891] gptu: succeeded to request irq 127
[ 7.279252] gptu: succeeded to request irq 128
[ 7.285110] gptu: succeeded to request irq 129
[ 7.290991] gptu: succeeded to request irq 130
[ 7.296853] gptu: succeeded to request irq 131
[ 7.329354] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin
[ 7.356006] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7DC0000
[ 7.365276] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7DC0000
[ 7.494934] No VPEs reserved for AP/SP, not initialize VPE loader
[ 7.494934] Pass maxvpes=<n> argument as kernel argument
[ 7.508877] No TCs reserved for AP/SP, not initializing RTLX.
[ 7.508877] Pass maxtcs=<n> argument as kernel argument
[ 7.571371] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 7.584745] Crashlog allocated RAM at address 0x3f00000
[ 8.624871] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 8.632640] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 8.815616] io scheduler noop registered
[ 8.821514] io scheduler deadline registered (default)
[ 8.859690] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 8.871495] console [ttyLTQ0] enabled
[ 8.871495] console [ttyLTQ0] enabled
[ 8.880189] bootconsole [early0] disabled
[ 8.880189] bootconsole [early0] disabled
[ 9.029009] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 9.034788] nand: AMD/Spansion S34ML01G1
[ 9.039039] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 9.057170] Bad block table found at page 65472, version 0x01
[ 9.072832] Bad block table found at page 65408, version 0x01
[ 9.087744] 5 ofpart partitions found on MTD device 14000000.nand-parts
[ 9.094975] Creating 5 MTD partitions on "14000000.nand-parts":
[ 9.101208] 0x000000000000-0x0000000a0000 : "u-boot"
[ 9.191771] 0x0000000a0000-0x0000000c0000 : "uboot-env"
[ 9.293991] 0x0000000c0000-0x000000100000 : "unused"
[ 9.396435] 0x000000100000-0x000007f80000 : "ubi"
[ 9.531247] 0x000000000000-0x000008000000 : "nand_chip"
[ 9.954050] libphy: lantiq,xrx200-mdio: probed
[ 10.251456] net-xrx200: invalid MAC, using random
[ 10.320646] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00, irq=-1)
[ 10.392588] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:01, irq=-1)
[ 10.464601] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[ 10.536602] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[ 10.593619] net-xrx200: invalid MAC, using random
[ 10.664588] eth1: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:05, irq=-1)
[ 10.862209] ltq-cputemp cputemp@0: Current CPU die temperature: 45.0 °C
[ 10.881733] wdt 1f8803f0.watchdog: Init done
[ 11.091296] NET: Registered protocol family 10
[ 11.359355] NET: Registered protocol family 17
[ 11.367674] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 11.381341] 8021q: 802.1Q VLAN Support v1.8
[ 11.595893] UBI: auto-attach mtd3
[ 11.599261] ubi0: attaching mtd3
[ 14.536303] eth0: port 4 got link
[ 14.647975] ubi0: scanning is finished
[ 15.014048] ubi0 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 19, need 20
[ 15.129061] ubi0: attached mtd3 (name "ubi", size 126 MiB)
[ 15.135366] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 15.143276] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 15.150301] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[ 15.157987] ubi0: good PEBs: 1012, bad PEBs: 0, corrupted PEBs: 0
[ 15.164983] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[ 15.172714] ubi0: max/mean erase counter: 1510/1035, WL threshold: 4096, image sequence number: 646460963
[ 15.183201] ubi0: available PEBs: 0, total reserved PEBs: 1012, PEBs reserved for bad PEB handling: 19
[ 15.228447] ubi0: background thread "ubi_bgt0d" started, PID 337
[ 15.770478] Freeing unused kernel memory: 5584K (804fc000 - 80a70000)
[ 16.380480] init: Console is alive
[ 16.390029] init: - watchdog -
[ 17.042937] exFAT: Version 1.2.9
[ 18.805449] SCSI subsystem initialized
[ 19.166271] dwc2 1e101000.ifxhcd: requested GPIO 495
[ 19.173223] dwc2 1e101000.ifxhcd: Configuration mismatch. Forcing host mode
[ 20.044818] dwc2 1e101000.ifxhcd: DWC OTG Controller
[ 20.052363] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[ 20.061777] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[ 20.068187] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[ 20.075565] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[ 20.147488] hub 1-0:1.0: USB hub found
[ 20.160652] hub 1-0:1.0: 1 port detected
[ 20.376959] usbcore: registered new interface driver usb-storage
[ 20.439209] init: - preinit -
[ 20.680015] usb 1-1: new high-speed USB device number 2 using dwc2
[ 20.971722] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 21.124576] scsi host0: usb-storage 1-1:1.0
[ 22.174478] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
[ 22.267575] sd 0:0:0:0: [sda] 15679488 512-byte logical blocks: (8.03 GB/7.48 GiB)
[ 22.327838] sd 0:0:0:0: [sda] Write Protect is off
[ 22.344510] random: procd: uninitialized urandom read (4 bytes read, 88 bits of entropy available)
[ 22.364102] sd 0:0:0:0: [sda] No Caching mode page found
[ 22.371224] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 22.644926] sda: sda1
[ 22.785745] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 29.416861] random: nonblocking pool is initialized
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
[ 37.284471] eth0: port 4 lost link
[ 37.616330] procd: - early -
[ 37.623456] procd: - watchdog -
[ 40.988834] procd: - ubus -
[ 41.668154] procd: - init -
Please press Enter to activate this console.
uci: Entry not found
BusyBox v1.25.1 () built-in shell (ash)
*******************************************************************************
* Guide for installing LEDE onto a BT Home Hub 5 Type A/Plusnet Hub One *
*******************************************************************************
You need an USB flash drive with at least 512MB free capacity, formatted as
FAT32 or exFAT, attached to the Hub. The attached flash drive will be
accessible at /tmp/mounts/<directory>.
To install LEDE, the USB flash drive must have a copy of the file:
lede-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin
To restore the stock Firmware, the USB flash drive must have a have a copy
of the nanddump backup file (hh5a.nanddump) containing the stock Firmware.
LIST OF COMMANDS
To create a backup of the installed firmware (Take care to not overwrite
any previously made backup):
nanddump --file /tmp/mounts/<directory>/hh5a.nanddump /dev/mtd4
To install LEDE:
prepare
To restore stock firmware:
restore
TO UPGRADE FROM OpenWrt OR LEDE PRIOR TO XXX:
Restore the stock firmware and do a fresh install of LEDE.
If you don't have a backup of the stock firmware from your Hub, use the
experimental 'migrate' script. It is offered with no guarantee of success.
You are strongly advised to restore the stock firmware.
Please scroll back to view ALL of the above instructions.Instalacja LEDE:
root@lede:/tmp/mounts# prepare
This script will erase parts of the Nand flash memory on this Hub, and then
prepare it for running Sysupgrade.
WARNING: DO NOT CONTINUE unless you have saved a backup of the original firmware
to your COMPUTER or other storage device!
DO NOT POWER OFF THE DEVICE DURING THIS PROCEDURE.
Please enter YESIHAVEABACKUP to continue:
YESIHAVEABACKUP
Starting installation...
Please select you device:
a) BT Home Hub 5 Type A
b) Plusnet Hub One
a
WRITING custom uboot-env to unlock u-boot console and update bootcmd...
Erasing 128 Kibyte @ 0 -- 100 % complete
Writing data to block 0 at offset 0x0
REMOVING ubi volume OpenRG...
[ 384.003247] ubi0: reserved more 1 PEBs for bad PEB handling
REMOVING ubi volume FFS...
Preparation completed!
Your attached USB media is mounted as a subdirectory at /tmp/mounts/
To install LEDE, run:
sysupgrade /tmp/mounts/<directory>/lede-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin
Sysupgrade will automatically restart your device when it has finished.
If the UART prompt appears, power-cycle your device!
The hub should now boot up using LEDE.
root@lede:/tmp/mounts# sysupgrade /tmp/mounts/USB-A1/lede-lantiq-xrx200-BTHOMEHU
BV5A-squashfs-sysupgrade.bin
[ 429.392129] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Cannot save config while running from ramdisk.
killall: watchdog: no process killed
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... ubusd logd netifd odhcpd mountd ntpd dnsmasq
Sending KILL to remaining processes ...
Volume ID 0, size 15 LEBs (1935360 bytes, 1.8 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "kernel", alignment 1
Volume ID 1, size 26 LEBs (3354624 bytes, 3.2 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 122056704
Volume ID 2, size 946 LEBs (122056704 bytes, 116.4 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
umount: can't unmount /: Invalid argument
[ 551.801815] reboot: Restarting sy-
ROM VER: 1.1.4
CFG 04
UARTReset i nie może wystartować:
ROM VER: 1.1.4
CFG 06
NAND
NAND Read OK
DDR autotuning Rev 0.3d
DDR size from 0xa0000000 - 0xa7ffffff
DDR check ok... start booting...
U-Boot 2010.06-LANTIQ-v-2.2.46 (Dec 28 2013 - 00:25:33 on bat@gonzo-jungo)
CLOCK CPU 500M RAM 250M
secure boot
DRAM: 125 MiB
NAND: ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD S34ML01G1)
128 MiB
*** Warning - bad CRC, using default environment
Erasing Nand...
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
Erasing at 0xe0000 -- 100% complete.
Encrypting enviroment...
Writing to Nand... done
In: serial
Out: serial
Err: serial
Net: Internal phy(GE) firmware version: 0x841b
vr9 Switch
Type "run flash_nfs" to mount root filesystem over NFS
Hit any key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000000100000-0x000007f80000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=0"
UBI: MTD device size: 126 MiB
UBI: number of good PEBs: 1012
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 4
UBI: available PEBs: 10
UBI: total number of reserved PEBs: 1002
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 1511/1036
Looking for active section/image:
0. section: type:8 not an image
1. section: type:9 not an image
2. section: type:1 not an image
3. section: type:3 not an image
4. section: type:3 not an image
5. section: type:2 image. reading section header @0x140e76c...
OpenRG volume not found
ubi_volume_read failed; read -19
header read failed!
6. section: type:2 image. reading section header @0x281cf6c...
OpenRG volume not found
ubi_volume_read failed; read -19
header read failed!
7. section: type:7 not an image
Verifying image(s):
No active image found!!!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
VR9 #Dla pewności przywróciłem oryginalne Firmware i powtórzyłem ponownie kroki i jest dokładnie ten sam problem.
Jak rozwiązać ten problem?
1. Problem z WiFi był związany z sterownikiem linuksowym do karty WiFi w laptopie, i dla RX działał tylko 1 stream. Jest już w miarę ok z wydajnością.
2. Okazało się że Lantiq oszczędził miejsca na krzemie i umieścił 4 TC i 2 VPE, dlatego w LEDE są widoczne tylko 2 rdzenie.
SMVP na routerze przypisuje TC0 do VPE0 i TC1 do VPE1. Taki MT7621A ma po 1 VPE na każde TC i działa to wtedy normalnie.
Trochę rozeznałem się i sam sobie po części odpowiadam, ale mam kolejne pytania:
3. Żeby wykorzystać pozostałe TC i przypisać po 2 do każdego VPE trzeba by aktywować SMTC w LEDE, ale SMTC zostało usunięte w kernelu 3.15. Czyli jak dobrze rozumiem nic już nie da się zrobić skoro nie jest to już obsługiwane w kernelu?
Tu trochę o SMVP i SMTC http://elinux.org/images/7/7b/CELF_SMTC … 6_v0.3.pdf
4. Przeszukałem trochę internet i widzę że większość chipów Lantiqa posiada Protocol Processor Engine (PPE). Słaba wydajność NAT jest spowodowana brakiem obsługi PPE w LEDE. W którymś z dokumentów Lantiq chwali się że może dzięki temu NATować 3GB/s bez obciążania CPU. Może ktoś potrafi przeportować obsługę tego?
Najnowsze źródła które to obsługują to te od Netgeara DM200.
https://kb.netgear.com/2649/NETGEAR-Ope … ar_organic
Jak widzę to jest to oparte o OpenWrt AA kernel 3.10 i zawiera źródła od Lantiqa. Są jeszcze źródła do W8970/8980/9980 ale TPlink używa tam kernela 2.6.32
Gdyby komuś się udało to udało to NAT nie ograniczał by tego routera do ~~180Mbps, a z innych ciekawą alternatywą do LEDE byłby HH5A z WiFi AC, 5x GB Ethernet, VDSL2, USB, 128MB flash/RAM dostępny na Ebayu za około ~~100zł.
Cześć,
Ostatnio wpadł mi w ręce TP-link W8970. Zainstalowałem na nim najpierw wersję stabilną LEDE a później testową.
W wersji stabilnej działał tylko 1 rdzeń i WIFI przy 35Mbps zjadało całą moc obliczeniową procesora. Na wersji testowej jest znacznie lepiej widoczne są 2 rdzenie, ale zastanawia mnie dlaczego LEDE na tym ruterze nie obsługuje wielowątkowości? Co należy zmienić w źródłach, żeby skompilować LEDE z obsługą wielowątkowości?
VRX268 posiada 4 rdzenie TC i powinno to dać sporego kopa temu procesorowi. ![]()
2. Dlaczego ten router ma tak słabą wydajność NAT. Przy 2 rdzeniach 34kc 500MHz udało mi się osiągnąć transfery WAN-->LAN max 105mbps, podczas gdy na WR2543ND, który ma 1 rdzeń 24kc 400Mhz bez problemu uzyskuję transfery rzędu 200-220Mbps.
Strony Poprzednia 1 2 3
eko.one.pl → Posty przez olek210
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc