Hi again, Finally I could continue my tests on zc706 and the second processor start.
I could add two breakpoints one at _CPU_SMP_Start_processor (0x0041e7b0) and other at _Per_CPU_State_wait_for_non_initial_state (0x0041e7d4) at the end of the function _CPU_SMP_Start_processor. Execution stops and continues in both breakpoints, but I still need to need to start the second processor from xsdb. I attach you a capture of the objdump done at the end of the mail. > Yes I believe so. I tested the m2003 version. Can you share me the compilation flags you use for your tests executables? And sorry for this answer, but where can I find the m2003 version? Is it a git tag, branch.. ? I don't see anything similar on GitHub repos. > I wonder if xsdb is doing something. Are you able to set a break point > in the code I provided to the link to in zynq_start_bspsmp.c Maybe the JTAG hardware could cause this... Thanks, -----Original Message----- From: Chris Johns [mailto:chr...@rtems.org] Sent: 23 March 2020 01:58 To: Fernando Domínguez Pousa <fdpo...@gmv.com>; Sebastian Huber <sebastian.hu...@embedded-brains.de>; users@rtems.org Cc: Sebastian Wildowicz <swildow...@gmv.com> Subject: Re: zc706 bsp does not work with maximum processors as 2 On 2020-03-20 20:06, Fernando Domínguez Pousa wrote: >> Thanks. Thre is something usual happening here because RTEMS contains the >> code needed to start the second core .... > > I do not understand at all. So, with the current version of the repos this > should work? Am I missing something in my implementation? Because I compiled > RTEMS for SMP too and I configured CONFIGURE_MAXIMUM_PROCESSORS to 2. Yes I believe so. I tested the m2003 version. >> If I build for SMP and set CONFIGURE_MAXIMUM_PROCESSORS to 2 my >> applications run fine. I > > Did you use a zc706 board? I tested this on custom hardware using the zc706 BSP that is booting from QSPI. > I remember two years ago I started two processors using SMP on a zedboard > without starting second core using xsdb. I wonder if xsdb is doing something. Are you able to set a break point in the code I provided to the link to in zynq_start_bspsmp.c that starts the second process? Chris P Please consider the environment before printing this e-mail. _______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users