Re: [OpenWrt-Devel] au1xxx v3.18

2015-02-09 Thread John Crispin


On 09/02/2015 21:56, Bruno Randolf wrote:
 [0.00] Kernel command line: root=/dev/mtdblock/0
 console=ttyS0,115200 root=/dev/mtdblock0 rootfstype=squashfs,jffs2


what does that look like on 3.14 ? on mediatek the bug was that the
wrong cmdline was used, causing a bad base_baud to be set in the 8250 driver
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] au1xxx v3.18

2015-02-09 Thread John Crispin


On 09/02/2015 21:56, Bruno Randolf wrote:
 Hi John,
 
 Something's wrong with the serial, but I was able to login via Ethernet.
 
 I did not verify PCI yet, as I only have a PCI adapter on the cubes
 which are in use.
 
 Serial log below:
 
 bruno
 
 On 02/09/2015 12:26 PM, John Crispin wrote:
 Hi Bruno, (or anyone else that has the hw at hand)

 i pushed the v3.18 support. could you test it please and let me know if
 it is working ? you need to set 3.18 in the Makefile, it is still at 3.14.
 
 [0.00] Linux version 3.18.6 (br1@shiva) (gcc version 4.8.3
 (OpenWrt/Linaro GCC 4.8-2014.04 r44360) ) #1 Mon Feb 9 20:19:34 WET 2015
 [0.00] bootconsole [early0] enabled
 [0.00] CPU0 revision is: 01030202 (Au1500)
 [0.00] 4G Systems MTX-1 Board
 [0.00] Determined 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 16kB, 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/mtdblock/0
 console=ttyS0,115200 root=/dev/mtdblock0 rootfstype=squashfs,jffs2
 [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] Memory: 60556K/65536K available (2412K kernel code, 95K
 rwdata, 476K rodata, 144K init, 195K bss, 4980K reserved)
 [0.00] NR_IRQS:128
 [0.00] Alchemy clocksource installed
 [0.004000] Calibrating delay loop... 395.26 BogoMIPS (lpj=790528)
 [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] NET: Registered protocol family 16
 [0.06] Alchemy clocktree installed
 [0.064000] Alchemy DMA initialized
 [0.068000] alchemy-pci alchemy-pci.0: PCI controller at 32 MHz
 [0.10] PCI host bridge to bus :00
 [0.104000] pci_bus :00: root bus resource [mem
 0x4000-0x4fff]
 [0.108000] pci_bus :00: root bus resource [io  0x1000-0x]
 [0.112000] pci_bus :00: No busn resource found for root bus,
 will use [bus 00-ff]
 [0.116000] Switched to clocksource alchemy-counter1
 [0.124000] NET: Registered protocol family 2
 [0.128000] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [0.136000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [0.144000] TCP: Hash tables configured (established 1024 bind 1024)
 [0.152000] TCP: reno registered
 [0.156000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [0.16] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [0.168000] NET: Registered protocol family 1
 [0.176000] futex hash table entries: 256 (order: -1, 3072 bytes)
 [0.188000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [0.192000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [0.216000] msgmni has been set to 118
 [0.224000] io scheduler noop registered
 [0.228000] io scheduler deadline registered (default)
 [0.232000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
 [0.24] console [ttyS0] disabled
 [0.244000] serial8250.8: ttyS0 at MMIO 0x1110 (irq = 8,
 base_baud = 18187500) is a 16550A
 ���

ok, bad baudrate. i fixed this on mediatek in the upstream kernel for
3.16 or 17. need to think of what the issue was. it was easy to fix though.





 With 14.07 the last part looks like this:
 
 [0.18] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
 [0.192000] serial8250.8: ttyS0 at MMIO 0x1110 (irq = 8) is a 16550A
 [0.20] console [ttyS0] enabled, bootconsole disabled
 [0.20] console [ttyS0] enabled, bootconsole disabled
 [0.216000] serial8250.8: ttyS1 at MMIO 0x1140 (irq = 11) is a 16550A
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] au1xxx v3.18

2015-02-09 Thread Bruno Randolf
Hi John,

Something's wrong with the serial, but I was able to login via Ethernet.

I did not verify PCI yet, as I only have a PCI adapter on the cubes
which are in use.

Serial log below:

bruno

On 02/09/2015 12:26 PM, John Crispin wrote:
 Hi Bruno, (or anyone else that has the hw at hand)
 
 i pushed the v3.18 support. could you test it please and let me know if
 it is working ? you need to set 3.18 in the Makefile, it is still at 3.14.

[0.00] Linux version 3.18.6 (br1@shiva) (gcc version 4.8.3
(OpenWrt/Linaro GCC 4.8-2014.04 r44360) ) #1 Mon Feb 9 20:19:34 WET 2015
[0.00] bootconsole [early0] enabled
[0.00] CPU0 revision is: 01030202 (Au1500)
[0.00] 4G Systems MTX-1 Board
[0.00] Determined 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 16kB, 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/mtdblock/0
console=ttyS0,115200 root=/dev/mtdblock0 rootfstype=squashfs,jffs2
[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] Memory: 60556K/65536K available (2412K kernel code, 95K
rwdata, 476K rodata, 144K init, 195K bss, 4980K reserved)
[0.00] NR_IRQS:128
[0.00] Alchemy clocksource installed
[0.004000] Calibrating delay loop... 395.26 BogoMIPS (lpj=790528)
[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] NET: Registered protocol family 16
[0.06] Alchemy clocktree installed
[0.064000] Alchemy DMA initialized
[0.068000] alchemy-pci alchemy-pci.0: PCI controller at 32 MHz
[0.10] PCI host bridge to bus :00
[0.104000] pci_bus :00: root bus resource [mem
0x4000-0x4fff]
[0.108000] pci_bus :00: root bus resource [io  0x1000-0x]
[0.112000] pci_bus :00: No busn resource found for root bus,
will use [bus 00-ff]
[0.116000] Switched to clocksource alchemy-counter1
[0.124000] NET: Registered protocol family 2
[0.128000] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[0.136000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[0.144000] TCP: Hash tables configured (established 1024 bind 1024)
[0.152000] TCP: reno registered
[0.156000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[0.16] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[0.168000] NET: Registered protocol family 1
[0.176000] futex hash table entries: 256 (order: -1, 3072 bytes)
[0.188000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[0.192000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[0.216000] msgmni has been set to 118
[0.224000] io scheduler noop registered
[0.228000] io scheduler deadline registered (default)
[0.232000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[0.24] console [ttyS0] disabled
[0.244000] serial8250.8: ttyS0 at MMIO 0x1110 (irq = 8,
base_baud = 18187500) is a 16550A
���


With 14.07 the last part looks like this:

[0.18] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[0.192000] serial8250.8: ttyS0 at MMIO 0x1110 (irq = 8) is a 16550A
[0.20] console [ttyS0] enabled, bootconsole disabled
[0.20] console [ttyS0] enabled, bootconsole disabled
[0.216000] serial8250.8: ttyS1 at MMIO 0x1140 (irq = 11) is a 16550A
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel