Skip to contentSkip to conversation

Problems building DSP gateway on 2.6.15

DISCUSSION Richard Copeman 3 participants 5 messages Mar 21, 2006 – Mar 22, 2006 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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.

#2 lore raw

Hi,

From: "Richard Copeman" <[email protected]>
Subject: Problems building DSP gateway on 2.6.15
Date: Tue, 21 Mar 2006 09:21:34 -0000

Quoted 10 lines

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

#3 lore raw

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: [email protected] [mailto:[email protected]]
Sent: 22 March 2006 15:58
To: [email protected]; [email protected]
Subject: Re: Problems building DSP gateway on 2.6.15

Hi,

From: "Richard Copeman" <[email protected]>
Subject: Problems building DSP gateway on 2.6.15
Date: Tue, 21 Mar 2006 09:21:34 -0000

Quoted 10 lines

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

#4 lore raw
Quoted 6 lines · Richard Copeman

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

#5 lore raw

Hi,

From: Dirk Behme <[email protected]>
Subject: Re: Problems building DSP gateway on 2.6.15
Date: Wed, 22 Mar 2006 17:19:11 +0100

Quoted 11 lines
Quoted 6 lines · Richard Copeman

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