Fwd: PCI communication between host and target.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---------- Forwarded message ----------
From: Peter Teoh <htmldeveloper@xxxxxxxxx>
Date: Mon, Jan 5, 2009 at 12:00 PM
Subject: Re: PCI communication between host and target.
To: arun c <arun.edarath@xxxxxxxxx>


thank you ... at the moment quite busy....offhand got no answer....can
u forward to kernelnewbies?   many experts are there to help u....

On Mon, Jan 5, 2009 at 2:08 AM, arun c <arun.edarath@xxxxxxxxx> wrote:
> Hi,
>
> On Sun, Jan 4, 2009 at 4:54 PM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote:
>> this is interesting.....can tell me what is it that u are looking for?
>> u did not ask any specific question....which made answering/searching
>> for answer much easier.
>>
>
> Ok I will try to make things more clear.
>
> I have a host PC running linux. The custom board(target) of mine is
> running u-boot will sit on the
> PCI slot of the host PC.
>
>
> The target board has its on processor and u-boot ported on to that. As
> the target board is
> having a good SOC I can offload some of the processing made on the host to it.
>
> Assume on the target board i have an application which can do
>
> 1) A self test of all the peripherals of it.
> 2) Video processing.
> 3) Image processing.
>
> So from my host I should do
>
> 1) open /dev/pci_custom_target
> 2)ioctl (fd, DO_SELFTEST) or ioctl (fd, DO_VIDEO_PROCESS,&buf) or
> ioctl (fd, DO_IMAGE_PROCESS, &buf)
>
> I need a mechanism to transfer all these commands through PCI to target.
>
> target takes this commands and executes and give the response back to host.
>
> I hope the situation is more clear now.
>
> Arun C
>
>
>
>
>> On Fri, Jan 2, 2009 at 5:39 PM, arun c <arun.edarath@xxxxxxxxx> wrote:
>>> Hi all,
>>>
>>> In my custom board design the communication between host and target
>>> should happen through PCI interface.
>>>
>>> The target processor runs u-boot, and host processor is running linux.
>>>
>>> The target devices will be accessed from the host by /dev nodes.
>>>
>>> To reduce the workload on host all the target calls like
>>> open, read ,write ,ioctl are passed directly to the target.
>>>
>>> There will be a common PCI buffer between host
>>> and target and target will take commands from this buffer
>>> and execute. The result of executed API also will be put to a shared buffer
>>> between host and target. [This is what i am planning to implement]
>>>
>>> Anybody has come across similar sort of scenario?
>>> Any ideas or any pointers will be highly appreciated.
>>>
>>
>> --
>> Regards,
>> Peter Teoh
>>
>



--
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux