On 11/11/12 18:12, Florian Fainelli wrote:
> On Wednesday 17 October 2012 15:46:44 Daniel Golle wrote:
>> Some more cleanup was done:
>> AC49x is now a sub-target (instead of a separate machine) also in the kernel.
>> This further reduces the foot-print of this addition...
>>
>> Daniel Golle (7):
>>   [ar7] free memory below kernel offset
>>   [ar7] add AudioCodes AC49x platform support to kernel
>>   [ar7] support AC49x bootloader environment
>>   [ar7] detect AC49x flash partitions
>>   [ar7] create generic subtarget
>>   [ar7] create AC49x subtarget
>>   [ar7] generate image for AC49x
> 
> Applied in r34143 - r34149 thanks Daniel! I successfully boot tested these
> patches on several AR7 boards.
> 

Thanks for including!

AC49x also boots fine with OpenWrt trunk (tried both, Kernel 3.3.8 and 3.6.6) 
now:
Flash found: MX29LV640DBTC
Press ESC for monitor... 221

(ac494bl)
[boot 84] attempt (0) trying to boot from (BOOTCFG)

Booting...
[    0.000000] Linux version 3.6.6 (daniel@localhost.localdomain) (gcc version
4.6.4 20121001 (prerelease) (Linaro GCC 4.6-2012.10) ) #1 Mon Nov 12 01:37:00
IST 2012
[    0.000000] titan-gpio: registered 51 GPIOs
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00018448 (MIPS 4KEc)
[    0.000000] AudioCodes AC49x, ID: 0x0007, Revision: 0x02
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 01000000 @ 14000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x14000000-0x14ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x14000000-0x14ffffff]
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 
bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total
pages: 4064
[    0.000000] Kernel command line:  console=ttyS0,115200n8
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Memory: 7136k/16384k available (2386k kernel code, 9248k
reserved, 372k data, 164k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] NET: Registered protocol family 16
[    0.120000] bio: create slab <bio-0> at 0
[    0.130000] Switching to clocksource MIPS
[    0.150000] NET: Registered protocol family 2
[    0.150000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.160000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.170000] TCP: Hash tables configured (established 512 bind 512)
[    0.170000] TCP: reno registered
[    0.170000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.190000] NET: Registered protocol family 1
[    0.250000] cannot parse mac address, using random address
[    0.250000] unable to register fixed phy for cpmac-high: 0
[    0.270000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.270000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.280000] msgmni has been set to 16
[    0.290000] io scheduler noop registered
[    0.290000] io scheduler deadline registered (default)
[    0.300000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.300000] serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a TI-AR7
[    0.310000] console [ttyS0] enabled, bootconsole disabled
[    0.310000] console [ttyS0] enabled, bootconsole disabled
[    0.320000] serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a TI-AR7
[    0.330000] physmap platform flash device: 02000000 at 10000000
[    0.340000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank.
Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.350000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.350000]   Amd/Fujitsu Extended Query version 1.1.
[    0.360000] number of CFI chips: 1
[    0.360000] detected sub-partition rootfs: 0x004f0000@0x00300000
[    0.370000] 4 ac49xpart partitions found on MTD device physmap-flash.0
[    0.380000] Creating 4 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000010000-0x0000007f0000 : "linux"
[    0.390000] 0x000000300000-0x0000007f0000 : "rootfs"
[    0.400000] mtd: partition "rootfs" set to be root filesystem
[    0.410000] mtd: partition "rootfs_data" created automatically, ofs=470000,
len=380000
[    0.410000] 0x000000470000-0x0000007f0000 : "rootfs_data"
[    0.420000] 0x000000000000-0x000000010000 : "loader"
[    0.440000] 0x0000007f0000-0x000000800000 : "config"
[    0.460000] libphy: Fixed MDIO Bus: probed
[    6.640000] INTERNAL PHY!!!
[    6.700000] libphy: cpmac-mii: probed
[    6.770000] cpmac: device eth0 (regs: 08640800, irq: 41, phy: cpmac-1:1f,
mac: 0e:ea:97:59:9f:8c)
[    6.840000] cpmac: device eth1 (regs: 08640000, irq: 27, phy: cpmac-1:1e,
mac: 00:01:02:03:04:05)
[    6.850000] ar7_wdt: timer margin 59 seconds (prescale 65535, change 57180,
freq 62500000)
[    6.860000] vlynq0: regs 0x08611c00, irq 33, mem 0x0c000000
[    7.770000] vlynq1: regs 0x08611300, irq 34, mem 0x40000000
[    8.680000] TCP: cubic registered
[    8.680000] NET: Registered protocol family 17
[    8.680000] 8021q: 802.1Q VLAN Support v1.8
[    8.700000] VFS: Mounted root (squashfs filesystem) readonly on device 31:1.
[    8.810000] Freeing prom memory: 5924k freed
[    8.810000] Freeing unused kernel memory: 164k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[   16.290000] jffs2: notice: (302) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 3 of xdatum (0 unchecked, 2 orphan) and 16 of xref (0
dead, 10 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [   18.950000] Compat-drivers
backport release: compat-drivers-2012-09-04-2-gddac993
[   18.960000] Backport based on wireless-testing.git master-2012-09-07
[   18.970000] compat.git: wireless-testing.git
[   19.040000] cfg80211: Calling CRDA to update world regulatory domain
[   19.040000] cfg80211: World regulatory domain updated:
[   19.050000] cfg80211:   (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[   19.060000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi,
2000 mBm)
[   19.060000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi,
2000 mBm)
[   19.070000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi,
2000 mBm)
[   19.080000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi,
2000 mBm)
[   19.080000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi,
2000 mBm)
[   19.870000] NET: Registered protocol family 8
[   19.870000] NET: Registered protocol family 20
[   19.980000] PPP generic driver version 2.4.2
[   20.590000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   20.900000] NET: Registered protocol family 24
[   20.960000] nf_conntrack version 0.5.0 (206 buckets, 824 max)
[   21.700000] acx-mac80211, version: v0.6.0 (git: unknown)
[   21.710000] this driver is still EXPERIMENTAL
[   21.710000] acx: please read the README file and/or go to
http://acx100.sourceforge.net/wiki for further information
[   21.720000] built with CONFIG_ACX_MAC80211_PCI
[   21.720000] compiled to use 32bit I/O access. I/O timing issues might occur,
such as non-working firmware upload. Report them
[   21.730000] acx: running on a little-endian CPU
[   21.730000]  PCI/VLYNQ module initialized, waiting for cards to probe...
[   29.750000] device eth0 entered promiscuous mode
[   29.750000] br-lan: port 1(eth0) entered forwarding state
[   29.760000] br-lan: port 1(eth0) entered forwarding state
[   29.860000] device eth1 entered promiscuous mode
[   29.860000] br-lan: port 2(eth1) entered forwarding state
[   29.870000] br-lan: port 2(eth1) entered forwarding state
[   29.900000] device eth0.1 entered promiscuous mode
[   29.900000] br-lan: port 3(eth0.1) entered forwarding state
[   29.910000] br-lan: port 3(eth0.1) entered forwarding state
[   29.950000] device eth0.2 entered promiscuous mode
[   29.950000] br-lan: port 4(eth0.2) entered forwarding state
[   29.960000] br-lan: port 4(eth0.2) entered forwarding state
[   30.200000] ar7_wdt: timer margin 59 seconds (prescale 65535, change 57180,
freq 62500000)
[   30.490000] libphy: cpmac-1:1f - Link is Up - 100/Full
[   30.760000] br-lan: port 2(eth1) entered disabled state
[   31.760000] br-lan: port 1(eth0) entered forwarding state
[   31.910000] br-lan: port 3(eth0.1) entered forwarding state
[   31.960000] br-lan: port 4(eth0.2) entered forwarding state



BusyBox v1.19.4 (2012-11-12 01:02:22 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r34165)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/#
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to