On 18/8/21 5:19 am, Chandler, Brendan wrote:
> I think I found the answer to my own issue.  I needed this configuration 
> option:
> #define CONFIGURE_MAXIMUM_USER_EXTENSIONS       5
> 
> With that, the error "cannot create extension" goes away and I can boot.
> 

Great to see you managed to solve the problem and thank you for letting us know.

Chris

> 
> ________________________________________
> From: Chandler, Brendan <bchand...@anl.gov>
> Sent: Tuesday, August 17, 2021 11:09
> To: users@rtems.org
> Subject: libbsd network on an mvme2500
> 
> Hi rtems-users,
> 
> 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():
> 
> ## Booting kernel from Legacy Image at 10000000 ...
>    Image Name:   RTEMS
>    Created:      2021-08-17  15:32:55 UTC
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    968695 Bytes = 946 KiB
>    Load Address: 00004000
>    Entry Point:  00004000
>    Verifying Checksum ... OK
> ## Flattened Device Tree blob at 20000000
>    Booting using the fdt blob at 0x20000000
>    Uncompressing Kernel Image ... OK
>    Loading Device Tree to 00ff9000, end 00fff04a ... OK
> emerg: rtems_bsd_threads_init_early: cannot create extension
> 
> This seems to be coming from 
> rtems-libbsd/rtemsbsd/rtems/rtems-kernel-thread.c where the call to 
> rtems_extension_create() fails.
> 
> I've posted my code at github here:
> https://github.com/brendanchandler/test-rtems5
> 
> 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.
> 
> Thanks in advance for any help,
> Brendan
> 
> _______________________________________________
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
> 
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to