<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style></head>
<body>
<body><p dir="ltr">I have a patch in the VM I used in the class in Munich to fix this. I need to get it off that VM.</p><p dir="ltr">I THINK you just need some keys configured. Make them unlimited. I don't remember the key pair configuration value I used<br></p><div class="quote">On Apr 29, 2014 7:12 PM, Pavel Pisa <ppisa4lists@pikron.com> wrote:<br type="attribution"></div></body>
<font size="2"><div class="PlainText">Hello Alan,<br>
<br>
On Wednesday 30 of April 2014 00:03:16 Alan Cudmore wrote:<br>
> I recently tried to compile and run my RTEMS kernel image (<br>
> github.com/alanc98/rki ) on the latest git head. I was able to get past<br>
> a configuration option change:<br>
> #define CONFIGURE_MAXIMUM_TASKS 1024<br>
> kept the system from starting, so I changed it to 128 and it comes up.<br>
><br>
> But now I do not get a shell on the console. Are there any changes in<br>
> the shell initialization that I need to update?<br>
><br>
> I was running this on the 4.11 git head a few months ago.<br>
><br>
> Is there any single place that documents recent changes in all of the<br>
> configuration options ?<br>
<br>
I have found difficulties to run RTEMS shell<br>
on latest 4.11 as well. The POSIX keys implementation<br>
is used for task specific variables. May it be that<br>
even if POSIX support is disabled, the <br>
CONFIGURE_MAXIMUM_POSIX_KEYS<br>
CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS<br>
has to be setup. And for sure, when POSIX is enabled<br>
in RTEMS build (our case), the at least one key-value<br>
pair has to be allocated for each shell instance.<br>
<br>
There are our application template<br>
<a href="http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/tree/HEAD:/rtems-omk-template">http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/tree/HEAD:/rtems-omk-template</a><br>
changes for latest RTEMS 4.11 git.<br>
<br>
Best wishes,<br>
<br>
Pavel<br>
<br>
--- a/rtems-omk-template/appfoo/system.h<br>
+++ b/rtems-omk-template/appfoo/system.h<br>
@@ -38,12 +38,15 @@ rtems_task Init(<br>
#define CONFIGURE_MAXIMUM_PERIODS 4<br>
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 2<br>
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32<br>
-#define CONFIGURE_MAXIMUM_DRIVERS (CONFIGURE_NUMBER_OF_DRIVERS+10)<br>
+/*#define CONFIGURE_MAXIMUM_DRIVERS (CONFIGURE_NUMBER_OF_DRIVERS+10)*/<br>
+#define CONFIGURE_MAXIMUM_DRIVERS 32<br>
<br>
#ifdef RTEMS_POSIX_API<br>
#define CONFIGURE_MAXIMUM_POSIX_THREADS 32<br>
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20<br>
#define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES 10<br>
+#define CONFIGURE_MAXIMUM_POSIX_KEYS 4<br>
+#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS 8<br>
#endif /*RTEMS_POSIX_API*/<br>
<br>
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE<br>
@@ -56,6 +59,8 @@ rtems_task Init(<br>
<br>
#define CONFIGURE_MICROSECONDS_PER_TICK 1000<br>
<br>
+#define CONFIGURE_EXTRA_TASK_STACKS (10 * (RTEMS_MINIMUM_STACK_SIZE + 2 * 1024))<br>
+<br>
#define CONFIGURE_INIT_TASK_STACK_SIZE (10*1024)<br>
#define CONFIGURE_INIT_TASK_PRIORITY 120<br>
#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \<br>
diff --git a/rtems-omk-template/appnet/system.h b/rtems-omk-template/appnet/system.h<br>
index a32318f..b05e202 100644<br>
_______________________________________________<br>
rtems-devel mailing list<br>
rtems-devel@rtems.org<br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-devel">http://www.rtems.org/mailman/listinfo/rtems-devel</a><br>
</div></font>
</body>
</html>