Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VxWorks Error in boot line

1,996 views
Skip to first unread message

Chirag H. Shroff

unread,
Aug 26, 2002, 11:19:57 PM8/26/02
to
Hello All,

We are using MVME2700 PPC. I use the "bootChange" command to change the boot
parameters.

I add the following......


boot device : dc
processor number : 0
host name : console
file name : /opt/vxworks/tornado1PPC/target/config/mv2700/vxWorks
inet on ethernet (e) : 192.168.19.3:ffffff00
inet on backplane (b):
host inet (h) : 192.168.19.1
gateway inet (g) :
user (u) : gong
ftp password (pw) (blank = use rsh):
flags (f) : 0x8
target name (tn) : data
startup script (s) : /ram2/startup.cmd
other (o) :


Everything works fine as long as power is "ON". When i turn off the power
supply and then after some time turn the power supply "on", I get the following
error messages.....

data> Error in boot line:
dc(0,0)Condole:/opt/vxwOrks/tornado1PPC/target/config/mV700/vxWorks e=q0.168.19.3:fffFfn00 h=192.168.y.1 u=gong f=0xh tn=data s=/ram/startup.cmd
^

Adding 2594 symbols for standalone.
Initializing RAM board..

]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]] ]]]] ]]]]]]]]]] ]] ]]]] (R)
] ]]]]]]]]] ]]]]]] ]]]]]]]] ]] ]]]]
]] ]]]]]]] ]]]]]]]] ]]]]]] ] ]] ]]]]
]]] ]]]]] ] ]]] ] ]]]] ]]] ]]]]]]]]] ]]]] ]] ]]]] ]] ]]]]]
]]]] ]]] ]] ] ]]] ]] ]]]]] ]]]]]] ]] ]]]]]]] ]]]] ]] ]]]]
]]]]] ] ]]]] ]]]]] ]]]]]]]] ]]]] ]] ]]]] ]]]]]]] ]]]]
]]]]]] ]]]]] ]]]]]] ] ]]]]] ]]]] ]] ]]]] ]]]]]]]] ]]]]
]]]]]]] ]]]]] ] ]]]]]] ] ]]] ]]]] ]] ]]]] ]]]] ]]]] ]]]]
]]]]]]]] ]]]]] ]]] ]]]]]]] ] ]]]]]]] ]]]] ]]]] ]]]] ]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]]]] Development System
]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]] VxWorks version 5.3.1
]]]]]]]]]]]]]]]]]]]]]]]]]] KERNEL: WIND version 2.5
]]]]]]]]]]]]]]]]]]]]]]]]] Copyright Wind River Systems, Inc., 1984-1997

CPU: Motorola MVME2700 - MPC 750. Processor #0.
Memory Size: 0x2000000. BSP version 1.1/5.

->


Before that it was fine. Now if i change the boot parameters again and
reboot it (dont turn the power supply "off") everything works fine.


Please help me. I'll really appreciate it.


Thanks a lot.

Chirag

Stray Mail for itozi.com

unread,
Aug 27, 2002, 1:14:20 AM8/27/02
to
Please note, this is an _automated reply_

The e-mail you sent was incorrectly addressed and could not be delivered. Please recheck the e-mail address.

However, your e-mail will be reviewed and forwarded to the appropriate person where possible.

IT @ OZI can be contacted on:
Sydney (02) 9955 5388
International +61 2 9955 5388
   

Ilia Bosis

unread,
Aug 28, 2002, 6:15:13 AM8/28/02
to
Chirag !

The answer is simple:
In order for boot parameters (set by either bootloader menu utility or the
bootChange command)
to survive the power off, two conditions must be met:
-- There must be a non-volatile storage device (NvRAM),
such as the FLASH memory, EEPROM or the battery-backed CMOS RAM on the
board; and
-- The BSP must provide a means for storing & extracting the boot parameters

from this non-volatile storage device.

As it looks from Your posting,
the boot parameters in Your card are stored in the conventional (volatile)
RAM.
After power off the bootloader will find a genuine garbage there.
The VxWorks bootloader is clever enough to recognize this situation and back
off to some default boot line, that's hard coded into the bootloader code
itself. As it looks from the error message, there are an extra spaces (or
even some unprintable garbage) at the end of the boot line. The bootloader
apparently doesn't know how to cope with this.

Points to look for:
-- The DEFAULT_BOOT_LINE in the <BSP_dir>/config.h defines the default boot
line,
the one the bootloader backs off to in case the boot configuration
storage is garbled.
If You use Tornado configuration utility, look for the DEFAULT_BOOT_LINE
in the boot configuration.
-- The NV_RAM_SIZE in the same file tells the bootloader how much NvRAM it
has (if any).
-- usrBootLineInit() in the <BSP_dir>/bootConfig.c.
This function is responsible for extracting the boot configuration at the
cold start (after power up).


Hope, this helps.
Ilia
--------------------------------------------
Ilia Bosis
Software Engineer
PacketLight Networks
Tel: +972-9-7644228
Fax: +972-9-7645444
E-mail: Ilia_...@packetlight.com
Web: www.packetlight.com

"Chirag H. Shroff" <shr...@noao.edu> wrote:
>
> Hello All,
>
> We are using MVME2700 PPC. I use the "bootChange" command to
> change the boot
> parameters.
>

[Skipped]


>
> Everything works fine as long as power is "ON". When i turn
> off the power
> supply and then after some time turn the power supply "on", I
> get the following
> error messages.....
>
> data> Error in boot line:
> dc(0,0)Condole:/opt/vxwOrks/tornado1PPC/target/config/mV700/vx
> Works e=q0.168.19.3:fffFfn00 h=192.168.y.1 u=gong f=0xh
> tn=data s=/ram/startup.cmd
>
> ^

[Skipped]

0 new messages