Re: Runtime Loader Exported Symbols Address Size

2022-06-17 Thread Chris Johns
On 18/6/22 10:08 am, Joel Sherrill wrote: > On Fri, Jun 17, 2022, 2:28 PM Alex White > wrote: > > Hi, > > While testing libdl on AArch64 QEMU, we found a bug where the exported > symbol table appears to always use 32-bit values for addresses, but where

Re: Runtime Loader Exported Symbols Address Size

2022-06-17 Thread Joel Sherrill
On Fri, Jun 17, 2022, 2:28 PM Alex White wrote: > Hi, > > While testing libdl on AArch64 QEMU, we found a bug where the exported > symbol table appears to always use 32-bit values for addresses, but where > the exported symbols table is read in `rtems_rtl_symbol_global_add`, the > addresses are e

Runtime Loader Exported Symbols Address Size

2022-06-17 Thread Alex White
Hi, While testing libdl on AArch64 QEMU, we found a bug where the exported symbol table appears to always use 32-bit values for addresses, but where the exported symbols table is read in `rtems_rtl_symbol_global_add`, the addresses are expected to be of size `sizeof(unsigned long)`. This did n

Re: [PATCH 3/5] bsps/stm32h7: allow config and usage of QSPI memory on stm32h757i-eval BSP

2022-06-17 Thread Karel Gardas
On 6/15/22 17:05, Gedare Bloom wrote: +#endif + +void stm32h7_init_qspi(void) Also, is this function declared somewhere? Probably what you should do is to add this function declaration to stm32h747i_eval_qspi.h, and include that file here always? Yes, it is in bsps/arm/stm32h7/include/bsp.h:

Re: [PATCH 3/5] bsps/stm32h7: allow config and usage of QSPI memory on stm32h757i-eval BSP

2022-06-17 Thread Karel Gardas
On 6/15/22 17:00, Gedare Bloom wrote: On Fri, Jun 10, 2022 at 6:49 AM Karel Gardas wrote: The QSPI memory is initialized and used only when the BSP configure file sets QSPI memory size to non-zero value. Currently QSPI is run in memory mapped mode which allows future RTEMS binary linkage and u

[PATCH 3/5] bsps/stm32h7: allow config and usage of QSPI memory on stm32h757i-eval BSP

2022-06-17 Thread Karel Gardas
The QSPI memory is initialized and used only when the BSP configure file sets QSPI memory size to non-zero value. Currently QSPI is run in memory mapped mode which allows future RTEMS binary linkage and upload into QSPI memory. Sponsored-By: Precidata --- .../stm/stm32h757i-eval/stm32h7-bspstar

[PATCH 2/5] bsps/stm32h7: import stm32h757i-eval QSPI memory high-level driver

2022-06-17 Thread Karel Gardas
Sponsored-By: Precidata --- .../stm32h757i-eval/stm32h747i_eval_conf.h| 130 ++ .../stm32h757i-eval/stm32h747i_eval_errno.h | 105 ++ .../stm32h757i-eval/stm32h747i_eval_qspi.c| 1088 + .../stm32h757i-eval/stm32h747i_eval_qspi.h| 284 + 4 files changed, 1607

[PATCH 1/5] bsps/stm32h7: import MT25TL01G QSPI memory low-level driver

2022-06-17 Thread Karel Gardas
Sponsored-By: Precidata --- .../stm/Components/mt25tl01g/mt25tl01g.c | 1046 + .../stm/Components/mt25tl01g/mt25tl01g.h | 362 ++ .../stm/Components/mt25tl01g/mt25tl01g_conf.h | 68 ++ 3 files changed, 1476 insertions(+) create mode 100644 bsps/arm/stm32h7/board