Re: [OpenWrt-Devel] lantiq v3.18
On Thu, 2015-02-26 at 09:06 +0100, John Crispin wrote: you might want to consider the td8970. it works well for many people but also has the slow spi flash problem and takes ages the boot. Considering that the whole target is heading for unsupported status, I don't understand how switching to a td8970 would improve things. I'm not sure what work has been done to support MediaTek DSL interfaces after they released driver source, but AFAIK they don't involve VoIP hardware, and the wifi driver is not nearly as mature as Atheros. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On Sun, 15 Feb 2015 05:21:34 +, Daniel Gimpelevich wrote: On Sat, 14 Feb 2015 19:55:03 +0100, John Crispin wrote: ok, i think the spi clock is just really slow m25p80@0 { #address-cells = 1; #size-cells = 1; compatible = s25fl129p0; reg = 0 0; linux,modalias = m25p80, mx25l3205d; spi-max-frequency = 100; try increasing it to 10 or 20 mhz. running the flash at 1 Mhz explains why it takes a week to boot and do anything useful. even with the bus being bitbanged it should be possible to go beyond 1mhz 1) I'm not sure what tests to run to see what frequency is safe. 2) That's the flash, though. I don't think it explains why the DSL interface in particular takes forever and a day to acknowledge anything. Does it? OK, adding an extra zero to spi-max-frequency leaves me with no Internet after boot. The nas0 interface is created but not brought up. Also, /etc/init.d/dsl_control STILL takes about twenty minutes to execute. Here is the output of logread: Wed Feb 25 16:33:51 2015 kern.info kernel: [ 28.50] IFXUSB: ifxusb_hcd: version 3.2 B110801 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.004000] IFXUSB: USB core #0 soft-reset Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.208000] IFXUSB: USB core #0 soft-reset Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.208000] ifxusb_hcd ifxusb_hcd: IFX USB Controller Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.212000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.22] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.228000] IFXUSB: Init: Power Port (0) Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.236000] hub 1-0:1.0: USB hub found Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.236000] hub 1-0:1.0: 1 port detected Wed Feb 25 16:33:51 2015 kern.notice kernel: [ 30.916000] random: mktemp urandom read with 121 bits of entropy available Wed Feb 25 16:33:51 2015 kern.notice kernel: [ 32.852000] random: nonblocking pool is initialized Wed Feb 25 16:33:51 2015 kern.notice kernel: [ 40.812000] jffs2: notice: (286) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. Wed Feb 25 16:33:51 2015 user.info kernel: [ 40.832000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab Wed Feb 25 16:33:51 2015 user.info kernel: [ 40.912000] block: extroot: not configured Wed Feb 25 16:33:51 2015 kern.notice kernel: [ 42.54] jffs2: notice: (283) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. Wed Feb 25 16:33:51 2015 user.info kernel: [ 47.672000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab Wed Feb 25 16:33:51 2015 user.info kernel: [ 47.72] block: extroot: not configured Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.648000] NET: Registered protocol family 10 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.672000] zram: Created 1 device(s) ... Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.68] NET: Registered protocol family 8 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.684000] NET: Registered protocol family 20 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.70] tun: Universal TUN/TAP device driver, 1.6 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.704000] tun: (C) 1999-2004 Max Krasnyansky m...@qualcomm.com Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.724000] sit: IPv6 over IPv4 tunneling driver Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.744000] PPP generic driver version 2.4.2 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.764000] ip6_tables: (C) 2000-2006 Netfilter Core Team Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.796000] nf_conntrack version 0.5.0 (945 buckets, 3780 max) Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.896000] IFX MEI Version 5.00.00 Wed Feb 25 16:33:51 2015 kern.warn kernel: [ 53.924000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.084000] u32 classifier Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.088000] input device check on Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.088000] Actions configured Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.124000] Mirror/redirect action on Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.196000] Loading modules backported from Linux version master-2014-11-04-0-gf3660a2 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.204000] Backport generated by backports.git backports-20141023-2-g4ff890b Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.216000] ip_tables: (C) 2000-2006 Netfilter Core Team Wed
Re: [OpenWrt-Devel] lantiq v3.18
On Thu, 26 Feb 2015 07:23:20 +0100, John Crispin wrote: no idea what the poblem is. you'll have to wait till someone comes a long that has time to debug your problem. Considering that nobody else is working on lantiq, :( ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On 26/02/2015 02:57, Daniel Gimpelevich wrote: On Sun, 15 Feb 2015 05:21:34 +, Daniel Gimpelevich wrote: On Sat, 14 Feb 2015 19:55:03 +0100, John Crispin wrote: ok, i think the spi clock is just really slow m25p80@0 { #address-cells = 1; #size-cells = 1; compatible = s25fl129p0; reg = 0 0; linux,modalias = m25p80, mx25l3205d; spi-max-frequency = 100; try increasing it to 10 or 20 mhz. running the flash at 1 Mhz explains why it takes a week to boot and do anything useful. even with the bus being bitbanged it should be possible to go beyond 1mhz 1) I'm not sure what tests to run to see what frequency is safe. 2) That's the flash, though. I don't think it explains why the DSL interface in particular takes forever and a day to acknowledge anything. Does it? OK, adding an extra zero to spi-max-frequency leaves me with no Internet after boot. The nas0 interface is created but not brought up. Also, /etc/init.d/dsl_control STILL takes about twenty minutes to execute. Here is the output of logread: no idea what the poblem is. you'll have to wait till someone comes a long that has time to debug your problem. Wed Feb 25 16:33:51 2015 kern.info kernel: [ 28.50] IFXUSB: ifxusb_hcd: version 3.2 B110801 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.004000] IFXUSB: USB core #0 soft-reset Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.208000] IFXUSB: USB core #0 soft-reset Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.208000] ifxusb_hcd ifxusb_hcd: IFX USB Controller Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.212000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.22] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.228000] IFXUSB: Init: Power Port (0) Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.236000] hub 1-0:1.0: USB hub found Wed Feb 25 16:33:51 2015 kern.info kernel: [ 29.236000] hub 1-0:1.0: 1 port detected Wed Feb 25 16:33:51 2015 kern.notice kernel: [ 30.916000] random: mktemp urandom read with 121 bits of entropy available Wed Feb 25 16:33:51 2015 kern.notice kernel: [ 32.852000] random: nonblocking pool is initialized Wed Feb 25 16:33:51 2015 kern.notice kernel: [ 40.812000] jffs2: notice: (286) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. Wed Feb 25 16:33:51 2015 user.info kernel: [ 40.832000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab Wed Feb 25 16:33:51 2015 user.info kernel: [ 40.912000] block: extroot: not configured Wed Feb 25 16:33:51 2015 kern.notice kernel: [ 42.54] jffs2: notice: (283) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. Wed Feb 25 16:33:51 2015 user.info kernel: [ 47.672000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab Wed Feb 25 16:33:51 2015 user.info kernel: [ 47.72] block: extroot: not configured Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.648000] NET: Registered protocol family 10 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.672000] zram: Created 1 device(s) ... Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.68] NET: Registered protocol family 8 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.684000] NET: Registered protocol family 20 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.70] tun: Universal TUN/TAP device driver, 1.6 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.704000] tun: (C) 1999-2004 Max Krasnyansky m...@qualcomm.com Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.724000] sit: IPv6 over IPv4 tunneling driver Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.744000] PPP generic driver version 2.4.2 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.764000] ip6_tables: (C) 2000-2006 Netfilter Core Team Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.796000] nf_conntrack version 0.5.0 (945 buckets, 3780 max) Wed Feb 25 16:33:51 2015 kern.info kernel: [ 53.896000] IFX MEI Version 5.00.00 Wed Feb 25 16:33:51 2015 kern.warn kernel: [ 53.924000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4 Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.084000] u32 classifier Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.088000] input device check on Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.088000] Actions configured Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.124000] Mirror/redirect action on Wed Feb 25 16:33:51 2015 kern.info kernel: [ 54.196000] Loading modules backported from Linux version
Re: [OpenWrt-Devel] lantiq v3.18
could you also show me the bootlog on 3.14 please On 22/02/2015 20:40, Roger Pueyo Centelles wrote: Sure. U-Boot 2013.10-openwrt5-00014-g0b78b5c-dirty (Mar 11 2014 - 22:56:27) arv7519rw Board: Lantiq ARV7519RW VRX200 Family Board SoC: Lantiq VRX288 v1.1 CPU: 500 MHz IO:250 MHz BUS: 250 MHz BOOT: NOR DRAM: 128 MiB Flash: 32 MiB In:serial Out: serial Err: serial Net: ltq-eth Hit any key to stop autoboot: 0 ## Booting kernel from Legacy Image at b008 ... Image Name: MIPS OpenWrt Linux-3.18.7 Created: 2015-02-22 11:56:23 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size:1546993 Bytes = 1.5 MiB Load Address: 80002000 Entry Point: 80002000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel ... [0.00] Linux version 3.18.7 (lordroger@xeon) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44507) ) #1 Sun Feb 22 12:56:14 CET 2015 [0.00] SoC: VR9 rev 1.1 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 00019555 (MIPS 34Kc) [0.00] MIPS: machine is ARV7519RW22 - Astoria Networks ARV7519RW22-A-LT [0.00] Determined physical RAM map: [0.00] memory: 0800 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Zone ranges: [0.00] Normal [mem 0x-0x07ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x07ff] [0.00] Initmem setup node 0 [mem 0x-0x07ff] [0.00] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [0.00] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit [0.00] PID hash table entries: 512 (order: -1, 2048 bytes) [0.00] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [0.00] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Writing ErrCtl register=00044751 [0.00] Readback ErrCtl register=00044751 [0.00] Memory: 125044K/131072K available (3312K kernel code, 147K rwdata, 932K rodata, 196K init, 205K bss, 6028K reserved) [0.00] NR_IRQS:256 [0.00] CPU Clock: 500MHz [0.00] 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.04] 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.06] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28 [0.064000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV [0.088000] usbcore: registered new interface driver usbfs [0.092000] usbcore: registered new interface driver hub [0.096000] usbcore: registered new device driver usb [0.10] Switched to clocksource MIPS [0.104000] NET: Registered protocol family 2 [0.108000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [0.116000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [0.124000] TCP: Hash tables configured (established 1024 bind 1024) [0.128000] TCP: reno registered [0.132000] UDP hash table entries: 256 (order: 0, 4096 bytes) [0.136000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [0.144000] NET: Registered protocol family 1 [0.148000] gptu: totally 6 16-bit timers/counters [0.152000] gptu: misc_register on minor 63 [0.156000] gptu: succeeded to request irq 126 [0.164000] gptu: succeeded to request irq 127 [0.168000] gptu: succeeded to request irq 128 [0.172000] gptu: succeeded to request irq 129 [0.176000] gptu: succeeded to request irq 130 [0.18] gptu: succeeded to request irq 131 [0.184000] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy22f_a1x.bin [0.192000] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 790 [0.20] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 790 [0.308000] futex hash table entries: 256 (order: -1, 3072 bytes) [0.316000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [0.32] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [0.332000] msgmni has been set to 244 [0.336000] io scheduler noop registered [0.34] io scheduler deadline registered (default) [0.344000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc [
Re: [OpenWrt-Devel] lantiq v3.18
Hi John, I tested Linux 3.18.7 on three different lantiq boards (ARV4518PW, ARV7518PW, ARV7159RW22). Here are the results: *ARV4518PW* Boot: Yes (Linux OpenWrt 3.18.7 #1 Sun Feb 22 09:51:57 CET 2015 mips GNU/Linux) Ethernet: Yes Switch: Yes Wireless: Probably yes¹² ADSL: Not tested, but interface is shown USB: Yes Sysupgrade: Yes *ARV7518PW* Boot: Yes (Linux OpenWrt 3.18.7 #1 Sun Feb 22 10:38:15 CET 2015 mips GNU/Linux) Ethernet: Yes Switch: Yes Wireless: Yes ADSL: USB: Yes Sysupgrade: Yes *ARV7519RW22* Boot: No (kernel panic, see ³ and attached dmesg) Works with 14.07 image. == 1 == [ 16.116000] PCI: Enabling device :00:0e.0 ( - 0002) [ 16.12] ath5k :00:0e.0: registered as 'phy0' [ 16.344000] random: nonblocking pool is initialized [ 17.192000] ath5k: phy0: unable to init EEPROM [ 17.196000] ath5k: probe of :00:0e.0 failed with error -5 == 2 == mtd6 partition (boardconfig) was blank (0xFF), probably because of an accidental erase in the past :( == 3 == [0.904000] 8021q: 802.1Q VLAN Support v1.8 [0.908000] UBIFS error (pid 1): ubifs_mount: cannot open ubi0:rootfs, error -19 [0.916000] VFS: Cannot open root device (null) or unknown-block(0,0): error -6 [0.924000] Please append a correct root= boot option; here are the available partitions: [0.932000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [0.932000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 33.092000] random: nonblocking pool is initialized By the way, there are no binary images in snapshots for any of the three devices. Roger 2015-02-09 13:30 GMT+01:00 John Crispin blo...@openwrt.org: Hi, i bumped the lantiq support to v3.18 and tested it on 6 different boards. I have not tested vdsl support due to lack of a vdsl line. could someone please do so. @antii: can you rebase/resnd the dwc2 series ? it does not apply to the v3.18 patches John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
Sure. U-Boot 2013.10-openwrt5-00014-g0b78b5c-dirty (Mar 11 2014 - 22:56:27) arv7519rw Board: Lantiq ARV7519RW VRX200 Family Board SoC: Lantiq VRX288 v1.1 CPU: 500 MHz IO:250 MHz BUS: 250 MHz BOOT: NOR DRAM: 128 MiB Flash: 32 MiB In:serial Out: serial Err: serial Net: ltq-eth Hit any key to stop autoboot: 0 ## Booting kernel from Legacy Image at b008 ... Image Name: MIPS OpenWrt Linux-3.18.7 Created: 2015-02-22 11:56:23 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size:1546993 Bytes = 1.5 MiB Load Address: 80002000 Entry Point: 80002000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel ... [0.00] Linux version 3.18.7 (lordroger@xeon) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44507) ) #1 Sun Feb 22 12:56:14 CET 2015 [0.00] SoC: VR9 rev 1.1 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 00019555 (MIPS 34Kc) [0.00] MIPS: machine is ARV7519RW22 - Astoria Networks ARV7519RW22-A-LT [0.00] Determined physical RAM map: [0.00] memory: 0800 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Zone ranges: [0.00] Normal [mem 0x-0x07ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x07ff] [0.00] Initmem setup node 0 [mem 0x-0x07ff] [0.00] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [0.00] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit [0.00] PID hash table entries: 512 (order: -1, 2048 bytes) [0.00] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [0.00] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Writing ErrCtl register=00044751 [0.00] Readback ErrCtl register=00044751 [0.00] Memory: 125044K/131072K available (3312K kernel code, 147K rwdata, 932K rodata, 196K init, 205K bss, 6028K reserved) [0.00] NR_IRQS:256 [0.00] CPU Clock: 500MHz [0.00] 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.04] 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.06] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28 [0.064000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV [0.088000] usbcore: registered new interface driver usbfs [0.092000] usbcore: registered new interface driver hub [0.096000] usbcore: registered new device driver usb [0.10] Switched to clocksource MIPS [0.104000] NET: Registered protocol family 2 [0.108000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [0.116000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [0.124000] TCP: Hash tables configured (established 1024 bind 1024) [0.128000] TCP: reno registered [0.132000] UDP hash table entries: 256 (order: 0, 4096 bytes) [0.136000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [0.144000] NET: Registered protocol family 1 [0.148000] gptu: totally 6 16-bit timers/counters [0.152000] gptu: misc_register on minor 63 [0.156000] gptu: succeeded to request irq 126 [0.164000] gptu: succeeded to request irq 127 [0.168000] gptu: succeeded to request irq 128 [0.172000] gptu: succeeded to request irq 129 [0.176000] gptu: succeeded to request irq 130 [0.18] gptu: succeeded to request irq 131 [0.184000] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy22f_a1x.bin [0.192000] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 790 [0.20] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 790 [0.308000] futex hash table entries: 256 (order: -1, 3072 bytes) [0.316000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [0.32] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [0.332000] msgmni has been set to 244 [0.336000] io scheduler noop registered [0.34] io scheduler deadline registered (default) [0.344000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc [0.352000] console [ttyLTQ0] enabled [0.352000] console [ttyLTQ0] enabled [0.36] bootconsole [early0] disabled [0.36] bootconsole [early0] disabled [0.368000] lantiq nor flash device: 0200 at
Re: [OpenWrt-Devel] lantiq v3.18
On 22/02/2015 15:26, Roger Pueyo Centelles wrote: *ARV7519RW22* Boot: No (kernel panic, see ³ and attached dmesg) Works with 14.07 image. can i see the full bootlog please ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On Sat, 14 Feb 2015 19:55:03 +0100, John Crispin wrote: ok, i think the spi clock is just really slow m25p80@0 { #address-cells = 1; #size-cells = 1; compatible = s25fl129p0; reg = 0 0; linux,modalias = m25p80, mx25l3205d; spi-max-frequency = 100; try increasing it to 10 or 20 mhz. running the flash at 1 Mhz explains why it takes a week to boot and do anything useful. even with the bus being bitbanged it should be possible to go beyond 1mhz 1) I'm not sure what tests to run to see what frequency is safe. 2) That's the flash, though. I don't think it explains why the DSL interface in particular takes forever and a day to acknowledge anything. Does it? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
ok, i think the spi clock is just really slow m25p80@0 { #address-cells = 1; #size-cells = 1; compatible = s25fl129p0; reg = 0 0; linux,modalias = m25p80, mx25l3205d; spi-max-frequency = 100; try increasing it to 10 or 20 mhz. running the flash at 1 Mhz explains why it takes a week to boot and do anything useful. even with the bus being bitbanged it should be possible to go beyond 1mhz On 13/02/2015 20:45, Daniel Gimpelevich wrote: On Fri, 13 Feb 2015 19:43:32 +0100, John Crispin wrote: look at /proc/cpuinfo please and tell us how many bogomips are reported system type : AR9 rev 1.2 machine : DGN3500 - Netgear DGN3500 processor : 0 cpu model : MIPS 34Kc V4.12 BogoMIPS: 221.18 wait instruction: yes microsecond timers : yes tlb_entries : 16 extra interrupt vector : yes hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb] isa : mips1 mips2 mips32r1 mips32r2 ASEs implemented: mips16 dsp mt shadow register sets: 1 kscratch registers : 0 package : 0 core: 0 VCED exceptions : not available VCEI exceptions : not available ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
PCI works, I have one more issue (present from 3.14 kernel) , unit will hang (without any errors in console output) when trying to reboot from cli/luci, but only when dsl_control is started at boot, without attached line or with dsl_control excluded from running on boot, everything works ok, even trying to stop dsl_control before reboot doesn't help. I'm thinking that dts for P-2812HNU has something to do with it, but I cannot trace it. W dniu 2015-02-12 o 18:38, John Crispin pisze: On 12/02/2015 18:33, John Crispin wrote: On 12/02/2015 18:30, Daniel Gimpelevich wrote: On Thu, Feb 12, 2015 at 8:54 AM, Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us mailto:dan...@gimpelevich.san-francisco.ca.us wrote: On Thu, Feb 12, 2015 at 3:19 AM, John Crispin blo...@openwrt.org mailto:blo...@openwrt.org wrote: On 10/02/2015 10:40, Daniel Gimpelevich wrote: Is there a patchset I could try? try r44421 or newer Tried initramfs, bootlog attached. With this image, booting from SPI flash still fails, because there is no longer a kernel partition, so the rootfs is now /dev/mtdblock4, while the DTS file still specifies /dev/mtdblock5. and why does that cause booting to fail ? ah i see, not even sure why we attach that info. the mtdsplid should automatically set the root= try removing the root= parameter please and see if it boots properly ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On Fri, 13 Feb 2015 09:23:16 +0100, Sylwester Petela wrote: PCI works, I have one more issue (present from 3.14 kernel) , unit will hang (without any errors in console output) when trying to reboot from cli/luci, but only when dsl_control is started at boot, without attached line or with dsl_control excluded from running on boot, everything works ok, even trying to stop dsl_control before reboot doesn't help. I'm thinking that dts for P-2812HNU has something to do with it, but I cannot trace it. I'm not sure whether this is the same issue, but when I boot with the DSL connected, it takes another five minutes after the console shows the line procd: - init complete - before the DSL actually connects, and if I type time /etc/init.d/dsl_control status after it connects and walk away, it tells me it took twenty minutes to complete. This makes LuCI unusable, because it tries to query the status every few seconds, exhausting the RAM, which causes a reboot. This problem did not exist on 3.14, so I suspect it may be related to the kernel config. I might not be able to test anything new till the middle of next week. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
look at /proc/cpuinfo please and tell us how many bogomips are reported On 13/02/2015 19:32, Daniel Gimpelevich wrote: On Fri, 13 Feb 2015 09:23:16 +0100, Sylwester Petela wrote: PCI works, I have one more issue (present from 3.14 kernel) , unit will hang (without any errors in console output) when trying to reboot from cli/luci, but only when dsl_control is started at boot, without attached line or with dsl_control excluded from running on boot, everything works ok, even trying to stop dsl_control before reboot doesn't help. I'm thinking that dts for P-2812HNU has something to do with it, but I cannot trace it. I'm not sure whether this is the same issue, but when I boot with the DSL connected, it takes another five minutes after the console shows the line procd: - init complete - before the DSL actually connects, and if I type time /etc/init.d/dsl_control status after it connects and walk away, it tells me it took twenty minutes to complete. This makes LuCI unusable, because it tries to query the status every few seconds, exhausting the RAM, which causes a reboot. This problem did not exist on 3.14, so I suspect it may be related to the kernel config. I might not be able to test anything new till the middle of next week. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On Fri, 13 Feb 2015 19:43:32 +0100, John Crispin wrote: look at /proc/cpuinfo please and tell us how many bogomips are reported system type : AR9 rev 1.2 machine : DGN3500 - Netgear DGN3500 processor : 0 cpu model : MIPS 34Kc V4.12 BogoMIPS: 221.18 wait instruction: yes microsecond timers : yes tlb_entries : 16 extra interrupt vector : yes hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb] isa : mips1 mips2 mips32r1 mips32r2 ASEs implemented: mips16 dsp mt shadow register sets: 1 kscratch registers : 0 package : 0 core: 0 VCED exceptions : not available VCEI exceptions : not available ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On 10/02/2015 10:40, Daniel Gimpelevich wrote: Is there a patchset I could try? try r44421 or newer On Mon, 2015-02-09 at 12:44 -0800, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 21:27 +0100, John Crispin wrote: bootlog please On 09/02/2015 21:25, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 19:18 +0100, John Crispin wrote: try r44366 or newer please SPI flash is not detected, bricking the device. [0.00] Linux version 3.18.6 (danielg4@chimera) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43982) ) #3 Mon Feb 9 115 [0.00] SoC: AR9 rev 1.2 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 0001954c (MIPS 34Kc) [0.00] MIPS: machine is DGN3500 - Netgear DGN3500 [0.00] Determined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] User-defined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Zone ranges: [0.00] Normal [mem 0x-0x03ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x03ff] [0.00] Initmem setup node 0 [mem 0x-0x03ff] [0.00] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [0.00] Kernel command line: root=/dev/mtdblock0 ip=192.168.1.1:192.168.1.15eth0:on console=ttyS1,115200 ethaddr=30:46:90 [0.00] PID hash table entries: 256 (order: -2, 1024 bytes) [0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [0.00] Writing ErrCtl register=5880 [0.00] Readback ErrCtl register=5880 [0.00] Memory: 60404K/65536K available (3312K kernel code, 147K rwdata, 664K rodata, 144K init, 194K bss, 5132K reserved) [0.00] NR_IRQS:256 [0.00] CPU Clock: 333MHz [0.00] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368) [0.036000] pid_max: default: 32768 minimum: 301 [0.04] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.052000] pinctrl core: initialized pinctrl subsystem [0.056000] NET: Registered protocol family 16 [0.064000] pinctrl-xway 1e100b10.pinmux: Init done [0.068000] dma-xway 1e104100.dma: Init done - hw rev: 6, ports: 5, channels: 20 [0.076000] PCI host bridge /fpi@1000/pci@E105400 ranges: [0.08] MEM 0x1800..0x19ff [0.084000] IO 0x1ae0..0x1aff [0.088000] ath9k,eeprom ath9k_eep: failed to load eeprom address [0.10] usbcore: registered new interface driver usbfs [0.104000] usbcore: registered new interface driver hub [0.108000] usbcore: registered new device driver usb [0.112000] PCI host bridge to bus :00 [0.116000] pci_bus :00: root bus resource [mem 0x1800-0x19ff] [0.12] pci_bus :00: root bus resource [io 0x] [0.124000] pci_bus :00: No busn resource found for root bus, will use [bus 00-ff] [0.128000] pci :00:0e.0: BAR 0: assigned [mem 0x1800-0x1800] [0.132000] Switched to clocksource MIPS [0.136000] NET: Registered protocol family 2 [0.144000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [0.148000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [0.156000] TCP: Hash tables configured (established 1024 bind 1024) [0.164000] TCP: reno registered [0.164000] UDP hash table entries: 256 (order: 0, 4096 bytes) [0.172000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [0.18] NET: Registered protocol family 1 [0.184000] gptu: totally 6 16-bit timers/counters [0.188000] gptu: misc_register on minor 63 [0.192000] gptu: succeeded to request irq 126 [0.196000] gptu: succeeded to request irq 127 [0.20] gptu: succeeded to request irq 128 [0.204000] gptu: succeeded to request irq 129 [0.212000] gptu: succeeded to request irq 130 [0.216000] gptu: succeeded to request irq 131 [0.22] futex hash table entries: 256 (order: -1, 3072 bytes) [0.228000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [0.236000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [0.248000] msgmni has been set to 117 [0.252000] io scheduler noop registered [0.256000] io scheduler deadline registered (default) [0.26] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112,
Re: [OpenWrt-Devel] lantiq v3.18
On Thu, 12 Feb 2015 18:38:09 +0100, John Crispin wrote: ah i see, not even sure why we attach that info. the mtdsplid should automatically set the root= try removing the root= parameter please and see if it boots properly That was there to override the root= from the bootloader, otherwise it would try to use /dev/mtdblock0. This corrects it better and boots: Signed-off-by: Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us --- a/target/linux/lantiq/dts/DGN3500.dtsi (revision 44424) +++ b/target/linux/lantiq/dts/DGN3500.dtsi (working copy) @@ -2,7 +2,7 @@ / { chosen { - bootargs-append = root=/dev/mtdblock5 console=ttyLTQ0,115200; + bootargs-append = root= console=ttyLTQ0,115200; }; memory@0 { ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On Thu, Feb 12, 2015 at 3:19 AM, John Crispin blo...@openwrt.org wrote: On 10/02/2015 10:40, Daniel Gimpelevich wrote: Is there a patchset I could try? try r44421 or newer Tried initramfs, bootlog attached. [0.00] Linux version 3.18.6 (danielg4@chimera) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43982) ) #2 Thu Feb 12 08:19:32 PST 2015 [0.00] SoC: AR9 rev 1.2 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 0001954c (MIPS 34Kc) [0.00] MIPS: machine is DGN3500 - Netgear DGN3500 [0.00] Determined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] User-defined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Zone ranges: [0.00] Normal [mem 0x-0x03ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x03ff] [0.00] Initmem setup node 0 [mem 0x-0x03ff] [0.00] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [0.00] Kernel command line: root=/dev/ram rw ip=192.168.1.1:192.168.1.15eth0:on console=ttyS1,115200 ethaddr=30:46:9a:31:0c:99 phym=64M mem=64M panic=1 root=/dev/mtdblock5 console=ttyLTQ0,115200 [0.00] PID hash table entries: 256 (order: -2, 1024 bytes) [0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [0.00] Writing ErrCtl register=1bc2 [0.00] Readback ErrCtl register=1bc2 [0.00] Memory: 56244K/65536K available (3319K kernel code, 150K rwdata, 672K rodata, 4288K init, 194K bss, 9292K reserved) [0.00] NR_IRQS:256 [0.00] CPU Clock: 333MHz [0.00] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368) [0.04] pid_max: default: 32768 minimum: 301 [0.044000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.048000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.056000] pinctrl core: initialized pinctrl subsystem [0.064000] NET: Registered protocol family 16 [0.072000] pinctrl-xway 1e100b10.pinmux: Init done [0.076000] dma-xway 1e104100.dma: Init done - hw rev: 6, ports: 5, channels: 20 [0.084000] PCI host bridge /fpi@1000/pci@E105400 ranges: [0.088000] MEM 0x1800..0x19ff [0.092000] IO 0x1ae0..0x1aff [0.096000] ath9k,eeprom ath9k_eep: failed to load eeprom address [0.108000] usbcore: registered new interface driver usbfs [0.112000] usbcore: registered new interface driver hub [0.116000] usbcore: registered new device driver usb [0.12] PCI host bridge to bus :00 [0.124000] pci_bus :00: root bus resource [mem 0x1800-0x19ff] [0.128000] pci_bus :00: root bus resource [io 0x] [0.132000] pci_bus :00: No busn resource found for root bus, will use [bus 00-ff] [0.136000] pci :00:0e.0: BAR 0: assigned [mem 0x1800-0x1800] [0.14] Switched to clocksource MIPS [0.144000] NET: Registered protocol family 2 [0.152000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [0.156000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [0.164000] TCP: Hash tables configured (established 1024 bind 1024) [0.172000] TCP: reno registered [0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes) [0.18] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [0.188000] NET: Registered protocol family 1 [ 10.284000] gptu: totally 6 16-bit timers/counters [ 10.288000] gptu: misc_register on minor 63 [ 10.292000] gptu: succeeded to request irq 126 [ 10.30] gptu: succeeded to request irq 127 [ 10.304000] gptu: succeeded to request irq 128 [ 10.308000] gptu: succeeded to request irq 129 [ 10.312000] gptu: succeeded to request irq 130 [ 10.316000] gptu: succeeded to request irq 131 [ 10.324000] futex hash table entries: 256 (order: -1, 3072 bytes) [ 10.332000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 10.336000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 10.348000] msgmni has been set to 109 [ 10.352000] io scheduler noop registered [ 10.356000] io scheduler deadline registered (default) [ 10.36] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc [ 10.372000] console [ttyLTQ0] enabled [ 10.372000] console [ttyLTQ0] enabled [ 10.38] bootconsole [early0] disabled [ 10.38] bootconsole [early0] disabled [ 10.40]
Re: [OpenWrt-Devel] lantiq v3.18
On Thu, Feb 12, 2015 at 8:54 AM, Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us wrote: On Thu, Feb 12, 2015 at 3:19 AM, John Crispin blo...@openwrt.org wrote: On 10/02/2015 10:40, Daniel Gimpelevich wrote: Is there a patchset I could try? try r44421 or newer Tried initramfs, bootlog attached. With this image, booting from SPI flash still fails, because there is no longer a kernel partition, so the rootfs is now /dev/mtdblock4, while the DTS file still specifies /dev/mtdblock5. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On 12/02/2015 18:30, Daniel Gimpelevich wrote: On Thu, Feb 12, 2015 at 8:54 AM, Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us mailto:dan...@gimpelevich.san-francisco.ca.us wrote: On Thu, Feb 12, 2015 at 3:19 AM, John Crispin blo...@openwrt.org mailto:blo...@openwrt.org wrote: On 10/02/2015 10:40, Daniel Gimpelevich wrote: Is there a patchset I could try? try r44421 or newer Tried initramfs, bootlog attached. With this image, booting from SPI flash still fails, because there is no longer a kernel partition, so the rootfs is now /dev/mtdblock4, while the DTS file still specifies /dev/mtdblock5. and why does that cause booting to fail ? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On Thu, Feb 12, 2015 at 9:33 AM, John Crispin blo...@openwrt.org wrote: On 12/02/2015 18:30, Daniel Gimpelevich wrote: On Thu, Feb 12, 2015 at 8:54 AM, Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us mailto:dan...@gimpelevich.san-francisco.ca.us wrote: On Thu, Feb 12, 2015 at 3:19 AM, John Crispin blo...@openwrt.org mailto:blo...@openwrt.org wrote: On 10/02/2015 10:40, Daniel Gimpelevich wrote: Is there a patchset I could try? try r44421 or newer Tried initramfs, bootlog attached. With this image, booting from SPI flash still fails, because there is no longer a kernel partition, so the rootfs is now /dev/mtdblock4, while the DTS file still specifies /dev/mtdblock5. and why does that cause booting to fail ? If the kernel cannot find the rootfs, it cannot boot. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On 12/02/2015 18:33, John Crispin wrote: On 12/02/2015 18:30, Daniel Gimpelevich wrote: On Thu, Feb 12, 2015 at 8:54 AM, Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us mailto:dan...@gimpelevich.san-francisco.ca.us wrote: On Thu, Feb 12, 2015 at 3:19 AM, John Crispin blo...@openwrt.org mailto:blo...@openwrt.org wrote: On 10/02/2015 10:40, Daniel Gimpelevich wrote: Is there a patchset I could try? try r44421 or newer Tried initramfs, bootlog attached. With this image, booting from SPI flash still fails, because there is no longer a kernel partition, so the rootfs is now /dev/mtdblock4, while the DTS file still specifies /dev/mtdblock5. and why does that cause booting to fail ? ah i see, not even sure why we attach that info. the mtdsplid should automatically set the root= try removing the root= parameter please and see if it boots properly ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
John Crispin j...@phrozen.org writes: On 10/02/2015 19:35, Joerg Hollmann wrote: Hello Daniel, could it be, that the definition of the kernel partition in the dts file of your device ist too small? i think the problem is that spi-gpio is either not loaded or loaded too late. i wont have time to look at it till friday though. I have seen similar error messages on the builds for the VG3503J. there is a kernel part defined in the dts ? the mtdsplit should handle it for your. i'll look at that aswell, only tested a initramfs on the VG3503J Booting an initramfs of 3.18 succeeds but still does not detect the SPI flash. It also uses a wrong macaddr, no doubt due to the following wrong logic in 0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch --- a/drivers/net/ethernet/lantiq_etop.c +++ b/drivers/net/ethernet/lantiq_etop.c @@ -161,7 +161,7 @@ struct ltq_etop_priv { int tx_irq; int rx_irq; - const void *mac; + void *mac; int mii_mode; spinlock_t lock; @@ -840,7 +840,11 @@ ltq_etop_init(struct net_device *dev) if (err) goto err_hw; - memcpy(mac, priv-pldata-mac, sizeof(struct sockaddr)); + if (priv-mac) + memcpy(mac, priv-mac, sizeof(struct sockaddr)); + else + memcpy(mac, ltq_get_eth_mac(), sizeof(struct sockaddr)) + if (!is_valid_ether_addr(mac.sa_data)) { pr_warn(etop: invalid MAC, using random\n); eth_random_addr(mac.sa_data); This stuffs the macaddr into the wrong field of the sockaddr and reads beyond the end of the macaddr. The corresponding patch to 3.14 was right ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
Is there a patchset I could try? On Mon, 2015-02-09 at 12:44 -0800, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 21:27 +0100, John Crispin wrote: bootlog please On 09/02/2015 21:25, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 19:18 +0100, John Crispin wrote: try r44366 or newer please SPI flash is not detected, bricking the device. [0.00] Linux version 3.18.6 (danielg4@chimera) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43982) ) #3 Mon Feb 9 115 [0.00] SoC: AR9 rev 1.2 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 0001954c (MIPS 34Kc) [0.00] MIPS: machine is DGN3500 - Netgear DGN3500 [0.00] Determined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] User-defined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Zone ranges: [0.00] Normal [mem 0x-0x03ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x03ff] [0.00] Initmem setup node 0 [mem 0x-0x03ff] [0.00] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [0.00] Kernel command line: root=/dev/mtdblock0 ip=192.168.1.1:192.168.1.15eth0:on console=ttyS1,115200 ethaddr=30:46:90 [0.00] PID hash table entries: 256 (order: -2, 1024 bytes) [0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [0.00] Writing ErrCtl register=5880 [0.00] Readback ErrCtl register=5880 [0.00] Memory: 60404K/65536K available (3312K kernel code, 147K rwdata, 664K rodata, 144K init, 194K bss, 5132K reserved) [0.00] NR_IRQS:256 [0.00] CPU Clock: 333MHz [0.00] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368) [0.036000] pid_max: default: 32768 minimum: 301 [0.04] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.052000] pinctrl core: initialized pinctrl subsystem [0.056000] NET: Registered protocol family 16 [0.064000] pinctrl-xway 1e100b10.pinmux: Init done [0.068000] dma-xway 1e104100.dma: Init done - hw rev: 6, ports: 5, channels: 20 [0.076000] PCI host bridge /fpi@1000/pci@E105400 ranges: [0.08] MEM 0x1800..0x19ff [0.084000] IO 0x1ae0..0x1aff [0.088000] ath9k,eeprom ath9k_eep: failed to load eeprom address [0.10] usbcore: registered new interface driver usbfs [0.104000] usbcore: registered new interface driver hub [0.108000] usbcore: registered new device driver usb [0.112000] PCI host bridge to bus :00 [0.116000] pci_bus :00: root bus resource [mem 0x1800-0x19ff] [0.12] pci_bus :00: root bus resource [io 0x] [0.124000] pci_bus :00: No busn resource found for root bus, will use [bus 00-ff] [0.128000] pci :00:0e.0: BAR 0: assigned [mem 0x1800-0x1800] [0.132000] Switched to clocksource MIPS [0.136000] NET: Registered protocol family 2 [0.144000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [0.148000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [0.156000] TCP: Hash tables configured (established 1024 bind 1024) [0.164000] TCP: reno registered [0.164000] UDP hash table entries: 256 (order: 0, 4096 bytes) [0.172000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [0.18] NET: Registered protocol family 1 [0.184000] gptu: totally 6 16-bit timers/counters [0.188000] gptu: misc_register on minor 63 [0.192000] gptu: succeeded to request irq 126 [0.196000] gptu: succeeded to request irq 127 [0.20] gptu: succeeded to request irq 128 [0.204000] gptu: succeeded to request irq 129 [0.212000] gptu: succeeded to request irq 130 [0.216000] gptu: succeeded to request irq 131 [0.22] futex hash table entries: 256 (order: -1, 3072 bytes) [0.228000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [0.236000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [0.248000] msgmni has been set to 117 [0.252000] io scheduler noop registered [0.256000] io scheduler deadline registered (default) [0.26] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc [0.268000] console [ttyLTQ0]
Re: [OpenWrt-Devel] lantiq v3.18
On 10/02/2015 19:35, Joerg Hollmann wrote: Hello Daniel, could it be, that the definition of the kernel partition in the dts file of your device ist too small? i think the problem is that spi-gpio is either not loaded or loaded too late. i wont have time to look at it till friday though. I have seen similar error messages on the builds for the VG3503J. there is a kernel part defined in the dts ? the mtdsplit should handle it for your. i'll look at that aswell, only tested a initramfs on the VG3503J John Regards, Joerg On 02/10/2015 10:40 AM, Daniel Gimpelevich wrote: Is there a patchset I could try? On Mon, 2015-02-09 at 12:44 -0800, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 21:27 +0100, John Crispin wrote: bootlog please On 09/02/2015 21:25, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 19:18 +0100, John Crispin wrote: try r44366 or newer please SPI flash is not detected, bricking the device. [0.00] Linux version 3.18.6 (danielg4@chimera) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43982) ) #3 Mon Feb 9 115 [0.00] SoC: AR9 rev 1.2 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 0001954c (MIPS 34Kc) [0.00] MIPS: machine is DGN3500 - Netgear DGN3500 [0.00] Determined physical RAM map: [ 0.00] memory: 0400 @ (usable) [0.00] User-defined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Zone ranges: [0.00] Normal [mem 0x-0x03ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x03ff] [ 0.00] Initmem setup node 0 [mem 0x-0x03ff] [ 0.00] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [0.00] Kernel command line: root=/dev/mtdblock0 ip=192.168.1.1:192.168.1.15eth0:on console=ttyS1,115200 ethaddr=30:46:90 [0.00] PID hash table entries: 256 (order: -2, 1024 bytes) [0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.00] Writing ErrCtl register=5880 [0.00] Readback ErrCtl register=5880 [0.00] Memory: 60404K/65536K available (3312K kernel code, 147K rwdata, 664K rodata, 144K init, 194K bss, 5132K reserved) [0.00] NR_IRQS:256 [0.00] CPU Clock: 333MHz [0.00] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368) [ 0.036000] pid_max: default: 32768 minimum: 301 [0.04] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.052000] pinctrl core: initialized pinctrl subsystem [0.056000] NET: Registered protocol family 16 [ 0.064000] pinctrl-xway 1e100b10.pinmux: Init done [ 0.068000] dma-xway 1e104100.dma: Init done - hw rev: 6, ports: 5, channels: 20 [0.076000] PCI host bridge /fpi@1000/pci@E105400 ranges: [0.08] MEM 0x1800..0x19ff [0.084000] IO 0x1ae0..0x1aff [0.088000] ath9k,eeprom ath9k_eep: failed to load eeprom address [ 0.10] usbcore: registered new interface driver usbfs [ 0.104000] usbcore: registered new interface driver hub [ 0.108000] usbcore: registered new device driver usb [ 0.112000] PCI host bridge to bus :00 [0.116000] pci_bus :00: root bus resource [mem 0x1800-0x19ff] [ 0.12] pci_bus :00: root bus resource [io 0x] [ 0.124000] pci_bus :00: No busn resource found for root bus, will use [bus 00-ff] [0.128000] pci :00:0e.0: BAR 0: assigned [mem 0x1800-0x1800] [0.132000] Switched to clocksource MIPS [0.136000] NET: Registered protocol family 2 [0.144000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [0.148000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [0.156000] TCP: Hash tables configured (established 1024 bind 1024) [0.164000] TCP: reno registered [0.164000] UDP hash table entries: 256 (order: 0, 4096 bytes) [0.172000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [0.18] NET: Registered protocol family 1 [0.184000] gptu: totally 6 16-bit timers/counters [0.188000] gptu: misc_register on minor 63 [0.192000] gptu: succeeded to request irq 126 [ 0.196000] gptu: succeeded to request irq 127 [0.20] gptu: succeeded to request irq 128 [0.204000] gptu: succeeded to request irq 129 [0.212000] gptu: succeeded to request irq 130 [0.216000] gptu: succeeded to request irq 131 [
Re: [OpenWrt-Devel] lantiq v3.18
Got problem with pci on P-2812HNU-F1, it was simply not initialized (missing whole pci part in bootlog), I've added target/linux/lantiq/xrx200/config-3.18 from config-3.14(changed only UBI_GLUEBI to UBI_BLOCK), and pci went back, not sure how build config is generated but that solved my problem. VDSL Annex A is working atm, if anything regarding stability will happen I'll post an update. Best Regards / Pozdrawiam Sylwester Petela / ScApi W dniu 2015-02-10 o 19:39, John Crispin pisze: On 10/02/2015 19:35, Joerg Hollmann wrote: Hello Daniel, could it be, that the definition of the kernel partition in the dts file of your device ist too small? i think the problem is that spi-gpio is either not loaded or loaded too late. i wont have time to look at it till friday though. I have seen similar error messages on the builds for the VG3503J. there is a kernel part defined in the dts ? the mtdsplit should handle it for your. i'll look at that aswell, only tested a initramfs on the VG3503J John Regards, Joerg On 02/10/2015 10:40 AM, Daniel Gimpelevich wrote: Is there a patchset I could try? On Mon, 2015-02-09 at 12:44 -0800, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 21:27 +0100, John Crispin wrote: bootlog please On 09/02/2015 21:25, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 19:18 +0100, John Crispin wrote: try r44366 or newer please SPI flash is not detected, bricking the device. [0.00] Linux version 3.18.6 (danielg4@chimera) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43982) ) #3 Mon Feb 9 115 [0.00] SoC: AR9 rev 1.2 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 0001954c (MIPS 34Kc) [0.00] MIPS: machine is DGN3500 - Netgear DGN3500 [0.00] Determined physical RAM map: [ 0.00] memory: 0400 @ (usable) [0.00] User-defined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Zone ranges: [0.00] Normal [mem 0x-0x03ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x03ff] [ 0.00] Initmem setup node 0 [mem 0x-0x03ff] [ 0.00] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [0.00] Kernel command line: root=/dev/mtdblock0 ip=192.168.1.1:192.168.1.15eth0:on console=ttyS1,115200 ethaddr=30:46:90 [0.00] PID hash table entries: 256 (order: -2, 1024 bytes) [0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.00] Writing ErrCtl register=5880 [0.00] Readback ErrCtl register=5880 [0.00] Memory: 60404K/65536K available (3312K kernel code, 147K rwdata, 664K rodata, 144K init, 194K bss, 5132K reserved) [0.00] NR_IRQS:256 [0.00] CPU Clock: 333MHz [0.00] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368) [ 0.036000] pid_max: default: 32768 minimum: 301 [0.04] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.052000] pinctrl core: initialized pinctrl subsystem [0.056000] NET: Registered protocol family 16 [ 0.064000] pinctrl-xway 1e100b10.pinmux: Init done [ 0.068000] dma-xway 1e104100.dma: Init done - hw rev: 6, ports: 5, channels: 20 [0.076000] PCI host bridge /fpi@1000/pci@E105400 ranges: [0.08] MEM 0x1800..0x19ff [0.084000] IO 0x1ae0..0x1aff [0.088000] ath9k,eeprom ath9k_eep: failed to load eeprom address [ 0.10] usbcore: registered new interface driver usbfs [ 0.104000] usbcore: registered new interface driver hub [ 0.108000] usbcore: registered new device driver usb [ 0.112000] PCI host bridge to bus :00 [0.116000] pci_bus :00: root bus resource [mem 0x1800-0x19ff] [ 0.12] pci_bus :00: root bus resource [io 0x] [ 0.124000] pci_bus :00: No busn resource found for root bus, will use [bus 00-ff] [0.128000] pci :00:0e.0: BAR 0: assigned [mem 0x1800-0x1800] [0.132000] Switched to clocksource MIPS [0.136000] NET: Registered protocol family 2 [0.144000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [0.148000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [0.156000] TCP: Hash tables configured (established 1024 bind 1024) [0.164000] TCP: reno registered [0.164000] UDP hash table entries: 256 (order: 0, 4096 bytes) [0.172000] UDP-Lite hash table entries:
Re: [OpenWrt-Devel] lantiq v3.18
On 10/02/2015 21:40, Sylwester Petela wrote: Got problem with pci on P-2812HNU-F1, it was simply not initialized (missing whole pci part in bootlog), I've added target/linux/lantiq/xrx200/config-3.18 from config-3.14(changed only UBI_GLUEBI to UBI_BLOCK), and pci went back, not sure how build config is generated but that solved my problem. VDSL Annex A is working atm, if anything regarding stability will happen I'll post an update. Best Regards / Pozdrawiam Sylwester Petela / ScApi ok i only tested the pcie on the 8970, will diff the 2 config tomorrow to figure out what the problem is has anyone got a line that uses ptm ? i had to make an api update to the ptm driver to get it to compile W dniu 2015-02-10 o 19:39, John Crispin pisze: On 10/02/2015 19:35, Joerg Hollmann wrote: Hello Daniel, could it be, that the definition of the kernel partition in the dts file of your device ist too small? i think the problem is that spi-gpio is either not loaded or loaded too late. i wont have time to look at it till friday though. I have seen similar error messages on the builds for the VG3503J. there is a kernel part defined in the dts ? the mtdsplit should handle it for your. i'll look at that aswell, only tested a initramfs on the VG3503J John Regards, Joerg On 02/10/2015 10:40 AM, Daniel Gimpelevich wrote: Is there a patchset I could try? On Mon, 2015-02-09 at 12:44 -0800, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 21:27 +0100, John Crispin wrote: bootlog please On 09/02/2015 21:25, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 19:18 +0100, John Crispin wrote: try r44366 or newer please SPI flash is not detected, bricking the device. [0.00] Linux version 3.18.6 (danielg4@chimera) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43982) ) #3 Mon Feb 9 115 [0.00] SoC: AR9 rev 1.2 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 0001954c (MIPS 34Kc) [0.00] MIPS: machine is DGN3500 - Netgear DGN3500 [0.00] Determined physical RAM map: [ 0.00] memory: 0400 @ (usable) [0.00] User-defined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Zone ranges: [0.00] Normal [mem 0x-0x03ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x03ff] [ 0.00] Initmem setup node 0 [mem 0x-0x03ff] [ 0.00] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [0.00] Kernel command line: root=/dev/mtdblock0 ip=192.168.1.1:192.168.1.15eth0:on console=ttyS1,115200 ethaddr=30:46:90 [0.00] PID hash table entries: 256 (order: -2, 1024 bytes) [0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.00] Writing ErrCtl register=5880 [0.00] Readback ErrCtl register=5880 [0.00] Memory: 60404K/65536K available (3312K kernel code, 147K rwdata, 664K rodata, 144K init, 194K bss, 5132K reserved) [0.00] NR_IRQS:256 [0.00] CPU Clock: 333MHz [0.00] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368) [ 0.036000] pid_max: default: 32768 minimum: 301 [0.04] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.052000] pinctrl core: initialized pinctrl subsystem [0.056000] NET: Registered protocol family 16 [ 0.064000] pinctrl-xway 1e100b10.pinmux: Init done [ 0.068000] dma-xway 1e104100.dma: Init done - hw rev: 6, ports: 5, channels: 20 [0.076000] PCI host bridge /fpi@1000/pci@E105400 ranges: [0.08] MEM 0x1800..0x19ff [0.084000] IO 0x1ae0..0x1aff [0.088000] ath9k,eeprom ath9k_eep: failed to load eeprom address [ 0.10] usbcore: registered new interface driver usbfs [ 0.104000] usbcore: registered new interface driver hub [ 0.108000] usbcore: registered new device driver usb [ 0.112000] PCI host bridge to bus :00 [0.116000] pci_bus :00: root bus resource [mem 0x1800-0x19ff] [ 0.12] pci_bus :00: root bus resource [io 0x] [ 0.124000] pci_bus :00: No busn resource found for root bus, will use [bus 00-ff] [0.128000] pci :00:0e.0: BAR 0: assigned [mem 0x1800-0x1800] [0.132000] Switched to clocksource MIPS [0.136000] NET: Registered protocol family 2 [0.144000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [0.148000] TCP
Re: [OpenWrt-Devel] lantiq v3.18
On Mon, 2015-02-09 at 13:30 +0100, John Crispin wrote: Hi, i bumped the lantiq support to v3.18 and tested it on 6 different boards. I have not tested vdsl support due to lack of a vdsl line. could someone please do so. @antii: can you rebase/resnd the dwc2 series ? it does not apply to the v3.18 patches John Build now fails for AR9. Relevant log: scripts/kconfig/conf --silentoldconfig Kconfig net/sched/Kconfig:43: warning: menuconfig statement without prompt * * Restart config... * * * Staging drivers * Staging drivers (STAGING) [Y/n/?] y Data acquisition support (comedi) (COMEDI) [N/m/?] n RealTek RTL8192U Wireless LAN NIC driver (RTL8192U) [N/m/?] n Support for rtllib wireless devices (RTLLIB) [N/m/?] n RealTek RTL8712U (RTL8192SU) Wireless LAN NIC driver (R8712U) [N/m/y/?] n Realtek RTL8188EU Wireless LAN NIC driver (R8188EU) [N/m/y/?] n Realtek RTL8723AU Wireless LAN NIC driver (R8723AU) [N/m/?] (NEW) aborted! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
there is no ar9 target. can you give me your .config file please ? On 09/02/2015 18:30, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 13:30 +0100, John Crispin wrote: Hi, i bumped the lantiq support to v3.18 and tested it on 6 different boards. I have not tested vdsl support due to lack of a vdsl line. could someone please do so. @antii: can you rebase/resnd the dwc2 series ? it does not apply to the v3.18 patches John Build now fails for AR9. Relevant log: scripts/kconfig/conf --silentoldconfig Kconfig net/sched/Kconfig:43: warning: menuconfig statement without prompt * * Restart config... * * * Staging drivers * Staging drivers (STAGING) [Y/n/?] y Data acquisition support (comedi) (COMEDI) [N/m/?] n RealTek RTL8192U Wireless LAN NIC driver (RTL8192U) [N/m/?] n Support for rtllib wireless devices (RTLLIB) [N/m/?] n RealTek RTL8712U (RTL8192SU) Wireless LAN NIC driver (R8712U) [N/m/y/?] n Realtek RTL8188EU Wireless LAN NIC driver (R8188EU) [N/m/y/?] n Realtek RTL8723AU Wireless LAN NIC driver (R8723AU) [N/m/?] (NEW) aborted! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On 09/02/2015 18:30, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 13:30 +0100, John Crispin wrote: Hi, i bumped the lantiq support to v3.18 and tested it on 6 different boards. I have not tested vdsl support due to lack of a vdsl line. could someone please do so. @antii: can you rebase/resnd the dwc2 series ? it does not apply to the v3.18 patches John Build now fails for AR9. Relevant log: scripts/kconfig/conf --silentoldconfig Kconfig net/sched/Kconfig:43: warning: menuconfig statement without prompt * * Restart config... * * * Staging drivers * Staging drivers (STAGING) [Y/n/?] y Data acquisition support (comedi) (COMEDI) [N/m/?] n RealTek RTL8192U Wireless LAN NIC driver (RTL8192U) [N/m/?] n Support for rtllib wireless devices (RTLLIB) [N/m/?] n RealTek RTL8712U (RTL8192SU) Wireless LAN NIC driver (R8712U) [N/m/y/?] n Realtek RTL8188EU Wireless LAN NIC driver (R8188EU) [N/m/y/?] n Realtek RTL8723AU Wireless LAN NIC driver (R8723AU) [N/m/?] (NEW) aborted! try r44366 or newer please ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
bootlog please On 09/02/2015 21:25, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 19:18 +0100, John Crispin wrote: try r44366 or newer please SPI flash is not detected, bricking the device. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On Mon, 2015-02-09 at 19:18 +0100, John Crispin wrote: try r44366 or newer please SPI flash is not detected, bricking the device. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] lantiq v3.18
On Mon, 2015-02-09 at 21:27 +0100, John Crispin wrote: bootlog please On 09/02/2015 21:25, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 19:18 +0100, John Crispin wrote: try r44366 or newer please SPI flash is not detected, bricking the device. [0.00] Linux version 3.18.6 (danielg4@chimera) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43982) ) #3 Mon Feb 9 115 [0.00] SoC: AR9 rev 1.2 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 0001954c (MIPS 34Kc) [0.00] MIPS: machine is DGN3500 - Netgear DGN3500 [0.00] Determined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] User-defined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Zone ranges: [0.00] Normal [mem 0x-0x03ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x03ff] [0.00] Initmem setup node 0 [mem 0x-0x03ff] [0.00] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [0.00] Kernel command line: root=/dev/mtdblock0 ip=192.168.1.1:192.168.1.15eth0:on console=ttyS1,115200 ethaddr=30:46:90 [0.00] PID hash table entries: 256 (order: -2, 1024 bytes) [0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [0.00] Writing ErrCtl register=5880 [0.00] Readback ErrCtl register=5880 [0.00] Memory: 60404K/65536K available (3312K kernel code, 147K rwdata, 664K rodata, 144K init, 194K bss, 5132K reserved) [0.00] NR_IRQS:256 [0.00] CPU Clock: 333MHz [0.00] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368) [0.036000] pid_max: default: 32768 minimum: 301 [0.04] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [0.052000] pinctrl core: initialized pinctrl subsystem [0.056000] NET: Registered protocol family 16 [0.064000] pinctrl-xway 1e100b10.pinmux: Init done [0.068000] dma-xway 1e104100.dma: Init done - hw rev: 6, ports: 5, channels: 20 [0.076000] PCI host bridge /fpi@1000/pci@E105400 ranges: [0.08] MEM 0x1800..0x19ff [0.084000] IO 0x1ae0..0x1aff [0.088000] ath9k,eeprom ath9k_eep: failed to load eeprom address [0.10] usbcore: registered new interface driver usbfs [0.104000] usbcore: registered new interface driver hub [0.108000] usbcore: registered new device driver usb [0.112000] PCI host bridge to bus :00 [0.116000] pci_bus :00: root bus resource [mem 0x1800-0x19ff] [0.12] pci_bus :00: root bus resource [io 0x] [0.124000] pci_bus :00: No busn resource found for root bus, will use [bus 00-ff] [0.128000] pci :00:0e.0: BAR 0: assigned [mem 0x1800-0x1800] [0.132000] Switched to clocksource MIPS [0.136000] NET: Registered protocol family 2 [0.144000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [0.148000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [0.156000] TCP: Hash tables configured (established 1024 bind 1024) [0.164000] TCP: reno registered [0.164000] UDP hash table entries: 256 (order: 0, 4096 bytes) [0.172000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [0.18] NET: Registered protocol family 1 [0.184000] gptu: totally 6 16-bit timers/counters [0.188000] gptu: misc_register on minor 63 [0.192000] gptu: succeeded to request irq 126 [0.196000] gptu: succeeded to request irq 127 [0.20] gptu: succeeded to request irq 128 [0.204000] gptu: succeeded to request irq 129 [0.212000] gptu: succeeded to request irq 130 [0.216000] gptu: succeeded to request irq 131 [0.22] futex hash table entries: 256 (order: -1, 3072 bytes) [0.228000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [0.236000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [0.248000] msgmni has been set to 117 [0.252000] io scheduler noop registered [0.256000] io scheduler deadline registered (default) [0.26] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc [0.268000] console [ttyLTQ0] enabled [0.268000] console [ttyLTQ0] enabled [0.276000] bootconsole [early0] disabled [0.276000] bootconsole [early0] disabled [0.332000] Realtek RTL8366RB ethernet switch
Re: [OpenWrt-Devel] lantiq v3.18
I'll test it today. 9 lut 2015 13:30 John Crispin blo...@openwrt.org napisał(a): Hi, i bumped the lantiq support to v3.18 and tested it on 6 different boards. I have not tested vdsl support due to lack of a vdsl line. could someone please do so. @antii: can you rebase/resnd the dwc2 series ? it does not apply to the v3.18 patches John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel