* Problems building DSP gateway on 2.6.15 [not found] <20060320180002.1755A8062C@linux.omap.com> @ 2006-03-21 9:21 ` Richard Copeman 2006-03-22 15:57 ` toshihiro.kobayashi 0 siblings, 1 reply; 5+ messages in thread From: Richard Copeman @ 2006-03-21 9:21 UTC (permalink / raw) To: linux-omap-open-source Hi, I have just built 2.6.15 kernel with 2.6.15-omap1 patch. I included the DSP gateway support in my "make xconfig" stage. I downloaded the utils and apps from sourceforge for dspgateway 3.3 and built those successfully. I am using Uboot 1.1.1 to setup my 5912 OSK board and then downloading the kernel and a ramdisk via JTAG to target memory. Console is via serial port and minicom to my host PC. My ramdisk is created with: set -x SIZE=8192 DEV=/dev/ram ROOTFS=/usr/src/5912/rootfs2.6 /sbin/mkfs.ext2 $DEV $SIZE mount -t ext2 $DEV /mnt/ram cd $ROOTFS cp -av . /mnt/ram df /dev/ram umount /mnt/ram dd if=$DEV bs=1k count=$SIZE | gzip -9 > ramdisk.image.gz chmod 666 ramdisk.image.gz I try to do: dspctl load ex_task.out but it tells me that: Warning: none of /sys/devicesplatform/dsp.0/ifver, /sys/devices/platform/dsp0.. (DSP Gateway driver is too old or not loaded) open control device: No such file or directory. In /sys/devices/platform I have: i2c_omap.1, omap_mcbsp.1, omapflash.0, serial8250.0, omap-keyboard, omap_t2, power, smc91x, omap_cf, omapfb, serial8250 and uevent. In /dev I have: console, tty, tty0 and ttyS0 lsmod shows no modules loaded. I'm sure I have missed a step along the way here but I can't find it. Can someone point me in the right direction please? Thanks, Richard. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems building DSP gateway on 2.6.15 2006-03-21 9:21 ` Problems building DSP gateway on 2.6.15 Richard Copeman @ 2006-03-22 15:57 ` toshihiro.kobayashi 2006-03-22 16:12 ` Richard Copeman 0 siblings, 1 reply; 5+ messages in thread From: toshihiro.kobayashi @ 2006-03-22 15:57 UTC (permalink / raw) To: richard.copeman, linux-omap-open-source Hi, From: "Richard Copeman" <richard.copeman@lauterbach.co.uk> Subject: Problems building DSP gateway on 2.6.15 Date: Tue, 21 Mar 2006 09:21:34 -0000 > Warning: none of /sys/devicesplatform/dsp.0/ifver, > /sys/devices/platform/dsp0.. > > (DSP Gateway driver is too old or not loaded) > > open control device: No such file or directory. > In /sys/devices/platform I have: i2c_omap.1, omap_mcbsp.1, omapflash.0, > serial8250.0, omap-keyboard, omap_t2, power, smc91x, omap_cf, omapfb, > serial8250 and uevent. There should be /sys/devices/platform/dsp directory if the DSP Gateway is compiled in the kernel. Do you see "OMAP DSP driver initialization" in the boot message? If yes, DSP Gateway is in your kernel and I suspect you have a problem in your fs. Otherwise your kernel doesn't contain DSP Gateway. Didn't you miss to do 'make uImage'? (Since sometimes I do. :)) BR, Toshihiro Kobayashi ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Problems building DSP gateway on 2.6.15 2006-03-22 15:57 ` toshihiro.kobayashi @ 2006-03-22 16:12 ` Richard Copeman 2006-03-22 16:19 ` Dirk Behme 0 siblings, 1 reply; 5+ messages in thread From: Richard Copeman @ 2006-03-22 16:12 UTC (permalink / raw) To: toshihiro.kobayashi, linux-omap-open-source Toshihiro san, Thanks for the pointer. There is no OMAP DSP Gateway message displayed during my startup. I do not do "make uImage". I use a JTAG debugger to download vmlinux directly to RAM. What does "make uImage" do for me? Thanks, Richard. -----Original Message----- From: toshihiro.kobayashi@nokia.com [mailto:toshihiro.kobayashi@nokia.com] Sent: 22 March 2006 15:58 To: richard.copeman@lauterbach.co.uk; linux-omap-open-source@linux.omap.com Subject: Re: Problems building DSP gateway on 2.6.15 Hi, From: "Richard Copeman" <richard.copeman@lauterbach.co.uk> Subject: Problems building DSP gateway on 2.6.15 Date: Tue, 21 Mar 2006 09:21:34 -0000 > Warning: none of /sys/devicesplatform/dsp.0/ifver, > /sys/devices/platform/dsp0.. > > (DSP Gateway driver is too old or not loaded) > > open control device: No such file or directory. > In /sys/devices/platform I have: i2c_omap.1, omap_mcbsp.1, omapflash.0, > serial8250.0, omap-keyboard, omap_t2, power, smc91x, omap_cf, omapfb, > serial8250 and uevent. There should be /sys/devices/platform/dsp directory if the DSP Gateway is compiled in the kernel. Do you see "OMAP DSP driver initialization" in the boot message? If yes, DSP Gateway is in your kernel and I suspect you have a problem in your fs. Otherwise your kernel doesn't contain DSP Gateway. Didn't you miss to do 'make uImage'? (Since sometimes I do. :)) BR, Toshihiro Kobayashi ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems building DSP gateway on 2.6.15 2006-03-22 16:12 ` Richard Copeman @ 2006-03-22 16:19 ` Dirk Behme 2006-03-22 16:44 ` toshihiro.kobayashi 0 siblings, 1 reply; 5+ messages in thread From: Dirk Behme @ 2006-03-22 16:19 UTC (permalink / raw) To: Richard Copeman, toshihiro.kobayashi, linux-omap-open-source Richard Copeman wrote: > Toshihiro san, > > Thanks for the pointer. > There is no OMAP DSP Gateway message displayed during my startup. > I do not do "make uImage". I use a JTAG debugger to download vmlinux > directly to RAM. What does "make uImage" do for me? If you use JTAG debugger for download you don't need 'make uImage'. You only need this if you use bootloader U-Boot to download and start the image. Dirk ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems building DSP gateway on 2.6.15 2006-03-22 16:19 ` Dirk Behme @ 2006-03-22 16:44 ` toshihiro.kobayashi 0 siblings, 0 replies; 5+ messages in thread From: toshihiro.kobayashi @ 2006-03-22 16:44 UTC (permalink / raw) To: richard.copeman, linux-omap-open-source Hi, From: Dirk Behme <dirk.behme@googlemail.com> Subject: Re: Problems building DSP gateway on 2.6.15 Date: Wed, 22 Mar 2006 17:19:11 +0100 > Richard Copeman wrote: > > Toshihiro san, > > > > Thanks for the pointer. > > There is no OMAP DSP Gateway message displayed during my startup. > > I do not do "make uImage". I use a JTAG debugger to download vmlinux > > directly to RAM. What does "make uImage" do for me? > > If you use JTAG debugger for download you don't need 'make > uImage'. You only need this if you use bootloader U-Boot to > download and start the image. Yes, Richard-san, I've missed you'd explained you are loading the kernel with JTAG debugger. Sorry for that. But anyway your kernel doesn't contain DSP Gateway, so you should check you are loading correct kernel image. When I load my kernel through JTAG, I use vmlinux for symbols besides using zImage for the binary to run, to save download time by using a compressed image. In that case I need to replace both vmlinux and zImage on the debugger host. Could this kind of things happen on your situation? BR, Toshihiro Kobayashi ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-22 16:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060320180002.1755A8062C@linux.omap.com>
2006-03-21 9:21 ` Problems building DSP gateway on 2.6.15 Richard Copeman
2006-03-22 15:57 ` toshihiro.kobayashi
2006-03-22 16:12 ` Richard Copeman
2006-03-22 16:19 ` Dirk Behme
2006-03-22 16:44 ` toshihiro.kobayashi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox