RTEMS shell configuration on 4.8.0

13 views
Skip to first unread message

송영중

unread,
Mar 24, 2012, 4:18:39 AM3/24/12
to rtems...@rtems.org, 이창영

Hi,

 

I have a problem on the using the shell on the RTEMS.

 

My RTEMS version is 4.8.0.

 

I found out this documnet ( http://rtems.org/onlinedocs/doc-current/share/rtems/pdf/shell.pdf ) on the internet.

 

It explains about the shell on the RTEMS 4.10.99. And there is no document for 4.8.0.

 

But I tried to do the section  "1.2 Configuration" on that document, like below

 

#define CONFIGURE_SHELL_COMMANDS_INIT
#define CONFIGURE_SHELL_COMMANDS_ALL
#include <rtems/shellconfig.h>

 

Because there are required source codes and MACROS to configure in the RTEMS 4.8.0 too.

 

next, I copied source code from "testsuites/samples/fileio.init.c"

 

And little bit modified it like below.

 

shell_init("SHLL",RTEMS_MINIMUM_STACK_SIZE+0x1000, 150,"/dev/console",B19200 | CS8, 1);

 

And there was no error while compiling it.

 

But I stucked on the login process of the shell.

 

It asked my ID and PW for login. But I din't set my ID and PW. How can I loggin on that shell?

 

I typed "rtems" or "root" as ID and PW but it said that wrong ID & PW.

 

Is there any other configuration to use this shell?

 

Or can't I use that <Shell> with RTEMS 4.8.0 since it's not supported?

 

At least I'd like to disable the function of checking ID and PW.

 

Best Regards,

 

Yungjoong

Joel Sherrill

unread,
Mar 24, 2012, 10:14:18 AM3/24/12
to yungjoo...@samsung.com, rtems...@rtems.org, 이창영
The shell in 4.8 is in no way comparable to what is in the current code. A significant amount of work occurred after 4.8. There were not many commands and no configuration that I recall.

4.8 is not supported by the free project. It is recommended that you use 4.10 or the git code which will become 4.11

--joel

송영중 <yungjoo...@samsung.com> wrote:

_______________________________________________
rtems-users mailing list
rtems...@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-users

Reply all
Reply to author
Forward
0 new messages