<div dir="ltr"><div>Dear Chris,</div><div><br></div><div>I had a mistake.</div><div><br></div><div>I had a problem for configurating Xilinx SDK tool debug configuration.</div><div><br></div><div>After I fix this on Xilinx tool, my example code is working.</div><div><br></div><div>Thank you very much for your concern.</div><div><br></div><div>Best Regards,</div><div>Thomas Kim</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-18 11:32 GMT+09:00 Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 17/04/2017 21:47, Thomas Kim wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Sir,<br>
<br>
I get ZynQ real board(name: ZYBO ZynQ-7000 Development Board).<br>
I was succeful to test SMP feature on my ZynQ real board after minor<br>
part(UART config) is modified.<br>
But, after I enable rtems-libbsd in below, RTEMS is not worked.<br>
<br>
My example code is below;<br>
<br>
void *POSIX_Init(void *argument)<br>
{<br>
 rtems_status_code         sc;<br>
#if 0 // Thomas. when below bsd initialization code is executed, RTEMS<br>
is not worked.<br>
 /* FreeBSD Initialization */<br>
 sc = rtems_media_initialize();<br>
 ASSERT_SC(sc);<br>
 sc = rtems_media_listener_add(media<wbr>_listener, NULL);<br>
 ASSERT_SC(sc);<br>
 sc = rtems_media_server_initialize(<wbr>200, 32 * 1024, RTEMS_DEFAULT_MODES,<br>
RTEMS_DEFAULT_ATTRIBUTES);<br>
 ASSERT_SC(sc);<br>
 sc = rtems_bsd_initialize();<br>
 ASSERT_SC(sc);<br>
 network_ifconfig_lo0();<br>
#endif<br>
 sc = rtems_task_create( rtems_build_name ('S', 'H', 'E', 'L'),<br>
  10, 4096, RTEMS_DEFAULT_MODES, RTEMS_DEFAULT_ATTRIBUTES, &Task_Shell_id);<br>
 sc = rtems_task_start( Task_Shell_id, shell_start, 1 );<br>
}<br>
<br>
At this time, I just used "#define CONFIGURE_MAXIMUM_PROCESSORS    2"<br>
option only for this.<br>
</blockquote>
<br>
You do need this. I suspect a number of the libbsd tests do not have this set which would seem like a bug to me. I see the debugger01 test fails if I add this setting to it.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have questions.<br>
<br>
Can RTEMS SMP feature is using both rtems kernel and rtems-libbsd ?<br>
</blockquote>
<br>
Yes. The configure phase of the build will indicate if the RTEMS you are building against has been built with SMP enabled.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I need additional configuration for using rtems-libbsd with SMP<br>
feaure, plesae let me know that.<br>
</blockquote>
<br>
There is a test in libbsd called smp01. I suggest you take a look at that test.<span class="HOEnZb"><font color="#888888"><br>
<br>
Chris<br>
</font></span></blockquote></div><br></div>