Hi Chris, Thank you for your prompt advice regarding tap interface. I followed this mail chain and successfully run the ping01 example in rtems-libbsd:
https://lists.rtems.org/pipermail/users/2015-June/029063.html Now I can ping and FTP into the QEMU instance from host machine! Regards, Vivek > On 23-Jul-2016, at 01:04, Chris Johns <chr...@rtems.org> wrote: > >> On 23/07/2016 3:47 AM, vivek kukreja wrote: >> I'm working on improving the current tracing framework of >> RTEMS(Capture Engine and Trace Linker) for GSoC 2016. In the current >> phase, I have to transport trace files from RTEMS to host machine. >> I've built rtems-libbsd drivers for xilinx_zynq_19_qemu bsp and all >> examples are building with QEMU for arm. >> The testsuite has examples of a TFTP(and NFS) client running on the >> loopback interface, but I need help with configuring the ethernet >> interface. > > Please look at the rcconf01 test: > > https://git.rtems.org/rtems-libbsd/tree/testsuite/rcconf01/test_main.c#n43 > > Create an in memory rc.conf file with: > > hostname=vivek > ifconfig_cgem0="inet 1.2.3.4 netmask 255.255.255.0" > defaultrouter="1.2.3.1" > > Call 'rtems_bsd_run_rc_conf_script' with the script. > >> If someone has worked on setting up communication between RTEMS target >> and host machine, or has similar examples please share. Any help is >> appreciated! > > If you are on Linux you need to set up a tap and then get qemu to use the > tap. I do not use Linux so I cannot help. > > Chris > _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel