Has anyone had a problem similar to this before or know of a patch I must install?
Note, I have installed a patch for SPR22610 and I have INCLUDE_DOSFS and INCLUDE_RAMDRV included. My target is a Motorola PPC (MVME2400). The example below is taken from the WRS Tornado training course, so it should work!
Thanks,
Simon.
///// /////
///// ///// /////
|
///// ///// /////
///// ///// |
///// ///// /////
///// /////
|
///// ///// /////
///// /////
|
////// ////// ////// //////
////// |
////// ////// ////// //////
////// |
T O R N A D O
///// ///// /////
///// /////
|
///// ///// /////
///// /////
|
///// ///// /////
///// ///// |
Development System
//// ////
//// //// ////
|
//// ////
//// //// ////
|
////
//// //// //// ////
| Host Based Shell
////
//// //// //// ////
|
////
//// //// //// ////
|
///
/// /// ///
/// | Version 1.0.1
///
/// /// ///
/// |
// // //
// // |
// // //
// // |
// // //
// // |
//
// // //
// |
Copyright Wind River Systems, Inc., 1995-1997
C++ Constructors/Destructors Strategy is AUTOMATIC
-> pBlkDrv = ramDevCreate (0,1024,0,64,0)
new symbol "pBlkDrv" added to symbol table.
pBlkDrv = 0x5afc18: value = 67105440 = 0x3fff2a0
->
-> dosFsMkfs "/dos", pBlkDrv
value = 62893360 = 0x3bfad30
-> devs
drv name
0 /null
1 /tyCo/0
5 wheelie:
6 /pty/telnet.S
7 /pty/telnet.M
8 /vio
3 /dos
value = 0 = 0x0
-> fd = creat ("/dos/simon",2)
syntax error
->
-> ls "/dos"
Parameter format not correct - "dos".
value = -1 = 0xffffffff
->
e.g. to access a dosfs called '/dos' on the target server with a host based shell you can't use 'ls' - the correct usage would be '@ls' to force the command to executed on the target and not the host.
Now wiser!
Simon.