Re: [PATCH] Add support for ELF notes

2023-03-24 Thread Chris Johns
On 24/3/2023 7:32 pm, Sebastian Huber wrote: > On 23.03.23 20:07, Chris Johns wrote: >> On 24/3/2023 3:57 am, Sebastian Huber wrote: >>> On 23.03.23 17:52, Will wrote: Great idea to store this information in the executable itself. Does this need a RTEMS_TEST_STATE_LINK_ONLY test sta

[PATCH] tester/bsps: change stm32h7-stlink to handle SIGTRAP as a nostop

2023-03-24 Thread Karel Gardas
The ST-Link GDB server throws spurious SIGTRAP into the GDB sometimes. When this happen, the gdb exits immediately as it's run in batch/script manner. Unfortunately this may be while testcase itself is still running and does not have enough time to print all the required output. Such testcase is th

Re: [lwip 2/2] Move and rename sys_arch_data_sync_barier()

2023-03-24 Thread Sebastian Huber
Hello Pavel, it seems we have two different MDIO services: cpsw/src/include/mdio.h:extern unsigned int MDIOPhyRegRead(unsigned int baseAddr, unsigned int phyAddr, uLan/ports/driver/tms570_emac/ti_drv_mdio.h:MDIOPhyRegRead(volatile tms570_mdio_t *baseAddr, uint32_t phyAddr, I get these warn

Re: [lwip 2/2] Move and rename sys_arch_data_sync_barier()

2023-03-24 Thread Sebastian Huber
Hello Pavel, On 18.03.23 01:04, Pavel Pisa wrote: As for +static inline void +tms570_data_sync_barier(void) +{ +#ifdef __arm__ + _ARM_Data_synchronization_barrier(); +#endif +} it is OK but may it be not ideal, because more drivers could require write buffers and instructions memory access or

Re: [PATCH] Add support for ELF notes

2023-03-24 Thread Sebastian Huber
On 23.03.23 20:07, Chris Johns wrote: On 24/3/2023 3:57 am, Sebastian Huber wrote: On 23.03.23 17:52, Will wrote: Great idea to store this information in the executable itself. Does this need a RTEMS_TEST_STATE_LINK_ONLY test state or something similar for minimum.exe? With the notes you can

Re: [PATCH] Add support for ELF notes

2023-03-24 Thread Sebastian Huber
On 23.03.23 20:09, Joel Sherrill wrote: Happy to see this but a bit concerned that there is only one architecture's BSPs addressed. What about the other architectures? This patch is just a proof of concept. I can add it to the other BSPs and tests if we want to support ELF notes. -- embedded