From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28498 invoked by alias); 10 Jul 2006 11:52:06 -0000 Received: (qmail 28490 invoked by uid 22791); 10 Jul 2006 11:52:05 -0000 X-Spam-Check-By: sourceware.org Received: from sta-204-188-98-27.rockynet.com (HELO hermes.chez-thomas.org) (204.188.98.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 10 Jul 2006 11:52:03 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 999) id 0DE6D1950178; Mon, 10 Jul 2006 05:52:02 -0600 (MDT) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by hermes.chez-thomas.org (Postfix) with ESMTP id 257CB195000F; Mon, 10 Jul 2006 05:52:00 -0600 (MDT) Message-ID: <44B23F5F.7090807@mlbassoc.com> Date: Mon, 10 Jul 2006 11:52:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: Tomasz Chmielewski CC: ecos-discuss@ecos.sourceware.org References: <44B237C3.2090604@wpkg.org> In-Reply-To: <44B237C3.2090604@wpkg.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] change default RedBoot "fis load" and "exec" - how? X-SW-Source: 2006-07/txt/msg00039.txt.bz2 Tomasz Chmielewski wrote: > I have a Freecom FSG-3 device (ARM, IXP425 network, RedBoot). > > By default, RedBoot starts Linux in the following way: > > RedBoot> fis load kern1 > RedBoot> exec -c "console=ttyS0,115200 root=/dev/hda1 mem=64M@0x00000000" > > kern1 sits on /dev/mtd1, as seen here from Linux: > > > # cat /proc/mtd > dev: size erasesize name > mtd0: 00040000 00020000 "RedBoot" > mtd1: 00180000 00020000 "kern1" > mtd2: 00180000 00020000 "kern2" > mtd3: 00020000 00020000 "RedBoot config" > mtd4: 00020000 00020000 "FIS directory" > > > I compiled my own kernel, saved it to /dev/mtd2 (kern2), and boot it as > follows: > > RedBoot> fis load -b 0x00020000 kern2 > RedBoot> exec > > To do this, I have to ctrl+C when device boots, and type the appropriate > "fis load..." and "exec" commands. > > Is there an easy way to make these new "fis load..." and "exec" commands > the default ones for RedBoot? > > I don't have a JTAG pinout for this device, so I wouldn't like to > compile RedBoot from scratch, then flash it, and possibly brick the device. > > I checked RedBoot documentation, but didn't find any commands to just > update the default startup commands. > These commands are modified using the 'fconfig' command. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss