Re: AW: Rust on RTEMS

2024-01-30 Thread Karel Gardas
Hello Jan, cool progress! Looking forward to test once things settles a bit, although I'm more of thumb person in arm world. :-) Thanks for sharing! Karel On 1/30/24 11:03, Frank Kühndel wrote: On 1/29/24 19:27, jan.som...@dlr.de wrote: Hi everyone, Sorry for the delayed response. Yes, th

Re: Rust on RTEMS

2024-01-07 Thread Karel Gardas
On 12/22/23 18:36, Joel Sherrill wrote: It's not a huge secret. :) https://activities.esa.int/4000140242 shows an ~EU175 project was awarded to DLR.   From there, Jan Sommer is the only person at DLR who has mentioned this. I understand wanting someone

Re: Rust on RTEMS

2023-12-22 Thread Karel Gardas
On 12/22/23 18:36, Joel Sherrill wrote: It's not a huge secret. :) https://activities.esa.int/4000140242 shows an ~EU175 project was awarded to DLR.   From there, Jan Sommer is the only person at DLR who has mentioned this. Wow! So we may finally get s

HEADS UP: git repo WRONG push landed.

2023-07-18 Thread Karel Gardas
Jul 2023 15:40:11 +0200 From: Karel Gardas To: rtems-de...@rtems.org Folks, I've completely screwed up and pushed wrong repository to the git.rtems.org. I don't know how that happen as this should land on github.com... So please do not commit anything for now, I'll try to

Re: CPU Usage

2023-01-13 Thread Karel Gardas
I would guess it is, but judge yourself by going to the RTEMS source code[*] and grepping for "rtems_cpu_usage". Cheers, Karel [*] used few months old trunk here. On 1/13/23 21:48, Molock, Dwaine S. (GSFC-5820) wrote: Hello, Is there a RTEMS API available to obtain the current CPU usage or

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Karel Gardas
0/22 15:56, andrew.butterfi...@scss.tcd.ie wrote: How do I fix this? On 20/09/2022, 14:41, "Karel Gardas" wrote: You are missing isl library header file: configure:6284: /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/Users/butrfeld/REPOS/RTEMS/src/rsb/rtems/build/tmp/sb-501/tools

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Karel Gardas
, andrew.butterfi...@scss.tcd.ie wrote: Hi Karel, Gdb config.log now attached Andrew On 20/09/2022, 14:17, "Karel Gardas" wrote: Usually just last page is enough. Anyway, your report reports that the compilation fails on gdb configure with: configure: WARNING: MPFR is missing

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Karel Gardas
School of Computer Science and Statistics, Room G.39, O'Reilly Institute, Trinity College, University of Dublin http://www.scss.tcd.ie/Andrew.Butterfield/ -Original Message----- From: Karel Gardas

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Karel Gardas
JFYI: 2 months ago I pushed patches in order to make M1 working at least for arm target. As devil is in the detail you will also need to provide rsb-report-sparc-rtems6-gdb-11.2-x86_64-apple-darwin21.6.0-1.txt for investigation. Karel On 9/20/22 14:55, andrew.butterfi...@scss.tcd.ie wrote:

Re: What is the preferable way to add new BSP (for stm32 family)

2022-09-11 Thread Karel Gardas
Not sure about recent progress but IIRC Duc Doan (cced) is also using STM provided HAL for his work on GPIO driver for F4 BSP. Please see [1] and [2]. If however you consider HAL to be too heavy weight solution, perhaps you may have a look into STM provided LL (low-layers drivers) API? This

Re: Try to boot RTEMS6 on Zynq

2022-03-26 Thread Karel Gardas
You seems to use git version of RSB and your error below is python related. IIRC RSB has recently transitioned from python2 to 3. By any chance is your python on path python2? On 3/26/22 12:48, Sarmad Ahmad wrote: Hello I am trying to boot RTEMS 6 on a cora-z7-10 board I built RTEMS as foll

Re: How to program fine-grained real-time concurrent applications in C or Ada

2020-12-24 Thread Karel Gardas
I'd try to use POSIX API and POSIX timers. Look into testsuites/psx* tests. Cheers, Karel On 12/24/20 11:24 AM, Mattia Bottaro wrote: > Hi everyone, newbie RTEMS here. > > I need to develop a multitasking real-time application with RTEMS > (preferably in Ada, but also C solutions are welcomed).

Re: RTEMS book - Real-Time Systems Development with RTEMS and Multicore Processors

2020-12-08 Thread Karel Gardas
Wow! Such a book! Anyway, looking where it's available, I've found that kindle edition is quite cheaper on amazon.de -- only 88 euros in comparison with $160 on US amazon... Thanks, Karel On 12/8/20 9:57 PM, Juan Solano wrote: > Hi all, > > has anybody around here read and can recommend the re

Re: How to run RISC-V test applications using qemu?

2020-11-25 Thread Karel Gardas
On 11/25/20 4:18 PM, jan.som...@dlr.de wrote: > FWIW if I use "-serial stdio -monitor none" I can close qemu with Ctrl+C. If > I use "-serial mon:stdio" Ctrl+C does not work. Ctrl-a + c -- works in this case. You will get into monitor where you can type "quit" and hit enter... Karel ___

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

2020-09-29 Thread Karel Gardas
Jan Sommer helped me with this in the past: https://lists.rtems.org/pipermail/users/2020-September/067871.html On 9/29/20 4:31 PM, junkes wrote: > [1858/1948] Linking build/i386-rtems5-pc686-default/evdev01.exe > /home/h1/DBG/rtems5/lib/gcc/i386-rtems5/7.5.0/../../../../i386-rtems5/bin/ld: > ./l

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

2020-09-28 Thread Karel Gardas
614913, name=, prio = 30 > - > Task control block(Nr.: 15) > task control block at 0x006a4450 > task ID: 0x0b010003 > name_32: --  -- > ID=0x0b010003 name= > > --Info (hpj)-- task Nr: 15 >  id=184614915, name=, prio = 229 > - > : > qemu is called with: > > qemu-sy

mmap on /dev/fd0 on pc686 BSP not working at all.

2020-09-20 Thread Karel Gardas
Hello, I'm attempting to get rtems-example/lvgl/hello working on pc686 BSP. I'm using VESA framebuffer which is default on pc686, although I needed to do few fixes here and there to ensure littlevgl library compiles well. All patches here https://lists.rtems.org/pipermail/devel/2020-September/06

Re: How to use lvgl on pc386 BSP.

2020-09-08 Thread Karel Gardas
Thanks a lot! Karel On 9/8/20 7:45 PM, jan.som...@dlr.de wrote: > Hi Karel, > >> -Original Message----- >> From: users On Behalf Of Karel Gardas >> Sent: Tuesday, September 8, 2020 7:32 PM >> To: Christian Mauderer ; Christian Mauderer >> ; user

Re: How to use lvgl on pc386 BSP.

2020-09-08 Thread Karel Gardas
Hello Christian, On 9/7/20 6:22 PM, Christian Mauderer wrote: > I have analyzed a bit more: > > We have two main libbsd branches: > > - master > - 6-freebsd-12 > > Same for the release. There it is > > - 5 > - 5-freebsd-12 > > The first one tracks the latest FreeBSD development branch. The

Re: How to use lvgl on pc386 BSP.

2020-09-07 Thread Karel Gardas
t. > On 07/09/2020 11:06, Karel Gardas wrote: >> >> Hello, >> >> I'm trying to compile rtems-littlevgl on pc686 BSP from RTEMS 5.1 >> release built with RSB -- hence with libbsd compiled in. >> >> I'm hitting following compilation failure: >&g

How to use lvgl on pc386 BSP.

2020-09-07 Thread Karel Gardas
Hello, I'm trying to compile rtems-littlevgl on pc686 BSP from RTEMS 5.1 release built with RSB -- hence with libbsd compiled in. I'm hitting following compilation failure: ../../lv_drivers/indev/evdev.c:16:10: fatal error: dev/evdev/input.h: No such file or directory #include ^~~~

Re: rtems-tftp server not working with iPXE.

2020-09-07 Thread Karel Gardas
On 9/7/20 8:34 AM, Chris Johns wrote: > On 7/9/20 4:06 pm, Karel Gardas wrote: >> On 9/7/20 2:34 AM, Chris Johns wrote: >>> On 7/9/20 8:29 am, Chris Johns wrote: >>>> >>>> Hmm looks like the socket returns a string in Python 2 and bytes in Python >>

Re: rtems-tftp server not working with iPXE.

2020-09-06 Thread Karel Gardas
On 9/7/20 2:34 AM, Chris Johns wrote: > On 7/9/20 8:29 am, Chris Johns wrote: >> >> Hmm looks like the socket returns a string in Python 2 and bytes in Python >> 3. I >> will need to play around to find a suitable solution for this. >> > > Fixed on master. Please test and let me know how you go.

Re: RTEMS 5.1: RSB --with-rtems-bspopts is not working as described.

2020-09-06 Thread Karel Gardas
On 9/7/20 12:09 AM, Chris Johns wrote: > What you are doing looks fine. Could you please raise a ticket for the 5.2 > milestone reporting this [1] ? > It's reported as #4071 ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/

Re: rtems-tftp server not working with iPXE.

2020-09-06 Thread Karel Gardas
On 9/7/20 12:07 AM, Chris Johns wrote: > On 7/9/20 5:28 am, Karel Gardas wrote: >> >> Hi, >> >> I'm using latest rtems-tools, my HEAD is on >> eb3608133b41b9cb7b4dd55cb15d77691d2300c6. >> >> I'm trying to use rtems-tftp-server to serve 5.1

RTEMS 5.1: RSB --with-rtems-bspopts is not working as described.

2020-09-06 Thread Karel Gardas
Hi, while playing with pc383 BSP on RTEMS 5.1 release I'm trying to set various BSP's compile time options using RSB and it does not work. E.g. command: ../source-builder/sb-set-builder --prefix=$HOME/sfw/rtems/5.1-smp2-vga80x50-key-to-reset 5/bsps/pc --with-rtems-tests --with-rtems-smp --with-r

rtems-tftp server not working with iPXE.

2020-09-06 Thread Karel Gardas
Hi, I'm using latest rtems-tools, my HEAD is on eb3608133b41b9cb7b4dd55cb15d77691d2300c6. I'm trying to use rtems-tftp-server to serve 5.1 pc686 BSP's tests to the target hardware. On target hardware side I'm using fairly recent iPXE code base (ISO downloaded last month) booting from USB stick

Re: BSP missing

2020-08-28 Thread Karel Gardas
On 8/28/20 9:55 PM, Zacchaeus Liang wrote: > Thanks so much! I managed to get it to work! The strange thing was to > run it I had to use > > /home/zakonrockets/development/rtems/5/bin/rtems-run --rtems-bsps=pc-qemu   > build/i386-rtems5-pc386/hello.exe > > >  It's wierd because i'm using that as

Re: pc386 hello.exe on real hardware (issues with VGA/VBE output)

2020-08-26 Thread Karel Gardas
On 8/26/20 9:53 AM, Chris Johns wrote: >> I'm not able to run hello.exe on real >> hardware PC w/o UART1 presented/connected and get its expected "Hello" >> output to the VGA/GPU console. I think RTEMS still pushed hello message >> down to the UART1. > > I just want to understand what UART1 is. I

Re: RTEMS 5.1 RC2 Available

2020-08-25 Thread Karel Gardas
On 8/25/20 3:12 PM, Joel Sherrill wrote: > Thanks. Other than appearing to have lines longer than 80 characters, it > looks ok to me. > Good, so I'll fix that and amend commit and resend again. > We had some progress with students converting wiki pages to > documentation. I personally want to mi

pc386 hello.exe on real hardware (issues with VGA/VBE output)

2020-08-25 Thread Karel Gardas
Hi, while testing pc386 BSP to write some verified information bits into the manual I've hit very simple issue. I'm not able to run hello.exe on real hardware PC w/o UART1 presented/connected and get its expected "Hello" output to the VGA/GPU console. I think RTEMS still pushed hello message dow

Re: RTEMS 5.1 RC2 Available

2020-08-25 Thread Karel Gardas
DF gen due to #4062. Thanks, Karel >From a325efbd4257269f6e5d3aa99bfbf6263d8d64fc Mon Sep 17 00:00:00 2001 From: Karel Gardas Date: Tue, 25 Aug 2020 10:28:19 + Subject: [PATCH] user/pc386 BSP: first bits including testing on Qemu and BSP variants list --

Re: RTEMS 5.1 RC2 Available

2020-08-24 Thread Karel Gardas
On 8/14/20 11:19 PM, Chris Johns wrote: > Hello, > > RTEMS 5.1 RC2 is available for testing. You can find the release at: > > https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1-rc2 > > Please report your successes or problems here. Playing with various ppc bsps and also with i386/pc686 bsp bui

Re: qemu ppc bsp, which one?

2020-08-07 Thread Karel Gardas
On 8/6/20 12:36 AM, Karel Gardas wrote: >> - rsb's rtems/config/5/bsps does not contain any qemu*.bset. From PPC, >> only qoriq_e*.bset are there. I've checked qoriq_e6500_64 in qemu very >> lightly but so far no success. If, there is any receipt how to

Re: qemu ppc bsp, which one?

2020-08-05 Thread Karel Gardas
> - rsb's rtems/config/5/bsps does not contain any qemu*.bset. From PPC, > only qoriq_e*.bset are there. I've checked qoriq_e6500_64 in qemu very > lightly but so far no success. If, there is any receipt how to get that > bsp running inside qemu, then I would appreciate it. I'm lig

qemu ppc bsp, which one?

2020-08-03 Thread Karel Gardas
Hello, I've checked out rtems 5 branch and also rsb 5 branch and now I'm trying to find out how and what bsp exactly to build to have it running somehow inside qemu ppc emulator. The issues or questions I have so far are: - rsb's rtems/config/5/bsps does not contain any qemu*.bset. From PPC, o