I've got few doubts regarding the images that we make in VxWorks....seems to
be easy for few brains who 've done lot of work in this field....
1). What is Cold Boot and Warm Boot?
2). Why is the system startType....i.e. whether cold boot or warm boot.....
taken as an argument in routines...
a). romStart( int startType)
b). usrInit ( int startType)....its also saved in an integer variable
sysStartType, why?
3). Has anyone ever tried to port vxworks into Evalutor 7T board using
ARM7TDMII architecture......its bcos we need serious help outhere ?
Hoping to get some reply from the good souls.....
Thanks.
Lawrie.
> 1). What is Cold Boot and Warm Boot?
On Cold boot, the VxWorks bootRom will clear out the entire memory,
assuming it starts after power-on, and assuming memory has either parity
ECC, all memory bits need to be written first, so writing a 0 into all bytes
makes sure that a perity error will not result from a read-before-write
event.
Worm boot circumvents this zeroeing phase, in order to save time.
The above does not really apply for the x86/Bios (aka PC) architecture.
Application may also use the startType as needed.
>
> 2). Why is the system startType....i.e. whether cold boot or warm
boot.....
> taken as an argument in routines...
> a). romStart( int startType)
> b). usrInit ( int startType)....its also saved in an integer variable
> sysStartType, why?
>
romStart is actually using the argument (passed from fixed-position entry
points) to decide to do the zeroing or not.
usrInit does not use startType, except for propagating it towards
any drivers or application that might make use of it.
> 3). Has anyone ever tried to port vxworks into Evalutor 7T board using
> ARM7TDMII architecture......its bcos we need serious help outhere ?
>
Nope, never did ARM, but did at least 20 BSPs on different architectures,
i960 being the one I used most.
> Hoping to get some reply from the good souls.....
> Thanks.
>
Hope it helps.
Leonid
Cold boot is power up or hardware reset, warm boot is control-X
to the shell or the reboot command.
> 2). Why is the system startType....i.e. whether cold boot or warm boot.....
> taken as an argument in routines...
> a). romStart( int startType)
It has to do with whether memory is cleared, among other things.
> b). usrInit ( int startType)....its also saved in an integer variable
> sysStartType, why?
>
usrInt could use it, never looked at exactly what is does.
> 3). Has anyone ever tried to port vxworks into Evalutor 7T board using
> ARM7TDMII architecture......its bcos we need serious help outhere ?
Not I. You can get a copy of the BSP porting kit from WRS to start with.
Call them and have you checkboot ready.
>
> Hoping to get some reply from the good souls.....
> Thanks.
>
> Lawrie.
Speaking only for myself,
Joe Durusau