OpenWrt Forum Archive

Topic: P-2812HNU-FX: getting OpenWrt installed

The content of this topic has been archived between 6 Jun 2015 and 5 May 2018. Unfortunately there are posts – most likely complete pages – missing.

calvxrr wrote:

Hi,
I'm trying to gather all info into one complete how-to for f3. Could you correct me if I'm wrong?

Installing u-boot
1. Power off router.
2. Short R17, turn on router to get into CFG 02.
3. Send openwrt-lantiq-p2812hnufx_ram-u-boot.asc to the router.
    Is this file from scapi pre-build f3 dropbox ok?

dropbox is ok, BB images on github have some problems with wifi for F3 (I'll correct them soon, master is working ok(CC 3.14 kernel))

calvxrr wrote:

4. Wait for U-Boot to load and stop auto-boot process.
    I understand router goes to reboot, and I have to hit the key to stop autoboot
5. Type in console: protect off all
6. Type in console: erase all
7. Set Your IP addres to "192.168.1.2" and start tftp server
8. Place openwrt-lantiq-p2812hnufx_nor-u-boot.img in tftp folder.
    Do I put NOR uboot.img or RAM uboot.img from scapi pre-build f3 github?
9. Type in console: tftp 0x80700000 openwrt-lantiq-p2812hnufx_nor-u-boot.img. See point 8 NOR or RAM?

NOR for flashing

calvxrr wrote:

10. Type in console: cp.b 0x80700000 0xb0000000 0x{filesize in hex}
      What value in hex do I put there?
11. Turn off router. Turn on.

BTW. What is the difference beetween steps mentioned above and this:
https://www.dropbox.com/sh/9aup68dv6oq5 … t.txt?dl=0

------------------

Installing OpenWRT
All steps from here?
http://wiki.openwrt.org/toh/zyxel/p2812hnu-f3

Only diference is UBI partition (on new images there is mtd4 on older(dropbox) mtd5))

Thanks scapi.
And the last question. What is the difference between shorting only R17 and shorting R24 and R15?

Different boot_sel setting one with nor flash other without it.

Hi,
I've already installed uboot and openwrt from wiki. Installation went ok. I'm logging via eht to ssh.
But now I dont see my wlan.

br-lan    Link encap:Ethernet  HWaddr 16:DE:83:F5:90:53  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::14de:83ff:fef5:9053/64 Scope:Link
          inet6 addr: fdc2:744a:8306::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8355 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8908 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:867032 (846.7 KiB)  TX bytes:3600148 (3.4 MiB)

eth0      Link encap:Ethernet  HWaddr 16:DE:83:F5:90:53  
          inet6 addr: fe80::14de:83ff:fef5:9053/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8461 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8852 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1094005 (1.0 MiB)  TX bytes:3673676 (3.5 MiB)

eth0.1    Link encap:Ethernet  HWaddr 16:DE:83:F5:90:53  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8445 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8845 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:873102 (852.6 KiB)  TX bytes:3594050 (3.4 MiB)

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:16224 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16224 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1103904 (1.0 MiB)  TX bytes:1103904 (1.0 MiB)

Log from system:

ROM VER: ÉHˆř

U-Boot 2014.01-openwrt2 (Nov 15 2014 - 14:05:27) P-2812HNU-Fx

Board: ZyXEL P-2812HNU-Fx
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NOR
DRAM:  128 MiB
Flash: 8 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x0, size 0x200000
 2097152 bytes read: OK
## Booting kernel from Legacy Image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.6
   Created:      2015-02-10  21:24:33 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1631904 Bytes = 1.6 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.6 (sylwek@WRT) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44367) ) #5 Tue Feb 10 22:22:40 CET 2015
[    0.000000] SoC: VR9 rev 1.1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[    0.000000] MIPS: machine is P2812HNUF3 - ZyXEL P-2812HNU-F3
[    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 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    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=00024202
[    0.000000] Readback ErrCtl register=00024202
[    0.000000] Memory: 124780K/131072K available (3494K kernel code, 147K rwdata, 1024K rodata, 180K init, 206K bss, 6292K reserved)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 500MHz
[    0.000000] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.032000] pid_max: default: 32768 minimum: 301
[    0.036000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.040000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.044000] pinctrl core: initialized pinctrl subsystem
[    0.048000] NET: Registered protocol family 16
[    0.056000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.060000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.064000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.068000] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.072000]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.076000]   IO 0x000000001ae00000..0x000000001affffff
[    0.200000] gpio-stp-xway 1e100bb0.stp: Init done
[    0.204000] usbcore: registered new interface driver usbfs
[    0.208000] usbcore: registered new interface driver hub
[    0.212000] usbcore: registered new device driver usb
[    0.216000] PCI host bridge to bus 0000:00
[    0.220000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.224000] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.228000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.232000] PCI host bridge to bus 0000:01
[    0.236000] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff]
[    0.240000] pci_bus 0000:01: root bus resource [io  0x1d800000-0x1d8fffff]
[    0.244000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.248000] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[    0.260000] ifx_pcie_fixup_resource: fixup host controller 0000:01:00.0 (15d1:0011)
[    0.264000] pci 0000:01:00.0: Primary bus is hard wired to 0
[    0.268000] pci 0000:01:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
[    0.272000] pci 0000:01:00.0: PCI bridge to [bus 02]
[    0.276000] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[    0.280000] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[    0.284000] Switched to clocksource MIPS
[    0.288000] NET: Registered protocol family 2
[    0.292000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.300000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.308000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.312000] TCP: reno registered
[    0.316000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.320000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.328000] NET: Registered protocol family 1
[    0.332000] gptu: totally 6 16-bit timers/counters
[    0.336000] gptu: misc_register on minor 63
[    0.344000] gptu: succeeded to request irq 126
[    0.348000] gptu: succeeded to request irq 127
[    0.352000] gptu: succeeded to request irq 128
[    0.356000] gptu: succeeded to request irq 129
[    0.360000] gptu: succeeded to request irq 130
[    0.364000] gptu: succeeded to request irq 131
[    0.368000] ralink,eeprom ralink_eep: using RT3092.eeprom as eeprom
[    0.376000] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a1x.bin
[    0.384000] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7940000
[    0.388000] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7940000
[    0.496000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.528000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.532000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.544000] msgmni has been set to 243
[    0.548000] io scheduler noop registered
[    0.552000] io scheduler deadline registered (default)
[    0.556000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.564000] console [ttyLTQ0] enabled
[    0.564000] console [ttyLTQ0] enabled
[    0.572000] bootconsole [early0] disabled
[    0.572000] bootconsole [early0] disabled
[    0.584000] lantiq nor flash device: 00800000 at 10000000
[    0.588000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.596000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.600000]   Amd/Fujitsu Extended Query version 1.1.
[    0.604000] number of CFI chips: 1
[    0.608000] 3 ofpart partitions found on MTD device ltq_nor
[    0.616000] Creating 3 MTD partitions on "ltq_nor":
[    0.620000] 0x000000000000-0x000000050000 : "uboot"
[    0.624000] 0x000000050000-0x000000060000 : "uboot-env"
[    0.632000] 0x000000060000-0x000000800000 : "unused"
[    0.636000] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    0.636000] nand: Samsung NAND 128MiB 3,3V 8-bit
[    0.636000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    0.652000] Scanning device for bad blocks
[    0.740000] 2 ofpart partitions found on MTD device 14000000.nand-parts
[    0.744000] Creating 2 MTD partitions on "14000000.nand-parts":
[    0.752000] 0x000000000000-0x000000200000 : "kernel"
[    0.756000] 0x000000200000-0x000008000000 : "ubi"
[    0.864000] libphy: lantiq,xrx200-mdio: probed
[    0.884000] net-xrx200: invalid MAC, using random
[    0.948000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:00, irq=-1)
[    1.016000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:01, irq=-1)
[    1.084000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    1.152000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    1.220000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:05, irq=-1)
[    1.228000] wdt 1f8803f0.watchdog: Init done
[    1.232000] TCP: cubic registered
[    1.232000] NET: Registered protocol family 17
[    1.240000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.252000] Bridge firewalling registered
[    1.256000] 8021q: 802.1Q VLAN Support v1.8
[    1.264000] UBI: auto-attach mtd4
[    1.264000] UBI: attaching mtd4 to ubi0
[    1.456000] UBI: scanning is finished
[    1.468000] UBI: attached mtd4 (name "ubi", size 126 MiB) to ubi0
[    1.476000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    1.480000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    1.488000] UBI: VID header offset: 512 (aligned 512), data offset: 2048
[    1.496000] UBI: good PEBs: 1008, bad PEBs: 0, corrupted PEBs: 0
[    1.500000] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    1.508000] UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 199074563
[    1.516000] UBI: available PEBs: 0, total reserved PEBs: 1008, PEBs reserved for bad PEB handling: 20
[    1.524000] UBI: background thread "ubi_bgt0d" sta[    1.552000] UBIFS: background thread "ubifs_bgt0_0" started, PID 245
[    1.580000] UBIFS: recovery needed
[    1.696000] UBIFS: recovery completed
[    1.696000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    1.704000] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    1.712000] UBIFS: FS size: 125540352 bytes (119 MiB, 973 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs)
[    1.724000] UBIFS: reserved for root: 0 bytes (0 KiB)
[    1.728000] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 75972139-A04E-4250-92A0-2E97F51DCDD9, small LPT model
[    1.740000] VFS: Mounted root (ubifs filesystem) on device 0:11.
[    1.744000] Freeing unused kernel memory: 180K (80493000 - 804c0000)
procd: Console is alive
procd: - watchdog -
[    2.112000] SCSI subsystem initialized
[    2.136000] IFXUSB: ifxusb_hcd: version 3.2 B110801
[    2.140000] Chip Version :01c0 BurstSize=0
[    2.744000] IFXUSB: USB core #0 soft-reset
[    3.048000] IFXUSB: USB core #0 soft-reset
[    3.052000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[    3.056000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1
[    3.064000] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000
[    3.068000] IFXUSB: Init: Power Port (0)
[    3.076000] hub 1-0:1.0: USB hub found
[    3.076000] hub 1-0:1.0: 1 port detected
[    3.580000] IFXUSB: USB core #1 soft-reset
[    3.884000] IFXUSB: USB core #1 soft-reset
[    3.888000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[    3.892000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 2
[    3.900000] ifxusb_hcd ifxusb_hcd: irq 91, io mem 0xbe106000
[    3.904000] IFXUSB: Init: Power Port (0)
[    3.912000] hub 2-0:1.0: USB hub found
[    3.912000] hub 2-0:1.0: 1 port detected
[    3.916000] ifxusb_hcd ifxusb_hcd: requested GPIO 489
[    3.932000] usbcore: registered new interface driver usb-storage
procd: - preinit -
[    4.248000] random: mktemp urandom read with 16 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
mounting /dev/root
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[    9.756000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH

[    9.864000] NET: Registered protocol family 10
[    9.884000] NET: Registered protocol family 8
[    9.888000] NET: Registered protocol family 20
[    9.904000] PPP generic driver version 2.4.2
[    9.920000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.964000] MEI CPE Driver, Version 1.2.0

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


Lantiq CPE API Driver version: DSL CPE API V4.11.4
[   10.024000]
[   10.024000] Predefined debug level: 2
[   10.036000] Loading modules backported from Linux version master-2014-11-04-0-gf3660a2
[   10.044000] Backport generated by backports.git backports-20141023-2-g4ff890b
[   10.056000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.068000] Infineon Technologies DEU driver version 2.0.0
[   10.076000] IFX DEU DES initialized (multiblock).
[   10.080000] IFX DEU AES initialized (multiblock).
[   10.084000] IFX DEU ARC4 initialized (multiblock).
[   10.088000] IFX DEU SHA1 initialized.
[   10.092000] IFX DEU MD5 initialized.
[   10.096000] IFX DEU SHA1_HMAC initialized.
[   10.100000] IFX DEU MD5_HMAC initialized.
[   10.124000] nf_conntrack version 0.5.0 (1952 buckets, 7808 max)
[   10.152000] NET: Registered protocol family 24
[   10.160000] usbcore: registered new interface driver ums-alauda
[   10.164000] usbcore: registered new interface driver ums-cypress
[   10.172000] usbcore: registered new interface driver ums-datafab
[   10.180000] usbcore: registered new interface driver ums-freecom
[   10.188000] usbcore: registered new interface driver ums-isd200
[   10.192000] usbcore: registered new interface driver ums-jumpshot
[   10.200000] usbcore: registered new interface driver ums-karma
[   10.208000] usbcore: registered new interface driver ums-sddr09
[   10.216000] usbcore: registered new interface driver ums-sddr55
[   10.224000] usbcore: registered new interface driver ums-usbat
[   10.232000] usbcore: registered new interface driver usblp
[   10.244000] usbcore: registered new interface driver usbserial
[   10.248000] usbcore: registered new interface driver usbserial_generic
[   10.256000] usbserial: USB Serial support registered for generic
[   10.280000] xt_time: kernel timezone is -0000
[   10.360000] cfg80211: Calling CRDA to update world regulatory domain
[   10.372000] cfg80211: World regulatory domain updated:
[   10.376000] cfg80211:  DFS Master region: unset
[   10.380000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   10.388000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.396000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.404000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   10.412000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   10.420000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   10.432000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   10.440000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   10.448000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
/etc/rc.common: line 138: esi: not found
[   14.136000] PTM 1.0.27    PTM (E1) firmware version 0.30
[   14.140000] ifxmips_ptm: PTM init succeed
[   16.180000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.196000] device eth0.1 entered promiscuous mode
[   16.200000] device eth0 entered promiscuous mode
[   16.216000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
procd: - init complete -
[   31.852000] random: nonblocking pool is initialized


BusyBox v1.22.1 (2015-02-10 16:03:09 CET) 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, r44367)
 -----------------------------------------------------
  * 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:/#

root@OpenWrt:/# 

I've read another posts where logs were included. And there at the end of logs there was (logs form DGDodo, page 9, post 210:

[   11.608000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   11.612000] rt2800pci 0000:00:0e.0: failed to load eeprom property
[   11.616000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   11.628000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[   11.636000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected

In my log I don't see that.

lsmodshows that rt2800 and rt2x00 load correctly:

rt2800lib        94593  2  rt2800pci
rt2800mmio   7234    1  rt2800pci
rt2800pci       1522    0
rt2x00lib        37455  5  rt2800pci
rt2x00mmio   1968    2  rt2800pci
rt2x00pci       1522    1  rt2800pci

I have F3, and images from scapi's github Chaos Calmer.

BTW. Which package contains lspci?

EDIT:
lspci  shows:

01:00.0 PCI bridge: Infineon Technologies AG Device 0011 (rev 01) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 144
    Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
    Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
    Bus: primary=01, secondary=02, subordinate=02, sec-latency=0
    Expansion ROM at <unassigned> [disabled] [size=2]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [70] Express Root Port (Slot-), MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Virtual Channel
    Capabilities: [160] Power Budgeting <?>

lspci -vv:

01:00.0 PCI bridge: Infineon Technologies AG Device 0011 (rev 01) (prog-if 00 [Normal decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 144
    Region 0: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
    Region 1: Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
    Bus: primary=01, secondary=02, subordinate=02, sec-latency=0
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
    Expansion ROM at <unassigned> [disabled] [size=2]
    BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
        PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities: [40] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000
    Capabilities: [70] Express (v2) Root Port (Slot-), MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0
            ExtTag- RBE+
        DevCtl:    Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <64us
            ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp-
        LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive+ BWMgmt- ABWMgmt-
        RootCtl: ErrCorrectable+ ErrNon-Fatal+ ErrFatal+ PMEIntEna+ CRSVisible-
        RootCap: CRSVisible-
        RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported ARIFwd-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd-
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
             Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
             EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
    Capabilities: [100 v1] Advanced Error Reporting
        UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UESvrt:    DLP+ SDES+ TLP+ FCP+ CmpltTO+ CmpltAbrt+ UnxCmplt+ RxOF+ MalfTLP+ ECRC+ UnsupReq+ ACSViol-
        CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
        CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
        AERCap:    First Error Pointer: 00, GenCap+ CGenEn+ ChkCap+ ChkEn+
    Capabilities: [140 v1] Virtual Channel
        Caps:    LPEVC=0 RefClk=100ns PATEntryBits=1
        Arb:    Fixed+ WRR32- WRR64- WRR128-
        Ctrl:    ArbSelect=Fixed
        Status:    InProgress-
        VC0:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
            Status:    NegoPending- InProgress-
    Capabilities: [160 v1] Power Budgeting <?>

and dmesg | grep pci:

[    0.068000] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.220000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.224000] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.228000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.232000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.236000] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff]
[    0.240000] pci_bus 0000:01: root bus resource [io  0x1d800000-0x1d8fffff]
[    0.244000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.248000] pci 0000:01:00.0: [15d1:0011] type 01 class 0x060000
[    0.248000] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[    0.260000] ifx_pcie_fixup_resource: fixup host controller 0000:01:00.0 (15d1:0011)
[    0.264000] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.264000] pci 0000:01:00.0: Primary bus is hard wired to 0
[    0.268000] pci 0000:01:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
[    0.272000] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.272000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 02
[    0.272000] pci 0000:01:00.0: PCI bridge to [bus 02]
[    0.276000] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1 
[    0.280000] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned

So my wifi is not recognizable? There are also some memory problems.

(Last edited by calvxrr on 7 Mar 2015, 15:13)

I wonder why ZynTaX who has F3 when router boots has:

ROM VER: ©«í#!„Dó

U-Boot 2013.10-openwrt5 (Dec 01 2014 - 23:47:50) P-2812HNU-Fx

Board: ZyXEL P-2812HNU-Fx
SoC:   Lantiq VRX288 v1.2
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NOR
DRAM:  128 MiB
Flash: 8 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   PHY reset timed out
PHY reset timed out
ltq-eth
Hit any key to stop autoboot:  0 

and me:

ROM VER: ÉHˆř

U-Boot 2014.01-openwrt2 (Nov 15 2014 - 14:05:27) P-2812HNU-Fx

Board: ZyXEL P-2812HNU-Fx
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NOR
DRAM:  128 MiB
Flash: 8 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  0

Here are photos from my F3 board:
https://drive.google.com/open?id=0B7D1BxGKZ9TtVXhGN1h0WjJJNms&authuser=0
https://drive.google.com/open?id=0B7D1BxGKZ9TtdkVFa2VOOWZpbm8&authuser=0

So, two questions.
1. Why do the same routers have diffrent SoCs?
2. I've installed CC uboot (not master branch). Is uboot from CC diffrent than master branch?

EDIT.
Ok, I've installed openwrt for f3 from master branch, and WIFI works correctly. I must check adsl2+, but now I have to sleep smile Maybe tommorow.

(Last edited by calvxrr on 9 Mar 2015, 23:29)

Currently I'm having issiues with my build machine, I'll post when BB and CC images will be updated.

U-Boot images are the same.

No problem scapi. Big thanks for your work!

I've tested yesterday adsl with no success.
When I connected RJ11 ADSL cable to DSL port (gray), which have RJ45 connector, system didn't recognize that cable had been connected.
I've tried

dsl_control stop
dsl_control start

or even

dsl_control reload

And it still was showing no synchronization.
Do I have to install additional modules for adsl?
For now I'm using modded config from scapi's post no. 64:

config atm-bridge 'atm'
    option vpi '0' 
    option vci '35' 
    option encaps 'vc'  <----- I changed here from llc to vc
    option payload 'bridged'

config interface 'wan'
    option ifname 'nas0'
    option proto 'pppoa' <----- I changed here from pppoe to pppoa 
    option username 'user' 
    option password 'password' 
    option mtu '1492' <----- I added MTU override

config vdsl 'dsl'
    option annex 'a' 
    option firmware '/lib/firmware/vdsl.bin'
    option tone 'av' 
    option xfer_mode 'atm'

My adsl2+ operator uses:
Annex A
VPI: 0
VCI: 35
Protocol: PPPoA
Encapsulation: VCmux
MTU: 1492

Btw. I tested adsl cable with another router and it worked no problem.

(Last edited by calvxrr on 13 Mar 2015, 07:46)

Just posting a heads up that since trunk version r44676 you should be able to use the dwc2 usb driver (kmod-usb-dwc2) for P-2812HNU-FX instead of the buggy and poorly maintained ltq-hcd (kmod-ltq-hcd-vr9).

Hope this helps for anyone who may have run into usb issues!

@ase: Can that mean that isochronous transfer is supported now?

Mijzelf wrote:

@ase: Can that mean that isochronous transfer is supported now?

To my understanding dwc2 supports them so it is at least worth trying.

Hi,
I'm still having some problems with my adsl. Openwrt doesn't recognize rj11 connection to dsl rj45 port. I've tried almost every vdsls' bin files from dropbox.
Only one Vdsl.bin is probably good because line is trying to handshake but at the end exception occurs.
I have one question,  are all of dropbox vdsl from f1?
Because I have f3.

1)scapi, what right way to update FW? because I installed last pre-built FW from your repo via LUCI ui, and now OPKG doesn't work properly.

Of course I have updated opkg.conf to new repos(and I fixed in your repo one link, see pull requests)

root@OpenWrt:~# opkg install nano
Package nano (2.3.6-1) installed in root is up to date.
Configuring terminfo.
//usr/lib/opkg/info/terminfo.postinst: line 4: default_postinst: not found
Configuring libncurses.
//usr/lib/opkg/info/libncurses.postinst: line 4: default_postinst: not found
Configuring nano.
//usr/lib/opkg/info/nano.postinst: line 4: default_postinst: not found
Collected errors:
 * pkg_run_script: package "terminfo" postinst script returned status 127.
 * opkg_configure: terminfo.postinst returned 127.
 * pkg_run_script: package "libncurses" postinst script returned status 127.
 * opkg_configure: libncurses.postinst returned 127.
 * pkg_run_script: package "nano" postinst script returned status 127.
 * opkg_configure: nano.postinst returned 127.
root@OpenWrt:~#

root@OpenWrt:~# opkg remove nano
Removing package nano from root...
//usr/lib/opkg/info/nano.prerm: line 3: default_prerm: not found
You can force removal of packages with failed prerm scripts with the option:
        --force-remove
No packages removed.
Collected errors:
 * pkg_run_script: package "nano" prerm script returned status 127.
 * opkg_remove_pkg: not removing package "nano", prerm script failed

2) How to change wi-fi channel to 12/13/14? - solved

(Last edited by fedor on 15 Mar 2015, 15:28)

I've tested all dropbox vdsl firmwares to work with adsl annex a. For now for F3 none of them work with ADSL Annex A. i must look for another one. Would all VRX208 vdsl.bin files be good?

@Cornelus2009
You came back to z-boot. Is it possible to come back to branded f3 soft?

EDIT.
I've recieved from Zyxel US such statement:

Hi,
Unfortunate the P-2812-HNU-F3F does not support annex a only annex b, for you to verify here is a link to the datasheet: ftp://ftp.us.zyxel.com/P-2812HNU-F3/ (page: 2 bottom left where it says "Product Family Matrix")

So, is it possible that, even I change xdsl bin firmware which could work with annex a, router cannot work with annex a line?

(Last edited by calvxrr on 19 Mar 2015, 08:08)

Looks like the repo is down. Is there mirror for it?

** Looks like its back up now :-)

(Last edited by ZyNTaX on 30 Mar 2015, 18:41)

ZyNTaX wrote:

Looks like the repo is down. Is there mirror for it?

** Looks like its back up now :-)

I'm moving server to new hosting, it will be down quite often till end of the week.

Hello.
Why on pppoe connection i get only 6mb/s download, and on dhcp routed i reach 15-16mb/s.
I have 20mb/s provided speed from net provider.

CC images updated on GH, @cornelus via ADSL/VDSL or via WAN ?

Wan-lan speed.
Provider got me 200mb
Pppoe - max 60mb
Dhcp - around 150mb

With aac oficial firmware, got 22mb/s download.

Did You tried build without Vlan's ? Also with pppoe try to change MTU value.

Yes, tryed all.
I got maximum 6,7mb today.

Newbie alert.

One year ago our apartment was connected to a local ISP through fiber. Last "mile" VDSL2+. I have also received this WMG3326-D20A which ISP has crippled to worthless junk. Bought a new one (Asus DSL-N66U). So WMG3326 was just sitting in a junk pile for a year.

Mine has VRX288 v1.2, no voip connectors/cpu.

OpenWRT changed all that.

I started the project yesterday with Barrier Braker, but the VDSL just was not functioning (annex a). Also there were many problems in detecting USB related stuff like external HDD's and Web cameras (Logitech C301).
In the evening in the brink of frustration I went to the trunk version (I believe) Chaos Calmer r45269.
After some tampering with network configuration and installing necessary parts from Scapi's server everything
is working perfectly (almost).

External HDD works flawlessly and the camera can stream beatifully over the net. NFS works as it is meant to be.
WLAN is also fully funtional.

And the VDSL speed is in par with Asus DSL-N66U (96/10). Tested with Ookla.

I cannot say a thing on reliability because I just started.

Please tell me if you need some logs/settings/images or anything and I will reply them.

From the logs (both kernel and system) I can see that some problems in buffers exist.

Kernel:
[  168.740000] eth0: tx ring full
[  168.752000] eth0: tx ring full
[  168.760000] eth0: tx ring full

System:
Mon Apr 13 11:22:04 2015 kern.err kernel: [  555.196000] eth0: tx ring full
Mon Apr 13 11:22:04 2015 kern.err kernel: [  555.420000] eth0: tx ring full

I understand the point (well ,faintly) why ISP's are crippling good and reasonable modems.
But to be honest, it was a totally useless until the openWRT came in.

Best Regards,
oh1dx

oh1dx, do You have F1 or F3? Because mine F3 doesn't want to work with annex a line at all.

Hi calvxrr.

I believe mine is of type F1.

At first I was not sure but since the F3 u-boot did not even get started I tried F1 and it was a success.

Also nand-type is a pretty strong indication that the board is F1 (K9F1G08U0D).

It seems Wifi function is missing after upgrade,  tested on 2x F3