<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 8/17/21 7:42 PM, Joel Sherrill
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CAF9ehCVP5gMrHwckmaxjo3XoRAnU3qPXFv3U7W=c5LyiEHPL=A@mail.gmail.com">
      
      <div dir="auto">
        <div><br>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Tue, Aug 17, 2021, 7:00
              PM Chris Johns <<a href="mailto:chrisj@rtems.org" moz-do-not-send="true">chrisj@rtems.org</a>> wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">On
              18/8/21 5:19 am, Chandler, Brendan wrote:<br>
              > I think I found the answer to my own issue.  I needed
              this configuration option:<br>
              > #define CONFIGURE_MAXIMUM_USER_EXTENSIONS       5<br>
              > <br>
              > With that, the error "cannot create extension" goes
              away and I can boot.<br>
              > <br>
              <br>
              Great to see you managed to solve the problem and thank
              you for letting us know.<br>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Do you have something like CONFIGURE_UNLIMITED
          and CONFIGURE_UNIFIED_WORKSPACE?</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">With those (spelled correctly) you should be
          able to create objects until memory runs out.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Also configuring the minimum thread stack size
          to give some breathing space is often handy. </div>
        <div dir="auto"><br>
        </div>
      </div>
    </blockquote>
    <p>I've added those things now, thanks for the tip!<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite" cite="mid:CAF9ehCVP5gMrHwckmaxjo3XoRAnU3qPXFv3U7W=c5LyiEHPL=A@mail.gmail.com">
      <div dir="auto">
        <div dir="auto">--joel</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <br>
              Chris<br>
              <br>
              > <br>
              > ________________________________________<br>
              > From: Chandler, Brendan <<a href="mailto:bchandler@anl.gov" target="_blank" rel="noreferrer" moz-do-not-send="true">bchandler@anl.gov</a>><br>
              > Sent: Tuesday, August 17, 2021 11:09<br>
              > To: <a href="mailto:users@rtems.org" target="_blank" rel="noreferrer" moz-do-not-send="true">users@rtems.org</a><br>
              > Subject: libbsd network on an mvme2500<br>
              > <br>
              > Hi rtems-users,<br>
              > <br>
              > I'm trying to set up a simple RTEMS 5 program to get
              my mvme2500 board up and running with a static network
              configuration using libbsd.  I took the hello.c example
              from the getting started guide, and modified it to use
              libbsd and configure the network.  My problem is I get a
              runtime error when loading my binary when I call
              rtems_bsd_initialize():<br>
              > <br>
              > ## Booting kernel from Legacy Image at 10000000 ...<br>
              >    Image Name:   RTEMS<br>
              >    Created:      2021-08-17  15:32:55 UTC<br>
              >    Image Type:   PowerPC Linux Kernel Image (gzip
              compressed)<br>
              >    Data Size:    968695 Bytes = 946 KiB<br>
              >    Load Address: 00004000<br>
              >    Entry Point:  00004000<br>
              >    Verifying Checksum ... OK<br>
              > ## Flattened Device Tree blob at 20000000<br>
              >    Booting using the fdt blob at 0x20000000<br>
              >    Uncompressing Kernel Image ... OK<br>
              >    Loading Device Tree to 00ff9000, end 00fff04a ...
              OK<br>
              > emerg: rtems_bsd_threads_init_early: cannot create
              extension<br>
              > <br>
              > This seems to be coming from
              rtems-libbsd/rtemsbsd/rtems/rtems-kernel-thread.c where
              the call to rtems_extension_create() fails.<br>
              > <br>
              > I've posted my code at github here:<br>
              > <a href="https://github.com/brendanchandler/test-rtems5" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true">https://github.com/brendanchandler/test-rtems5</a><br>
              > <br>
              > Can anyone help get around this error?  I'm probably
              missing some configuration or setup, but haven't been able
              to determine what it is.<br>
              > <br>
              > Thanks in advance for any help,<br>
              > Brendan<br>
              > <br>
              > _______________________________________________<br>
              > users mailing list<br>
              > <a href="mailto:users@rtems.org" target="_blank" rel="noreferrer" moz-do-not-send="true">users@rtems.org</a><br>
              > <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true">http://lists.rtems.org/mailman/listinfo/users</a><br>
              > <br>
              _______________________________________________<br>
              users mailing list<br>
              <a href="mailto:users@rtems.org" target="_blank" rel="noreferrer" moz-do-not-send="true">users@rtems.org</a><br>
              <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true">http://lists.rtems.org/mailman/listinfo/users</a><br>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>