[OpenWrt-Devel] [PATCH 00/23] add 3.14 kernel support for ar71xx

Zhao, Gang gang.zhao.42 at gmail.com
Sat Jul 26 00:00:21 EDT 2014


On Sat, 2014-07-26 at 10:48:35 +0800, Zhao, Gang wrote:
> Tested on a tp-link wr703n, all seem okay.
>
Oh, it seems there are some problems about the phy, all network cards
are unusable :-( Will investigate it later. At least this patch set made
a bootable kernel...

> The last patch "fix spi ath79 fast read" should be backported to
> 3.10(barrier breaker), it will be sent separately.
>
> The boot log:
> root at OpenWrt:/# dmesg 
> [    0.000000] Linux version 3.14.12 (zhao at hello.world) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r41595) ) #1 Sat Jul 26 09:43:28 CST 2014
> [    0.000000] MyLoader: sysp=388dd517, boardp=04505212, parts=7709ac36
> [    0.000000] bootconsole [early0] enabled
> [    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
> [    0.000000] SoC: Atheros AR9330 rev 1
> [    0.000000] Determined physical RAM map:
> [    0.000000]  memory: 02000000 @ 00000000 (usable)
> [    0.000000] Initrd not found or empty - disabling initrd
> [    0.000000] Zone ranges:
> [    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
> [    0.000000] Movable zone start for each node
> [    0.000000] Early memory node ranges
> [    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
> [    0.000000] On node 0 totalpages: 8192
> [    0.000000] free_area_init_node: node 0, pgdat 80334420, node_mem_map 81000000
> [    0.000000]   Normal zone: 64 pages used for memmap
> [    0.000000]   Normal zone: 0 pages reserved
> [    0.000000]   Normal zone: 8192 pages, LIFO batch:0
> [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
> [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
> [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
> [    0.000000] pcpu-alloc: [0] 0 
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
> [    0.000000] Kernel command line:  board=TL-WR703N console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
> [    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
> [    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
> [    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.000000] Writing ErrCtl register=00000000
> [    0.000000] Readback ErrCtl register=00000000
> [    0.000000] Memory: 28652K/32768K available (2363K kernel code, 122K rwdata, 496K rodata, 208K init, 187K bss, 4116K reserved)
> [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> [    0.000000] NR_IRQS:51
> [    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
> [    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
> [    0.080000] pid_max: default: 32768 minimum: 301
> [    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.100000] NET: Registered protocol family 16
> [    0.100000] MIPS: machine is TP-LINK TL-WR703N v1
> [    0.360000] bio: create slab <bio-0> at 0
> [    0.370000] Switched to clocksource MIPS
> [    0.370000] NET: Registered protocol family 2
> [    0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.390000] TCP: Hash tables configured (established 1024 bind 1024)
> [    0.390000] TCP: reno registered
> [    0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
> [    0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> [    0.410000] NET: Registered protocol family 1
> [    0.410000] PCI: CLS 0 bytes, default 32
> [    0.420000] futex hash table entries: 256 (order: -1, 3072 bytes)
> [    0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [    0.440000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
> [    0.460000] msgmni has been set to 55
> [    0.460000] io scheduler noop registered
> [    0.460000] io scheduler deadline registered (default)
> [    0.470000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
> [    0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART
> [    0.480000] console [ttyATH0] enabled
> [    0.490000] bootconsole [early0] disabled
> [    0.500000] m25p80 spi0.0: found s25sl032p, expected m25p80
> [    0.510000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
> [    0.510000] 5 tp-link partitions found on MTD device spi0.0
> [    0.520000] Creating 5 MTD partitions on "spi0.0":
> [    0.520000] 0x000000000000-0x000000020000 : "u-boot"
> [    0.530000] 0x000000020000-0x00000012aa2c : "kernel"
> [    0.530000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
> [    0.550000] 0x00000012aa2c-0x0000003f0000 : "rootfs"
> [    0.550000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
> [    0.560000] mtd: device 2 (rootfs) set to be root filesystem
> [    0.570000] 1 squashfs-split partitions found on MTD device rootfs
> [    0.570000] 0x0000002f0000-0x0000003f0000 : "rootfs_data"
> [    0.580000] 0x0000003f0000-0x000000400000 : "art"
> [    0.590000] 0x000000020000-0x0000003f0000 : "firmware"
> [    0.610000] libphy: ag71xx_mdio: probed
> [    1.240000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
> [    1.240000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
> [    1.250000] TCP: cubic registered
> [    1.250000] NET: Registered protocol family 17
> [    1.260000] 8021q: 802.1Q VLAN Support v1.8
> [    1.270000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
> [    1.280000] Freeing unused kernel memory: 208K (8034c000 - 80380000)
> [    3.430000] random: mktemp urandom read with 44 bits of entropy available
> [    6.270000] eth0: link up (100Mbps/Full duplex)
> [    6.820000] jffs2: notice: (297) jffs2_build_xattr_subsystem: complete building xattr subsystem, 17 of xdatum (0 unchecked, 16 orphan) and 28 of xref (0 dead, 16 orphan) found.
> [    6.860000] eth0: link down
> [   16.830000] device eth0 entered promiscuous mode
> [   26.390000] random: nonblocking pool is initialized
>
> [...]
_______________________________________________
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