[ECOS] change default RedBoot "fis load" and "exec" - how?
Gary Thomas
gary@mlbassoc.com
Mon Jul 10 11:52:00 GMT 2006
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
More information about the Ecos-discuss
mailing list