Re: rsb (RTEMS source Builder) support for local mirrors ?

2021-04-26 Thread Chris Johns
On 27/4/21 4:07 am, Michael Davidsaver wrote:
> On 4/26/21 1:21 AM, Goetz Pfeiffer wrote:
>> Hello,
>>
>> I have used rsb to build my local cross compiler toolchain for RTEMS.
>>
>> This is a great tool, but it downloads all sources from some internet 
>> servers. The problem is
>> that servers may be down at the time I need them or that the locations of 
>> some files have changed
>> and rsb doesn't know about this.
>>
>> Would it be possible to change rsb in a way that it has an option to 
>> download all needed files from a
>> local mirror ?
> 
> I've had some success with running the RSB recipes twice.  First with 
> '--source-only-download',
> and then again with '--no-download'.  The second time uses previously 
> downloaded files,
> and can be run on a offline host.

Does the `--url` option work? It should point you to a local server.

A better or more complete way to handle tools is to "deploy" them. Deployed
tools lets you add a version label into the tools that can be seen with the
standard version option the tools come with. There is a real benefit to having a
special label in the version for deployed tool sets especially binary packages.

Unfortunately I have not had the time to document how to do this so here is a
brief untested procedure. It is pretty much what the release procedure does:

1. Clone or download the RSB source.

2. Add or edit a VERSION file in the top level of the RSB source. The 5.1
release tarball of the RSB has a version file.

3. Run the `sb-get-sources` command to fetch all the source and patches.

4. Package the RSB, source and patches.

Notes:

a) The format for the VERSION file is documented here:

https://git.rtems.org/rtems-source-builder/tree/source-builder/sb/version.py#n31

b) The release process creates the VERSION file here:

https://git.rtems.org/rtems-release/tree/rtems-release-rsb-version

c) The get sources command is better than the download options because it
downloads all patches for all archs and all hosts. This is a requirement for
releasing.

d) Released sources contain a released RTEMS kernel and RTEMS Tools and this
requires special management of the checksum the RSB uses when building from a
source package. The hashes for these packages are placed in the VERSION file.
The 5.1 release shows how this is done.

e) A simple and clean way to deploy ...  clone the release scripts and run them
:) Joel has patches for Linux he is yet to post so pester him if you would like
to follow this path. The release scripts handle the release path for downloading
and special release labels. The release procedure is open and available for just
this purpose.

>> In my case I would need this feature not just for version 5 of RTEMS but 
>> also for version
>> 4.9 and 4.10.

RTEMS 4.9, 4.10, and 4.11 would need some work to bring it inline with 5 to
support deployment. That work would need to be funded so if this is something
you need please contact me off list.

Chris
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users


Segmentation fault 11 issue with gdb

2021-04-26 Thread groups
In my ongoing quest to bring up libbsd, I ran into an issue with gdb as built 
for RTEMS5.

gdb 9.1 immediately gives a segmentation fault 11 as it has a fight with 
python3 version 3.9.2.

I managed to find a good explanation of the problem at 
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c47bae859a5af0d95224d9df0e529f7c5aa0

So I managed to trick the RTEMS5 installer into building with gdb 9.2 and it 
had exactly the same problem. The problem report, above, was generated a couple 
of days after 9.2 was released, so the problem should have existed there too.

I then persuaded the installer to grab 10.1 and the issue was gone. Yay. 10.1 
also worked adequately with eclipse and OpenODC (yuck).

I just noticed that gdb 10.2 was released today. I have not tried it yet.

That is all,

Andrei (from The Great White North)
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users


Re: rsb (RTEMS source Builder) support for local mirrors ?

2021-04-26 Thread Michael Davidsaver
On 4/26/21 1:21 AM, Goetz Pfeiffer wrote:
> Hello,
> 
> I have used rsb to build my local cross compiler toolchain for RTEMS.
> 
> This is a great tool, but it downloads all sources from some internet 
> servers. The problem is
> that servers may be down at the time I need them or that the locations of 
> some files have changed
> and rsb doesn't know about this.
> 
> Would it be possible to change rsb in a way that it has an option to download 
> all needed files from a
> local mirror ?

I've had some success with running the RSB recipes twice.  First with 
'--source-only-download',
and then again with '--no-download'.  The second time uses previously 
downloaded files,
and can be run on a offline host.

> In my case I would need this feature not just for version 5 of RTEMS but also 
> for version
> 4.9 and 4.10.
> 
> Greetings
> 
>   Goetz Pfeiffer (control system engineer, Helmholtz-Zentrum Berlin)
> 
> 
> 
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
> 

___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS Discord Server Available

2021-04-26 Thread Pierre FICHEUX
Same for me, looks  like IRC for young people :-)

Le lun. 26 avr. 2021 à 14:35, Joel Sherrill  a écrit :

> I generated a permanent link and made it available via the left hand side
> of rtems.org's top page.
>
> I'm still learning Discord.
>
> Thanks.
>
> --joel
>
> On Mon, Apr 26, 2021 at 2:03 AM Pierre FICHEUX 
> wrote:
>
>> Thx a lot, it works.
>>
>> Le lun. 26 avr. 2021 à 08:56, Eshan Dhawan  a
>> écrit :
>>
>>> Hi
>>> Maybe this should help
>>> Link : https://discord.gg/vgXyBEc8
>>>
>>> Thanks
>>> - Eshan
>>>
>>> On 26-Apr-2021, at 12:18 PM, Pierre FICHEUX 
>>> wrote:
>>>
>>> 
>>> Hi Joel,
>>>
>>> Looks like the link is outdated, is there a way to join the RTEMS
>>> community on Discord?
>>>
>>> Thx
>>>
>>>
>>> Le mar. 23 mars 2021 à 21:49, Joel Sherrill  a écrit :
>>>
   Hi

 RTEMS now has a Discord server (https://discord.gg/6SrpDfBF).

 Feel free to drop by and chat.

 --joel
 ___
 users mailing list
 users@rtems.org
 http://lists.rtems.org/mailman/listinfo/users
>>>
>>>
>>>
>>> --
>>>
>>> Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
>>>  http://www.smile.fr
>>>  https://smile.eu/fr/offres/embarque-iot
>>> I would love to change the world, but they won't give me the source code
>>>
>>> ___
>>> users mailing list
>>> users@rtems.org
>>> http://lists.rtems.org/mailman/listinfo/users
>>>
>>>
>>
>> --
>>
>> Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
>>  http://www.smile.fr
>>  https://smile.eu/fr/offres/embarque-iot
>> I would love to change the world, but they won't give me the source code
>>
>>

-- 

Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
 http://www.smile.fr
 https://smile.eu/fr/offres/embarque-iot
I would love to change the world, but they won't give me the source code
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: rtems-bootstrap failed on master

2021-04-26 Thread Pierre FICHEUX
Thx a lot, it works fine.

regards

Le lun. 26 avr. 2021 à 13:52, Richi Dubey  a écrit :

> https://lists.rtems.org/pipermail/devel/2021-April/066817.html :p
>
> On Mon, Apr 26, 2021 at 5:19 PM Pierre FICHEUX 
> wrote:
>
>> Hi,
>>
>> When using rtems-bootstrap on master branch of rtems, I got "automake:
>> error: cannot open < libnetworking/headers.am: No such file or directory"
>> autoreconf: automake failed with exit status: 1
>>  13/119: autoreconf: testsuites/samples/configure.ac
>>  14/119: autoreconf: testsuites/smptests/configure.ac
>>  15/119: autoreconf: testsuites/rhealstone/configure.ac
>>  16/119: autoreconf: c/configure.ac
>> error: error: autoreconf: autoreconf -i --no-recursive
>> Bootstrap FAILED
>>
>> I use automake/autoconf from RTEMS (not from Ubuntu). Any idea?
>>
>> thx
>> --
>>
>> Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
>>  http://www.smile.fr
>>  https://smile.eu/fr/offres/embarque-iot
>> I would love to change the world, but they won't give me the source code
>>
>> ___
>> users mailing list
>> users@rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>
>

-- 

Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
 http://www.smile.fr
 https://smile.eu/fr/offres/embarque-iot
I would love to change the world, but they won't give me the source code
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS Discord Server Available

2021-04-26 Thread Joel Sherrill
I generated a permanent link and made it available via the left hand side
of rtems.org's top page.

I'm still learning Discord.

Thanks.

--joel

On Mon, Apr 26, 2021 at 2:03 AM Pierre FICHEUX 
wrote:

> Thx a lot, it works.
>
> Le lun. 26 avr. 2021 à 08:56, Eshan Dhawan  a
> écrit :
>
>> Hi
>> Maybe this should help
>> Link : https://discord.gg/vgXyBEc8
>>
>> Thanks
>> - Eshan
>>
>> On 26-Apr-2021, at 12:18 PM, Pierre FICHEUX 
>> wrote:
>>
>> 
>> Hi Joel,
>>
>> Looks like the link is outdated, is there a way to join the RTEMS
>> community on Discord?
>>
>> Thx
>>
>>
>> Le mar. 23 mars 2021 à 21:49, Joel Sherrill  a écrit :
>>
>>>   Hi
>>>
>>> RTEMS now has a Discord server (https://discord.gg/6SrpDfBF).
>>>
>>> Feel free to drop by and chat.
>>>
>>> --joel
>>> ___
>>> users mailing list
>>> users@rtems.org
>>> http://lists.rtems.org/mailman/listinfo/users
>>
>>
>>
>> --
>>
>> Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
>>  http://www.smile.fr
>>  https://smile.eu/fr/offres/embarque-iot
>> I would love to change the world, but they won't give me the source code
>>
>> ___
>> users mailing list
>> users@rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>>
>>
>
> --
>
> Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
>  http://www.smile.fr
>  https://smile.eu/fr/offres/embarque-iot
> I would love to change the world, but they won't give me the source code
>
>
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: rtems-bootstrap failed on master

2021-04-26 Thread Richi Dubey
https://lists.rtems.org/pipermail/devel/2021-April/066817.html :p

On Mon, Apr 26, 2021 at 5:19 PM Pierre FICHEUX 
wrote:

> Hi,
>
> When using rtems-bootstrap on master branch of rtems, I got "automake:
> error: cannot open < libnetworking/headers.am: No such file or directory"
> autoreconf: automake failed with exit status: 1
>  13/119: autoreconf: testsuites/samples/configure.ac
>  14/119: autoreconf: testsuites/smptests/configure.ac
>  15/119: autoreconf: testsuites/rhealstone/configure.ac
>  16/119: autoreconf: c/configure.ac
> error: error: autoreconf: autoreconf -i --no-recursive
> Bootstrap FAILED
>
> I use automake/autoconf from RTEMS (not from Ubuntu). Any idea?
>
> thx
> --
>
> Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
>  http://www.smile.fr
>  https://smile.eu/fr/offres/embarque-iot
> I would love to change the world, but they won't give me the source code
>
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

rtems-bootstrap failed on master

2021-04-26 Thread Pierre FICHEUX
Hi,

When using rtems-bootstrap on master branch of rtems, I got "automake:
error: cannot open < libnetworking/headers.am: No such file or directory"
autoreconf: automake failed with exit status: 1
 13/119: autoreconf: testsuites/samples/configure.ac
 14/119: autoreconf: testsuites/smptests/configure.ac
 15/119: autoreconf: testsuites/rhealstone/configure.ac
 16/119: autoreconf: c/configure.ac
error: error: autoreconf: autoreconf -i --no-recursive
Bootstrap FAILED

I use automake/autoconf from RTEMS (not from Ubuntu). Any idea?

thx
-- 

Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
 http://www.smile.fr
 https://smile.eu/fr/offres/embarque-iot
I would love to change the world, but they won't give me the source code
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

rsb (RTEMS source Builder) support for local mirrors ?

2021-04-26 Thread Goetz Pfeiffer

Hello,

I have used rsb to build my local cross compiler toolchain for RTEMS.

This is a great tool, but it downloads all sources from some internet servers. 
The problem is
that servers may be down at the time I need them or that the locations of some 
files have changed
and rsb doesn't know about this.

Would it be possible to change rsb in a way that it has an option to download 
all needed files from a
local mirror ?

In my case I would need this feature not just for version 5 of RTEMS but also 
for version
4.9 and 4.10.

Greetings

  Goetz Pfeiffer (control system engineer, Helmholtz-Zentrum Berlin)




OpenPGP_signature
Description: OpenPGP digital signature
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS Discord Server Available

2021-04-26 Thread Pierre FICHEUX
Thx a lot, it works.

Le lun. 26 avr. 2021 à 08:56, Eshan Dhawan  a
écrit :

> Hi
> Maybe this should help
> Link : https://discord.gg/vgXyBEc8
>
> Thanks
> - Eshan
>
> On 26-Apr-2021, at 12:18 PM, Pierre FICHEUX 
> wrote:
>
> 
> Hi Joel,
>
> Looks like the link is outdated, is there a way to join the RTEMS
> community on Discord?
>
> Thx
>
>
> Le mar. 23 mars 2021 à 21:49, Joel Sherrill  a écrit :
>
>>   Hi
>>
>> RTEMS now has a Discord server (https://discord.gg/6SrpDfBF).
>>
>> Feel free to drop by and chat.
>>
>> --joel
>> ___
>> users mailing list
>> users@rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>
>
>
> --
>
> Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
>  http://www.smile.fr
>  https://smile.eu/fr/offres/embarque-iot
> I would love to change the world, but they won't give me the source code
>
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
>

-- 

Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
 http://www.smile.fr
 https://smile.eu/fr/offres/embarque-iot
I would love to change the world, but they won't give me the source code
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS Discord Server Available

2021-04-26 Thread Eshan Dhawan
Hi 
Maybe this should help 
Link : https://discord.gg/vgXyBEc8

Thanks 
- Eshan 
> On 26-Apr-2021, at 12:18 PM, Pierre FICHEUX  wrote:
> 
> 
> Hi Joel,
> 
> Looks like the link is outdated, is there a way to join the RTEMS community 
> on Discord?
> 
> Thx
> 
> 
>> Le mar. 23 mars 2021 à 21:49, Joel Sherrill  a écrit :
>>   Hi
>> 
>> RTEMS now has a Discord server (https://discord.gg/6SrpDfBF).
>> 
>> Feel free to drop by and chat.
>> 
>> --joel
>> ___
>> users mailing list
>> users@rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
> 
> 
> -- 
> Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
>  http://www.smile.fr
>  https://smile.eu/fr/offres/embarque-iot
> I would love to change the world, but they won't give me the source code
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS Discord Server Available

2021-04-26 Thread Pierre FICHEUX
Hi Joel,

Looks like the link is outdated, is there a way to join the RTEMS community
on Discord?

Thx


Le mar. 23 mars 2021 à 21:49, Joel Sherrill  a écrit :

>   Hi
>
> RTEMS now has a Discord server (https://discord.gg/6SrpDfBF).
>
> Feel free to drop by and chat.
>
> --joel
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users



-- 

Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.fich...@smile.fr
 http://www.smile.fr
 https://smile.eu/fr/offres/embarque-iot
I would love to change the world, but they won't give me the source code
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users