[OpenWrt-Devel] lantiq v3.18

John Crispin john at phrozen.org
Tue Feb 10 13:39:14 EST 2015



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.000000] Linux version 3.18.6 (danielg4 at chimera) (gcc
>>> version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43982) ) #3 Mon
>>> Feb 9 115 [    0.000000] SoC: AR9 rev 1.2 [    0.000000]
>>> bootconsole [early0] enabled [    0.000000] CPU0 revision is:
>>> 0001954c (MIPS 34Kc) [    0.000000] MIPS: machine is DGN3500 -
>>> Netgear DGN3500 [    0.000000] Determined physical RAM map: [
>>> 0.000000]  memory: 04000000 @ 00000000 (usable) [    0.000000]
>>> User-defined physical RAM map: [    0.000000]  memory: 04000000
>>> @ 00000000 (usable) [    0.000000] Initrd not found or empty -
>>> disabling initrd [    0.000000] Zone ranges: [    0.000000]
>>> Normal   [mem 0x00000000-0x03ffffff] [    0.000000] Movable
>>> zone start for each node [    0.000000] Early memory node
>>> ranges [    0.000000]   node   0: [mem 0x00000000-0x03ffffff] [
>>> 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff] [
>>> 0.000000] Primary instruction cache 32kB, VIPT, 4-way,
>>> linesize 32 bytes. [    0.000000] Primary data cache 16kB,
>>> 4-way, VIPT, no aliases, linesize 32 bytes [    0.000000] Built
>>> 1 zonelists in Zone order, mobility grouping on.  Total pages:
>>> 16256 [    0.000000] Kernel command line: root=/dev/mtdblock0 
>>> ip=192.168.1.1:192.168.1.15::::eth0:on console=ttyS1,115200 
>>> ethaddr=30:46:90 [    0.000000] PID hash table entries: 256
>>> (order: -2, 1024 bytes) [    0.000000] Dentry cache hash table
>>> entries: 8192 (order: 3, 32768 bytes) [    0.000000]
>>> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [
>>> 0.000000] Writing ErrCtl register=00005880 [    0.000000]
>>> Readback ErrCtl register=00005880 [    0.000000] Memory:
>>> 60404K/65536K available (3312K kernel code, 147K rwdata, 664K
>>> rodata, 144K init, 194K bss, 5132K reserved) [    0.000000]
>>> NR_IRQS:256 [    0.000000] CPU Clock: 333MHz [    0.000000]
>>> Calibrating delay loop... 221.18 BogoMIPS (lpj=442368) [
>>> 0.036000] pid_max: default: 32768 minimum: 301 [    0.040000]
>>> Mount-cache hash table entries: 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 at 10000000/pci at E105400 ranges: [    0.080000]  MEM
>>> 0x0000000018000000..0x0000000019ffffff [    0.084000]   IO
>>> 0x000000001ae00000..0x000000001affffff [    0.088000]
>>> ath9k,eeprom ath9k_eep: failed to load eeprom address [
>>> 0.100000] 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 0000:00 [    0.116000] pci_bus
>>> 0000:00: root bus resource [mem 0x18000000-0x19ffffff] [
>>> 0.120000] pci_bus 0000:00: root bus resource [io  0xffffffff] [
>>> 0.124000] pci_bus 0000:00: No busn resource found for root
>>> bus, will use [bus 00-ff] [    0.128000] pci 0000:00:0e.0: BAR
>>> 0: assigned [mem 0x18000000-0x1800ffff] [    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.180000] 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.200000]
>>> 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.220000] 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.260000]
>>> 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 driver version 0.2.4 [    0.340000] rtl8366rb rtl8366rb:
>>> using GPIO pins 491 (SDA) and 493 (SCK) [    0.344000]
>>> rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found [    0.440000]
>>> libphy: rtl8366rb: probed [    0.444000] libphy: ltq_mii:
>>> probed [    0.444000] eth0 (uninitialized): no PHY found [
>>> 0.452000] etop: mdio probe failed [    0.456000] wdt
>>> 1f8803f0.watchdog: Init done [    0.460000] TCP: cubic
>>> registered [    0.464000] NET: Registered protocol family 17 [
>>> 0.468000] bridge: automatic filtering via arp/ip/ip6tables has 
>>> been deprecated. Update your scripts to load br_netfilter if
>>> yo. [    0.480000] 8021q: 802.1Q VLAN Support v1.8 [
>>> 0.484000] ath9k,eeprom ath9k_eep: failed to load eeprom
>>> address [    0.496000] UBIFS error (pid 1): ubifs_mount: cannot
>>> open "ubi0:rootfs", error -19 [    0.504000] VFS: Cannot open
>>> root device "mtdblock5" or unknown-block(0,0): error -6 [
>>> 0.508000] Please append a correct "root=" boot option; here
>>> are the available partitions: [    0.516000] Kernel panic - not
>>> syncing: VFS: Unable to mount root fs on unknown-block(0,0) [
>>> 0.516000] Rebooting in 1 seconds..
>> _______________________________________________ openwrt-devel
>> mailing list openwrt-devel at lists.openwrt.org 
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>> 
> _______________________________________________ openwrt-devel
> mailing list openwrt-devel at lists.openwrt.org 
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list