OpenWrt Forum Archive

Topic: a wifi audio receiver

The content of this topic has been archived between 1 Apr 2018 and 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

i got a wifi audio receiver from here, i feel very good, it can be used to stream music through wifi.

AR9331 on miniPCI-e module inside? smile

Interesting device, please post photos of board.

Most of them have the "blue" module inside:
http://vonger.cn/wp-content/uploads/2014/05/compare.jpg

pepe2k wrote:

AR9331 on miniPCI-e module inside? smile

yes,cpu is ar9331,  nor size is 8MB,RAM is 32MB,and price is cheap ,very nice.

I have here A900, same module inside, but with 64 MB RAM and OpenWRT Bleeding Edge, r37560.
AFAIK, audio driver is not ALSA compatible, probably taken from Atheros SDK.

hi , pepe2k, your uboot is very good, many people use your uboot in a chinese wifi forum. can you support the QCA9531 in your uboot???

black_shadow wrote:

hi , pepe2k, your uboot is very good, many people use your uboot in a chinese wifi forum. can you support the QCA9531 in your uboot???

Sure I can... just... no time for that now and no access to device with QCA9531 here. Only QCA9533 at this moment. I have only two hands, sorry... wink

Hi pepe2k, what do you mean when saying it's not ALSA compatible? Even when you made clean openwrt install, there will be no /dev/dsp?

hackru wrote:

Hi pepe2k, what do you mean when saying it's not ALSA compatible? Even when you made clean openwrt install, there will be no /dev/dsp?

Audio on AR9331 isn't yet supported in OpenWRT/Linux.
It will be supported soon smile

pepe2k wrote:
hackru wrote:

Hi pepe2k, what do you mean when saying it's not ALSA compatible? Even when you made clean openwrt install, there will be no /dev/dsp?

Audio on AR9331 isn't yet supported in OpenWRT/Linux.
It will be supported soon smile

Soon usually means "probably next year or just forget it..." smile. Who is developing that? I'd like to participate also smile

Any updates about this receiver? Ordered one from taobao, waiting for arrive.

hackru wrote:

Any updates about this receiver? Ordered one from taobao, waiting for arrive.

firmware has been update, more stable

I meant in the way of porting openwrt to it smile

Hello pepe2k, how's your progress?

Will try to solder serial correctly to it, today just connected rx.
I think this thing is GPL violation and i think it's based on openwrt.
Funny thing here:
Kernel command line:  board=TL-WR703N console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd


Full bootlog below:

U-Boot 1.1.5 (Nov  8 2013 - 15:17:08)

AP121 (ar9330) U-boot

DRAM:  32 MB
led turning on for 1s...
id read 0x100000ff
flash size 8388608, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
ag7240_phy_setup
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ag7240_phy_setup
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Linux version 2.6.39.4 (lh@srv64) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #4 Mon Dec 16 19:07:58 CST 2013
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
SoC: Atheros AR9330 rev 1
Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line:  board=TL-WR703N console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29332k/32768k available (2047k kernel code, 3436k reserved, 389k data, 180k init, 0k highmem)
SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:80
Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR703N v1
wr703N
bio: create slab <bio-0> at 0
i2c-gpio i2c-gpio.0: using pins 17 (SDA) and 1 (SCL)
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Switched to NOHz mode on CPU #0
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
console [ttyATH0] enabled, bootconsole disabled
console [ttyATH0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: found s25fl064k, expected m25p80
m25p80 spi0.0: s25fl064k (8192 Kbytes)
Searching for RedBoot partition table in spi0.0 at offset 0x7fe000
Searching for RedBoot partition table in spi0.0 at offset 0x7ff000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000120000 : "kernel"
0x000000120000-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=6EB000, len=105000
0x0000006eb000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "art"
0x000000020000-0x0000007f0000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
ag71xx: probe of ag71xx.0 failed with error -16
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 180k freed
input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
gpio_keys_polled_init

Button Hotplug driver version 0.4.1
- preinit -
- regular preinit -
JFFS2 notice: (410) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 6 of xref (0 dead, 0 orphan) found.
switching to jffs2
- init -

(none) login: Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
Backport based on wireless-testing.git master-2012-09-07
compat.git: wireless-testing.git
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: World regulatory domain updated:
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Failed to set regulatory domain: -1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NTFS driver 2.1.30 [Flags: R/O MODULE].
loop: module loaded
PPP generic driver version 2.4.2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
ip_tables: (C) 2000-2006 Netfilter Core Team
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
nf_conntrack version 0.5.0 (461 buckets, 1844 max)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
fuse init (API version 7.16)
device wlan0 entered promiscuous mode
br-lan: port 1(wlan0) entering forwarding state
br-lan: port 1(wlan0) entering forwarding state
device wlan0 left promiscuous mode
br-lan: port 1(wlan0) entering forwarding state
device wlan0 entered promiscuous mode
br-lan: port 1(wlan0) entering forwarding state
br-lan: port 1(wlan0) entering forwarding state
device eth0 entered promiscuous mode
key_enable_timer_p

gpio c3fedff
stereo config 1a01302
revision A
WM8904_AUDIO_INTERFACE_0 is 50
WM8904_AUDIO_INTERFACE_1 is 2
WM8904_AUDIO_INTERFACE_2 is e4
WM8904_AUDIO_INTERFACE_3 is 40
br-lan: port 1(wlan0) entering forwarding state
Jan  1 08:00:06 miniupnpd[1312]: HTTP listening on port 5000
Jan  1 08:00:06 miniupnpd[1312]: Listening for NAT-PMP traffic on port 5351

Got today a A900 with the Atheros blue module inside.

Two things that can be useful:
1) the main board with the minipci slot for the Atheros module has traces for usb port;
2) a dlna control point see the A900 not only as a renderer, but also as a server, so if the usb traces can be used it could do both functions.

The question that i have is this:
there is a way to join ethernet port and wifi module (bridge mode)? The firmware is very low on option and seems a bridging is possible ONLY between wifi networks, not between WAN/LAN.

In that case the A900 can be used at the same time
- as a dlna audio renderer
- connected on the ethernet port to the lan, as a access point *inside* the lan.

Otherwise i can see from a wifi-connected device the A900 as a renderer, but i can't see the server that is on the ethernet side. To see both i need to connect to a different access point, thus i can see the A900 from the ethernet WAN side.

I have A900 too. I have soldered USB port, but seems device doesn't support flash drives. I have managed to login in failsafe mode. So  dropbear is absent, telnet works only for failsafe. Any scripts modification leads to automatic factory reset. It is short description in russian http://goo.gl/iUh179
Firmware you can get here wifi-audio-a900-firmware.zip

@supremacy thanks for the helpful document. Did you have any success with dropbear?

Thanks for the good work so far. Any pointer for the chinese firmware described in the russian doc?

A quick google translation for the russian-impaired like myself:


The study WiFi Audio Receiver A900
The device is sold in China for $ 23 and allows you to play music from your mobile
for external audio devices without wires.

Inside the device is installed with the Mini PCI card connector and an audio chip in it stuck Atheros module, additional antenna is in the form of stickers, USB connector is not soldered.

After a short test revealed that support AirPlay protocol is implemented on the server-based Shairplay. Support DLNA protocol is made on the basis of the library Platinum UPnP. I was unable to make the server DLNA play playlists. After the end of a track is playing server should notify the customer that the playback is complete, but it does not, so the client hangs at the end of the first track. The only way to get around the problem - do not change the address of the playing source. For example, if you have the album represented a single file, which is often the case with APE and FLAC. Or if you use a program AllStream Cast. You can also try to change the services on the device, that's what I decided to do.

OpenWRT support failsafe mode. To get it you need to connect your device to the computer network cable, set the network card IP 192.168.1.2, then connect the power to the device (both LEDs zagoryatsya), as only one LED goes off, press the button on the device Reset (enough tapping). After that you can telnet to cling to the IP 192.168.1.1, login as root to happen automatically.

OpenWRT "Barrier breaker" (Bleeding Edge r37560).
I tried to change the root password, but even with the root password, telnet for normal loads does not work. SSH does not work, since dropbear not installed.

In any case, you can save a backup of the current firmware. Here, everything is standard:
cat / proc / mtd

Next, keep everything you need in / tmp
dd if=/dev/$(grep '"art"' /proc/mtd | cut -c 1-4) of=/tmp/art.backup
dd if=/dev/$(grep '"u-boot"' /proc/mtd | cut -c 1-4) of=/tmp/u-boot.backup
dd if=/dev/$(grep '"firmware"' /proc/mtd | cut -c 1-4) of=/tmp/firmware.backup

To get the files from the device to your computer use tftp. Download and run TFTPD32, and openwrt executes the command:
tftp -p -l /tmp/art.backup 192.168.1.2
tftp -p -l /tmp/u-boot.backup 192.168.1.2
tftp -p -l /tmp/firmware.backup 192.168.1.2

Now I can see what we have is in the firmware. "Firmware.backup" file is a file system image SquashFS, which can decompress 7-Zip 9.25 or higher. You can download it here: wifi-audio-a900-firmware.zip

From non-standard packages installed:

Package: airplay
Version: 1
Depends: libc, libpthread, libavahi-client, libavahi-common, libopenssl
Source: package/utils/shairport-master
Section: multimedia
Architecture: ar71xx
Installed-Size: 38382
Description:  This program emulates an AirPort Express for the purpose of streaming music from iTunes and compatible iPods. It implements a server for the Apple RAOP protocol. Airplay does not support AirPlay v2 (video and photo streaming). It supports multiple simultaneous streams, if your audio output chain (as detected by libao) does so.

/etc/config/shairport
/etc/init.d/shairport
/usr/bin/shairport

Package: ftest
Version: 1
Depends: libc, libpthread
Source: package/utils/ftest
Section: utils
Maintainer: kanghua
Architecture: ar71xx
Installed-Size: 2828
Description:  factory test

/usr/sbin/ftest

Package: libiwinfo
Version: 46
Depends: libc, libnl-tiny
Source: package/network/utils/iwinfo
Section: libs
Maintainer: Jo-Philipp Wich <xm@subsignal.org>
Architecture: ar71xx
Installed-Size: 22251
Description:  Wireless information library with consistent interface for proprietary Broadcom, madwifi, nl80211 and wext driver interfaces.

/usr/share/libiwinfo/hardware.txt
/usr/lib/libiwinfo.so

Package: libiwinfo-lua
Version: 46
Depends: libc, libiwinfo, liblua
Source: package/network/utils/iwinfo
Section: lang
Maintainer: Jo-Philipp Wich <xm@subsignal.org>
Architecture: ar71xx
Installed-Size: 6298
Description:  This is the Lua binding for the iwinfo library. It provides access to all enabled backends.

/usr/lib/lua/iwinfo.so

Package: mserver
Version: 1
Depends: libc, libpthread, uclibcxx
Source: package/utils/platinum
Section: multimedia
Maintainer: kanghua
Architecture: ar71xx
Installed-Size: 174895
Description:  This package is media server.

/usr/sbin/audioserver

Package: kmod-audio_i2s
Version: 3.10.3-1
Depends: kernel (=3.10.3-1-a533092d5444209fcf97b4570321ccd4)
Source: package/kernel/ath_raw_i2s
Section: kernel
Architecture: ar71xx
Installed-Size: 9036
Description:  ath raw i2s

/lib/modules/3.10.3/audio_i2s.ko
/etc/modules.d/99-audio_i2s


Basically, here you can install the firmware on the router, but routers do not support your sound card, which we need.

Tried to change the service startup scripts to enable telnet, but with the IP 10.10.2.1 fails to connect. A couple of times after the change browser settings to factory overthrown.

Soldered connector USB, but could not yet be used because no telnet access after a normal boot.

The Chinese have sold another similar device, but with support for USB. Enthusiasts also her little dig deeper and pulled firmware, which you can try to ask. Through the web interface firmware pour left does not. Do not try to pull out of it only section "firmware" and pour through mtd -r write, get a brick, like me. But there is a silver lining, soldered connector UART. Restore the original firmware and boot log removed.

Describe the process of restoring the previously saved firmware.backup.
Connect to the device via UART, Run putty to the COM port (settings are described here). Turning on the power and see the log failed download.

U-Boot 1.1.4 (Nov 17 2012 - 15:55:01)

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 24k for U-Boot at: 83ff8000
Reserving 192k for malloc() at: 83fc8000
Reserving 44 Bytes for Board Info at: 83fc7fd4
Reserving 36 Bytes for Global Data at: 83fc7fb0
Reserving 128k for boot params() at: 83fa7fb0
Stack Pointer at: 83fa7f98

relocating to address 83ff8000
Compressed Image at 9f005fc4
Disabling all the interrupts
   Uncompressing UBoot Image ...
U-Boot uncompress address 80010000
Uncompression completed successfully with destLen 112036
U-Boot Load address 80010000


U-Boot 1.1.4 (Nov 17 2012 - 15:54:57)

AP121 (ar9331) U-boot

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 139k for U-Boot at: 83fdc000
Reserving 192k for malloc() at: 83fac000
Reserving 44 Bytes for Board Info at: 83fabfd4
Reserving 36 Bytes for Global Data at: 83fabfb0
Reserving 128k for boot params() at: 83f8bfb0
Stack Pointer at: 83f8bf98
Now running in RAM - U-Boot at: 83fdc000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8388608, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Hit any key to stop autoboot:  0
## Booting image at 9f650000 ...
Bad Magic Number
ar7240>


Check what address will connect to tftp

ar7240> tftp
eth0 link down
FAIL
eth1 link down
FAIL
*** Warning: no boot file name; using '0201A8C0.img'
Using eth0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.2
Filename '0201A8C0.img'.
Load address: 0x81000000
Loading: T T T T T T T T T T



You can stop the download Ctrl-C. Set the IP address on the computer 192.168.1.10, run TFTPD32, puts a firmware.backup the root TFTP (I renamed the file into firmware.bin)
Call tftp and indicates the address of memory, vision and our previously filename.

tftp 0x81000000 firmware.bin

Enjoying a file size upload to us in memory (790000 hex).
Now you need to understand what address this image to fill. You can search by typing md <memory address>, where the beginning squashfs (begins with hsqs).

For us, this address 0x9f050000
We clean the memory:
erase 0x9f050000 + 0x790000

Copy the image from the flash memory.
cp.b 0x81000000 0x9f050000 0x790000

The final reboot:

Reserving 24k for U-Boot at: 83ff8000
Reserving 192k for malloc() at: 83fc8000
Reserving 44 Bytes for Board Info at: 83fc7fd4
Reserving 36 Bytes for Global Data at: 83fc7fb0
Reserving 128k for boot params() at: 83fa7fb0
Stack Pointer at: 83fa7f98

relocating to address 83ff8000
Compressed Image at 9f005fc4
Disabling all the interrupts
   Uncompressing UBoot Image ...
U-Boot uncompress address 80010000
Uncompression completed successfully with destLen 112036
U-Boot Load address 80010000


U-Boot 1.1.4 (Nov 17 2012 - 15:54:57)

AP121 (ar9331) U-boot

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 139k for U-Boot at: 83fdc000
Reserving 192k for malloc() at: 83fac000
Reserving 44 Bytes for Board Info at: 83fabfd4
Reserving 36 Bytes for Global Data at: 83fabfb0
Reserving 128k for boot params() at: 83f8bfb0
Stack Pointer at: 83f8bf98
Now running in RAM - U-Boot at: 83fdc000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8388608, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Hit any key to stop autoboot:  0
## Booting image at 9f650000 ...
   Image Name:   MIPS OpenWrt Linux-3.10.3
   Created:      2014-09-13   5:04:06 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1025669 Bytes = 1001.6 kB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9f650040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

