Re: Floating point support in ARM926ejs

2019-01-04 Thread Amarnath MB
joel, Inside the tests, I''m not getting an integer only printf(). It simply prints format specifier as such i.e. %f. Yes, Sebastian is right, Thanks for the help, is it anywhere documented that samples will be using a different set of implementation for stdio or any other standard library calls?

Re: RTEMS not compiling with -mfloat-abi=hard in ARM926ejs

2019-01-04 Thread Joel Sherrill
On Fri, Jan 4, 2019 at 1:53 PM Amarnath MB wrote: > Hi, > > I'm working on RTEMS 5.0 BSP for a new SOC based on ARM926EJS which has a > VFP9-S Floating point coprocessor inside. > I was able to successfully boot RTEMS and run hello.exe and ticker.exe > testsuite samples using u-boot. > > I have e

Re: Floating point support in ARM926ejs

2019-01-04 Thread Joel Sherrill
On Fri, Jan 4, 2019 at 6:57 AM Amarnath MB wrote: > Hi, > > Tried building sample application using Makefile.inc from the BSP > installed path, > there I'm able to get %f values properly (*Data : **1.123400*). > Then Sebastian is right. Inside the tests, you are getting an integer only printf().

RTEMS not compiling with -mfloat-abi=hard in ARM926ejs

2019-01-04 Thread Amarnath MB
Hi, I'm working on RTEMS 5.0 BSP for a new SOC based on ARM926EJS which has a VFP9-S Floating point coprocessor inside. I was able to successfully boot RTEMS and run hello.exe and ticker.exe testsuite samples using u-boot. I have enabled VFP from Uboot using the coprocessor instructions given in

Re: Using RTEMS chains API in non-RTEMS unit testing?

2019-01-04 Thread Joel Sherrill
On Fri, Jan 4, 2019 at 12:54 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 03/01/2019 16:39, Martin Erik Werner wrote: > > Hello, > > > > I'm currently using Google Test in order to run some unit tests on an > > RTEMS application in a non-RTEMS Linux Development environment,

Re: rtems_malloc_statistics_t

2019-01-04 Thread Siddons, David
Hi Sebastian, That makes sense; I believe the last port was to rtems 4.10. Such a guide would be very helpful. I'll take a look at the release page to see what I can find there. Pete. On 1/4/19 1:47 AM, Sebastian Huber wrote: Hello David, On 03/01/2019 20:20, Siddons, David wrote: Hi a

Re: Floating point support in ARM926ejs

2019-01-04 Thread Amarnath MB
Hi, Tried building sample application using Makefile.inc from the BSP installed path, there I'm able to get %f values properly (*Data : **1.123400*). *Thank you & Regards,* *Amarnath MB * On Fri, Jan 4, 2019 at 3:49 PM Amarnath MB wrote: > Hi, > > I have made a copy of hello sample and added

Re: Floating point support in ARM926ejs

2019-01-04 Thread Amarnath MB
Hi, I have made a copy of hello sample and added my testcodes to it. I have also added '#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT' before #include *Thank you & Regards,* *Amarnath MB* On Fri, Jan 4, 2019 at 3:44 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote:

Re: Floating point support in ARM926ejs

2019-01-04 Thread Sebastian Huber
On 04/01/2019 11:08, Amarnath MB wrote: Currently, I'm facing an issue with floating point values, in my test Init.c file I have added a simple printf statement like below, *float data = 1.234; printf("Data : %f\n", data);* After loading the test executable, I'm getting the print as '*Data : %f

Floating point support in ARM926ejs

2019-01-04 Thread Amarnath MB
Hi, I'm working on developing an RTEMS 5.0 BSP for a new SOC based on ARM926EJS. I was able to successfully boot RTEMS and run hello.exe and ticker.exe testsuite samples using u-boot. Currently, I'm facing an issue with floating point values, in my test Init.c file I have added a simple printf st