Re: RTEMS scheduler bug ?

2019-04-02 Thread Sebastian Huber
On 02/04/2019 16:28, Catalin Demergian wrote: I did more tests. it seems not the same type of error happens every time. I got the _Configuration_Scheduler_priority_dflt  a few times, but also the 'enabled interrupts when they suppposed to be disabled' happened as well RTEMS_INLINE_ROUTINE voi

Re: Build fails in a Linux Mint 32 bits

2019-04-02 Thread Joel Sherrill
On Tue, Apr 2, 2019 at 3:44 PM Michel Macena wrote: > HI, > I'm trying to build a new rtems working envinronment in a new computer > with linux mint 32 bits. > I'm following the quick-start section of the user guide. > In the following line: > > ../source-builder/sb-set-builder --prefix=$HOME/qui

Build fails in a Linux Mint 32 bits

2019-04-02 Thread Michel Macena
HI, I'm trying to build a new rtems working envinronment in a new computer with linux mint 32 bits. I'm following the quick-start section of the user guide. In the following line: ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/5 > 5/rtems-sparc > The terminal returned BUILD FAI

Re: RTEMS scheduler bug ?

2019-04-02 Thread Catalin Demergian
I did more tests. it seems not the same type of error happens every time. I got the _Configuration_Scheduler_priority_dflt a few times, but also the 'enabled interrupts when they suppposed to be disabled' happened as well RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_enqueue( Chain

Re: RTEMS scheduler bug ?

2019-04-02 Thread Catalin Demergian
it's just the way Eclipse shows it, it's part of the call stack, but not the name of a normal function. On Tue, Apr 2, 2019 at 2:02 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > > > On 02/04/2019 12:59, Catalin Demergian wrote: > > Hi, > > I was able to reproduce the issue ag

Re: Problem with rtems5 on mvme2100 - hard-float/soft-float confusion

2019-04-02 Thread Joachim Rahn
first of all thanks for all comments! On 02.04.19 11:18, Sebastian Huber wrote: > > > On 01/04/2019 17:20, Rahn, Joachim wrote: >> If I do the commands from bsp-post-link without option >> "--no-warn-mismatch" I get the error: >> powerpc-rtems5-ld: o-optimize/hello_world.exe uses hard float, >>

Re: RTEMS scheduler bug ?

2019-04-02 Thread Sebastian Huber
On 02/04/2019 12:59, Catalin Demergian wrote: Hi, I was able to reproduce the issue again, but it doesn't look like the interrupts are enabled in the functions where you added Asserts in the patch. So, my changes don't fix the problem. My analysis would have been correct if the interrupts wer

Re: RTEMS scheduler bug ?

2019-04-02 Thread Catalin Demergian
Hi, I was able to reproduce the issue again, but it doesn't look like the interrupts are enabled in the functions where you added Asserts in the patch. So, my changes don't fix the problem. My analysis would have been correct if the interrupts were enabled, but it looks it's not the case. Still, a

mongoose + rtems + cc3100

2019-04-02 Thread Ярослав Лещинский
Hello, I have TI module cc3100. I would like to use mongoose web-server which is supported by RTEMS. I checked the example rtems/testsuites/libtests/mghttpd01 and as I can see, first I should initialize network via rtems_bsdnet_initialize_network. Could someone guide me in which way should I sta

i2c communicate

2019-04-02 Thread 787562067
HI, ALL! I have added some configure for stm32f407. need some help for i2c configue first #define STM32F4_PIN_I2C(port, idx, altfunc) \ { \ { \ .pin_first = STM32F4_GPIO_PIN(port, idx), \ .pin_last = STM32F4_GPIO_PIN(port, idx), \ .mode = STM32F4_GPIO_MODE_AF, \

Re: Problem with rtems5 on mvme2100 - hard-float/soft-float confusion

2019-04-02 Thread Sebastian Huber
On 01/04/2019 17:20, Rahn, Joachim wrote: If I do the commands from bsp-post-link without option "--no-warn-mismatch" I get the error: powerpc-rtems5-ld: o-optimize/hello_world.exe uses hard float, /rtems/5/powerpc-rtems5/mvme2100/lib/bootloader.o uses soft float I think this mismatch is not

Re: [altcycv_devkit] Access to FPGA Fabric via HPS2FPGA Bridge

2019-04-02 Thread Sebastian Huber
On 02/04/2019 11:08, Christian Spindeldreier wrote: We use a nightly build of the RTEMS master, but we do not see the RTEMS Fault Manager, as some kind of ISR prints out the content of the register file and performs a warm reset when any error occurs. I assume that u-boot (2018.11) and the MP

Re: [altcycv_devkit] Access to FPGA Fabric via HPS2FPGA Bridge

2019-04-02 Thread Christian Spindeldreier
Hi, thank you for the advice on the mmu config which we missed. One has to enable the device memory region as follows: arm_cp15_set_translation_table_entries(device_addr_start, device_addr_end, ARMV7_MMU_DEVICE); Afterwards one can access the device memory as described before. We use a nig