source-builder want to add CFLAG

2020-04-24 Thread junkes
I want to add the CFLAG "-DHAVE_MKTIME=1" to the source-builder process to build ntp ../source-builder/sb-set-builder --log=log_ntp_arm.txt --prefix=/home/h1/GSOC/RTEMS/5.0.0-m2003 \ --host=arm-rtems5 --with-rtems-bsp=xilinx_zynq_a9_qemu net/ntp I have already tried several places (cfg-files)

undefined reference to `iflib_gen_mac', Ticket #3985

2020-09-02 Thread junkes
Unfortunately I can't build EPICS with i386/pc686 (rtems5.1) and libbsd. I know Ticket #3985, I made everything new. But unfortunately it does not work: /home/h1/GSOC/RTEMS//bin/i386-rtems5-gcc --pipe -B/home/h1/GSOC/RTEMS/i386-rtems5/pc686/lib/ -specs bsp_specs -qrtems -fasm -mtune=penti

rtems_bsd_initialize() in POSIX_Init and qemu-system-i386

2020-09-28 Thread junkes
I have a problem with rtems_bsd_initialize() in POSIX_Init() and qemu. call of sc = rtems_bsd_initialize(); assert(sc == RTEMS_SUCCESSFUL); always takes about 45 seconds until it is finished. The output of nexus0: pcib0 pcibus 0 on motherboard pci0: on pcib0 pci0: at device 0.0 (no d

Re: rtems_bsd_initialize() in POSIX_Init and qemu-system-i386

2020-09-29 Thread junkes
Hello Karel, To apply the patch I have to install it manually, without rsb. Unfortunately I encountered a problem with undefinded symbols. Here are my steps to create the bsp: git clone https://github.com/RTEMS/rtems-source-builder.git mv rtems-source-builder rsb cd rsb git checkout 5 cd rte

xilinx_zynq_a9_qemu RTEMS6 no console input/output

2021-02-18 Thread junkes
I just started testing RTEMS6 with xilinx_zynq_a9_qemu. When I run the examples (in bsp or rtems-libbsd) there is no console in/out-put. qemu-system-arm -no-reboot -serial mon:stdio -net none -nographic -M xilinx-zynq-a9 -m 256M -kernel build/arm-rtems6-xilinx_zynq_a9_qemu-default/commands0

Re: xilinx_zynq_a9_qemu RTEMS6 no console input/output

2021-02-18 Thread junkes
mmand Line: ../source-builder/sb-set-builder --prefix=/home/junkes/QEMU/rtems/6 6/rtems-arm Python: 2.7.18 (default, Aug 4 2020, 11:16:42) [GCC 9.3.0] Build Set: 6/rtems-arm Build Set: 6/rtems-autotools.bset Build Set: 6/rtems-autotools-internal.bset config: tools/rtems-autoconf-2.69-1.cfg package: aut

Re: xilinx_zynq_a9_qemu RTEMS6 no console input/output

2021-02-18 Thread junkes
r output ... Will now try your install target ... Heinz On 2021-02-18 22:28, Christian Mauderer wrote: Hello Heinz, On 18/02/2021 21:38, junkes wrote: Hallo Christian, thank you for testing. This is "my procedure": hm. There doesn't seem to be a big difference to mine. If

Re: xilinx_zynq_a9_qemu RTEMS6 no console input/output

2021-02-19 Thread junkes
o run "too fast". Problem with delays/timing? Heinz On 2021-02-19 08:39, Christian MAUDERER wrote: Hello Heinz, Am 19.02.21 um 07:53 schrieb junkes: Hello Christian, I checked with gdb. start with sudo ~/QEMU/rtems/6/bin/qemu-system-arm -M xilinx-zynq-a9 -S -s -m 256M -no-rebo

Re: MVME2500 (qoriq_e500) no longer boots with RTEMS6

2021-02-19 Thread junkes
On 2021-02-19 18:40, Gedare Bloom wrote: Advise how you built. We are starting to see some bitrot breakage in configuration. The cutover to waf will come soon, and I don't expect rtems6 release to support autoconf build of rtems itself. I suggest you change over to waf build of rtems kernel if yo

xilinx_zynq_a9_qemu with RTEMS 6 keyboard input is ignored

2021-02-19 Thread junkes
running test programs with keyboard input. Is ignored on xilinx_zynq_a9_qemu qemu-system-arm -no-reboot -net none -serial null -serial mon:stdio -M xilinx-zynq-a9 -m 256M -nographic -kernel ./external/rtems/build/arm/xilinx_zynq_a9_qemu/testsuites/samples/fileio.exe qemu-system-arm: warnin

Can not build rtems-examples for sparc/erc32

2021-04-09 Thread junkes
Checking for RTEMS_NETWORKING : no Library libm.a : found Library liblvgl.a : not found Library libbsd.a: not found junkes@Krikkit:~/VE/app/rtems-examples$ ./waf -v Waf: Entering directory `/home/junkes

replacement for bin2boot in RTEMS 5.1

2019-01-15 Thread Heinz Junkes
To boot rtems code within qemu we used bin2boot in 4.10 like i386-rtems4.10/pc386/build-tools/bin2boot dbScanTest.boot 0x00097E00 /home/travis/.rtems/i386-rtems4.10/pc386/lib/start16.bin 0x00097C00 0 dbScanTest.bin 0x0010 0 With RTEMS 5.1 this command disappeared with #3410. What can be u

