Seguridad Wireless - Wifi

Equipos y materiales => Puntos de acceso, routers, switchs y bridges => Openwrt & LEDE => Mensaje iniciado por: kaitak en 29-08-2014, 22:14 (Viernes)

Título: xrx200 switch problema ajuda
Publicado por: kaitak en 29-08-2014, 22:14 (Viernes)
Hola.

Apologies as usual for the anglès!  ;D

Having problems trying to get the Lantiq XRX200 Switch working on the eci r {VG3503J} .Another eci /r user on Kitz has also reported the same.

Its seems the Vlan will not enable ?

root@OpenWrt:/# swconfig dev switch0 set enable_vlan 1
root@OpenWrt:/# swconfig dev switch0 set apply

Código: [Seleccionar]
Global attributes:
        enable_vlan: 0



Código: [Seleccionar]
root@OpenWrt:/# swconfig dev switch0 help
switch0: eth0(Lantiq XRX200 Switch), ports: 7 (cpu @ 6), vlans: 64
     --switch
        Attribute 1 (int): enable_vlan (Enable VLAN mode)
        Attribute 2 (none): apply (Activate changes in the hardware)
        Attribute 3 (none): reset (Reset the switch)
     --vlan
        Attribute 1 (int): vid (VLAN ID (0-4094))
        Attribute 2 (int): enable (Enable VLAN)
        Attribute 3 (ports): ports (VLAN port mapping)
     --port
        Attribute 1 (int): uvr (Unknown VLAN Rule)
        Attribute 2 (int): vsr (VLAN Security Rule)
        Attribute 3 (int): vinr (VLAN Ingress Tag Rule)
        Attribute 4 (int): tvm (Transparent VLAN Mode)
        Attribute 5 (int): pvid (Primary VLAN ID)
        Attribute 6 (string): link (Get port link information)

root@OpenWrt:/# swconfig dev switch0 show
Global attributes:
        enable_vlan: 0
Port 0:
        uvr: 0
        vsr: 0
        vinr: 0
        tvm: 0
        pvid: 1
        link: port:0 link:down
Port 1:
        uvr: 0
        vsr: 0
        vinr: 0
        tvm: 0
        pvid: 1
        link: port:1 link:down
Port 2:
        uvr: 0
        vsr: 0
        vinr: 0
        tvm: 0
        pvid: 1
        link: port:2 link:up speed:100baseT full-duplex auto
Port 3:
        uvr: 0
        vsr: 0
        vinr: 0
        tvm: 0
        pvid: 1
        link: port:3 link:down
Port 4:
        uvr: 0
        vsr: 0
        vinr: 0
        tvm: 0
        pvid: 1
        link: port:4 link:up speed:100baseT full-duplex auto
Port 5:
        uvr: 0
        vsr: 0
        vinr: 0
        tvm: 0
        pvid: 1
        link: port:5 link:down
Port 6:
        uvr: 0
        vsr: 0
        vinr: 0
        tvm: 0
        pvid: 1
        link: port:6 link:up speed:1000baseT full-duplex auto
VLAN 1:
        vid: 1
        enable: 1
        ports: 0 1 2 3 4 5 6



