* pcimsg patch from eons ago @ 2007-05-29 5:40 Grant Likely 2007-05-29 7:09 ` Adrian Cox 2007-05-29 17:40 ` David Hawkins 0 siblings, 2 replies; 6+ messages in thread From: Grant Likely @ 2007-05-29 5:40 UTC (permalink / raw) To: Adrian Cox, Linux PPC Adrian, Way back in the 2.2 timeframe, you had modified the ARM pcimsg patch to port it to PPC and add features. http://www.cs.helsinki.fi/linux/linux-kernel/2001-07/0572.html I'd really like to take a look at it. I've been unable to find the patch archived anywhere online in my searching. Do you still have a copy of it tucked away anywhere? Thanks, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pcimsg patch from eons ago 2007-05-29 5:40 pcimsg patch from eons ago Grant Likely @ 2007-05-29 7:09 ` Adrian Cox 2007-05-29 13:37 ` Grant Likely 2007-05-29 17:40 ` David Hawkins 1 sibling, 1 reply; 6+ messages in thread From: Adrian Cox @ 2007-05-29 7:09 UTC (permalink / raw) To: Grant Likely; +Cc: Linux PPC On Mon, 2007-05-28 at 23:40 -0600, Grant Likely wrote: > Way back in the 2.2 timeframe, you had modified the ARM pcimsg patch > to port it to PPC and add features. > > http://www.cs.helsinki.fi/linux/linux-kernel/2001-07/0572.html > > I'd really like to take a look at it. I've been unable to find the > patch archived anywhere online in my searching. Do you still have a > copy of it tucked away anywhere? I can't find that version, but I have found a later version: http://www.humboldt.co.uk/files/pcimsg_20020307.tar.gz Hopefully you'll find something to use in that - it contains a 2.2 and a 2.4 port of the code. -- Adrian Cox <adrian@humboldt.co.uk> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pcimsg patch from eons ago 2007-05-29 7:09 ` Adrian Cox @ 2007-05-29 13:37 ` Grant Likely 0 siblings, 0 replies; 6+ messages in thread From: Grant Likely @ 2007-05-29 13:37 UTC (permalink / raw) To: Adrian Cox; +Cc: Linux PPC On 5/29/07, Adrian Cox <adrian@humboldt.co.uk> wrote: > I can't find that version, but I have found a later version: > http://www.humboldt.co.uk/files/pcimsg_20020307.tar.gz > Cool, thanks Adrian g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pcimsg patch from eons ago 2007-05-29 5:40 pcimsg patch from eons ago Grant Likely 2007-05-29 7:09 ` Adrian Cox @ 2007-05-29 17:40 ` David Hawkins 2007-05-29 18:25 ` Grant Likely 1 sibling, 1 reply; 6+ messages in thread From: David Hawkins @ 2007-05-29 17:40 UTC (permalink / raw) To: Grant Likely; +Cc: Linux PPC Grant Likely wrote: > Adrian, > > Way back in the 2.2 timeframe, you had modified the ARM pcimsg patch > to port it to PPC and add features. > > http://www.cs.helsinki.fi/linux/linux-kernel/2001-07/0572.html > > I'd really like to take a look at it. I've been unable to find the > patch archived anywhere online in my searching. Do you still have a > copy of it tucked away anywhere? > Hey Grant, TCP/IP over PCI is also something I want to look into. I'll have about 8 compact PCI crates, with 15 MPC8349E boards in each that I will boot with U-Boot, and then TFTP a kernel, and then NFS mounted filesystem on. I'll put ethernet on the front-panels for the prototype boards, but ideally I want TCP/IP over PCI for the final system. The board support package for the Freescale MPC8349E-MDS-PB has some sort of support for this, but I haven't had a look at the code yet. I'm pretty sure Dan Malek had written something similar for TCP/IP over RapidIO. Take a look in the kernel source, I forget the name ... I have some notes around here somewhere ... I'm working on hardware at the moment, so my software brain cells are lying dormant. Let me know if you want me to dig up the Freescale stuff and I'll send it to you, or send you a link to a copy of the ISO. Downloading the BSP from Freescale's site is a nightmare. I can also plug the MDS board in as a peripheral and fire up their TCP/IP over PCI and see what works. It really shouldn't be too much trouble to get working. I started by looking at the PLIP code just to see what that took, and its pretty short. The most work would be in defining infrastructure to make adding DMA of data between the host CPU and the peripherals flexible. Most (all?) x86 hosts don't have DMA, so both write and read would be handled by the peripheral board. However, for PPC hosts with DMA, then writes should be handled by the respective boards ... I'm not sure what the easiest way to deal with that would be. Feel free to start a discussion on this :) Cheers, Dave ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pcimsg patch from eons ago 2007-05-29 17:40 ` David Hawkins @ 2007-05-29 18:25 ` Grant Likely 2007-05-30 21:53 ` sys_futex Charles Krinke 0 siblings, 1 reply; 6+ messages in thread From: Grant Likely @ 2007-05-29 18:25 UTC (permalink / raw) To: David Hawkins; +Cc: Behan Webster, Linux PPC On 5/29/07, David Hawkins <dwh@ovro.caltech.edu> wrote: > Hey Grant, > > TCP/IP over PCI is also something I want to look into. > I'll have about 8 compact PCI crates, with 15 MPC8349E boards > in each that I will boot with U-Boot, and then TFTP a kernel, > and then NFS mounted filesystem on. I'll put ethernet on > the front-panels for the prototype boards, but ideally > I want TCP/IP over PCI for the final system. > > The board support package for the Freescale MPC8349E-MDS-PB > has some sort of support for this, but I haven't had a look > at the code yet. Cool, I'm not actually going to be using PCI on this project, but it is a shared memory system, and so I expect the bulk of the protocol could be similar. The system I'm working on consists of a DSP and an MPC8349 connected via 128K of shared ram. I need to put together a low level protocol which will support multiple interfaces on top of it, and I figured that the old IP-over-PCI would be good place to start. I need to layer console and filesystem interfaces on top to begin with, and then additional interfaces as the product matures. > > I'm pretty sure Dan Malek had written something similar for > TCP/IP over RapidIO. Take a look in the kernel source, > I forget the name ... I have some notes around here somewhere ... Hmm, yes I hadn't thought of looking at RapidIO. If the low level protocol was a straight forward message passing interface, then the stuff on top could potentially be the same. > > I'm working on hardware at the moment, so my software > brain cells are lying dormant. Let me know if you want > me to dig up the Freescale stuff and I'll send it to you, > or send you a link to a copy of the ISO. Downloading the > BSP from Freescale's site is a nightmare. I can also > plug the MDS board in as a peripheral and fire up their > TCP/IP over PCI and see what works. Yes, please send me whatever you have. > It really shouldn't be too much trouble to get working. > I started by looking at the PLIP code just to see what > that took, and its pretty short. The most work would > be in defining infrastructure to make adding DMA of > data between the host CPU and the peripherals flexible. > Most (all?) x86 hosts don't have DMA, so both write and > read would be handled by the peripheral board. However, > for PPC hosts with DMA, then writes should be handled > by the respective boards ... I'm not sure what the > easiest way to deal with that would be. > > Feel free to start a discussion on this :) > > Cheers, > Dave > -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 6+ messages in thread
* sys_futex 2007-05-29 18:25 ` Grant Likely @ 2007-05-30 21:53 ` Charles Krinke 0 siblings, 0 replies; 6+ messages in thread From: Charles Krinke @ 2007-05-30 21:53 UTC (permalink / raw) To: Linux PPC; +Cc: Kevin Smith This is a user space application to kernel interface question. We are using linux-2.6.17.11 in our design and have two boards. One 8241 and one 8541. In user space, we need to use the system call "sys_futex", but when the user space application is compiled we have an unresolved linkage error. Can someone offer a suggestion on the care and feeding of "sys_futex" in a ppc 8241/8541 environment. Thanks. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-05-30 21:53 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-05-29 5:40 pcimsg patch from eons ago Grant Likely 2007-05-29 7:09 ` Adrian Cox 2007-05-29 13:37 ` Grant Likely 2007-05-29 17:40 ` David Hawkins 2007-05-29 18:25 ` Grant Likely 2007-05-30 21:53 ` sys_futex Charles Krinke
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).