Linux version 3.10.3 (kanghua@ubuntu) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r37560) ) #961 Fri Sep 12 22:03:26 PDT 2014
factory_check_status:0
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
SoC: Atheros AR9330 rev 1
Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone ranges:
  Normal   [mem 0x00000000-0x03ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00000000-0x03ffffff]
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line:  board=AP121 console=ttyATH0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6144k(rootfs),1600k(kernel),64k(nvram),64k(art),7744k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 61412k/65536k available (2097k kernel code, 4124k reserved, 651k data, 192k init, 0k highmem)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:51
Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is Atheros AP121
factory_check_status:0
enter normal  mode,enable wmac
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 119
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
console [ttyATH0] enabled, bootconsole disabled
console [ttyATH0] enabled, bootconsole disabled
ath79-spi ath79-spi: master is unqueued, this is deprecated
ath79_spi_setup: 43
jedec=c8 40 17 c8 40
m25p80 spi0.0: found gd25q64, expected m25p80
m25p80 spi0.0: gd25q64 (8192 Kbytes)
7 cmdlinepart partitions found on MTD device spi0.0
Creating 7 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000050000 : "u-boot-env"
0x000000050000-0x000000650000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=0x5a0000, len=0xb0000
0x0000005a0000-0x000000650000 : "rootfs_data"
0x000000650000-0x0000007e0000 : "kernel"
0x0000007e0000-0x0000007f0000 : "nvram"
0x0000007f0000-0x000000800000 : "art"
0x000000050000-0x0000007e0000 : "firmware"
libphy: ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
eth0: Found an AR7240/AR9330 built-in switch
eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
ag71xx ag71xx.0 eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
TCP: cubic registered
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 192K (80310000 - 80340000)
procd: Console is alive
procd: - watchdog -
nls_base: exports duplicate symbol load_nls (owned by kernel)
failed to insert /lib/modules/3.10.3/nls_base.ko
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform: EHCI generic platform driver
ehci-platform ehci-platform: EHCI Host Controller
ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
ehci-platform ehci-platform: irq 3, io mem 0x1b000000
ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
procd: - preinit -
/etc/preinit: line 1: netmsg: not found
Press the [f] key and hit [enter] to enter failsafe mode
mount_root: jffs2 is ready
jffs2: notice: (281) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (0 unchecked, 2 orphan) and 24 of xref (0 dead, 24 orphan) found.
procd: - early -
procd: - watchdog -
procd: - init -
Please press Enter to activate this console.
flash is ok.....
Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
Backport generated by backports.git backports-20130617-4-ge3220f5
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
nls_base: exports duplicate symbol load_nls (owned by kernel)
ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
cfg80211: Calling CRDA for country: JP
cfg80211: Regulatory domain changed to country: JP
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
cfg80211:   (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)
cfg80211:   (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
cfg80211:   (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)
cfg80211:   (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)
cfg80211:   (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
cfg80211:   (5050000 KHz - 5060000 KHz @ 10000 KHz), (N/A, 2300 mBm)
cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
ip_tables: (C) 2000-2006 Netfilter Core Team
xt_time: kernel timezone is -0000
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (962 buckets, 3848 max)
macvlan: exports duplicate symbol macvlan_common_newlink (owned by kernel)
i2c /dev entries driver
fuse init (API version 7.22)
gpio_i2c_read error 1
Device is not a WM8904, ID is 8030
device eth1 entered promiscuous mode
eth1: link up (100Mbps/Full duplex)
unregister
revision A
procd: - init complete -



Filled and installed dropbear, but failed to go with ssh.



To be continued ... 8)

supremacy, into the russian text there is this line

The Chinese have sold another similar device, but with support for USB. Enthusiasts also her little dig deeper and pulled firmware, which you can try to ask.

I know four devices:
the A900 as we have it
the NW11 (see other thread)
the Uyesee M1 (very looking-like the NW11)
the Uyesee M2 (stylish case, external antenna and external USB port).

So far, only the Uyesee M2 has USB support... but it is missing ehternet.

I have not seen anywhere a similar A900 device with USB external port. If someone has any reference for this, i will be very intrested on buying it; having both ehternet port (which NW11, M1 and M2 lacks!) and wlan, configurable LAN/WAN and USB support would be perfect for me.

(Last edited by winopener on 30 Nov 2014, 11:39)

Scrts wrote:
pepe2k wrote:
hackru wrote:

Hi pepe2k, what do you mean when saying it's not ALSA compatible? Even when you made clean openwrt install, there will be no /dev/dsp?

Audio on AR9331 isn't yet supported in OpenWRT/Linux.
It will be supported soon smile

Soon usually means "probably next year or just forget it..." smile. Who is developing that? I'd like to participate also smile

https://github.com/franzflasch/ar9331-i2s-alsa, have fun!
Discussion here: http://www.8devices.com/community/viewt … 3704#p3701

(Last edited by pepe2k on 28 Jan 2015, 16:08)