Can't run ticker sample on beatnik with the actual rtems-5 master

2019-02-28 Thread Heinz Junkes
With the actual rtems-master I can not load anymore programs on beatnik board (MVME6100) [junkes@h rtems-source-builder (master)]$ ls rtems/sources/ autoconf-2.69.tar.gz automake-1.12.6.tar.gz binutils-2.32.tar.bz2 expat-2.1.0.tar.gz gcc-7.4.0.tar.xz gdb-8.2.1.tar.xz gmp-6.1.0.tar.bz2 isl-0.16.1

throwing std::runtime on PC BSP fails

2019-03-14 Thread Heinz Junkes
The porting of Epics-7 to RTEMS 5 is almost finished. To run our tests we use Travis-Ci where we run qemu-i386. (I couldn't find a suitable emulator for the PowerPC, beatnik board. I do the tests on the hardware.) Unfortunately our tests get stuck with one of the tests. This is because >> http

Can't make testsuites/samples with x86_64-rtems5

2019-03-18 Thread Heinz Junkes
../../rtems/configure --enable-maintainer-mode --prefix=$HOME/.rtems --target=x86_64-rtems5 --enable-rtemsbsp="amd64" --enable-posix --enable-cxx --enable-networking make all ... Making all-am in amd64 make[6]: Entering directory `/home/travis/RTEMS_DEV/build/b-x86_64/x86_64-rtems5/c/amd64/lib/

arm->raspberryPi bsp has no Network Support?

2019-03-19 Thread Heinz Junkes
can not find any definitions for e.g. RTEMS_BSP_NETWORK_DRIVER_NAME in the raspberrypi2 bsp.h file. Is there no support for network devices with this bsp? Danke, Heinz smime.p7s Description: S/MIME cryptographic signature ___ users mailing list user

Re: arm->raspberryPi bsp has no Network Support?

2019-03-19 Thread Heinz Junkes
Danke, can’t find beaglebone = “machine” with qemu-system-arm Heinz > On 19. Mar 2019, at 12:08, Sebastian Huber > wrote: > > Hello Heinz, > > there is no network support for the RPI2. I think the RPIs use an USB > Ethernet device on the board. This could be supported via the FreeBSD USB

RTEMS 5 Release

2019-06-24 Thread Heinz Junkes
Is it foreseeable when RTEMS5 will get a release? Danke, Heinz smime.p7s Description: S/MIME cryptographic signature ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

How to start telnetd in POSIX_Init

2019-07-24 Thread Heinz Junkes
I use the posix implementation in RTEMS5. How can I start telnetd in POSIX_Init? Is there an example/manual? Very concretely: Which priority do I have to choose in the rtems_telnetd_config_table the Posix Prio or the rtems Prio? Danke, Heinz smime.p7s Description: S/MIME cryptographic sign

Build fail with MacOSX10.14.sdk Compiling trace/record/record-client-base.cc

2019-09-10 Thread Heinz Junkes
./waf -v configure --prefix=/Users/junkes/MVME2500/RTEMS/rtems-5 build install Setting top to : /Users/junkes/MVME2500/RTEMS_DEV/rtems-tools Setting out to : /Users/junkes/MVME2500/RTEMS_DEV/rtems-tools/build Version

Re: Build fail with MacOSX10.14.sdk Compiling trace/record/record-client-base.cc

2019-09-10 Thread Heinz Junkes
Yeah, that fixed it. Danke Viele Grüße Heinz Junkes -- Experience directly varies with equipment ruined. > On 10. Sep 2019, at 12:13, Sebastian Huber > wrote: > > Hello Heinz, > > would you mind testing the attached patch. > > -- > Sebastian Huber, embedd

Re: RTEMS Release Snapshot: 5.0.0-m1912 (05 Dec 2019)

2019-12-17 Thread Heinz Junkes
c-rtems5/c/qoriq_e500' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/epics/MVME2500/RTEMS_DEV/build/b-qoriq_e500/powerpc-rtems5/c' make: *** [all-recursive] Error 1 I guess the expansion of RTEMS_REVISION doesn't work with the "-". Viele Grüße H

Re: RTEMS Release Snapshot: 5.0.0-m1912 (05 Dec 2019)

2019-12-17 Thread Heinz Junkes
I can confirm that this one quickly solved the problem. Sorry I didn't look for a fix. Viele Grüße Heinz Junkes -- Experience directly varies with equipment ruined. > On 18. Dec 2019, at 05:49, Chris Johns wrote: > > On 17/12/19 11:59 pm, Heinz Junkes wrote: >> Wh

rtems-libbsd-5.0.0 , Extension of the dhcp response with option 129 (rtems-cmdline)

2020-01-21 Thread Heinz Junkes
is assigned to “new_rtems_cmdline"? Danke Heinz -- Fritz-Haber-Institut| Phone: (+49 30) 8413-4270 Heinz Junkes | VC: 1022 2018 1216 @ bjn.vc Faradayweg 4-6| Fax (G3+G4): (+49 30) 841

Failure in cpukit/score/src/rbtreeextract.c if RTEMS_DEBUG is defined

2020-02-13 Thread Heinz Junkes
Using qoriq_e500 BSP if configured with --enable-rtems-debug : ../../rtems-5.0.0-m1912/configure --enable-maintainer-mode --prefix=/home/epics/MVME2500/RTEMS/5.0.0-m1912 --target=powerpc-rtems5 --enable-rtemsbsp=qoriq_e500 --enable-posix --enable-cxx --disable-networking --enable-pci --enable-r

Re: Failure in cpukit/score/src/rbtreeextract.c if RTEMS_DEBUG is defined

2020-02-13 Thread Heinz Junkes
30, Sebastian Huber > wrote: > > On 13/02/2020 17:25, Heinz Junkes wrote: > >> Using qoriq_e500 BSP >> if configured with --enable-rtems-debug : >> >> ../../rtems-5.0.0-m1912/configure --enable-maintainer-mode >> --prefix=/home/epics/MVME2500/RTEMS/5.0.0-

Re: Failure in cpukit/score/src/rbtreeextract.c if RTEMS_DEBUG is defined

2020-02-17 Thread Heinz Junkes
p without waiter test wakeup one slave[2]: 4 slave[2]: 5 test waassertion "rtems_resource_snapshot_check(&snapshot)" failed: file "../../testsuite/sleep01/test_main.c", line 229, function: test_main *** FATAL *** fatal source: 7 (RTEMS_FATAL_SOURCE_ASSERT) fatal code: 33917016 (0x02058858

Further support for Makefile.inc ?

2020-03-20 Thread Heinz Junkes
In the current files "Makefile.inc" you can find a comment : “ # This support will be removed from RTEMS. Please consider other # ways to build applications. “ How is this to be interpreted? Danke, Viele Grüße Heinz Junkes -- Experience directly varies with equipment ruined.

Re: rtems-libbsd-5.0.0 , Extension of the dhcp response with option 129 (rtems-cmdline)

2020-04-01 Thread Heinz Junkes
quot;ntp_servers" and for the dhcp-servers I know (e.g. isc-dhcpd-server) the option "ntp-servers" is designated. But I did not manage to define the option in dhcpcd.conf itself. Viele Grüße Heinz Junkes -- Experience directly varies with equipment ruined. > On 21. Jan 2020, at

clock_settime fail on qemu-xilinx-zynq-a9

2020-04-13 Thread Heinz Junkes
When calling clock_settime(CLOCK_REALTIME, &now) under qemu (arm-rtems5-xilinx_zynq_a9_qemu) I get an error: assertion "!_Watchdog_Is_far_future_timespec( ts )" failed: file "/home/h1/GSOC/RTEMS_DEV/rtems-5.0.0-m2003/cpukit/include/rtems/score/watchdogimpl.h”, line 530, function: _Watchdog_Ti

Re: clock_settime fail on qemu-xilinx-zynq-a9

2020-04-14 Thread Heinz Junkes
clock_settime was not initialized ;-) Viele Grüße Heinz Junkes -- Experience directly varies with equipment ruined. > On 13. Apr 2020, at 19:04, Sebastian Huber > wrote: > > Hello Heinz, > > this assertion is definitely an error (clock_settime should return EINVAL > instead)

Re: source-builder want to add CFLAG

2020-04-24 Thread Heinz Junkes
source-builder/config/ntp-4-1.cfg file to > add CFLAGS to it? You can see other examples in the same config folder > where CFLAGS are customized that might work to try. > > Gedare > > On Fri, Apr 24, 2020 at 8:02 AM junkes wrote: >> >> I want to add the CFLAG &qu

source builder, bsp arch settings

2020-04-29 Thread Heinz Junkes
Hello, unfortunately i can't really get along with the source-builder/sb-set-builder. For example, I want to build ntp for xilinx_zynq_a9_qemu using the command line: (in rtems-source-builder-5.0.0-m2003/rtems) ../source-builder/sb-set-builder —log=log_ntp_arm.txt —prefix=/home/h1/GSOC/RTEMS/5.

Re: source builder, bsp arch settings

2020-04-30 Thread Heinz Junkes
to configure and forgot to append the existing flags ${CFLAGS} :-( Heinz > On 30. Apr 2020, at 01:33, Chris Johns wrote: > > On 29/4/20 8:03 pm, Heinz Junkes wrote: >> unfortunately i can't really get along with the >> source-builder/sb-set-builder. > > Can y

xilinx_zync_zedboard u-boot tftp load and run issue

2020-06-25 Thread Heinz Junkes
Hallo, i just can't get it to load and start a rtems-exe via tftp in u-boot. I have tried many variations now. Without success. This one should work, right? pwd: build/b-xilinx_zynq_zedboard/arm-rtems5/c/xilinx_zynq_zedboard/testsuites/samples ls -l ticker* -rwxr-xr-x 1 junkes staff 28

Cora z7-10 boot image

2020-08-27 Thread Heinz Junkes
Is there a BSP for the Zynq-7000 based board cora-z7? Should the image of the zedboard be bootable on the cora z7-10 ? Danke Heinz smime.p7s Description: S/MIME cryptographic signature ___ users mailing list users@rtems.org http://lists.rtems.org/

Re: undefined reference to `iflib_gen_mac', Ticket #3985

2020-09-02 Thread Heinz Junkes
Arghhh, as so often, if you are looking for a problem for a long time, then send the request to the list and then read the ticket again, you can "see" the cause. Adding “-Wl,—gc-sections” to the LD_FLAGS solved the issue. Sorry for the disturbance ... Viele Grüße Heinz Junkes --

RTEMS 4.10 i386 undefined reference to `rtems_bdbuf_configuration'

2020-09-07 Thread Heinz Junkes
rtems 4.10 —with-network —with-posix Unfortunately I cannot resolve a reference: source/rtems-source-builder/rtems/build/i386-rtems4.10-kernel-4.10-1/i386-rtems4.10-kernel-4.10-1-4.10/build/i386-rtems4.10/c/pc686/cpukit/libblock/../../../../../../rtems-4.10/c/src/../../cpukit/libblock/src/bdbuf.c

Re: RTEMS 4.10 i386 undefined reference to `rtems_bdbuf_configuration'

2020-09-07 Thread Heinz Junkes
ibrtemscpu.a(dummy.o):(.bss+0x58): first defined here collect2: ld returned 1 exit status ../../../../configure/RULES_BUILD:212: recipe for target 'libComTestHarness' failed -- Fritz-Haber-Institut| Phone:

Re: RTEMS 4.10 i386 undefined reference to `rtems_bdbuf_configuration'

2020-09-07 Thread Heinz Junkes
> On 7. Sep 2020, at 21:18, Joel Sherrill wrote: > > > It needs to be in an object file defined between rtemsTestData.o and > -lCom. Otherwise, there are configuration symbols lacking and the dummy > configuration will get pulled in. > > Unfortunately I do not understand that. These a

Re: RTEMS 4.10 i386 undefined reference to `rtems_bdbuf_configuration'

2020-09-07 Thread Heinz Junkes
> On 7. Sep 2020, at 21:53, Joel Sherrill wrote: > > i386-rtems5-ar dv librtemscpu.a dummy.o That was really the trick and helped. Danke Heinz smime.p7s Description: S/MIME cryptographic signature ___ users mailing list users@rtems.org http://lists.

Re: rtems_bsd_initialize() in POSIX_Init and qemu-system-i386

2020-10-01 Thread Heinz Junkes
#x27;ve neither tested on qemu with nic so your report will be appreciated > here. > > Thanks, > Karel > > On 9/28/20 9:43 PM, junkes wrote: >> I have a problem with rtems_bsd_initialize() in POSIX_Init() and qemu. >> >> call of >> sc = rtems_bsd_in

Re: rtems_bsd_initialize() in POSIX_Init and qemu-system-i386

2020-10-01 Thread Heinz Junkes
init01.exe does not initialize the network interface. I see the same delay with dhcpcd01.exe Heinz > On 2. Oct 2020, at 01:08, Chris Johns wrote: > > On 2/10/20 5:34 am, Heinz Junkes wrote: >> I have finally managed to apply the patch. Unfortunately it didn't lead to

Re: rtems_bsd_initialize() in POSIX_Init and qemu-system-i386

2020-10-02 Thread Heinz Junkes
Harness Viele Grüße Heinz Junkes -- Experience directly varies with equipment ruined. > On 2. Oct 2020, at 08:15, Chris Johns wrote: > > On 2/10/20 2:48 pm, Heinz Junkes wrote: >> init01.exe does not initialize the network interface. > > Yes. It splits the problem. >

Re: xilinx_zynq_a9_qemu RTEMS6 no console input/output

2021-02-18 Thread Heinz Junkes
Haber-Institut| Phone: (+49 30) 8413-4270 Heinz Junkes | Fax (G3+G4): (+49 30) 8413-5900 Faradayweg 4-6| VC: 102220181...@bjn.vc D - 14195 Berlin| E-Mail:jun...@fhi-berlin.m

Re: xilinx_zynq_a9_qemu RTEMS6 no console input/output

2021-02-19 Thread Heinz Junkes
Sorry, I should have seen… Yes, it works as you wrote. Now I just need to clarify the timing problem with fileio keyboard input Vielen, vielen Dank für Deine Hilfe, Heinz > On 19. Feb 2021, at 09:45, Christian MAUDERER > wrote: > > > If you start the script just like it is, it assumes

Re: xilinx_zynq_a9_qemu RTEMS6 no console input/output

2021-02-19 Thread Heinz Junkes
Unfortunately, the option is set to "False" by default. CLOCK_DRIVER_USE_FAST_IDLE = False Heinz > On 19. Feb 2021, at 09:45, Christian MAUDERER > wrote: > > I think some of the simulator BSPs have an option that enable some kind of > time laps as soon as the idle routine is reached. > > I

Re: xilinx_zynq_a9_qemu RTEMS6 no console input/output

2021-02-19 Thread Heinz Junkes
Sorry. The settings for several targets are in the defaults. and for ARM-Cortex-A9 the default value is CLOCK_DRIVER_USE_FAST_IDLE = True Sorry for the noise …. Heinz > On 19. Feb 2021, at 09:45, Christian MAUDERER > wrote: > > I think some of the simulator BSPs have an option that enable s

MVME2500 (qoriq_e500) no longer boots with RTEMS6

2021-02-19 Thread Heinz Junkes
When I use the kernel from RTEMS6 my MVME2500 (qoriq_e500) does not boot anymore and hangs: VME2500=> run rtems_myTests reading mvme2500.dtb 12363 bytes read in 13 ms (928.7 KiB/s) Speed: 1000, full duplex Using eTSEC1 device TFTP from server 141.14.128.9; our IP address is 141.14.128.89 Filename

Re: MVME2500 (qoriq_e500) no longer boots with RTEMS6

2021-02-19 Thread Heinz Junkes
ike me who are not permanently in the RTEMS cloud ;-) Thanks to all for the useful hints and support. Heinz > On 19. Feb 2021, at 22:11, Joel Sherrill wrote: > > > > On Fri, Feb 19, 2021 at 3:07 PM Christian Mauderer wrote: > On 19/02/2021 19:52, junkes wrote: > > On 20

