lkml.org 
[lkml]   [2011]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC 0/8] Introducing a generic AMP/IPC framework
On Tue, Jun 21, 2011 at 10:18 AM, Ohad Ben-Cohen <ohad@wizery.com> wrote:
> * I will be replying to this email with an attachment of the M3 firmware
>  image I work with, so anyone with a panda board can take the code for a
>  ride (put the image in /lib/firmware, and tell me if stuff doesn't work
>  for you: there are a few omap iommu fixes that are circulating but not
>  merged yet).

Attaching an OMAP4 M3 firmware.

Below is a simple session with it:

root@omap4430-panda:~# cat /debug/remoteproc/omap-rproc.1/name
ipu
root@omap4430-panda:~# cat /debug/remoteproc/omap-rproc.1/state
offline (0)

root@omap4430-panda:~# modprobe omap_rpmsg
[ 222.245758] omap_device: omap-mailbox.-1: new worst case activate
latency 0: 30517
[ 222.254669] omap-rproc omap-rproc.1: powering up ipu
[ 222.263580] virtio_rpmsg_bus virtio0: rpmsg backend virtproc probed
successfully
[ 222.272033] virtio_rpmsg_bus virtio1: rpmsg backend virtproc probed
successfully
[ 222.325317] omap-rproc omap-rproc.1: Loaded fw image ducati-m3.bin,
size 161736
[ 222.333068] omap-rproc omap-rproc.1: BIOS image version is 2
[ 222.346099] omap-iommu omap-iommu.0: ducati: version 2.1
[ 222.352661] omap_device: omap-rproc.1: new worst case activate
latency 0: 30517
[ 222.360351] omap-rproc omap-rproc.1: remote processor ipu is now up
[ 222.709411] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 222.716156] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 222.722869] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 222.729583] omap_rpmsg_mbox_callback: received echo reply from ipu !
[ 222.736419] virtio_rpmsg_bus virtio0: creating channel
rpmsg-client-sample addr 0x32
[ 222.745361] virtio_rpmsg_bus virtio0: creating channel
rpmsg-client-sample addr 0x33
[ 222.753814] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
[ 222.761535] virtio_rpmsg_bus virtio1: creating channel
rpmsg-client-sample addr 0x32
[ 222.769989] virtio_rpmsg_bus virtio1: creating channel
rpmsg-client-sample addr 0x33
[ 222.778411] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c

root@omap4430-panda:~# cat /debug/remoteproc/omap-rproc.1/state
running (2)

root@omap4430-panda:~# modprobe rpmsg_server_sample
[ 509.860748] rpmsg_server_sample rpmsg0: new channel: 0x89 -> 0xffffffff!
[ 509.871307] rpmsg_server_sample rpmsg0: incoming msg 1 (src: 0x32)
[ 509.879608] rpmsg_server_sample rpmsg0: incoming msg 2 (src: 0x32)
[ 509.887451] rpmsg_server_sample rpmsg0: incoming msg 3 (src: 0x32)
...[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2011-06-21 09:53    [from the cache]
©2003-2011 Jasper Spaans