This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Issue in boot script
Hi Gary,
Even though the the time displayed in seconds shows 100 ( looks like, it is
multiplied by 10) .
So it is effectively waiting for 10 seconds only before displaying the
redboot prompt. I did verify
elapsed time using the system clock.
Here is the screen shot.
SDRAM(768M): 0x00000000 - 0x30000000, 0x00200000 - 0x2ffdf000 available
SRAM Channel 0(16M): 0x80000000 - 0x81000000
SRAM Channel 1(16M): 0x90000000 - 0x91000000
SRAM Channel 2(16M): 0xa0000000 - 0xa1000000
SRAM Channel 3(16M): 0xb0000000 - 0xb1000000
FLASH(16M): 0xc4000000 - 0xc5000000, 128 blocks of 0x00020000 bytes each.
CPLD Rev. is 9.4
== Executing boot script in 100.000 seconds - enter ^C to abort
RedBoot_2800>
Thanks
G.Muruganandam
At 01:30 PM 10/3/2003 -0600, Gary Thomas wrote:
On Fri, 2003-10-03 at 13:30, G.Muruganandam wrote:
> Hi,
>
> I am working on the IXP2xxx platform to boot linux using the boot script.
>
> The linux image is in the flash.
> I am able to use the following command at the redboot prompt to boot
> the linux. Its working fine.
>
> Redboot> fis load zImage
> Redboot>exec 0x10008000
>
>
> But when I include the same command under the boot script and allows
the system
> to boot using the script, it is not working. I could see the system
waiting
> for the Ctrl +c
> from user to abort the booting. But it is not reading the boot script and
> executing it .
>
> I can see the boot script residing in the flash using the following
command.
>
> RedBoot> fconfig -li
> Run script at boot: true
> Boot script:
> .. fis load zImage
> .. exec 0x10008000
>
> Boot script timeout (1000ms resolution): 100
> Use BOOTP for network configuration: true
> GDB connection port: 9000
> Network debug at boot time: false
> RedBoot>
>
>
> Please let me know what I am missing and do let me know if you need more
> details.
>
How long did you wait? You've told it not to run the script until
*100* seconds have passed :-), so unless you waited for nearly two
minutes, you won't see the script execute.
This value (Boot script timeout) is typically something like 5 seconds.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss