1. Build an SD-Card Image (stable) with the narcissus image builder: http://amethyst.openembedded.net/~koen/narcissus/
(A strike of genius, btw. Thanks Koen, this thing made my life a lot
easier ) Install it on an SD-Card and make sure it works fine.
2. Get ti-dsplink-module (http://www.angstrom-distribution.org/repo/?pkgname=ti-dsplink-module
) and ti-dsplink-apps (http://www.angstrom-distribution.org/repo/?pkgname=ti-dsplink-apps
) from the Angström Repo.
3. Install ti-dsplink-module with opkg.
4. Install ti-dsplink-apps with opkg.
5. depmod -r
6. cd /usr/share/ti-dsplink
7. Load the Modules: ./load-modules...sh (can't remember the exact
name of the Script, but it should be obvious)
8. Try: ./mpcsxfergpp mpcsxfer.out 1024 1000
An additional note: When you write your own software, make sure you
a.) use the same Version of DSP-Link as the Kernel-Module and
b.) leave out the "c" in the --comps Option when you configure DSP-
Link with dsplinkcfg.pl (Reason: That Component is not compiled into
the Kernel Module. This caused me a long headache until I found it and
it made my Apps throw the DSP_EFAIL error.)
I followed your instruction to install dsplink, but I didn’t even see /usr/share/ti-dsplink directory after install dsplink-module and dsplink-apps. Can you please tell me how /which options you chose when you build your SD-Card image using Koen’s image builder?
I also followed the Codec-engine instruction to build the eight modules, but no sucess either. When I run a sample code, it failed to start. Any advice?
Thanks for that guide, I managed to get it working through following
it and tweaking it for my preferences. All the app samples worked,
though I had to reboot the BeagleBoard when switching between
different apps. However that may be due to not having the lpm stuff
to switch the DSP on and off.
Herbert,
heres the few tweaks I made to the build, they may help.
In the narcissus image builder, I choose:
a) regular (base-task)
b) udev
c) console only
d) I selected no development packages
e) Additional packages: I selected only 2 (All kernel modules,
Dropbear SSH server)
I needed Dropbear for copying stuff from my host PC to the BeagleBoard
using scp. I selected 'all kernel modules' so that I could get the
usb-ethernet driver that I need (mcs7830.ko). Those two options are
individual to me, however its possible that the 'all kernel modules'
selection has something that is needed to get it working correctly. I
never tried installing the module or apps, let alone running without
the 'all kernel modules' option.
I can't think how the opkg install ti-dsplink-apps wouldn't install
it, as its certainly in the ipk. My only suggestions are:
a) Have you enough disk space?
b) Is an environment variable installing it elsewhere?
c) Where the ipks fully downloaded correctly?
d) ...um perhaps someone might have better ideas than me...
Hi,
I followed Matthias' path. I downloaded an image same as Rob
described. Then I went on following the remaining steps at Matthias'
list. When, I tried to install ti-dsplink-module with opkg, I got this
error message:
root@beagleboard:~# opkg install ti-dsplink-module_223-
r32.1_beagleboard.ipk
Installing ti-dsplink-module (223-r32.1) to root...
Configuring ti-dsplink-module
/etc/modutils/ipv6: line 1: ipv6: not found
Error while executing /etc/modutils/ipv6, aborting
update-modules: Illegal seek
WARNING: Couldn't open directory /lib/modules/2.6.28-omap1: No such
file or directory
FATAL: Could not open /lib/modules/2.6.28-omap1/modules.dep.temp for
writing: No such file or directory
depmod: Illegal seek
I checked /lib/module, I found 2.6.29-omap1. I created a softlink,
2.6.28-omap1->2.6.28-omap1. Then I retried, and I got:
root@beagleboard:~# opkg install ti-dsplink-module_223-
r32.1_beagleboard.ipk
Multiple packages (ti-dsplink-module and ti-dsplink-module) providing
same name marked HOLD or PREFER. Using latest.
Multiple packages (ti-dsplink-module and ti-dsplink-module) providing
same name marked HOLD or PREFER. Using latest.
Installing ti-dsplink-module (223-r32.1) to root...
Configuring ti-dsplink-module
/etc/modutils/ipv6: line 1: ipv6: not found
Error while executing /etc/modutils/ipv6, aborting
update-modules: Illegal seek
The file /etc/modutils/ipv6 exists and conaints only a string `ipv6´
at line 1.
Note that I also run `opkg update´.
Hi,
I removed (somewhere else on the disk) ipv6 file, and I retried to
install all packages. It worked that time. Just a little notification:
the line `modprobe dsplinkk´ in loadmodules-ti-dsplink-apps.sh did not
worked for me. We modified it as `modprobe -f dsplinkk´ to force it to
load the module. This also worked.
Now, sample binaries work alright. But I can only run a sample at
one session. I'm missing lmpON.x470uC and lmpOFF.x470uC files. I can't
find them, even with find command. So, what can be the problem? Is
there another way to load another DSP binary after a first one?