Re: GSOC Task
Thanks. Please add yourself to the table at https://devel.rtems.org/wiki/GSoC/2024 and (continue to) discuss your project ideas here/Discord. On Tue, Mar 12, 2024 at 2:10 PM Matheus Pecoraro wrote: > > Hello, I am a fresh graduate from Brazil. I have developed a simple > x86_64 kernel in Rust in my free time and thus I am interested in the > x86_64 BSP project. > > Although I did manage to compile the x86_64 BSP, the hello.exe test > was hanging, so I did the task with the i386 BSP. I definitely need to > take a further look into why that is since one of the commits mentions > an addition that should make the test run successfully, it could be > something about the way I tried to run it. > > --- > testsuites/samples/hello/init.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c > index 83f6342ab3..69d6644784 100644 > --- a/testsuites/samples/hello/init.c > +++ b/testsuites/samples/hello/init.c > @@ -42,6 +42,7 @@ static rtems_task Init( >rtems_print_printer_fprintf_putc(&rtems_test_printer); >TEST_BEGIN(); >printf( "Hello World\n" ); > + printf( "Hello From i386\n" ); >TEST_END(); >rtems_test_exit( 0 ); > } > -- > 2.43.0 > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: [PATCH] improved error checking in ticks per timeslice
Sorry, I missed this in the deluge of emails. Looks good to me. Kinsey On Tue, Mar 12, 2024 at 8:17 PM zack leung wrote: > ping > > On Fri, 8 Mar 2024 at 22:03, wrote: > >> From: Zack leung >> >> --- >> cpukit/doxygen/appl-config.h | 3 +-- >> cpukit/include/rtems/confdefs/clock.h | 4 >> 2 files changed, 5 insertions(+), 2 deletions(-) >> >> diff --git a/cpukit/doxygen/appl-config.h b/cpukit/doxygen/appl-config.h >> index bd7cde628f..f843ebbd39 100644 >> --- a/cpukit/doxygen/appl-config.h >> +++ b/cpukit/doxygen/appl-config.h >> @@ -3312,8 +3312,7 @@ >> * @parblock >> * The following constraints apply to this configuration option: >> * >> - * * The value of the configuration option shall be greater than or >> equal to >> - * zero. >> + * * The value of the configuration option shall be greater than zero. >> * >> * * The value of the configuration option shall be less than or equal >> to > * href="https://en.cppreference.com/w/c/types/integer >> ">UINT32_MAX. >> diff --git a/cpukit/include/rtems/confdefs/clock.h >> b/cpukit/include/rtems/confdefs/clock.h >> index 26519cc70b..bb6c7e0b68 100644 >> --- a/cpukit/include/rtems/confdefs/clock.h >> +++ b/cpukit/include/rtems/confdefs/clock.h >> @@ -70,6 +70,10 @@ >>#warning "The clock ticks per second is not an integer" >> #endif >> >> +#if defined(CONFIGURE_TICKS_PER_TIMESLICE) && >> CONFIGURE_TICKS_PER_TIMESLICE <= 0 >> + #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero" >> +#endif >> + >> #if CONFIGURE_MICROSECONDS_PER_TICK <= 0 >>#error "CONFIGURE_MICROSECONDS_PER_TICK must be positive" >> #endif >> -- >> 2.43.0 >> >> ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: [PATCH] improved error checking in ticks per timeslice
ping On Fri, 8 Mar 2024 at 22:03, wrote: > From: Zack leung > > --- > cpukit/doxygen/appl-config.h | 3 +-- > cpukit/include/rtems/confdefs/clock.h | 4 > 2 files changed, 5 insertions(+), 2 deletions(-) > > diff --git a/cpukit/doxygen/appl-config.h b/cpukit/doxygen/appl-config.h > index bd7cde628f..f843ebbd39 100644 > --- a/cpukit/doxygen/appl-config.h > +++ b/cpukit/doxygen/appl-config.h > @@ -3312,8 +3312,7 @@ > * @parblock > * The following constraints apply to this configuration option: > * > - * * The value of the configuration option shall be greater than or equal > to > - * zero. > + * * The value of the configuration option shall be greater than zero. > * > * * The value of the configuration option shall be less than or equal to >* href="https://en.cppreference.com/w/c/types/integer";>UINT32_MAX. > diff --git a/cpukit/include/rtems/confdefs/clock.h > b/cpukit/include/rtems/confdefs/clock.h > index 26519cc70b..bb6c7e0b68 100644 > --- a/cpukit/include/rtems/confdefs/clock.h > +++ b/cpukit/include/rtems/confdefs/clock.h > @@ -70,6 +70,10 @@ >#warning "The clock ticks per second is not an integer" > #endif > > +#if defined(CONFIGURE_TICKS_PER_TIMESLICE) && > CONFIGURE_TICKS_PER_TIMESLICE <= 0 > + #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero" > +#endif > + > #if CONFIGURE_MICROSECONDS_PER_TICK <= 0 >#error "CONFIGURE_MICROSECONDS_PER_TICK must be positive" > #endif > -- > 2.43.0 > > ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
GSOC Task
Hello, I am a fresh graduate from Brazil. I have developed a simple x86_64 kernel in Rust in my free time and thus I am interested in the x86_64 BSP project. Although I did manage to compile the x86_64 BSP, the hello.exe test was hanging, so I did the task with the i386 BSP. I definitely need to take a further look into why that is since one of the commits mentions an addition that should make the test run successfully, it could be something about the way I tried to run it. --- testsuites/samples/hello/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c index 83f6342ab3..69d6644784 100644 --- a/testsuites/samples/hello/init.c +++ b/testsuites/samples/hello/init.c @@ -42,6 +42,7 @@ static rtems_task Init( rtems_print_printer_fprintf_putc(&rtems_test_printer); TEST_BEGIN(); printf( "Hello World\n" ); + printf( "Hello From i386\n" ); TEST_END(); rtems_test_exit( 0 ); } -- 2.43.0 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: Multiple PowerPC BSPs Fail to BUIld
FWIW I am still waiting for an ACK on the fdset size increase patch to newlib. Once that's in place, I will bump the rtems-tools hash and newlib hash. --joel On Mon, Mar 11, 2024 at 10:16 PM Chris Johns wrote: > On 11/3/2024 6:04 pm, Sebastian Huber wrote: > > sorry for breaking the build. I fixed it. The problem is that > > > header file depends on the BSP-provided define > BSP_SHARED_HANDLER_SUPPORT. So, > > the include order matters. > > Thank you for quickly sorting this out. > > Chris > ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: rtems-6.1-rc2 on Mac OSX Sonoma 14.4 (Apple M2) failed -> fixed
Hello Chris, thanks for your mail. I have now installed the python as you described. The source-builder process runs quite well. Unfortunately, the gcc-13.2.0-newlib for powerpc cannot be built: (py3.12) junkes@zarquon rtems % cat rsb-report-powerpc-rtems6-gcc-13.2.0-newlib-3cacedb-arm64-apple-darwin23.4.0-1.txt RTEMS Tools Project - Source Builder Error Report Build: error: building powerpc-rtems6-gcc-13.2.0-newlib-3cacedb-arm64-apple-darwin23.4.0-1 Command Line: ../source-builder/sb-set-builder --prefix=/Volumes/Epics/6_1_RC2/6.1-rc2 6/rtems-powerpc Python: 3.12.2 (v3.12.2:6abddd9f6a, Feb 6 2024, 17:02:06) [Clang 13.0.0 (clang-1300.0.29.30)] RSB: not a valid repo Darwin zarquon.rz-berlin.mpg.de 23.4.0 Darwin Kernel Version 23.4.0: Wed Feb 21 21:45:49 PST 2024; root:xnu-10063.101.15~2/RELEASE_ARM64_T6020 arm64 Tail of the build log: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:321: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter_bool.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter_integral.h:32: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/locale:202: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:797:5: error: expected expression return std::use_facet >(__loc).is(ctype_base::space, __c); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:798:2: error: expected ';' at end of declaration } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:803:21: error: too many arguments provided to function-like macro invocation isprint(_CharT __c, const locale& __loc) ^ ../../gcc-13.2.0/gcc/../include/safe-ctype.h:136:9: note: macro 'isprint' defined here #define isprint(c) do_not_use_isprint_with_safe_ctype ^ In file included from ../../gcc-13.2.0/gcc/cp/module.cc:212: In file included from ../../gcc-13.2.0/gcc/system.h:233: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:321: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter_bool.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter_integral.h:32: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/locale:202: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:803:1: error: declaration conflicts with target of using declaration already in scope isprint(_CharT __c, const locale& __loc) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h:255:1: note: target of using declaration isprint(int _c) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cctype:119:9: note: using declaration using ::isprint _LIBCPP_USING_IF_EXISTS; ^ In file included from ../../gcc-13.2.0/gcc/cp/module.cc:212: In file included from ../../gcc-13.2.0/gcc/system.h:233: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:321: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter_bool.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter_integral.h:32: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/locale:202: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:805:5: error: expected expression return std::use_facet >(__loc).is(ctype_base::print, __c); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:806:2: error: expected ';' at end of declaration } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:811:21: err