Re: xilinx_zynq_a9_qemu with RTEMS 6 keyboard input is ignored

2021-02-23 Thread Heinz Junkes
it works with the Ubuntu package : qemu-system-arm 1:4.2-3ubuntu6.14 Heinz > On 19. Feb 2021, at 22:46, Chris Johns wrote: > > On 20/2/21 7:10 am, junkes wrote: >> running test programs with keyboard input. Is ignored on xilinx_zynq_a9_qemu > > This is a known issue wi

How to link libbsd into applications with waf

2021-03-10 Thread Heinz Junkes
I was able to build my application with the legacy stack (nfs, telnet, etc) using waf. “my" wscript file: from __future__ import print_function rtems_version = "5" try: import rtems_waf.rtems as rtems except: print('error: no rtems_waf git submodule') import sys sys.exit(1) def in

Re: How to link libbsd into applications with waf

2021-03-10 Thread Heinz Junkes
Ok, whenever you wrote to the Maillist, you find the solution ;-) It's too easy … … bld(features = 'c cprogram', target = 'till.exe', cflags = '-g -O2', source = ['rtems_config.c', 'rtems_netconfig.c', 'rtems_init.c’] lib =[ ‘bsd’, ‘m’] )

Terminal settings (TIOCGWINSZ) when using simulators

2021-04-08 Thread Heinz Junkes
If I use e.g. sparc6-rtems-sis and query the terminal window size within rtems_task_Init, the output for winsize.ws_row and winsize.ws_col is "0”. /* * get winsize example */ #include #include #include #include #include rtems_task Init( rtems_task_argument ignored ) { struct winsize

SIS in "real time"

2021-04-09 Thread Heinz Junkes
Can the SIS Simple Instruction Simulator run in "real time"? I.e. a sleep of 3 seconds should also last 3 seconds? Thanks Heinz smime.p7s Description: S/MIME cryptographic signature ___ users mailing list users@rtems.org http://lists.rtems.org/mailman

Re: Can not build rtems-examples for sparc/erc32

2021-04-09 Thread Heinz Junkes
Danke, that worked. Heinz > On 9. Apr 2021, at 14:35, Sebastian Huber > wrote: > > On 09/04/2021 09:20, junkes wrote: > >> can not build examples (https://github.com/RTEMS/rtems-examples.git) for >> sparc/erc32. >> Seems to related to missing run time linker

Re: SIS in "real time"

2021-04-09 Thread Heinz Junkes
Jiri, Joel, thanks for your answers. @Joel: I was wondering that rtems-examples in psx_example_3 does not wait 3 seconds. I made a curious observation: in the original code: clock_gettime( CLOCK_REALTIME, &timeout ); timeout.tv_sec += 3; timeout.tv_nsec = 0; printf("The task is com

Re: SIS in "real time"

2021-04-09 Thread Heinz Junkes
or bigger examples, I prefer the RTEMS > configuration and Init thread to be in a separate file. I think the psx > reporting > examples do that. > > --joel > > On Fri, Apr 9, 2021 at 12:45 PM Heinz Junkes wrote: > Jiri, Joel, thanks for your answers. > > @Joel: I

rtems-examples posix_api does not work with simulators/emulators like qemu and sis

2021-04-10 Thread Heinz Junkes
In rtems-examples/posix_api the examples psx_example_[123] do not work as they should (especially timing). E.g. in psx_example_1 the sleep(1) is ignored by sparc-rtems6-sis -rt … . With qemu-system-arm -M xilinx-zynq-a9 the "sleep" at least works. With both simulators/emulators psx_example_2 get

Re: SIS in "real time"

2021-04-13 Thread Heinz Junkes
cond, &mutex, &timeout) returns "1" and does not wait for the timeout. This return value should not exist at all? Under Unix, as expected, "110" is returned. ETIMOUT. Heinz > On 12. Apr 2021, at 20:38, Gedare Bloom wrote: > > On Fri, Apr 9, 2021 at 11:45

Re: SIS in "real time"

2021-04-13 Thread Heinz Junkes
, Joel Sherrill wrote: > > > > On Tue, Apr 13, 2021 at 8:02 AM Heinz Junkes wrote: > Unfortunately I still do not understand it. Under Unix it runs perfectly and > also the > values are displayed correctly. > > In the debugger, the contents of the structure ti

Re: SIS in "real time"

2021-04-13 Thread Heinz Junkes
: > > Hi Heinz, > > On Tue, Apr 13, 2021 at 7:02 AM Heinz Junkes wrote: >> >> Unfortunately I still do not understand it. Under Unix it runs perfectly and >> also the >> values are displayed correctly. >> > > #include > > [...]

qemu issue with tests reading key input

2021-06-21 Thread Heinz Junkes
Some RTEMS tests (capture, fileio, ...) respond to an input from the keyboard. Thereby the function rtems_shell_wait_for_explicit_input is called. (file: cpukit/libmisc/shell-wait-for-input.c) In it change_serial_settings is called. There then rv = tcsetattr(fd, TCSANOW, &new_term); If you now u

Re: suppressing DHCP messages

2021-07-19 Thread Heinz Junkes
intitialization? Translated with www.DeepL.com/Translator (free version) Gruss Heinz -- Fritz-Haber-Institut| Phone: (+49 30) 8413-4270 Heinz Junkes | Fax (G3+G4): (+49 30) 8413-5900 Faradayweg 4-6| VC

rtems_semaphore routines on SMP systems

2021-09-25 Thread Heinz Junkes
Can the rtems_semaphore_*() routines be used on SMP systems? Viele Grüße Heinz ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: [EXTERNAL] rtems_semaphore routines on SMP systems

2021-09-28 Thread Heinz Junkes
d Danke Heinz > On 28. Sep 2021, at 12:02, Sebastian Huber > wrote: > > On 28/09/2021 11:46, Heinz Junkes wrote: >> Unfortunately we found out that EPICS uses the mutex handling also in the >> interrupt context >> and this leads to core-dumps in RTEMS :-(

Re: [EXTERNAL] rtems_semaphore routines on SMP systems

2021-09-28 Thread Heinz Junkes
28/09/2021 11:46, Heinz Junkes wrote: >>> Unfortunately we found out that EPICS uses the mutex handling also in the >>> interrupt context >>> and this leads to core-dumps in RTEMS :-( >> >> Yes, using any kind of mutexes in interrupt context is undefined b

Where can I get the kernel sources?

2022-02-02 Thread Heinz Junkes
I think I slept through the latest development. Sorry about that. Where can I get the rtems sources (c/src)? $: git clone git://git.rtems.org/rtems.git kernel $: cd kernel $: ls c ACKNOWLEDGEMENTS $: git checkout 5 Switched to branch '5' Your branch is up to date with 'origin/5’. $: ls c acinclu

Re: RTEMS 5 on mcp750 fails

2022-05-21 Thread Heinz Junkes
Hi Mirek, You can find the configuration of the RTEMS at EPICS here: epics-base/modules/libcom/RTEMS/posix/rtems_config.c There for example ... #define CONFIGURE_EXTRA_TASK_STACKS (4000 * RTEMS_MINIMUM_STACK_SIZE) #define CONFIGURE_UNLIMITED_ALLOCATION_SIZE 32 #define CONFIGURE_UNLIMITED

Re: Try to load and run RTEMS Image on Cora-z7-10

2022-05-28 Thread Heinz Junkes
Hi Chris, I am trying to understand the problems my student is having with the Cora-z7-10. I am trying my hand at a beaglebone black and RTEMS6 (master). Unfortunately I have similar problems. I built the rtems-examples. rtems/6/bin/arm-rtems6-objcopy -R -S --strip-debug -O binary posix_hello.e

Re: Try to load and run RTEMS Image on Cora-z7-10

2022-05-31 Thread Heinz Junkes
) RTEMS version: 5.1.0 RTEMS tools: 7.5.0 20191114 (RTEMS 5, RSB 5.1, Newlib 7947581) executing thread ID: 0x08b010001 executing thread name: U-Boot SPL 2018.09-2-g0b54a51eee (Sep 10 2018 - 19:41:39 -0500) Trying to boot from MMC2 Viele Grüße Heinz Junkes -- Experience directly varies with

Re: Try to load and run RTEMS Image on Cora-z7-10

2022-06-01 Thread Heinz Junkes
Hi Alan, Thanks for the feedback. Did you also use the Ethernet of the beagleboneblack in your demo. I can't see which if is implemented in the BSP. Danke Heinz > On 31. May 2022, at 14:43, Alan Cudmore wrote: > > If it helps, I have a demo where I built and ran RTEMS 6 with libbsd on the >

Re: Try to load and run RTEMS Image on Cora-z7-10

2022-06-01 Thread Heinz Junkes
ewlib 7947581) executing thread ID: 0x08b010001 executing thread name: Viele Grüße Heinz Junkes -- Experience directly varies with equipment ruined. > On 1. Jun 2022, at 15:30, Heinz Junkes wrote: > > Hi Alan, > Thanks for the feedback. Did you also use the Ethernet of the beaglebon

Re: Try to load and run RTEMS Image on Cora-z7-10

2022-06-02 Thread Heinz Junkes
available. So I can't use Ethernet here. So I have to switch to libbsd. I will now try again with RTEMS-master (6). Viele Grüße Heinz Junkes -- Experience directly varies with equipment ruined. > On 1. Jun 2022, at 22:37, Alan Cudmore wrote: > > I see you are trying RTEMS 5.1. I

Re: Try to load and run RTEMS Image on Cora-z7-10, boot for beaglebone black problem solved

2022-06-06 Thread Heinz Junkes
) executing thread ID: 0x089010001 executing thread name: IDLE I have no idea if this is a bug in the U-boot: U-Boot 2018.09-2-g0b54a51eee (Sep 10 2018 - 19:41:39 -0500), Build: jenkins-github_Bootloader-Builder-65 Heinz > On 2. Jun 2022, at 18:00, Heinz Junkes wrote: > > Yes, I c

Unfortunately no success tests on raspberryPi BSP with qemu

2023-03-17 Thread Heinz Junkes
Hi, I've been trying again for some time to get RTEMS (version 5 or 6) for raspberryPi2 to work on a qemu. There is a lot of documentation about it. To those I have tried it there are always some 'fuzzies’ and I unfortunately get never any output message when starting qemu-system-arm -M raspi2

OS X Build Problems tag 5.2 ->Invalid configuration `arm64-apple-darwin22.3.0': machine `arm64-apple' not recognized

2023-03-29 Thread Heinz Junkes
Hi, I have, once again, a problem with building RTEMS on OS X. It works fine with rtems6/master with clang 10.0.0 , python 3.8.5 on Darwin Judiciary-Pag.fritz.box 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:04:44 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T8103 arm64 python shows: (b

Re: OS X Build Problems tag 5.2 ->Invalid configuration `arm64-apple-darwin22.3.0': machine `arm64-apple' not recognized

2023-03-30 Thread Heinz Junkes
> >> python shows: >> mac07:VE_RTEMS_INST hjunkes$ python >> Python 3.11.2 (main, Feb 16 2023, 02:55:59) [Clang 14.0.0 >> (clang-1400.0.29.202)] on darwin > > Where is this python from? It’s from homebrew >> >> >> on CLANG 10.0.0 and python 3.8.5 >> >> Ok with RTEMS 5.2 (and rtems6) > > On whic

Re: Unfortunately no success tests on raspberryPi BSP with qemu

2023-05-29 Thread Heinz Junkes
.com/system-emulation-using-qemu-raspberry-pi-3-4973260ffb3e > > > Hope that helps, > Jacob > > On Fri, Mar 17, 2023 at 9:49 AM Heinz Junkes wrote: > Hi, > > I've been trying again for some time to get RTEMS (version 5 or 6) for > raspberryPi2 to work on a

Re: Error using rtems network legacy on MVME3100

2023-06-26 Thread Heinz Junkes
For the Legacy stack you have to define MBUFS in rtems_bsdnet_config. Example from EPICS: os/CONFIG.Common.RTEMS-mvme3100:ARCH_DEP_CFLAGS += -DRTEMS_NETWORK_CONFIG_MBUF_SPACE=2048 struct rtems_bsdnet_config rtems_bsdnet_config = { FIRST_DRIVER_CONFIG, /* Link to next interface */ MY

Path issue Filesystem mounted with NFS(v4?)

2023-07-11 Thread Heinz Junkes
Hallo, I am observing a strange problem with an NFS(v4) mounted filesystem and path usage. I have mounted a filesystem via NFSv4 (/Volumes): loc = 0x00820a20 node_access = 0x007c2378, node_access_2 = 0x, handler = 0x005c3474 type = nfs, mounted, read-write, target = /Volumes, dev =

Re: Path issue Filesystem mounted with NFS(v4?)

2023-07-13 Thread Heinz Junkes
I see exact the same behavior as in the ticket 4273. Thanks for looking into…. Heinz > On 13. Jul 2023, at 09:33, Chris Johns wrote: > > > > On 11/7/2023 7:32 pm, Heinz Junkes wrote: >> Hallo, >> >> I am observing a strange problem with an NFS(v4) moun

rsb gdb build on aarch64 (OS-X M2)

2023-09-27 Thread Heinz Junkes
Hallo, I'm trying to build RTEMS on a MAC (M2) and I'm getting the following error: config: tools/rtems-gdb-13.2.cfg error: config error: gdb-common-1.cfg:127: "gdb: python: library file not found: libpython3.11.*, please install" Build FAILED Build Set: Time 0:02:09.754310 error: config error:

Re: rsb gdb build on aarch64 (OS-X M2)

2023-09-27 Thread Heinz Junkes
It was a mess with homebrew and python versions on my system. Rsb works well ;-) Heinz > On 27. Sep 2023, at 20:26, Heinz Junkes wrote: > > Hallo, > > I'm trying to build RTEMS on a MAC (M2) and I'm getting the following error: > > > config: tools/rtems-gdb-1

rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

2023-10-17 Thread Heinz Junkes
ild error: building arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1[junkes@h XILINX_ZYNQ_A9_QEMU]$ Heinz ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

2023-10-18 Thread Heinz Junkes
Hello Sebastian, thank you for your answer. Unfortunately, it seems to have nothing to do with it: [junkes@h rsb ((a536dfe...))]$ git status HEAD detached at a536dfe U/rsb/rtems/build/arm-rtems6-gcc-506cb58-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/gnu-mirror-gcc-506cb58/newlib/libc/include

Re: rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

2023-10-18 Thread Heinz Junkes
.o] Error 1 Heinz > On 18. Oct 2023, at 10:13, Sebastian Huber > wrote: > > Hello Heinz, > > I added a GCC 13.2 configuration. Maybe it works. You can test it with: > > ../source-builder/sb-set-builder > --with-rtems-gcc=tools/rtems-gcc-13.2-newlib-head 6/rtems-

Re: rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

2023-10-18 Thread Heinz Junkes
//gcc.gnu.org/bugs/> for instructions. Sorry, Heinz > On 18. Oct 2023, at 12:48, Sebastian Huber > wrote: > > On 18.10.23 12:29, Heinz Junkes wrote: >> unfortunately also with the GCC 13.2 configuration still the same error: >> nclude -g -O2 -mthumb -O2 >> -

Re: rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

2023-10-18 Thread Heinz Junkes
Good morning Sebastian, when I use 7/rtems-arm it does not get better unfortunately : [junkes@h XILINX_ZYNQ_A9_QEMU]$ tail -1000 ./rsb/rtems/rsb-report-arm-rtems7-gdb-29736fc-x86_64-apple-darwin22.6.0-1.txt RTEMS Tools Project - Source Builder Error Report Build: error: building arm-rtems7-gdb

Re: rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

2023-10-18 Thread Heinz Junkes
I can confirm that it also works flawlessly on my MacBook with M2. Heinz > On 18. Oct 2023, at 21:25, Chris Johns wrote: > > On 18/10/2023 8:48 pm, Sebastian Huber wrote: >> On 18.10.23 12:29, Heinz Junkes wrote: >>> unfortunately also with the GCC 13.2 configurat

Looking for ADC Support for Beaglebone Black

2023-11-16 Thread Heinz Junkes
Hi, I would like to use the ADC inputs on the Beaglebone BSP. Unfortunately, I can't find any support in the BSP. Danke Heinz smime.p7s Description: S/MIME cryptographic signature ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/

multiple definition of `_Semaphore_Wait', multiple definition of `_Semaphore_Post' , undefined reference to `__dso_handle'

2024-03-20 Thread Heinz Junkes
ory '/home/rtems/MVME2500_PCI/EPICS/epics-base/modules' make: *** [configure/RULES_DIRS:85: modules.install] Error 2 Danke Heinz ------ Fritz-Haber-Institut| Phone: (+49 30) 8413-4270 Heinz Junkes

Re: multiple definition of `_Semaphore_Wait', multiple definition of `_Semaphore_Post' , undefined reference to `__dso_handle'

2024-03-20 Thread Heinz Junkes
Thanks, that's it, with -qrtems it works. I am now trying to use pkg-config as you recommended. Danke Heinz > On 20. Mar 2024, at 16:41, Sebastian Huber > wrote: > > Hello Heinz, > > On 20.03.24 16:31, Heinz Junkes wrote: >> /home/rtems/MVME2500_PCI/rtems

Unfortunately, I still can't use rsb on a Mac (M2).

2024-06-10 Thread Heinz Junkes
make: *** [all] Error 2 shell cmd failed: /bin/sh -ex /Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/build/arm-rtems6-gdb-14.2-arm64-apple-darwin23.5.0-1/do-build error: building arm-rtems6-gdb-14.2-arm64-apple-darwin23.5.0-1% junkes@Zarquon RTEMS_ARM_libBsd_stack % /usr/local/bin

Re: Unfortunately, I still can't use rsb on a Mac (M2).

2024-06-10 Thread Heinz Junkes
on.framework/Versions/3.12/Python' configure:21892: $? = 1 configure: failed program was: -- Fritz-Haber-Institut| Phone: (+49 30) 8413-4270 Heinz Junkes | Fax (G3+G4): (+49 30) 8413-5900 Faradaywe

Re: Unfortunately, I still can't use rsb on a Mac (M2).

2024-06-10 Thread Heinz Junkes
Hi, All the stuff seems to be there: junkes@Zarquon ~ % ls -l /Library/Frameworks/Python.framework/Versions/3.12/ total 31296 lrwxrwxr-x 1 root admin18 Mar 12 09:09 Headers -> include/python3.12 -rwxrwxr-x 1 root admin 16020240 Feb 6 23:15 Python drwxrwxr-x 5 root ad

Re: Unfortunately, I still can't use rsb on a Mac (M2).

2024-06-11 Thread Heinz Junkes
Thanks for the quick repair, it works and we are moving forward. Heinz > On 11. Jun 2024, at 06:50, Chris Johns wrote: > > On 11/6/2024 2:15 pm, Chris Johns wrote: >> I will create an MR. I need to figure out the arm sim failure and how we >> handle >> this error. > > Fixes merged. Heinz, thank

rtems-net-legacy.bset failure

2024-06-11 Thread Heinz Junkes
Hi, There is a small error in rtems-net-legacy.bset. in the do-build script in line 99 is a '%' too much ... /usr/bin/bzip2 -dc /Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/sources/rtems_waf-68654b4f995382765605dc16917baad4bdbf7f7c.tar.bz2 | %/usr/bin/tar -x --strip-components 1

Re: rtems-net-legacy.bset failure

2024-06-11 Thread Heinz Junkes
/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/build/rtems-libbsd-388d46bb1b3080402c68ae11d14b2b36c3138952-powerp-rtems6-1/do-build Heinz > On 11. Jun 2024, at 21:26, Heinz Junkes wrote: > > Hi, > > There is a small error in rtems-net-legacy.bset. > > in the do-build s

waf in gitlab rtems-net-legacy still linked to git.rtems.org

2024-06-12 Thread Heinz Junkes
Hi, I'm trying to install the network stacks manually as rsb is having a problem and I've encountered the following problem: git clone https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy.git cd rtems-net-legacy junkes@Zarquon rtems-net-legacy % git submodule init git submodule update

  1   2   >