Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Drivers
  • Assigned To No-one
  • Operating System Another
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by jdgordon - 2008-04-06
Last edited by kkurbjun - 2009-02-26

FS#8853 - eigima's sound/dsp work for mr500

You’ll need a file in the
root directory called “rover.raw” that’s 4 MB and stereo 16-bit raw
PCM. It’ll loop that file.

Note also that it’s a bootloader build that does all this..

you also need the TI toolchain

Closed by  kkurbjun
2009-02-26 22:01
Reason for closing:  Accepted

Yeah, so this is how I got real sound out of my m:robe for the first time. It’s painfully primitive, but at least we know it’s possible ;)

file missing from patch

   ipc.h (1.2 KiB)

This the same patch adjusted to the ZVM and the m:Robe 500.
It doesn’t work yet on the ZVM though.
Could a m:Robe 500-owner or Catalin/jdgordon test if this breaks m:Robe 500 compatibility?

   zvm.diff (49.7 KiB)

if I get a chance tonight ill check

sorry, dont really have enough time for this.. but….
compile breaks…

target/arm/tms320dm320/dsp-dm320.c:30:1: warning: “DEBUGF” redefined
In file included from target/arm/tms320dm320/dsp-dm320.c:22:
export/debug.h:45:1: warning: this is the location of the previous definition
target/arm/tms320dm320/dsp-dm320.c:40:23: error: dsp-image.h: No such file or directory
target/arm/tms320dm320/dsp-dm320.c: In function ‘dsp_dbg_item’:
target/arm/tms320dm320/dsp-dm320.c:55: warning: implicit declaration of function ‘snprintf’
target/arm/tms320dm320/dsp-dm320.c:63: error: ‘_status’ undeclared (first use in this function)
target/arm/tms320dm320/dsp-dm320.c:63: error: (Each undeclared identifier is reported only once
target/arm/tms320dm320/dsp-dm320.c:63: error: for each function it appears in.)
target/arm/tms320dm320/dsp-dm320.c:63: error: ‘_acked’ undeclared (first use in this function)
target/arm/tms320dm320/dsp-dm320.c: At top level:
target/arm/tms320dm320/dsp-dm320.c:49: warning: unused parameter ‘data’
target/arm/tms320dm320/dsp-dm320.c: In function ‘dsp_load’:
target/arm/tms320dm320/dsp-dm320.c:138: warning: implicit declaration of function ‘logf’
target/arm/tms320dm320/dsp-dm320.c: In function ‘dsp_init’:
target/arm/tms320dm320/dsp-dm320.c:190: error: ‘dsp_image’ undeclared (first use in this function)
target/arm/tms320dm320/dsp-dm320.c:196: error: ‘_sdem_addrl’ undeclared (first use in this function)
target/arm/tms320dm320/dsp-dm320.c:197: error: ‘_sdem_addrh’ undeclared (first use in this function)
target/arm/tms320dm320/dsp-dm320.c: In function ‘DSPHINT’:
target/arm/tms320dm320/dsp-dm320.c:240: error: ‘_status’ undeclared (first use in this function)
target/arm/tms320dm320/dsp-dm320.c:236: warning: unused variable ‘pcm_topbottom_end’
target/arm/tms320dm320/dsp-dm320.c:234: warning: unused variable ‘level’
make[1]: * [/home/jonno/rockbox-temp/mr500/firmware/target/arm/tms320dm320/dsp-dm320.o] Error 1
make[1]:
* Waiting for unfinished jobs….
make: *** [build] Error 2

dunno if they are related to your changes or not though…

Could be, here’s a fresh version.

Should apply cleanly to a clean SVN tree.

   zvm.diff (50.1 KiB)

I committed some part of this into SVN yesterday..

I committed the rest of the code to SVN today and it is now working with some minor modifications. To test it I created a test.raw file with audacity per Cat’s suggestion (PCM, 16 bits signed, RAW header) and placed it in the root directory. The test can be run by going into debug_ports in the debug menu. This will start playing audio. I modified the dsp build process to be independent of the rockbox build since we will not be able to integrate the DSP compiler. TI only releases Linux binaries for the compilation tools. I am closing this ticket since it is working in SVN.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing