This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: change default RedBoot "fis load" and "exec" - how?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]