Temat: EasyBox 802 LEDE i usb

Witam,
no i narozrabiałem sobie, zachęcony działającym już HDD na usb zabrałem się za drukarkę ale ta z uporem drukowała internal error, wiec wpadłem na "genialny" pomysł i załadowałem lede-17.01.0-r3205-59508e3-lantiq-xway-ARV752DPW-squashfs-sysupgrade.bin.
Wszystko prawie cacy, tylko że na usb nic nie wykrywa.

root@LEDE:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


root@LEDE:~# dmesg
[    0.000000] Linux version 4.4.50 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Mon Feb 20 17:13:44 2017
[    0.000000] SoC: Danube rev 1.3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019641 (MIPS 24KEc)
[    0.000000] MIPS: machine is ARV752DPW - Arcor 802
[    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 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] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8046e4b0, node_mem_map 81007880
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyLTQ0,115200
[    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=00076c58
[    0.000000] Readback ErrCtl register=00076c58
[    0.000000] Memory: 58792K/65536K available (3875K kernel code, 156K rwdata, 620K rodata, 1220K init, 200K bss, 6744K 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: 333MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000018] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.007957] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.050570] pid_max: default: 32768 minimum: 301
[    0.055535] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.062089] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.079119] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.088901] pinctrl core: initialized pinctrl subsystem
[    0.096371] NET: Registered protocol family 16
[    0.109089] pinctrl-xway 1e100b10.pinmux: Init done
[    0.115639] dma-xway 1e104100.dma: Init done - hw rev: 3, ports: 5, channels: 20
[    0.192935] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.198635]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.203906]   IO 0x000000001ae00000..0x000000001affffff
[    0.238016] usbcore: registered new interface driver usbfs
[    0.243644] usbcore: registered new interface driver hub
[    0.249107] usbcore: registered new device driver usb
[    0.254747] PCI host bridge to bus 0000:00
[    0.258802] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.265731] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.272677] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.279525] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.287632] pci 0000:00:0e.0: [1814:0601] type 00 class 0x028000
[    0.287728] pci 0000:00:0e.0: reg 0x10: [mem 0xffff0000-0xffffffff]
[    0.287891] pci 0000:00:0e.0: PME# supported from D0 D3hot D3cold
[    0.288376] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.288454] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.296638] clocksource: Switched to clocksource MIPS
[    0.304159] NET: Registered protocol family 2
[    0.310318] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.317291] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.323682] TCP: Hash tables configured (established 1024 bind 1024)
[    0.330262] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.336085] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.342809] NET: Registered protocol family 1
[    0.347222] PCI: CLS 0 bytes, default 32
[    0.360771] gptu: totally 6 16-bit timers/counters
[    0.365714] gptu: misc_register on minor 63
[    0.369851] gptu: succeeded to request irq 126
[    0.374354] gptu: succeeded to request irq 127
[    0.378868] gptu: succeeded to request irq 128
[    0.383381] gptu: succeeded to request irq 129
[    0.387895] gptu: succeeded to request irq 130
[    0.392409] gptu: succeeded to request irq 131
[    0.403639] lantiq,vmmc 1f103000.vmmc: requested GPIO 465
[    0.408999] lantiq,vmmc 1f103000.vmmc: reserved 1MB at 0x03a00000
[    0.416854] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.422984] Crashlog allocated RAM at address 0x3f00000
[    0.467084] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.472858] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.489728] io scheduler noop registered
[    0.493592] io scheduler deadline registered (default)
[    0.499891] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.508856] console [ttyLTQ0] enabled
[    0.515959] bootconsole [early0] disabled
[    0.525372] lantiq nor flash device: 00800000 at 10000000
[    0.529644] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x00007f Chip ID 0x0022cb
[    0.538603] Amd/Fujitsu Extended Query Table at 0x0040
[    0.543604]   Amd/Fujitsu Extended Query version 1.1.
[    0.548465] number of CFI chips: 1
[    0.551814] 4 ofpart partitions found on MTD device ltq_nor
[    0.557171] Creating 4 MTD partitions on "ltq_nor":
[    0.561906] 0x000000000000-0x000000010000 : "uboot"
[    0.573429] 0x000000010000-0x000000020000 : "uboot_env"
[    0.581016] 0x000000020000-0x0000007f0000 : "firmware"
[    0.629822] 2 uimage-fw partitions found on MTD device firmware
[    0.634268] 0x000000020000-0x00000019cb36 : "kernel"
[    0.642119] 0x00000019cb36-0x0000007f0000 : "rootfs"
[    0.649486] mtd: device 4 (rootfs) set to be root filesystem
[    0.653795] 1 squashfs-split partitions found on MTD device rootfs
[    0.659679] 0x000000490000-0x0000007f0000 : "rootfs_data"
[    0.668746] 0x0000007f0000-0x000000800000 : "board_config"
[    0.699586] libphy: ltq_mii: probed
[    0.794842] Registering RTL8306SDM switch with Chip ID: 0x5988, version: 0x0000
[    0.800710] eth0: attached PHY [Realtek RTL8306S] (phy_addr=1e180000.etop-ff:00, irq=-1)
[    0.810519] wdt 1f8803f0.watchdog: Init done
[    0.820129] NET: Registered protocol family 10
[    0.836958] NET: Registered protocol family 17
[    0.840016] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.852213] 8021q: 802.1Q VLAN Support v1.8
[    0.864564] fdt: not creating '/sys/firmware/fdt': CRC check failed
[    0.885013] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.898336] Freeing unused kernel memory: 1220K (8048f000 - 805c0000)
[    3.342641] init: Console is alive
[    3.345209] init: - watchdog -
[    6.144595] dwc2 1e101000.ifxhcd: requested GPIO 464
[    7.004998] dwc2 1e101000.ifxhcd: DWC OTG Controller
[    7.008522] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[    7.015686] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[    7.023254] hub 1-0:1.0: USB hub found
[    7.026354] hub 1-0:1.0: 1 port detected
[    7.041963] init: - preinit -
[    7.183121] dwc2 1e101000.ifxhcd: Overcurrent change detected
[    7.754915] dwc2 1e101000.ifxhcd: Overcurrent change detected
[    8.145555] random: procd: uninitialized urandom read (4 bytes read, 33 bits of entropy available)
[   11.712766] jffs2: notice: (372) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   11.771790] mount_root: loading kmods from internal overlay
[   14.384315] SCSI subsystem initialized
[   14.509064] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   14.518400] ehci-platform: EHCI generic platform driver
[   14.567994] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   14.574912] ohci-platform: OHCI generic platform driver
[   14.611517] uhci_hcd: USB Universal Host Controller Interface driver
[   14.676423] usbcore: registered new interface driver usb-storage
[   15.548072] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   15.559843] block: extroot: not configured
[   15.564247] mount_root: switching to jffs2 overlay
[   15.583371] urandom-seed: Seeding with /etc/urandom.seed
[   15.665488] procd: - early -
[   15.667154] procd: - watchdog -
[   16.558652] procd: - ubus -
[   16.957120] random: ubusd: uninitialized urandom read (4 bytes read, 68 bits of entropy available)
[   17.096409] random: ubusd: uninitialized urandom read (4 bytes read, 69 bits of entropy available)
[   17.104789] random: ubusd: uninitialized urandom read (4 bytes read, 69 bits of entropy available)
[   17.112727] random: ubusd: uninitialized urandom read (4 bytes read, 69 bits of entropy available)
[   17.122217] random: ubusd: uninitialized urandom read (4 bytes read, 69 bits of entropy available)
[   17.130050] random: ubusd: uninitialized urandom read (4 bytes read, 69 bits of entropy available)
[   17.139292] random: ubusd: uninitialized urandom read (4 bytes read, 69 bits of entropy available)
[   17.148751] random: ubusd: uninitialized urandom read (4 bytes read, 69 bits of entropy available)
[   17.157387] procd: - init -
[   17.759106] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[   17.800156] Lantiq TAPI device driver, version 3.13.0.2, (c) 2001-2010 Lantiq Deutschland GmbH
[   17.814564] NET: Registered protocol family 8
[   17.817503] NET: Registered protocol family 20
[   17.833195] PPP generic driver version 2.4.2
[   17.848199] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.869315] IFX MEI Version 5.00.00
[   17.916917] i2c /dev entries driver
[   17.929805] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[   18.140541] Linux video capture interface: v2.00
[   18.191121] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   18.197186] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   18.222002] Lantiq MIPS24KEc MPS driver, version 2.2.2.5, (c) 2006-2010 Lantiq Deutschland GmbH
[   18.229195] request_timer(3, 0x000001AE, 1)...successful!
[   18.234609] Lantiq VMMC device driver, version 1.9.0.3, (c) 2006-2010 Lantiq Deutschland GmbH
[   18.246825] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.261913] ATM1.0.26    ATM (A1) firmware version 0.17
[   18.265683] ifxmips_atm: ATM init succeed
[   18.307181] nf_conntrack version 0.5.0 (937 buckets, 3748 max)
[   18.378570] random: ubusd: uninitialized urandom read (4 bytes read, 74 bits of entropy available)
[   18.389577] NET: Registered protocol family 24
[   18.412777] usbcore: registered new interface driver usblp
[   18.525019] xt_time: kernel timezone is -0000
[   18.777344] usbcore: registered new interface driver uvcvideo
[   18.781632] USB Video Class driver (1.1.1)
[   18.815483] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   18.821044] rt2800pci 0000:00:0e.0: loaded eeprom from mtd device "board_config"
[   18.826956] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2860, rev 0103 detected
[   18.834470] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
[   18.842271] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   31.688767] random: nonblocking pool is initialized
[   38.075407] device eth0 entered promiscuous mode
[   38.088483] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   39.272912] br-lan: port 1(eth0) entered forwarding state
[   39.276966] br-lan: port 1(eth0) entered forwarding state
[   39.282393] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   41.280706] br-lan: port 1(eth0) entered forwarding state
[   43.257399] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[   43.536862] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.40
[   43.591341] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   43.618167] device wlan0 entered promiscuous mode
[   45.369094] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   45.374330] br-lan: port 2(wlan0) entered forwarding state
[   45.379392] br-lan: port 2(wlan0) entered forwarding state
[   47.380669] br-lan: port 2(wlan0) entered forwarding state





Problem 2 nie mam pojęcia jak zrobić downgade systemu bo teraz pluje się że poprzedni działający obraz z rozszeżeniem .image mu nie pasuje

2

Odp: EasyBox 802 LEDE i usb

Dodaj opcję -F do sysupgrade

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: EasyBox 802 LEDE i usb

Sam to podpowiadał ale się bałem że go uwalę.
Słuchaj a nie masz pomysłu na usb w tym lede ,czego tam brakuje

4

Odp: EasyBox 802 LEDE i usb

kmod-usb-dwc2 odpowiada za usb w tym 802, ale masz go wg logów.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: EasyBox 802 LEDE i usb

Trochę się wtrącę ale to samo miałem z WT3020.

Asus Merlin RT-AC86U + 2xRT-AC68U
OpenWRT rPi3+ E3372
rPi5 HA, rPi4 OH

6

Odp: EasyBox 802 LEDE i usb

edass napisał/a:

Trochę się wtrącę ale to samo miałem z WT3020.

Inne urządzenie, inna architektura. Nie mieszaj tych dwóch rzeczy.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: EasyBox 802 LEDE i usb

7.183121] dwc2 1e101000.ifxhcd: Overcurrent change detected
[    7.754915] dwc2 1e101000.ifxhcd: Overcurrent change detected

