From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19877 invoked by alias); 6 Nov 2003 18:13:17 -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 19869 invoked from network); 6 Nov 2003 18:13:16 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 6 Nov 2003 18:13:16 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id F08DF50D8E3; Thu, 6 Nov 2003 11:13:15 -0700 (MST) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id E813050D8E2; Thu, 6 Nov 2003 11:13:14 -0700 (MST) From: Gary Thomas To: "Snider, Marc" Cc: "'ecos-discuss@sources.redhat.com'" In-Reply-To: References: Content-Type: text/plain Organization: MLB Associates Message-Id: <1068142394.13745.6883.camel@hermes> Mime-Version: 1.0 Date: Thu, 06 Nov 2003 18:13:00 -0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: RE: [ECOS] Redboot image load via PCI bus? X-SW-Source: 2003-11/txt/msg00078.txt.bz2 On Thu, 2003-11-06 at 11:13, Snider, Marc wrote: > Makes sense, Gary. Thanks for the pointers... Assuming I'm otherwise > entirely comfortable with what version 1.3.1 provides, will I need to go to > (do you advise) version 2.0 before making these mods or is 1.3.1 adequate? > 1.3.1 is too out of date - don't even think about it. Use the latest from CVS - that's the best approach. > > Thanks again, > Marc > > > -----Original Message----- > From: Gary Thomas [mailto:gary@mlbassoc.com] > Sent: Thursday, November 06, 2003 12:42 PM > To: Snider, Marc > Cc: 'ecos-discuss@sources.redhat.com' > Subject: RE: [ECOS] Redboot image load via PCI bus? > > > On Thu, 2003-11-06 at 10:37, Snider, Marc wrote: > > 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... > > > > Understood. If you look carefully at how the "load" command works, > you won't need to make *any* changes directly to it, but just add a > new I/O method. Also, I'd suggest that you put your new PCI method > in your platform HAL - there is no need to mess about with the core > of RedBoot. > > note: a lot of care has been taken (by me) to allow such extensions > without any [direct] changes to the RedBoot tree. > > ... Ah, the joy of tables. > > > 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 -- 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