From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22730 invoked by alias); 14 Feb 2007 16:02:36 -0000 Received: (qmail 22720 invoked by uid 22791); 14 Feb 2007 16:02:35 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Feb 2007 16:02:21 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id CF399195026A; Wed, 14 Feb 2007 09:02:19 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on hermes.chez-thomas.org X-Spam-Level: Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 72EE71950111; Wed, 14 Feb 2007 09:02:17 -0700 (MST) Message-ID: <45D33288.7010709@mlbassoc.com> Date: Wed, 14 Feb 2007 16:02:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Anders Brogestam CC: ecos-devel@sources.redhat.com Subject: Re: Booting a board with Redboot References: <1171407217.5481.18.camel@localhost> In-Reply-To: <1171407217.5481.18.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2007-02/txt/msg00023.txt.bz2 Anders Brogestam wrote: > Hi. > > I'm new to Redboot and are in the process of setting up a new board > (with a MIPS) that will have Redboot and Linux. > I have managed to get a RAMROM version of RedBoot running on the board, > and can use that with the serial consol (the board has no network > connection). > The questions that I have are: > > 1. One I have a Linux image on the board, how will Redboot automagically > boot that image? All I can see is commands to do it using the CLI. Using 'fconfig', you can specify a script of commands to be executed when RedBoot starts up. These could include a way to load the Linux kernel and then execute it. This also leaves the possibility (via ^C) to break into RedBoot for maintenance, etc. > > 2. The documentation for the "exec" command specifies that the option -b > is used to specify the loaded address of the image (ie to me that > indicates where the image is stored, in flash). The source though gives > that -b is used as argument address... > > 3. When a Linux image is booted, is it Redboot that copies the Linux > image from flash to RAM or is it up to Linux? Linux is usually started by loading it [from FLASH] into RAM via a RedBoot command and then using the 'exec' command. The "-b" option would be used to tell 'exec' where the image is, although with recent versions of RedBoot this can mostly be inferred from the load operation. For example, RedBoot> fi lo linux RedBoot> exec -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------