Re: Problem by installing RTEMS 5.1 on Ubuntu

2021-03-10 Thread Olga Syrbachova
Hi Eshan! Thank you very much for your reply. You are right I missed this step. So now as I'm trying to install the dependency and I have another problem. I get this error: Reading package lists... Done Picking 'gcc-defaults' as source package instead of 'g++' Picking 'python3-defaults' as

Re: RTEMS DEMO

2021-03-10 Thread Mingyu Li
Dear Eduardo, You may refer to the https://github.com/RTEMS/rtems/tree/master/testsuites, and search for keywords like mutex for some simple demos. Hope this helps. Please let me know if you have any further questions. Bests, Maxul Eduardo Escalante 于2021年3月10日周三 上午6:35写道: > Hello, I am a

Re: RTEMS DEMO

2021-03-10 Thread Joel Sherrill
On Wed, Mar 10, 2021 at 5:26 AM Mingyu Li wrote: > Dear Eduardo, > > You may refer to the https://github.com/RTEMS/rtems/tree/master/testsuites > , > and search for keywords like mutex for some simple demos. > There are lots of programs in the test suites but they tend to make terrible demos or

Re: Offline download of sources fails

2021-03-10 Thread Joel Sherrill
On Wed, Mar 10, 2021, 6:42 AM Ida Delphine wrote: > Hello, > On trying to download my sources using this command stated in the > documentation: > > ../source-builder/sb-set-builder --source-only-download 5/rtems-sparc > > Unfortunately, I get some errors and the build fails: > RTEMS Source

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

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’]

Offline download of sources fails

2021-03-10 Thread Ida Delphine
Hello, On trying to download my sources using this command stated in the documentation: ../source-builder/sb-set-builder --source-only-download 5/rtems-sparc Unfortunately, I get some errors and the build fails: RTEMS Source Builder - Set Builder, 6 (47d540e7f9fe) error: exe: not found:

Error by building a BSP on Ubuntu 18.04

2021-03-10 Thread Olga Syrbachova
Hi! I'm following this tutorial https://docs.rtems.org/branches/master/user/installation/kernel.html. After successfully building a tool chain for the SPARC architecture in step 5.1.1. I moved to the step 5.3.1. And then in step 5.3.4. I get an error:

Re: Offline download of sources fails

2021-03-10 Thread Chris Johns
On 10/3/21 11:57 pm, Joel Sherrill wrote: > On Wed, Mar 10, 2021, 6:42 AM Ida Delphine > wrote: > > Hello, > On trying to download my sources using this command stated in the > documentation: > > ../source-builder/sb-set-builder --source-only-download

Re: Offline download of sources fails

2021-03-10 Thread Michael Davidsaver
On 3/10/21 10:55 AM, Chris Johns wrote: > ... > Also have a look at the command sb-get-sources. It will fetch the source and > patches for all hosts and architectures. Neat. I've been wishing for something like this as I'd like to archive full source along with toolchain builds. Would it handle

Re: Offline download of sources fails

2021-03-10 Thread Gedare Bloom
On Wed, Mar 10, 2021 at 5:57 AM Joel Sherrill wrote: > > > > On Wed, Mar 10, 2021, 6:42 AM Ida Delphine wrote: >> >> Hello, >> On trying to download my sources using this command stated in the >> documentation: >> >> ../source-builder/sb-set-builder --source-only-download 5/rtems-sparc >> >>

Re: RTEMS DEMO

2021-03-10 Thread Gedare Bloom
On Wed, Mar 10, 2021 at 7:04 AM Joel Sherrill wrote: > > > > On Wed, Mar 10, 2021 at 5:26 AM Mingyu Li wrote: >> >> Dear Eduardo, >> >> You may refer to the https://github.com/RTEMS/rtems/tree/master/testsuites, >> and search for keywords like mutex for some simple demos. > > > There are lots of

Re: Error by building a BSP on Ubuntu 18.04

2021-03-10 Thread Gedare Bloom
Hi Olga, On Wed, Mar 10, 2021 at 1:35 PM Olga Syrbachova wrote: > > Hi! I'm following this tutorial > https://docs.rtems.org/branches/master/user/installation/kernel.html. > After successfully building a tool chain for the SPARC architecture in step > 5.1.1. I moved to the step 5.3.1. And then

Re: Offline download of sources fails

2021-03-10 Thread Chris Johns
On 11/3/21 8:23 am, Michael Davidsaver wrote: > On 3/10/21 10:55 AM, Chris Johns wrote: >> ... >> Also have a look at the command sb-get-sources. It will fetch the source and >> patches for all hosts and architectures. > > Neat. I've been wishing for something like this as I'd like to archive

Re: Offline download of sources fails

2021-03-10 Thread Ida Delphine
Hello again, So I started over and downloaded all the required packages for my host (Ubuntu 20.04) and still have offline download issues... Please take a look at the error message: RTEMS Source Builder - Set Builder, 6 (fe2d13b6daf3) Build Set: 6/rtems-sparc Build Set: 6/rtems-autotools.bset

Re: Offline download of sources fails

2021-03-10 Thread Michael Davidsaver
On 3/10/21 3:30 PM, Chris Johns wrote: > The patch link looks fine and I can download it with my browser. I wonder if > this is a Windows thing? No Windows involved. I'm running this under Debian 10. ___ users mailing list users@rtems.org

Re: Offline download of sources fails

2021-03-10 Thread Chris Johns
On 11/3/21 3:34 pm, Ida Delphine wrote: > Hello again, > > So I started over and downloaded all the required packages for my host (Ubuntu > 20.04) and still have offline download issues... > Please take a look at the error message: > > RTEMS Source Builder - Set Builder, 6 (fe2d13b6daf3) >

Re: Offline download of sources fails

2021-03-10 Thread Ida Delphine
My development host is Ubuntu 20.04 not Windows. Also I'm a bit confused on how to run it with --trace to find the log file. Can you please help me with some context? Cheers, Ida On Thu, 11 Mar 2021, 6:07 am Chris Johns, wrote: > > > On 11/3/21 3:34 pm, Ida Delphine wrote: > > Hello again, > >

Re: Offline download of sources fails

2021-03-10 Thread Chris Johns
On 11/3/21 4:37 pm, Ida Delphine wrote: > When I run it again with "--trace" I still get the same output. Nothing extra. > Don't know if I am missing something... It could by my instructions. I would need to check but I am not able to at the moment. If you are using git and are up to date on

Re: Offline download of sources fails

2021-03-10 Thread Chris Johns
On 11/3/21 4:17 pm, Ida Delphine wrote: > My development host is Ubuntu 20.04 not Windows. Oh I do apologise, for some reason I thought your host was Windows. > Also I'm a bit confused on how > to run it with --trace to find the log file. Can you please help me with some > context? Add the

Re: Offline download of sources fails

2021-03-10 Thread Ida Delphine
Yes. I am using the master branch. On Thu, Mar 11, 2021 at 7:00 AM Chris Johns wrote: > On 11/3/21 4:37 pm, Ida Delphine wrote: > > When I run it again with "--trace" I still get the same output. Nothing > extra. > > Don't know if I am missing something... > > It could by my instructions. I