From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Richard Copeman" Subject: RE: DSP gateway build problems with 2.6.13.4 Date: Mon, 19 Dec 2005 10:22:52 -0000 Message-ID: <000e01c60486$2bd5f9d0$642aa8c0@BUFFY> References: <200512160140.jBG1e4kC012958@dmhp30.itg.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <200512160140.jBG1e4kC012958@dmhp30.itg.ti.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: 'Ishigami' Cc: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org Hi, Many thanks for the pointers. I've grep'ed my .config file and I can see = the following: CONFIG_PROC_FS=3Dy CONFIG_SYSFS=3Dy #CONFIG_DEVPTS_FS_XATTR is not set #CONFIG_TMPFS is not set #CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=3Dy CONFIG_OMAP_DSP=3Dm # CONFIG_OMAP_DSP_MBCMD_VERBOSE is not set # CONFIG_OMAP_DSP_TASK_MULTIOPEN is not set #CONFIG_OMAP_DSP_FBEXPORT is not set This leaves me confused on two scores -=20 1) Why is /sys not being created? 2) Is "m" the correct option to include the DSP gateway driver? If anyone has any clues for me.... Thanks, Richard. -----Original Message----- From: Ishigami [mailto:ishigami@ti.com]=20 Sent: 16 December 2005 01:40 To: 'Richard Copeman' Cc: linux-omap-open-source@linux.omap.com Subject: RE: DSP gateway build problems with 2.6.13.4 Hello Richard, > . /sys/devices/platform contains: > > i2c_omap omap_ts omapflash.0=09 > serial8250 smc91x omap_cf > omapfb power serial8250.0 Hmm, your kernel doesn't seem to have the dspgateway driver. Could you double-check your kernel configuration? > Also, how do I fix it so that this directory is automatically > created and mounted at boot time?=20 Add "mount -t sysfs..." at your "/etc/inittab" file. In most linux system, this file acts as "autoexec.bat" used for old MS-DOS days. For its syntax, see the url below http://www.busybox.net/downloads/BusyBox.html (look for "init" command) Hope this helps. Regards, Ishigami -----Original Message----- From: Richard Copeman [mailto:richard.copeman@lauterbach.co.uk]=20 Sent: Thursday, December 15, 2005 9:13 PM To: 'Ishigami' Cc: linux-omap-open-source@linux.omap.com Subject: RE: DSP gateway build problems with 2.6.13.4 Hi Ishigami, I did not have a /sys directory. I created it as per your instructions = but I still get the same message from dspctl when I try to load the example. I do not have a /sys/devices/platform/dsp.0 entry. /sys/devices/platform contains: i2c_omap omap_ts omapflash.0 serial8250 smc91x omap_cf omapfb power serial8250.0 Have I missed something important somewhere? Also, how do I fix it so that this directory is automatically created = and mounted at boot time? Thanks, Richard. -----Original Message----- From: Ishigami [mailto:ishigami@ti.com]=20 Sent: 15 December 2005 11:46 To: 'Richard Copeman' Cc: linux-omap-open-source@linux.omap.com Subject: RE: DSP gateway build problems with 2.6.13.4 Hello Richard, Do you have the /sys directory? The dsp gateway needs the sysfs mounted in the directory, as other drivers do. If not, please try # mkdir /sys # mount -t sysfs sysfs /sys Regards, Ishigami -----Original Message----- From: Richard Copeman Sent: Thursday, December 15, 2005 8:38 PM To: linux-omap-open-source@linux.omap.com Subject: Re: DSP gateway build problems with 2.6.13.4 Hi Matthew, Many thanks for the pointers. I re-built my kernel and it did link in = the dsp kernel objects. However, when I try to run dspctl start ex_task.out on my target I get an error (some of which has been truncated by = minicom) Warning: none of /sys/devices/platform/dsp.0/ifver, /sys/devices/platform/dsp0/. (DSP Gateway driver is too old or not loaded) I have grep'ed the header files and it is DSP Gateway 3.3 that has been built. I built the ex_task.out and dspctl using the dspgateway 3.3 stuff = I downloaded from sourceforge.=20 How can I check if the dsp gateway kernel object is loaded? How can I get information about it's version? Thanks, Richard.