Executing programs from redboot – Comtrol eCos User Manual

Page 174

Advertising
background image

Chapter 2. RedBoot Commands and Examples

RedBoot> fco

Run script at boot: false t

Boot script:

Enter script, terminate with empty line

>> {ROM}fis load RedBoot[RAM]

>> {ROM}go

>> {RAM}fis li

>>

Boot script timeout (1000ms resolution): 2

Use BOOTP for network configuration: false

...

Update RedBoot non-volatile configuration - continue (y/n)? y

... Unlock from 0x007c0000-0x007e0000: .

... Erase from 0x007c0000-0x007e0000: .

... Program from 0xa0015030-0xa0016030 at 0x007df000: .

... Lock from 0x007c0000-0x007e0000: .

RedBoot> reset

... Resetting.

+Ethernet eth0: MAC address 00:80:4d:46:01:05

IP: 192.168.1.153, Default server: 192.168.1.10

RedBoot(tm) bootstrap and debug environment [ROM]

Red Hat certified release, version R1.xx - built 17:37:36, Aug 14 2001

Platform: IQ80310 (XScale)

Copyright (C) 2000, 2001, Red Hat, Inc.

RAM: 0xa0000000-0xa2000000, 0xa001b088-0xa1fdf000 available

FLASH: 0x00000000 - 0x00800000, 64 blocks of 0x00020000 bytes each.

== Executing boot script in 2.000 seconds - enter ^C to abort

RedBoot> fis load RedBoot[RAM]

RedBoot> go

+Ethernet eth0: MAC address 00:80:4d:46:01:05

IP: 192.168.1.153, Default server: 192.168.1.10

RedBoot(tm) bootstrap and debug environment [RAM]

Red Hat certified release, version R1.xx - built 13:03:47, Aug 14 2001

Platform: IQ80310 (XScale)

Copyright (C) 2000, 2001, Red Hat, Inc.

RAM: 0xa0000000-0xa2000000, 0xa0057fe8-0xa1fdf000 available

FLASH: 0x00000000 - 0x00800000, 64 blocks of 0x00020000 bytes each.

== Executing boot script in 2.000 seconds - enter ^C to abort

RedBoot> fis li

Name

FLASH addr

Mem addr

Length

Entry point

RedBoot

0x00000000

0x00000000

0x00040000

0x00002000

RedBoot config

0x007DF000

0x007DF000

0x00001000

0x00000000

FIS directory

0x007E0000

0x007E0000

0x00020000

0x00000000

RedBoot>

70

Advertising