[PATCH 1/7] Adding pipe support
Kirspel, Kevin
Kevin-Kirspel at idexx.com
Tue Dec 20 14:53:51 UTC 2016
I finally got back to this. I complied the Xilinx BSP, compiled the latest LIBBSD with the patch, and installed QEMU. I got the output below. After you applied the patch, did you run "./freebsd-to-rtems.py -R" and " ./freebsd-to-rtems.py". If not, then the test will use the RTEMS pipe implementation instead of LIBBSD. This is because the libbsd_waf.py file is not updated until after the " ./freebsd-to-rtems.py" script. Maybe I misinterpreted the instructions in libbsd.txt, but it states not to commit changes from libbsd_waf.py so they were not in the patch files.
qemu-system-arm -no-reboot -serial null -serial mon:stdio -net none -nographic -M xilinx-zynq-a9 -m 256M -kernel build/arm-rtems4.12-xilinx_zynq_a9_qemu/selectpollkqueue01.exe
Warning: nic cadence_gem.0 has no peer
Warning: nic cadence_gem.1 has no peer
*** LIBBSD SELECT AND POLL AND KQUEUE AND PIPE 1 TEST ***
nexus0: <RTEMS Nexus device>
test select timeout
test select connect
worker: create new connect socket
worker: connect
test select read
worker: write
test select write
worker: read
test select close
worker: close
test poll timeout
test poll connect
worker: create new connect socket
worker: connect
test poll read
worker: write
test poll write
worker: read
test poll close
worker: close
test kqueue timer
test kqueue timer
test kqueue connect
worker: create new connect socket
worker: connect
test kqueue read
worker: write
test kqueue write
worker: read
test kqueue close
worker: shutdown
test kqueue user
test pipe timeout
test pipe read
worker: write
test pipe write
worker: read
test pipe close
worker: close pipe
Stack usage by thread
ID NAME LOW HIGH CURRENT AVAILABLE USED
0x09010001 IDLE 0x124250 - 0x12524f 0x125108 4080 444
0x0a010001 UI1 0x1254b0 - 0x12d4af 0x12d138 32752 4224
0x0a010002 TIME 0x12dc08 - 0x135c07 0x135b00 32752 564
0x0a010003 IRQS 0x135c10 - 0x13dc0f 0x13db10 32752 556
0x0a010004 _BSD 0x1501c8 - 0x1581c7 0x1580d0 32752 1284
0x0a010005 _BSD 0x158318 - 0x160317 0x160220 32752 700
0x0a010006 _BSD 0x161430 - 0x16942f 0x169338 32752 548
0x0a010007 _BSD 0x1694f0 - 0x1714ef 0x171418 32752 516
0x0a010008 _BSD 0x171688 - 0x179687 0x179590 32752 548
0x0a010009 _BSD 0x179748 - 0x181747 0x181670 32752 516
0x0a01000a WORK 0x1a06c8 - 0x1a16c7 0x1a1568 4080 1020
*** END OF TEST LIBBSD SELECT AND POLL AND KQUEUE AND PIPE 1 ***
Kevin Kirspel
Electrical Engineer - Sr. Staff
Idexx Roswell
235 Hembree Park Drive
Roswell GA 30076
Tel: (770)-510-4444 ext. 81642
Direct: (770)-688-1642
Fax: (770)-510-4445
-----Original Message-----
From: Sebastian Huber [mailto:sebastian.huber at embedded-brains.de]
Sent: Thursday, December 15, 2016 3:52 AM
To: Kirspel, Kevin <Kevin-Kirspel at idexx.com>; devel at rtems.org
Subject: Re: [PATCH 1/7] Adding pipe support
Hello Kevin,
looks good so far (except one white space change, which I will fix for you, white space changes may lead to merge conflicts during a FreeBSD update). However, the "LIBBSD SELECT AND POLL AND KQUEUE AND PIPE 1 TEST" fails:
qemu-system-arm -no-reboot -serial null -serial mon:stdio -net none -nographic -M xilinx-zynq-a9 -m 256M -kernel build/arm-rtems4.12-xilinx_zynq_a9_qemu/selectpollkqueue01.exe
Warning: nic cadence_gem.0 has no peer
Warning: nic cadence_gem.1 has no peer
*** LIBBSD SELECT AND POLL AND KQUEUE AND PIPE 1 TEST ***
nexus0: <RTEMS Nexus device>
test select timeout
test select connect
worker: create new connect socket
worker: connect
test select read
worker: write
test select write
worker: read
test select close
worker: close
test poll timeout
test poll connect
worker: create new connect socket
worker: connect
test poll read
worker: write
test poll write
worker: read
test poll close
worker: close
test kqueue timer
test kqueue timer
test kqueue connect
worker: create new connect socket
worker: connect
test kqueue read
worker: write
test kqueue write
worker: read
test kqueue close
worker: shutdown
test kqueue user
test pipe timeout
assertion "rv == 0" failed: file
"../../testsuite/selectpollkqueue01/test_main.c", line 1057, function:
test_pipe_timeout
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list