[oe] TI DSP updates
Howard Chu
hyc at symas.com
Thu Sep 3 02:17:09 UTC 2009
These are the changes I made to use the latest Codec engine, DSP modules, etc.
for OMAP3530 to build. Tested and working with gstreamer-ti on an Always
Innovating Touch Book with linux-omap_2.6.29 kernel / Angstrom...
To actually get the dmai working on the TouchBook, I also needed this patch:
violino:~/oe/tmp/work/beagleboard-angstrom-linux-gnueabi/ti-dmai-svnr295-r43a/TAG_2_00_01_04/dmai/packages/ti/sdo/dmai/linux>
cat /tmp/dif2
--- Cpu.c.O 2009-09-02 18:19:47.000000000 -0700
+++ Cpu.c 2009-09-02 04:30:36.000000000 -0700
@@ -106,6 +106,7 @@
}
else if ((strcmp(valBuf,"OMAP3EVM Board") == 0) ||
(strcmp(valBuf, "OMAP3 EVM") == 0) ||
+ (strcmp(valBuf, "OMAP3 Touch Book") == 0) ||
(strcmp(valBuf, "OMAP3 Beagle Board") == 0)) {
*device = Cpu_Device_OMAP3530;
}
The TI video decoders support MPEG4 but don't recognize XViD by default. TI
doesn't claim that XViD is supported, but applying this patch to the decode
module allows the decoder to recognize it, and it works with the few samples
I've tried:
https://gstreamer.ti.com/gf/project/gstreamer_ti/tracker/?action=TrackerItemEdit&tracker_item_id=462
To get a working codec server on the Touch Book, which has 256MB of RAM, I had
to modify the default server config:
violino:~/oe/tmp/work/beagleboard-angstrom-linux-gnueabi/ti-cs1-omap3530-10142-r4/dvsdk_3_00_01_42/cs1omap3530_1_00_01/packages/ti/sdo/server/cs>
diff -wu server.tcf{.O,}
--- server.tcf.O 2009-07-24 15:03:14.000000000 -0700
+++ server.tcf 2009-09-01 23:21:47.000000000 -0700
@@ -33,7 +33,7 @@
/*
* Specify the Base address of the bottom of the memory space where server
ends
*/
-var BASE_ADDR_BOTTOM = 0x88000000
+var BASE_ADDR_BOTTOM = 0x90000000
/*
* Specify the sizes of the memory segments as per the requirements
---
The resulting DSP memory map is summarized in my setup-dsplink script:
# Start Addr Size Description
# -------------------------------------------
# 0x80000000 227 MB Linux
# 0x8E300000 16 MB CMEM
# 0x8F300000 4 KB DSPLINK (RESET)
# 0x8F301000 1 MB DSPLINK (MEM)
# 0x8F400000 9 MB DDRALGHEAP
# 0x8FD00000 3 MB DDR2 (BIOS, Codecs, Applications)
modprobe cmemk phys_start=0x8e300000 phys_end=0x8f300000
pools=20x4096,8x131072,4x829440,1x5250000,1x1429440,1x256000
chgrp video /dev/cmem
modprobe dsplinkk
modprobe lpm_omap3530
modprobe sdmak
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dif.txt
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090902/920e37a2/attachment-0002.txt>
More information about the Openembedded-devel
mailing list