Re: Error While building BSP | erc32 | sparc-rtems-4.11.3

2020-01-27 Thread Christian Mauderer
On 27/01/2020 12:17, Bran S wrote:
> On Monday, 27 January 2020, Christian Mauderer
>  > wrote:
>> I noted that you have a RTEMS 4.11 toolchain. But it seems that you use
>> the instructions for the RTEMS master (which has a Version 5). Did you
>> use a matching RTEMS 4.11 branch for your build?
> 
> 
> I used the tar files:
> 
> https://ftp.rtems.org/pub/rtems/releases/4.11/4.11.3/rtems-4.11.3.tar.xz
> curl
> https://ftp.rtems.org/pub/rtems/releases/4.11/4.11.3/rtems-source-builder-4.11.3.tar.xz
> 

Without testing it myself: If you want to use the releases please try
with the release documentation:

https://docs.rtems.org/releases/rtems-docs-4.11.3/user/start/index.html

> I have now instead built it using the the git repo as mentioned in the
> quick-start document. It is running fine, with some minor issues:

Great.

> 
> 1) Five BSP erc32 tests fail, namely:
> 
> dl06.exe
> dl09.exe
> terminos09.exe
> psxfenv01.exe
> psxmsgq03.exe
> 
> 2) On running `sparc-rtems5-gdb hello.exe` and doing `target sim`
> gdb shows: Undefined target command: "sim"
> 
> Going through archives I found that others have also faced the same
> problem and using `sparc-rtems5-sis` was suggested as a workaround.
> I tried and it solved the problem.
> Although I am not clear on why these problems occurred.

I haven't really noticed these problems and never tested it. So I can't
really say anything regarding that.

Best regards

Christian

-- 

embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.maude...@embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Error While building BSP | erc32 | sparc-rtems-4.11.3

2020-01-27 Thread Bran S
On Monday, 27 January 2020, Christian Mauderer <
christian.maude...@embedded-brains.de> wrote:
> I noted that you have a RTEMS 4.11 toolchain. But it seems that you use
> the instructions for the RTEMS master (which has a Version 5). Did you
> use a matching RTEMS 4.11 branch for your build?


I used the tar files:

https://ftp.rtems.org/pub/rtems/releases/4.11/4.11.3/rtems-4.11.3.tar.xz
curl
https://ftp.rtems.org/pub/rtems/releases/4.11/4.11.3/rtems-source-builder-4.11.3.tar.xz

I have now instead built it using the the git repo as mentioned in the
quick-start document. It is running fine, with some minor issues:

1) Five BSP erc32 tests fail, namely:

dl06.exe
dl09.exe
terminos09.exe
psxfenv01.exe
psxmsgq03.exe

2) On running `sparc-rtems5-gdb hello.exe` and doing `target sim`
gdb shows: Undefined target command: "sim"

Going through archives I found that others have also faced the same problem
and using `sparc-rtems5-sis` was suggested as a workaround.
I tried and it solved the problem.
Although I am not clear on why these problems occurred.
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: Error While building BSP | erc32 | sparc-rtems-4.11.3

2020-01-27 Thread Christian Mauderer
On 24/01/2020 19:56, Bran S wrote:
> Hi Guys,
> 
> I am trying to build and run rtems.
> Followed the steps as mentioned at
> https://docs.rtems.org/branches/master/user/start/index.html
> 
> Getting this error while doing make as mentioned here
> https://docs.rtems.org/branches/master/user/start/bsp-build.html
> 
> gmake[2]: Entering directory
> '/home/user45/quick-start/build/b-erc32/sparc-rtems4.11/c/erc32'
> gmake[2]: *** No rule to make target 'all'.  Stop.
> gmake[2]: Leaving directory
> '/home/user45/quick-start/build/b-erc32/sparc-rtems4.11/c/erc32'
> gmake[1]: *** [Makefile:286: all-recursive] Error 1
> gmake[1]: Leaving directory
> '/home/user45/quick-start/build/b-erc32/sparc-rtems4.11/c'
> make: *** [Makefile:410: all-recursive] Error 1
> 
> Full logs are at https://justpaste.it/7ao05
> 
> This was my configure command:
> $HOME/quick-start/src/rtems-4.11.3/configure
> --prefix=$HOME/quick-start/rtems/4.11 --enable-maintainer-mode
> --target=sparc-rtems4.11 --enable-rtemsbsp=erc32 --enable-tests
> 
> My $PATH var includes: /home/user45/quick-start/rtems/4.11/bin
> 
> As the error mentions No rull to make target 'all'
> I checked the
> '/home/user45/quick-start/build/b-erc32/sparc-rtems4.11/c/erc32'
> directory and it doesn't contain any Makefile. Although a make directory
> is present in there.
> Any ideas about what is causing this ?
> 
> Thanks
> 

Hello Bran,

I noted that you have a RTEMS 4.11 toolchain. But it seems that you use
the instructions for the RTEMS master (which has a Version 5). Did you
use a matching RTEMS 4.11 branch for your build?

Best regards

Christian
-- 

embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.maude...@embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Error While building BSP | erc32 | sparc-rtems-4.11.3

2020-01-24 Thread Bran S
Hi Guys,

I am trying to build and run rtems.
Followed the steps as mentioned at
https://docs.rtems.org/branches/master/user/start/index.html

Getting this error while doing make as mentioned here
https://docs.rtems.org/branches/master/user/start/bsp-build.html

gmake[2]: Entering directory
'/home/user45/quick-start/build/b-erc32/sparc-rtems4.11/c/erc32'
gmake[2]: *** No rule to make target 'all'.  Stop.
gmake[2]: Leaving directory
'/home/user45/quick-start/build/b-erc32/sparc-rtems4.11/c/erc32'
gmake[1]: *** [Makefile:286: all-recursive] Error 1
gmake[1]: Leaving directory
'/home/user45/quick-start/build/b-erc32/sparc-rtems4.11/c'
make: *** [Makefile:410: all-recursive] Error 1

Full logs are at https://justpaste.it/7ao05

This was my configure command:
$HOME/quick-start/src/rtems-4.11.3/configure
--prefix=$HOME/quick-start/rtems/4.11 --enable-maintainer-mode
--target=sparc-rtems4.11 --enable-rtemsbsp=erc32 --enable-tests

My $PATH var includes: /home/user45/quick-start/rtems/4.11/bin

As the error mentions No rull to make target 'all'
I checked the
'/home/user45/quick-start/build/b-erc32/sparc-rtems4.11/c/erc32' directory
and it doesn't contain any Makefile. Although a make directory is present
in there.
Any ideas about what is causing this ?

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