Nie znam tego sprzętu ale czy to nie jakieś przeciążenie portu?

8 (edytowany przez Scotch 2017-03-03 15:49:56)

Odp: EasyBox 802 LEDE i usb

Jest zgłoszony bug: https://bugs.lede-project.org/index.php … ask_id=351
W przypadku Lantiq-ów xrx200 też były problemy z USB po przejściu na dwc2 (Chaos Calmer).

9

Odp: EasyBox 802 LEDE i usb

Akurat trafiłem na ten sam problem, obecnie wersja z e snapshota działa poprawnie
Testowałem poniższy:
http://downloads.lede-project.org/snaps … pgrade.bin

A release z ponizszego mi nie zadziałał i dalej nie widzi żadnego urządzenia:
http://downloads.lede-project.org/relea … pgrade.bin

Scotch napisał/a:

Jest zgłoszony bug: https://bugs.lede-project.org/index.php … ask_id=351
W przypadku Lantiq-ów xrx200 też były problemy z USB po przejściu na dwc2 (Chaos Calmer).

10 (edytowany przez santaclaus21 2017-09-20 21:45:37)

Odp: EasyBox 802 LEDE i usb

Oby Wam działał ten snapshot, ponieważ kilka miesięcy wstecz, kiedy męczyłem się z tym routerem - nie było LEDE na ten model z działającym USB. Gdyby ktoś był zainteresowany przywróceniem CC z działającym WiFi (z którym tam był problem) - mogę przekazać obrazy wszystkich partycji (tu był wątek: https://eko.one.pl/forum/viewtopic.php?id=15570).

Generalnie, okazało się w moim przypadku, że pomimo iż działało WiFi, działało USB.. router potrafił mi się zresetować częściej niż raz dziennie z modemem LTE MF823. Miałem dwa urządzenia i na obu były podobne cyrki.
Sprzedałem za czapkę gruszek i kupiłem kolejnego TPLinka (a do nich cała masa obrazów od Cezarego i nie tylko).

11 (edytowany przez Zuzia 2018-07-24 06:15:45)

Odp: EasyBox 802 LEDE i usb

spoksss napisał/a:

Akurat trafiłem na ten sam problem, obecnie wersja z e snapshota działa poprawnie
Testowałem poniższy:
http://downloads.lede-project.org/snaps … pgrade.bin

Link nieaktualny więc odświeżę trochę. Najświeższa wersja LEDE 17.01.5 (r3919-38e704be71) z 16.07.2018 jest w porządku:
http://downloads.openwrt.org/releases/1 … pgrade.bin
Suma kontrolna: 110d9340a899efeeb660582381797af3cb6c069caf9391c006a9b58fe8c18324

WiFI, USB, modemy 3G/4G - wszystko działa stabilnie. Domyślnie jest wbudowana obsługa ADSL, ale nie sprawdzałam tego. Po instalacji trzeba sobie zmienić konfigurację sieci z ADSL, moja z obsługą portu TV-LAN jako WAN oraz modemów 3G/4G, IPv6 wyłączone:

cat /etc/config/network

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'
    option ipv6 '0'

config globals 'globals'

config interface 'lan'
    option type 'bridge'
    option proto 'static'
    option netmask '255.255.255.0'
    option ipv6 '0'
    option ifname 'eth0.1'
    option ipaddr '192.168.1.1'
    option delegate '0'

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 5t'

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option ports '4 5t'

config interface 'wan'
    option proto 'dhcp'
    option ifname 'eth0.2'
    option dns '1.1.1.1 8.8.4.4'
    option peerdns '0'
    option ipv6 '0'
    option delegate '0'
    option type 'bridge'

config interface 'modem'
    option proto 'dhcp'
    option ifname 'eth1'
    option ipv6 '0'
    option delegate '0'

config interface 'wwan'
    option proto 'dhcp'
    option ifname 'usb0'
    option ipv6 '0'
    option delegate '0'

PS. Udostępniłam swój obraz z obsługą USB: http://eko.one.pl/forum/viewtopic.php?p … 55#p207055