Adding a PCI device that doesn't exist (yet)

Dave Aubin daubin at actuality-systems.com
Wed Oct 6 12:51:01 CEST 2004


Hi Ty,

  Please tell:)  What approach did you use to create the pci 
Device after boot?  

Thanks,
Dave:) 

-----Original Message-----
From: linuxbios-admin at clustermatic.org
[mailto:linuxbios-admin at clustermatic.org] On Behalf Of tyson at irobot.com
Sent: Wednesday, October 06, 2004 1:52 PM
To: Jay Miller
Cc: Ronald G. Minnich; YhLu; linuxbios at clustermatic.org
Subject: Re: Adding a PCI device that doesn't exist (yet)

Hopping in mid-thread here so I may have the context wrong:

I have succeeded at programming the FPGA to create a PCI device after
the boot process.  I was then able to have the device driver add the
device to the pci device table and get resources allocated for it and
get it paired up with the alread loaded device driver.

I did not figure out how to de-allocate/de-register such that I could
cleanely re-program the FPGA without a re-boot.

Is this relevant?

Cheers!
Ty


Jay Miller wrote:
> Thanks for your help.  Certainly that's not ideal, but it may turn out

> to be our only option.
> 
> Currently I'm investigating using proc_pci_attach_device() at the 
> kernel level to add the device from the driver module 
> init(post-program), but it's not looking promising.
> 
> Thanks,
> 
> Jay Miller
> 781-229-7812x117
> Actuality Systems, Inc.
> jmiller at actuality-systems.com
> 
> 
> -----Original Message-----
> From: Ronald G. Minnich [mailto:rminnich at lanl.gov]
> Sent: Wednesday, October 06, 2004 12:23 PM
> To: YhLu
> Cc: Jay Miller; linuxbios at clustermatic.org
> Subject: RE: Adding a PCI device that doesn't exist (yet)
> 
> 
> 
> On Tue, 5 Oct 2004, YhLu wrote:
> 
> 
>>Can you for the FPGA programming in the auto.c and issue an soft_reset
> 
> in
> 
>>auto.c?
> 
> 
> I think this can work with the current mechanisms. You need to have 
> your
> 
> chip programmed pre-pci-scan, and the current config mechanism 
> supports that fine.
> 
> 
> Is this V1 or V2, I forget.
> 
> ron
> _______________________________________________
> Linuxbios mailing list
> Linuxbios at clustermatic.org
> http://www.clustermatic.org/mailman/listinfo/linuxbios


-- 
Tyson D Sawyer                     iRobot Corporation
Lead Systems Engineer              Government & Industrial Robotics
tsawyer at irobot.com                 Robots for the Real World
781-345-0200 ext 3329              http://www.irobot.com

_______________________________________________
Linuxbios mailing list
Linuxbios at clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios



More information about the coreboot mailing list