<p dir="ltr"></p>
<p dir="ltr">On Nov 6, 2016 4:28 PM, "Chris Johns" <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br>
><br>
> On 04/11/2016 08:03, Ricardo Derbes wrote:<br>
>><br>
>><br>
>> Following your advice, I made a checkout of rtems-libbsd and built it<br>
>> (using rtems 4.11 rc4, by the way)<br>
>> As I think none of the source files in rtems-network-demos is intended<br>
>> to be used with libbsd,<br>
><br>
><br>
> The network demos needs some work to support both stacks. This will have to happen after 4.11.0 and it may be included in a 4.11.1 dot release.<br>
><br>
><br>
>> I resorted to build ChrisJ dbserver<br>
>> (<a href="https://ftp.rtems.org/pub/rtems/people/chrisj/dbserver/">https://ftp.rtems.org/pub/rtems/people/chrisj/dbserver/</a>), as is, and<br>
>> I succeeded.<br>
><br>
><br>
> Great.<br>
><br>
><br>
>> My problem is that I cannot run it under qemu, it hangs (or at least<br>
>> does nothing) after issuing rtems-bsd-initialize()<br>
>> I started qemu with: qemu-system-i386 -kernel examples/net-app.exe<br>
>> -vga cirrus -append "--console=/dev/com1" -net nic,vlan=1,model=e1000<br>
>> -net user,vlan=1 -append "--console=/dev/com1"  -serial stdio<br>
><br>
><br>
> I have not tried a recent i386 build with qemu, I have been using real hardware.</p>
<p dir="ltr">Did 4.11 branch before we were testing and fixing on i386?</p>
<p dir="ltr">I know I have tested real HW with two Intel NICs but it would have been from the master after 4.11 branched.</p>
<p dir="ltr">><br>
>> Running ticker.exe the same way works ok.<br>
>> Is it even possible tu run dbserver under qemu?<br>
><br>
><br>
> On the i386, I am not sure. On the ARM you cannot do this. The qemu support for the debug hardware seems limited.<br>
><br>
><br>
>> Or, where can I find a network demo which uses rtems-libbsd, as a start point?<br>
><br>
><br>
> We are lacking these and I have not had time to create some.<br>
><br>
><br>
> Chris<br>
> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@rtems.org">users@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/users">http://lists.rtems.org/mailman/listinfo/users</a><br></p>