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

Jay Miller jmiller at actuality-systems.com
Wed Oct 6 12:56:01 CEST 2004


Thanks Ty, that's exactly what we're looking for.  The de-allocation
wouldn't be an issue as we would be re-programming on the reboot anyway.

Did you use the proc_pci_attach_device() mechanism?

Cheers,

Jay Miller
781-229-7812x117
Actuality Systems, Inc.
jmiller at actuality-systems.com


-----Original Message-----
From: tyson at irobot.com [mailto: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




More information about the coreboot mailing list