AW: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Jan.Sommer
Hi Chris, > -Ursprüngliche Nachricht- > Von: Chris Johns [mailto:chr...@rtems.org] > Gesendet: Freitag, 26. Juli 2019 02:26 > An: Nils Hölscher > Cc: Sebastian Huber; Sommer, Jan; users@rtems.org > Betreff: Re: Problems running RTEMS on Raspberry Pi2 > > Hi Nils, > > Many thanks for taki

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Chris Johns
On 26/7/19 4:21 pm, Sebastian Huber wrote: > On 26/07/2019 08:08, Chris Johns wrote: >> On 26/7/19 3:14 pm, Sebastian Huber wrote: > > 1. which Autoconf stuff you need to build a multilib based configuration, > and I do not follow what this means. A 3rd party library can only

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Sebastian Huber
On 26/07/2019 08:08, Chris Johns wrote: On 26/7/19 3:14 pm, Sebastian Huber wrote: 1. which Autoconf stuff you need to build a multilib based configuration, and I do not follow what this means. A 3rd party library can only be built for a BSP as this is the only installed instance of an RTEMS

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Chris Johns
On 26/7/19 3:14 pm, Sebastian Huber wrote: >>> >>> 1. which Autoconf stuff you need to build a multilib based configuration, >>> and >> >> I do not follow what this means. A 3rd party library can only be built for a >> BSP >> as this is the only installed instance of an RTEMS kernel you can have.

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Sebastian Huber
On 26/07/2019 00:06, Chris Johns wrote: On 26/7/19 5:22 am, Sebastian Huber wrote: - Am 25. Jul 2019 um 21:19 schrieb joel j...@rtems.org: On Thu, Jul 25, 2019 at 2:13 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: - Am 25. Jul 2019 um 20:59 schrieb joel j...@rtems.o

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
On 26/7/19 10:25 am, Chris Johns wrote: > I will post a patch to devel with a tested fix ... https://lists.rtems.org/pipermail/devel/2019-July/026845.html https://lists.rtems.org/pipermail/build/2019-July/002884.html The test results look OK. Chris ___

Re: RTEMS C++ examples?

2019-07-25 Thread Chris Johns
On 25/7/19 2:56 pm, gro...@chichak.ca wrote: > I’m working on a bit of a hobby project right now and someone bullied me into > trying C++. Fine. Plus I did say that I’d try it in anger at some point. Good on them. My first large application run on RTEMS was a ported C++ application in the mid '90

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
Hi Nils, Many thanks for taking the time to review the code, it is appreciated. On 25/7/19 10:17 pm, Nils Hölscher wrote: > Hi, > > I think r7 no longer holds the expected value in line 242 >

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Chris Johns
On 26/7/19 5:22 am, Sebastian Huber wrote: > - Am 25. Jul 2019 um 21:19 schrieb joel j...@rtems.org: > >> On Thu, Jul 25, 2019 at 2:13 PM Sebastian Huber < >> sebastian.hu...@embedded-brains.de> wrote: >> >>> - Am 25. Jul 2019 um 20:59 schrieb joel j...@rtems.org: >>> Having a separat

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Sebastian Huber
- Am 25. Jul 2019 um 21:19 schrieb joel j...@rtems.org: > On Thu, Jul 25, 2019 at 2:13 PM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> - Am 25. Jul 2019 um 20:59 schrieb joel j...@rtems.org: >> >> > Having a separate library for rtems default configuration breaks au

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Joel Sherrill
On Thu, Jul 25, 2019 at 2:13 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > - Am 25. Jul 2019 um 20:59 schrieb joel j...@rtems.org: > > > Having a separate library for rtems default configuration breaks autoconf > > probes for packages which are built using BSP specific argu

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Sebastian Huber
- Am 25. Jul 2019 um 20:59 schrieb joel j...@rtems.org: > Having a separate library for rtems default configuration breaks autoconf > probes for packages which are built using BSP specific arguments. These > have built the same way for well over a decade. > > I know this can be resolved by pa

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Joel Sherrill
Having a separate library for rtems default configuration breaks autoconf probes for packages which are built using BSP specific arguments. These have built the same way for well over a decade. I know this can be resolved by passing in an extra library on the configure line. But this broke a publi

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Nils Hölscher
Hi, I think r7 no longer holds the expected value in line 242 and that is why it breaks. In the old file r7 was holding the value after this

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Sebastian Huber
On 25/07/2019 13:38, Chris Johns wrote: On 25/7/19 9:28 pm, Sebastian Huber wrote: Is the interrupt stack size large enough? Does it help if it is increased? How do I increase it? #define CONFIGURE_INTERRUPT_STACK_SIZE 0x10 -- Sebastian Huber, embedded brains GmbH Address : Dornierst

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
On 25/7/19 9:28 pm, Sebastian Huber wrote: > > Is the interrupt stack size large enough? Does it help if it is increased? > How do I increase it? Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
On 25/7/19 9:28 pm, Sebastian Huber wrote: > > > On 25/07/2019 13:21, Chris Johns wrote: >> On 25/7/19 6:03 pm, Chris Johns wrote: >>> On 24/7/19 11:26 pm, jan.som...@dlr.de wrote: Hello, We are having troubles getting RTEMS to run on the RPi2. We built the BSP from current

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Sebastian Huber
On 25/07/2019 13:28, Sebastian Huber wrote: On 25/07/2019 13:21, Chris Johns wrote: On 25/7/19 6:03 pm, Chris Johns wrote: On 24/7/19 11:26 pm, jan.som...@dlr.de wrote: Hello, We are having troubles getting RTEMS to run on the RPi2. We built the BSP from current master and used the firmwa

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Sebastian Huber
On 25/07/2019 13:21, Chris Johns wrote: On 25/7/19 6:03 pm, Chris Johns wrote: On 24/7/19 11:26 pm, jan.som...@dlr.de wrote: Hello, We are having troubles getting RTEMS to run on the RPi2. We built the BSP from current master and used the firmware of a recent Raspbian on the SD-Card, but co

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
On 25/7/19 6:03 pm, Chris Johns wrote: > On 24/7/19 11:26 pm, jan.som...@dlr.de wrote: >> Hello, >> >> We are having troubles getting RTEMS to run on the RPi2. >> We built the BSP from current master and used the firmware of a recent >> Raspbian on the SD-Card, but could not manage to get any outp

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
On 24/7/19 11:26 pm, jan.som...@dlr.de wrote: > Hello, > > We are having troubles getting RTEMS to run on the RPi2. > We built the BSP from current master and used the firmware of a recent > Raspbian on the SD-Card, but could not manage to get any output on the UART. > We also tried to use an old