From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31871 invoked by alias); 6 Nov 2003 17:33:57 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 31864 invoked from network); 6 Nov 2003 17:33:57 -0000 Received: from unknown (HELO brmx1.fl.icn.siemens.com) (12.147.96.32) by sources.redhat.com with SMTP; 6 Nov 2003 17:33:57 -0000 Received: from imail1.icn.siemens.com (imail1.icn.siemens.com [165.218.65.50]) by brmx1.fl.icn.siemens.com (8.9.3p092403/8.9.3) with ESMTP id MAA19000; Thu, 6 Nov 2003 12:31:58 -0500 (EST) Received: from boca210a.boca.ssc.siemens.com (boca210a.boca.ssc.siemens.com [165.218.12.110]) by imail1.icn.siemens.com (8.12.10/8.12.10) with ESMTP id hA6HRmM6012737; Thu, 6 Nov 2003 09:27:48 -0800 (PST) Received: by boca210a.boca.ssc.siemens.com with Internet Mail Service (5.5.2657.72) id ; Thu, 6 Nov 2003 12:33:39 -0500 Message-ID: From: "Snider, Marc" To: "'Gary Thomas'" Cc: "'ecos-discuss@sources.redhat.com'" Date: Thu, 06 Nov 2003 17:33:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: [ECOS] Redboot image load via PCI bus? X-SW-Source: 2003-11/txt/msg00075.txt.bz2 My thought was to provide the standard I/O device driver routines (open, close, read...) on top of the PCI accesses and thus shield the higher layer loader code. I'd make it look like the image data was coming from somewhere else like the flash. It looks like do_load doesn't care where the image data comes from as long as the native format (in my case likely SREC) is maintained... Yes, the host does have access to the memory on the target system, but it would be preferable to pull the data from the host as opposed to pushing it from there to the target... Marc -----Original Message----- From: Gary Thomas [mailto:gary@mlbassoc.com] Sent: Thursday, November 06, 2003 11:46 AM To: Snider, Marc Cc: 'ecos-discuss@sources.redhat.com' Subject: Re: [ECOS] Redboot image load via PCI bus? On Thu, 2003-11-06 at 09:45, Snider, Marc wrote: > Is there a canned method implemented somewhere for loading an image via the > PCI bus (from another host), as opposed to using the network or loading from > flash? I'd like to load an image from a control host across the PCI bus > and then burn it to flash... I'm assuming that if there isn't then I'll > need to modify the do_load command and provide a set of I/O routines that > map PCI accesses into standard I/O convention... > > I'm on a PowerPC440 platform, if the platform matters. What method would you use to access the image via the PCI? Can your host access the memory on the board? -- Gary Thomas MLB Associates -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss