Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Rick Bronson <rick@efn.org>
To: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [FYI] TI dspbridge rebase against latest l-o
Date: Mon, 10 Nov 2008 09:25:12 -0800	[thread overview]
Message-ID: <E1KzaVk-0002Ad-8j@amazonia.comcast.net> (raw)
In-Reply-To: <20081108.220531.30268045.Hiroshi.DOYU@nokia.com> (message from Hiroshi DOYU on Sat, 08 Nov 2008 22:05:31 +0200 (EET))

Hiroshi,

  It works!

  I used strace on ping.out and found out you need to be root to run
it.  You might add that to your HOWTO.  See new HOWTO below.

  My device got made but it's 252 instead of 251.  Not sure what
that's about.

> ls -al /dev/DspBridge                                                         
crw-rw---- 1 root root 252, 0 2008-11-10 08:17 /dev/DspBridge                   

  Thanks very much for the help.

  Rick


Updated OMAP3 DspBridge HOWTO:

1. First get the date of the most current patch.
DATE=20081107

2. Do this on your host Linux box:
git clone http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
mkdir -p patches
cd patches
wget http://4869037.web.fc2.com/tidspbridge-$DATE.tgz
tar xvzf tidspbridge-$DATE.tgz
cd ../linux-omap-2.6
git am ../patches/*.patch
make <your omap3 board>_defconfig # eg. omap3_beagle_defconfig
make menuconfig # add the following options in the menuconfig
 ...
 CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE=14
 # CONFIG_CBUS is not set
 CONFIG_MPU_BRIDGE=m
 # CONFIG_BRIDGE_DVFS is not set
 CONFIG_BRIDGE_DEBUG=y

3. You can get bridge sample binaries as below, put these on your
   target file system somewhere. Extract it somewhere on target rootfs.

  https://omapzoom.org/gf/download/frsrelease/132/632/dspbridge_binaries.tar.bz2

4. Make the modules and put them on the target rootfs.  For example,
   on your host box do:

cd linux-omap-2.6; tar czf ../modules.tar.gz `find . -name "*.ko"`

5. Then on the target do:

sudo mkdir -p /lib/modules/`uname -r`/kernel/
sudo tar xzf modules.tar.gz -C /lib/modules/`uname -r`/kernel/
sudo depmod -a

# if you don't have libbridge.so see http://elinux.org/BeagleBoard/gst-openmax
# and do this on the target:
sudo cp libbridge.so /lib
sudo ln -s libbridge.so /lib/libbridge.so.2

# NOTE: set "PATH" below correctly
sudo modprobe bridgedriver base_img=/PATH/ddspbase_tiomap3430.dof64P
ls -al /dev/DspBridge  # check to see that the device got made
  crw-rw---- 1 root root 252, 0 2008-11-10 08:53 /dev/DspBridge                   
sudo /PATH/ping.out
grep DspBridge /proc/interrupts   # check to see that you have gotten some interrupts
 26:        334        INTC  DspBridge                                          
 28:          0        INTC  DspBridge                                          

  parent reply	other threads:[~2008-11-10 17:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-08 15:29 [FYI] TI dspbridge rebase against latest l-o Rick Bronson
2008-11-08 19:57 ` Hiroshi DOYU
     [not found]   ` <20081108.220531.30268045.Hiroshi.DOYU@nokia.com>
2008-11-10 17:25     ` Rick Bronson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-11-08  6:38 Rick Bronson
2008-11-08  7:52 ` Hiroshi DOYU
2008-11-08  3:15 Rick Bronson
2008-11-08  4:27 ` Hiroshi DOYU
2008-11-01  1:38 [PATCH] BRIDGE Power Management cleanup Ramirez Luna, Omar
2008-11-07 13:23 ` [FYI] TI dspbridge rebase against latest l-o Hiroshi DOYU
2008-10-08 22:07 [PATCH][omapzoom] BRIDGE Add preemption support to unprotected functions Ramirez Luna, Omar
2008-10-09  4:48 ` Hiroshi DOYU
2008-10-21  9:15   ` [FYI] TI dspbridge rebase against latest l-o Hiroshi DOYU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1KzaVk-0002Ad-8j@amazonia.comcast.net \
    --to=rick@efn.org \
    --cc=Hiroshi.DOYU@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox