>From your description, I suppose your arm-based PCIe board is trying to act as 
>a SATA-like host controller, right?

I don't think you should emphasize it's arm-based PCIe board or FPGA-based PCIe 
board. From host view, the board is just a PCIe device and could be accessed 
from PCI bus.

What you have to do is to define some vendor-specific MMIO registers which is 
exposed to HOST. Your board's OPRom is executed at HOST BIOS env and accesses 
these pre-arranged MMIO registers to do transactions. Your arm-based board 
should monitor these registers to forward/translate HOST request to SATA device.
From: Murali Selvaraj [mailto:[email protected]]
Sent: Sunday, July 28, 2013 23:48
To: [email protected]
Subject: [edk2] Need help on PCI option ROM

Hello All,

I am new to EDK and UEFI environment.Please share your knowledge/ideas if you 
come across my scenario as mentioned below.

My Setup Details:

My motherboard (Host-x86) is connected with arm based PCI board over PCIe.There 
are four SATA devices are connected to arm board.

My Design:

For this requirement,I need to design a PCI expansion ROM,the functionality of 
PCI expansion ROM will show the list of connected SATA devices on arm board and 
option ROM will execute from Host-motherboard BIOS environment.The option ROM 
will be flashed on arm board and it'll execute from Host BIOS environment.

My Query:

1) In general, Host will detect arm based board during PCI bus enumeration via 
PCIe configuration space.But we need to access connected PCI devices(SATA) 
connected on arm board.How do we access PCI configuration space of connected 
SATA PCI devices on arm board from Host BIOS environment.

2 ) Is it possible to access SATA devices on arm board from Host BIOS 
environment with a help of PCI configuration space of PCIe card.

Please share your views/ideas on the same.

Thanks
Murali.S

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to