FAQ: [#6198] syntax error in the netaudio testing(2010)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6198] syntax error in the netaudio testing

Submitted By: angelia wu

Open Date

2010-08-22 23:34:43    

Priority:

Medium     Assignee:

Aaron Wu

Status:

Open     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Blackfin Linux:2010R1

Category:

N/A     Board:

STAMP

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

svn-4681

App binary format:

N/A     

Summary: syntax error in the netaudio testing

Details:

 

in the netaudio testing,when direct play music, it will show syntax error.

the log as follow.

 

 

Hit any key to stop autoboot:  0

Using Blackfin EMAC device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage'.

Load address: 0x2000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################

done

Bytes transferred = 5486434 (53b762 hex)

## Booting kernel from Legacy Image at 02000000 ...

   Image Name:   bf537-2.6.34.5-ADI-2010R1-pre-sv

   Created:      2010-08-23   2:56:36 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    5486370 Bytes =  5.2 MB

   Load Address: 00001000

   Entry Point:  001d7684

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001d7684

Linux version 2.6.34.5-ADI-2010R1-pre-svn9094 (test@uclinux41) (gcc version 4.3.5 (ADI-trunk/svn-4681) ) #82 Mon Aug 23 10:56:30 CST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Limiting kernel memory to 56MB due to anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0013d5a8

  rodata    = 0x0013d5a8-0x001a6d10

  bss       = 0x001a7000-0x001b8d1c

  data      = 0x001b8d1c-0x001cc000

    stack   = 0x001ca000-0x001cc000

  init      = 0x001cc000-0x00a04000

  available = 0x00a04000-0x03800000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

Reset caused by Software reset

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 125 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14224

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 panic=3 ip=10.100.4.50 console=tty0 console=ttyBF0,57600 ip=10.100.4.50:10.100.4f

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)

Memory available: 46520k/65536k RAM, (8416k init code, 1265k kernel code, 571k data, 2048k dma, 6716k reserved)

Hierarchical RCU implementation.

NR_IRQS:138

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (35 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

stamp_init(): registering device resources

bio: create slab <bio-0> at 0

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

Advanced Linux Sound Architecture Driver Version 1.0.22.1.

Switching to clocksource bfin_cs_cycles

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

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

msgmni has been set to 90

io scheduler noop registered

io scheduler cfq registered (default)

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

brd: module loaded

bfin_mii_bus: probed

bfin_mii_bus: Can't get IRQ 65535 (PHY)

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

dma rx:3 tx:4, err irq:45, regs:ffc00800

dma_alloc_init: dma_page @ 0x02a2f000 - 512 pages at 0x03e00000

asoc: AD183X <-> bf5xx-tdm mapping ok

ALSA device list:

  #0: bf5xx_ad183x (AD183X)

TCP cubic registered

NET: Registered protocol family 17

IP-Config: Complete:tting system clock to 1971-09-12 11:02:33 UTC (53521353)

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=bf537-stamp, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 8416k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.16.2 (2010-08-23 10:51:22 CST) hush - the humble shell

 

root:/> PHY: 0:01 - Link is Up - 100/Full

 

root:/> tone

TONE: generating sine wave at 1000 Hz...

ERROR: write(/dev/dsp) failed, errno=5

^C

 

 

root:/>

root:/>

root:/>

root:/> tone

TONE: generating sine wave at 1000 Hz...

ERROR: write(/dev/dsp) failed, errno=5

root:/>

 

U-Boot 2008.10-svn1956 (ADI-2009R1-rc2) (Jul  2 2009 - 20:05:22)

 

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)

Board: ADI BF537 stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:22:FE:10:68

Hit any key to stop autoboot:  0

Using Blackfin EMAC device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage'.

Load address: 0x2000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################

done

Bytes transferred = 5486434 (53b762 hex)

## Booting kernel from Legacy Image at 02000000 ...

   Image Name:   bf537-2.6.34.5-ADI-2010R1-pre-sv

   Created:      2010-08-23   2:56:36 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    5486370 Bytes =  5.2 MB

   Load Address: 00001000

   Entry Point:  001d7684

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001d7684

Linux version 2.6.34.5-ADI-2010R1-pre-svn9094 (test@uclinux41) (gcc version 4.3.5 (ADI-trunk/svn-4681) ) #82 Mon Aug 23 10:56:30 CST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Limiting kernel memory to 56MB due to anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0013d5a8

  rodata    = 0x0013d5a8-0x001a6d10

  bss       = 0x001a7000-0x001b8d1c

  data      = 0x001b8d1c-0x001cc000

    stack   = 0x001ca000-0x001cc000

  init      = 0x001cc000-0x00a04000

  available = 0x00a04000-0x03800000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 125 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14224

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 panic=3 ip=10.100.4.50 console=tty0 console=ttyBF0,57600 ip=10.100.4.50:10.100.4f

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)

Memory available: 46520k/65536k RAM, (8416k init code, 1265k kernel code, 571k data, 2048k dma, 6716k reserved)

Hierarchical RCU implementation.

NR_IRQS:138

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (35 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

stamp_init(): registering device resources

bio: create slab <bio-0> at 0

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

Advanced Linux Sound Architecture Driver Version 1.0.22.1.

Switching to clocksource bfin_cs_cycles

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

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

msgmni has been set to 90

io scheduler noop registered

io scheduler cfq registered (default)

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

brd: module loaded

bfin_mii_bus: probed

bfin_mii_bus: Can't get IRQ 65535 (PHY)

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

dma rx:3 tx:4, err irq:45, regs:ffc00800

dma_alloc_init: dma_page @ 0x02a2f000 - 512 pages at 0x03e00000

asoc: AD183X <-> bf5xx-tdm mapping ok

ALSA device list:

  #0: bf5xx_ad183x (AD183X)

TCP cubic registered

NET: Registered protocol family 17

[global]

workgroup = WORKGROUP

        encrypt passwords = yes

 

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

root:/>  boa -c /etc &

[2] 190 boa -c /etc

root:/> [04/Jan/1970:19:46:26 +0000] boa: server version Boa/0.94.14rc21

[04/Jan/1970:19:46:26 +0000] boa: server built Aug 23 2010 at 10:51:30.

[04/Jan/1970:19:46:26 +0000] boa: starting server pid=191, port 80

PHY: 0:01 - Link is Down

 

root:/> ifconfig

[1] Done                   dhcpcd

[2] Done                   boa -c /etc

lo        Link encap:Local Loopback 

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

root:/> ifconfig eth0 10.100.4.50

root:/> PHY: 0:01 - Link is Up - 100/Full

Mounting the Remote shared directory : //10.100.4.174/mymusic

smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to cifs

sh: syntax error: unexpected )

sh: syntax error: unexpected )

sh: syntax error: unexpected )

sh: syntax error: unexpected )

sh: syntax error: unexpected )

unknown command "kill"

Usage: mpc <command> [command args]...

mpc version: 0.12.1

mpc                              Displays status

mpc add <file>                   Add a song to the current playlist

mpc crop                         Remove all but the currently playing song

mpc del <position>               Remove a song from the current playlist

mpc play [<position>]            Start playing at <position> (default: 1)

mpc next                         Play the next song in the current playlist

mpc prev                         Play the previous song in the current playlist

mpc pause                        Pauses the currently playing song

mpc toggle                       Toggles Play/Pause, plays if stopped

mpc stop                         Stop the currently playing playlists

mpc seek [+-][HH:MM:SS]|<0-100>% Seeks to the specified position

mpc clear                        Clear the current playlist

mpc outputs                      Show the current outputs

mpc enable <output #>            Enable a output

mpc disable <output #>           Disable a output

mpc shuffle                      Shuffle the current playlist

mpc move <from> <to>             Move song in playlist

mpc playlist                     Print the current playlist

mpc listall [<file>]             List all songs in the music dir

mpc ls [<directory>]             List the contents of <directory>

mpc lsplaylists                  Lists currently available playlists

mpc load <file>                  Load <file> as a playlist

mpc save <file>                  Saves a playlist as <file>

mpc rm <file>                    Removes a playlist

mpc volume [+-]<num>             Sets volume to <num> or adjusts by [+-]<num>

mpc repeat <on|off>              Toggle repeat mode, or specify state

mpc random <on|off>              Toggle random mode, or specify state

mpc search <type> <query>        Search for a song

mpc crossfade [<seconds>]        Set and display crossfade settings

mpc update [<path>]              Scans music directory for updates

mpc stats                        Displays statistics about MPD

mpc version                      Reports version of MPD

For more information about these and other options look at man 1 mpc

Could not umount /mnt: Device or resource busy

unable to bind port 6600: Address already in use

maybe MPD is still running?

sh: syntax error: unexpected )

sh: syntax error: unexpected )

sh: syntax error: unexpected )

sh: syntax error: unexpected )

sh: syntax error: unexpected )

 

Follow-ups

 

--- Aaron Wu                                                 2010-08-27 06:52:28

Have done more investigation, according to svn log from barry the new mpc and

mpd package does not work, so push back to the old version and pass the

compiling, in further working. two items to check:

1)syntax error

2)even for the 09R1 release, the net-audio does not work.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

kernel.netaudio.config    application/x-config    37032    angelia wu

user.netaudio.config    application/x-config    49227    angelia wu

Outcomes