Boot log if it helps?
Código: [Seleccionar]
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019556 (MIPS 34Kc)
[    0.000000] MIPS: machine is VG3503J - BT OpenReach VDSL Modem
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    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: 8128
[    0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=0003062c
[    0.000000] Readback ErrCtl register=0003062c
[    0.000000] Memory: 27928k/32768k available (3022k kernel code, 4840k reserved, 1023k
data, 232k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] pinctrl core: initialized pinctrl subsystem
[    0.052000] NET: Registered protocol family 16
[    0.068000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.072000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.080000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.104000] bio: create slab <bio-0> at 0
[    0.112000] usbcore: registered new interface driver usbfs
[    0.116000] usbcore: registered new interface driver hub
[    0.120000] usbcore: registered new device driver usb
[    0.124000] Switching to clocksource MIPS
[    0.132000] NET: Registered protocol family 2
[    0.140000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.144000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.152000] TCP: Hash tables configured (established 512 bind 512)
[    0.156000] TCP: reno registered
[    0.160000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.168000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.172000] NET: Registered protocol family 1
[    0.180000] gptu: totally 6 16-bit timers/counters
[    0.184000] gptu: misc_register on minor 63
[    0.188000] gptu: succeeded to request irq 126
[    0.192000] gptu: succeeded to request irq 127
[    0.196000] gptu: succeeded to request irq 128
[    0.200000] gptu: succeeded to request irq 129
[    0.208000] gptu: succeeded to request irq 130
[    0.212000] gptu: succeeded to request irq 131
[    0.220000] phy-xrx200 gphy-xrx200.7: requesting lantiq/vr9_phy11g_a2x.bin
[    0.228000] phy-xrx200 gphy-xrx200.7: booting GPHY0 firmware at 18C0000
[    0.232000] phy-xrx200 gphy-xrx200.7: booting GPHY1 firmware at 18C0000
[    0.344000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.352000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c)
2001-2006 Red Hat, Inc.
[    0.360000] msgmni has been set to 54
[    0.368000] io scheduler noop registered
[    0.372000] io scheduler deadline registered (default)
[    0.376000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112) is a lantiq,asc
[    0.384000] console [ttyLTQ0] enabled, bootconsole disabled
[    0.384000] console [ttyLTQ0] enabled, bootconsole disabled
[    0.400000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2
Chip ID 0x0022cb
[    0.408000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.412000]   Amd/Fujitsu Extended Query version 1.1.
[    0.420000] number of CFI chips: 1
[    0.420000] 8 ofpart partitions found on MTD device ltq_nor
[    0.428000] Creating 8 MTD partitions on "ltq_nor":
[    0.432000] 0x000000000000-0x000000020000 : "uboot"
[    0.440000] 0x000000020000-0x0000001a0000 : "kernel"
[    0.448000] 0x0000001a0000-0x000000740000 : "rootfs"
[    0.452000] mtd: device 2 (rootfs) set to be root filesystem
[    0.456000] mtd: partition "rootfs_data" created automatically, ofs=0x3f0000, len=0x350000
[    0.464000] 0x0000003f0000-0x000000740000 : "rootfs_data"
[    0.472000] 0x000000740000-0x0000007c0000 : "btagent"
[    0.480000] 0x0000007c0000-0x0000007d0000 : "pri_bfocus_cfg"
[    0.488000] 0x0000007d0000-0x0000007e0000 : "sec_bfocus_cfg"
[    0.496000] 0x0000007e0000-0x0000007f0000 : "sysconfig"
[    0.500000] 0x0000007f0000-0x000000800000 : "misc_cfg"
[    0.620000] libphy: lantiq,xrx200-mdio: probed
[    0.628000] net-xrx200: invalid MAC, using random
[    0.632000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    0.640000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    0.648000] wdt 1f8803f0.watchdog: Init done
[    0.652000] leds-gpio gpio-leds.6: pins are not configured from the driver
[    0.664000] TCP: cubic registered
[    0.668000] NET: Registered protocol family 17
[    0.672000] 8021q: 802.1Q VLAN Support v1.8
[    0.684000] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[    0.696000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.704000] Freeing unused kernel memory: 232K (803f6000 - 80430000)
procd: Console is alive
procd: - watchdog -
procd: - preinit -
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
[    5.772000] eth0: port 4 got link
jffs2 is not ready - marker found
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[    9.556000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH

[    9.668000] NET: Registered protocol family 10
[    9.680000] NET: Registered protocol family 8
[    9.680000] NET: Registered protocol family 20
[    9.696000] PPP generic driver version 2.4.2
[    9.716000] nf_conntrack version 0.5.0 (440 buckets, 1760 max)
[    9.728000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.756000] MEI CPE Driver, Version 1.2.1

[    9.756000] (c) Copyright 2009, Infineon Technologies AG
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###


Lantiq CPE API Driver version: DSL CPE API V4.11.11
[    9.788000]
[    9.788000] Predefined debug level: 2
[    9.800000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.840000] NET: Registered protocol family 24
[    9.876000] xt_time: kernel timezone is -0000
[   18.232000] PTM 1.0.27    PTM (E1) firmware version 0.30
[   18.236000] ifxmips_ptm: PTM init succeed
[   21.648000] device eth0 entered promiscuous mode
[   21.660000] br-lan: port 1(eth0) entered forwarding state
[   21.664000] br-lan: port 1(eth0) entered forwarding state
[   23.668000] br-lan: port 1(eth0) entered forwarding state
[   24.372000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   24.384000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   24.388000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[   57.420000] jffs2: notice: (867) jffs2_build_xattr_subsystem: complete building xattr
subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
procd: - init complete -



BusyBox v1.22.1 (2014-08-23 23:54:38 BST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 CHAOS CALMER (Bleeding Edge, r42263)
 -----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
 -----------------------------------------------------
root@OpenWrt:/#

Any help, pointers or ideas would be greatly appreciated!
Saludos :)
Título: Re: xrx200 switch problema ajuda
Publicado por: kaitak en 29-08-2014, 23:59 (Viernes)

Would a printenv be useful ?
Código: [Seleccionar]
f_uboot_addr=0xB0000000
f_uboot_size=0x00020000
f_ubootconfig_addr=0xB07F0000
f_ubootconfig_size=0x0000F000
f_ubootconfig_end=0xB07FEFFF
f_pri_img_addr=0xB0020000
f_pri_img_size=0x390000
f_pri_img_end=0xB03AFFFF
f_pri_kernel_addr=0xB0020000
f_pri_kernel_size=0x100000
f_pri_kernel_end=0xB011FFFF
f_pri_rootfs_addr=0xB0120000
f_pri_rootfs_size=0x00290000
f_pri_rootfs_end=0xB03AFFFF
f_sec_img_addr=0xB03B0000
f_sec_img_size=0x390000
f_sec_img_end=0xB073FFFF
f_sec_kernel_addr=0xB03B0000
f_sec_kernel_size=0x00100000
f_sec_kernel_end=0xB04AFFFF
f_sec_rootfs_addr=0xB04B0000
f_sec_rootfs_size=0x00290000
f_sec_rootfs_end=0xB073FFFF
f_btagent_addr=0xB0740000
f_btagent_size=0x00080000
f_btagent_end=0xB07BFFFF
f_pri_bfocus_cfg_addr=0xB07C0000
f_pri_bfocus_cfg_size=0x00010000
f_pri_bfocus_cfg_end=0xB07CFFFF
f_sec_bfocus_cfg_addr=0xB07D0000
f_sec_bfocus_cfg_size=0x00010000
f_sec_bfocus_cfg_end=0xB07DFFFF
f_all_flash_addr=0xB0000000
f_all_flash_size=0x00800000
f_all_flash_end=0xB07FFFFF
f_sysconfig_addr=0xB07E0000
f_sysconfig_size=0x00010000
f_fwdiag_addr=0xB07FF000
f_fwdiag_size=0x400
f_calibration_addr= IFX_CFG_FLASH_CALIBRATION_START_ADDR
f_calibration_size=IFX_CFG_FLASH_CALIBRATION_CFG_SIZE
f_ddrconfig_addr=0xB07FF400
f_ddrconfig_size=0x100
f_ddrconfig_end=0xB07FF4FF
ethact=vr9 Switch
ethaddr=XXXXXXXXXXXXXX <-my edit
init=/etc/preinit vpe1_load_addr=0x81f00000
vpe1_mem=1M ethwan= commit_img=1 LD_LIB
Título: Re: xrx200 switch problema ajuda
Publicado por: Pteridium en 30-08-2014, 12:00 (Sábado)
Let me test something in an ARV7519rw, but i think that the solution will be modify the dts to config the integrated PHYs as eth0 and eth1. I am not sure that this will work.

U-boot is not related with your problem.
Título: Re: xrx200 switch problema ajuda
Publicado por: kaitak en 30-08-2014, 13:04 (Sábado)
Thanks  Pteridium for taking a look.

I've also played around changing the phys rmiii  rgmii, gmii and back to mii.

Then  tried alternating between  phy11g & phy22f  and changing the phy reg's.

Then moved on to trying the extra interface eth1.

The posts on dts /boot logs for the ARV7519/dts  have been a great help as the boards look very similar.

The ecr /r  VG3503J   only has the psb80190el (no separate pef7072 chip) I'm not sure, on the single rgmii option?  Tried anyway , but  no luck so far.

Thanks :)
Título: Re: xrx200 switch problema ajuda
Publicado por: Pteridium en 01-09-2014, 20:43 (Lunes)
In this link there are firms for both versions of the VG3503J:
http://www.mediafire.com/download/p32p0956bb66hhi/VG3503J.xz
Instead of vlan support should be two eth interfaces (eth0 and eth1).
Of course these firms have to be tested, and if they works as expected, i'll send you the patches.

Note: the bootloader in the VG3503J makes the cpu run at 333MHz instead 500MHz. Ask somebody to make a bootloader that sets cpu speed to its maximum achievable speed; there are difference in performance, but it will run hotter.
Título: Re: xrx200 switch problema ajuda
Publicado por: kaitak en 01-09-2014, 20:45 (Lunes)
Thanks for such quick work!

Título: Re: xrx200 switch problema ajuda
Publicado por: Pteridium en 01-09-2014, 20:48 (Lunes)
Thanks for such quick work!

Give the thanks if the firm works.  ;)
Título: Re: xrx200 switch problema ajuda
Publicado por: kaitak en 01-09-2014, 21:55 (Lunes)
Just tried the VG3503J v2 image :)

Seems fine so far :)

Here's the boot log.
Código: [Seleccionar]
CLOCK CPU 333M RAM 166M
DRAM:  32 MiB
Flash: 8 MiB
In:    serial
Out:   serial
Err:   serial
Net:   Internal phy(GE) firmware version: 0x0405
vr9 Switch
Using vr9 Switch device



OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80002000...

[    0.000000] SoC: VR9 rev 1.2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019556 (MIPS 34Kc)
[    0.000000] MIPS: machine is VG3503J - BT OpenReach VDSL Modem
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=0003062c
[    0.000000] Readback ErrCtl register=0003062c
[    0.000000] Memory: 27932k/32768k available (3050k kernel code, 4836k reserved, 1014k data, 212k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] pinctrl core: initialized pinctrl subsystem
[    0.052000] NET: Registered protocol family 16
[    0.072000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.076000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.084000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.296000] ifx_pcie_wait_phy_link_up timeout
[    0.508000] ifx_pcie_wait_phy_link_up timeout
[    0.720000] ifx_pcie_wait_phy_link_up timeout
[    0.932000] ifx_pcie_wait_phy_link_up timeout
[    1.144000] ifx_pcie_wait_phy_link_up timeout
[    1.148000] pcie_rc_initialize link up failed!!!!!
[    1.172000] bio: create slab <bio-0> at 0
[    1.180000] usbcore: registered new interface driver usbfs
[    1.184000] usbcore: registered new interface driver hub
[    1.188000] usbcore: registered new device driver usb
[    1.192000] Switching to clocksource MIPS
[    1.200000] NET: Registered protocol family 2
[    1.208000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    1.212000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    1.220000] TCP: Hash tables configured (established 512 bind 512)
[    1.228000] TCP: reno registered
[    1.228000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.236000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.244000] NET: Registered protocol family 1
[    1.248000] gptu: totally 6 16-bit timers/counters
[    1.252000] gptu: misc_register on minor 63
[    1.256000] gptu: succeeded to request irq 126
[    1.260000] gptu: succeeded to request irq 127
[    1.264000] gptu: succeeded to request irq 128
[    1.272000] gptu: succeeded to request irq 129
[    1.276000] gptu: succeeded to request irq 130
[    1.280000] gptu: succeeded to request irq 131
[    1.288000] phy-xrx200 gphy-xrx200.7: requesting lantiq/vr9_phy22f_a2x.bin
[    1.296000] phy-xrx200 gphy-xrx200.7: booting GPHY0 firmware at 18C0000
[    1.304000] phy-xrx200 gphy-xrx200.7: booting GPHY1 firmware at 18C0000
[    1.416000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.420000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.432000] msgmni has been set to 54
[    1.436000] io scheduler noop registered
[    1.440000] io scheduler deadline registered (default)
[    1.448000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112) is a lantiq,asc
[    1.456000] console [ttyLTQ0] enabled, bootconsole disabled
[    1.456000] console [ttyLTQ0] enabled, bootconsole disabled
[    1.468000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    1.480000] Amd/Fujitsu Extended Query Table at 0x0040
[    1.484000]   Amd/Fujitsu Extended Query version 1.1.
[    1.488000] number of CFI chips: 1
[    1.492000] 8 ofpart partitions found on MTD device ltq_nor
[    1.496000] Creating 8 MTD partitions on "ltq_nor":
[    1.500000] 0x000000000000-0x000000020000 : "uboot"
[    1.508000] 0x000000020000-0x0000001a0000 : "kernel"
[    1.516000] 0x0000001a0000-0x000000740000 : "rootfs"
[    1.524000] mtd: device 2 (rootfs) set to be root filesystem
[    1.528000] mtd: partition "rootfs_data" created automatically, ofs=0x680000, len=0xc0000
[    1.536000] 0x000000680000-0x000000740000 : "rootfs_data"
[    1.544000] 0x000000740000-0x0000007c0000 : "btagent"
[    1.552000] 0x0000007c0000-0x0000007d0000 : "pri_bfocus_cfg"
[    1.560000] 0x0000007d0000-0x0000007e0000 : "sec_bfocus_cfg"
[    1.564000] 0x0000007e0000-0x0000007f0000 : "sysconfig"
[    1.572000] 0x0000007f0000-0x000000800000 : "misc_cfg"
[    1.688000] libphy: lantiq,xrx200-mdio: probed
[    1.696000] net-xrx200: invalid MAC, using random
[    1.700000] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:11, irq=-1)
[    1.708000] net-xrx200: invalid MAC, using random
[    1.712000] eth1: attached PHY [Lantiq XWAY XRX PHY22F v1.4] (phy_addr=0:13, irq=-1)
[    1.724000] wdt 1f8803f0.watchdog: Init done
[    1.728000] leds-gpio gpio-leds.6: pins are not configured from the driver
[    1.736000] TCP: cubic registered
[    1.740000] NET: Registered protocol family 17
[    1.744000] 8021q: 802.1Q VLAN Support v1.8
[    1.756000] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[    1.772000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.776000] Freeing unused kernel memory: 212K (803fb000 - 80430000)
procd: Console is alive
procd: - watchdog -
[    3.852000] eth1: port 4 got link
procd: - preinit -
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
jffs2 is not ready - marker found
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[   11.672000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH

[   11.788000] NET: Registered protocol family 10
[   11.808000] NET: Registered protocol family 8
[   11.812000] NET: Registered protocol family 20
[   11.864000] RPC: Registered named UNIX socket transport module.
[   11.868000] RPC: Registered udp transport module.
[   11.872000] RPC: Registered tcp transport module.
[   11.876000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   11.916000] PPP generic driver version 2.4.2
[   11.936000] nf_conntrack version 0.5.0 (439 buckets, 1756 max)
[   11.948000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.976000] MEI CPE Driver, Version 1.2.0

[   11.976000] (c) Copyright 2009, Infineon Technologies AG
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###

[   12.012000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.048000] NET: Registered protocol family 24
[   12.056000] usbip_core: USB/IP Core v1.0.0
[   12.068000] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller
[   12.072000] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 1
[   12.096000] hub 1-0:1.0: USB hub found
[   12.096000] hub 1-0:1.0: 8 ports detected
[   12.104000] vhci_hcd: USB/IP 'Virtual' Host Controller (VHCI) Driver v1.0.0
[   12.152000] xt_time: kernel timezone is -0000
[   20.124000] PTM 1.0.27    PTM (E1) firmware version 0.30
[   22.220000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   32.748000] jffs2: notice: (968) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
procd: - init complete -



BusyBox v1.22.1 (2014-09-01 18:47:45 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Barrier Breaker, r42068)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/#

Código: [Seleccionar]
ifconfig
root@OpenWrt:/# ifconfig
br-Internet Link encap:Ethernet  HWaddr XXXX
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr XXXXX
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::9072:f7ff:fe75:8ecf/64 Scope:Link
          inet6 addr: fd40:2aef:796c::1/60 Scope:Global
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:3308 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2562 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:328548 (320.8 KiB)  TX bytes:1195803 (1.1 MiB)

eth1      Link encap:Ethernet  HWaddr XXXXX
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:414 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:70987 (69.3 KiB)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:6202 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6202 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:421709 (411.8 KiB)  TX bytes:421709 (411.8 KiB)




Your patched dtsi files would be great !

Uboot mod sounds interesting.

Thanks!

Saludos :)
Título: Re: xrx200 switch problema ajuda
Publicado por: kaitak en 10-09-2014, 18:13 (Miércoles)
Seems ok on the v1 as well :)

Let me know if you need a boot log for the v1 as well ?

Thanks Pteridium!

Saludos :)