Re: About interrupt processing

2021-05-25 Thread Sebastian Huber
On 24/05/2021 11:45, Richi Dubey wrote: So, can someone please help me know what gets executed right after the interrupt is accepted by the CPU from the IRQ? Can someone point me to the source code - where the CPU possibly checks the value of heir and does a context switch? This is done in th

Re: About interrupt processing

2021-05-25 Thread Richi Dubey
Thank you. On Tue, May 25, 2021 at 12:32 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 24/05/2021 11:45, Richi Dubey wrote: > > So, can someone please help me know what gets executed right after the > > interrupt is accepted by the CPU from the IRQ? Can someone point me to

RTEMS_VERSION on 5 branch

2021-05-25 Thread Christian MAUDERER
Hello, if I build a BSP on the 5 branch, I still have the following defines in cpuopts.h: #define RTEMS_VERSION "5.0.0" #define __RTEMS_MAJOR__ 5 #define __RTEMS_MINOR__ 0 #define __RTEMS_REVISION__ 0 We are past 5.1. Is it an expected behavior that the 5 branch head still tells that it is a

RE: [PATCH v1 1/6] bsps/aarch64: Break out system registers

2021-05-25 Thread Kinsey Moore
Great, I'll substitute this for the partial one I've created. Thanks, Kinsey -Original Message- From: Sebastian Huber Sent: Monday, May 24, 2021 23:51 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v1 1/6] bsps/aarch64: Break out system registers Hello Kinsey, I have a (hopefu

RE: [PATCH v1 6/6] spec/aarch64: Add BSPs for real ZynqMP hardware

2021-05-25 Thread Kinsey Moore
There now exists a patch to fix the problem but, as best I can tell, it has not yet been incorporated into a binutils release: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eac4eb8ecb2626ef7711d8f6bee9e870ae435604 I'll update the comment to reference https://devel.rtems.org/ticket/

Re: Minimum.exe Text Size Outliers

2021-05-25 Thread Christian MAUDERER
Hello Joel, I think we currently have very few BSPs with a linked in device tree blob. I know only of the new imxrt (which isn't in your list) and I think one Xilinx something BSP. For imx: I only have a build for some minimum based on 5 at hand right now. I have to re-build an up to date ve

Re: Minimum.exe Text Size Outliers

2021-05-25 Thread Joel Sherrill
Thanks for the feedback. I did save all of the minimum.exe files as @CPU@ -@b...@-minimum.exe so they could be analysed. For exe, I did a size, the tail -5, and also looked for some symbols that are hints of dependency chains to things not needed. close(), atexit(), and rtems_libio_post_driver() b

Re: [PATCH 0/2] covoar: Dispose of file info in ExecutableInfo

2021-05-25 Thread Alex White
ping :) From: Alex White Sent: Friday, April 30, 2021 3:01 PM To: devel@rtems.org Cc: Alex White Subject: [PATCH 0/2] covoar: Dispose of file info in ExecutableInfo This patch set includes two patches that significantly lower the memory usage of covoar. For a f

Re: Minimum.exe Text Size Outliers

2021-05-25 Thread Christian Mauderer
Hello Joel, On 25/05/2021 19:10, Joel Sherrill wrote: Thanks for the feedback. I did save all of the minimum.exe files as @CPU@-@b...@-minimum.exe so they could be analysed. For exe, I did a size, the tail -5,  and also looked for some symbols that are hints of dependency chains to things not

Re: Minimum.exe Text Size Outliers

2021-05-25 Thread Christian Mauderer
Hello Joel, missed the attachement. So if we leave out the ones with bsp_fdt_blob and the ones that you marked with "FOUND close()" that leaves the following ones (if I didn't miss any): === arm-nucleo-h743zi-minimum.exe = === arm-stm32h7-minimum.exe =

Re: Minimum.exe Text Size Outliers

2021-05-25 Thread Joel Sherrill
On Tue, May 25, 2021 at 1:57 PM Christian Mauderer wrote: > Hello Joel, > > missed the attachement. So if we leave out the ones with bsp_fdt_blob > and the ones that you marked with "FOUND close()" that leaves the > following ones (if I didn't miss any): > > === arm-nucleo-h743zi-mini

Re: RTEMS_VERSION on 5 branch

2021-05-25 Thread Chris Johns
On 25/5/21 8:56 pm, Christian MAUDERER wrote: > Hello, Great question :) > if I build a BSP on the 5 branch, I still have the following defines in > cpuopts.h: > > #define RTEMS_VERSION "5.0.0" > #define __RTEMS_MAJOR__ 5 > #define __RTEMS_MINOR__ 0 > #define __RTEMS_REVISION__ 0 > > We are pa

Re: [PATCH 1/2] covoar: Store only the file name in ExecutableInfo

2021-05-25 Thread Chris Johns
On 4/5/21 7:07 pm, Gedare Bloom wrote: > On Fri, Apr 30, 2021 at 2:02 PM Alex White wrote: >> >> This changes the ExecutableInfo class to only store the executable >> file's name rather than an entire instance of rld::files::object. This >> allows the rld::files::object to be cleaned up in the

Re: [PATCH 2/2] covoar: Store address-to-line info outside of DWARF

2021-05-25 Thread Chris Johns
On 1/5/21 8:01 am, Alex White wrote: > This adds the AddressToLineMapper class and supporting classes to > assume responsibility of tracking address-to-line information. > > This allows the DWARF library to properly cleanup all of its resources > and leads to significant memory savings. > > Cl

Re: RTEMS_VERSION on 5 branch

2021-05-25 Thread Christian MAUDERER
Hello Chris, thanks for the detailed response. Should we add a bit of that to the doxygen documentation of the rtems_version_* functions so that I don't ask it again because I have forgotten it in a year? Best regards Christian Am 26.05.21 um 01:24 schrieb Chris Johns: On 25/5/21 8:56 pm,