Supported ARM BSPs

Gedare Bloom gedare at rtems.org
Thu May 3 18:54:13 UTC 2012


On Thu, May 3, 2012 at 2:40 PM, Steven Grunza <sgrunza at ctdi.com> wrote:
>
>>On 03/05/12 10:36, Fered wrote:
>>> Is BSP for lm3s69xx works only on Qemu?
>>
>>Yes, this BSP works only on Qemu.  The low-level initialization for
> clocks, pins, memory, etc. is missing.
>>
>
> If someone indicates what --enable-rtemsbsp="" invocation is necessary
> to build the lm3s69xx BSP I'll try to see if I can come up with
> something for a real-world lm3s8962 Eval board I have.  I don't have an
> lm3s69xx eval board but I suspect the lm3s8962 is close enough to the
> lm3s69xx that it will provide the information necessary.
>
> Also a few notes on how to get a working copy of RTEMS new enough to
> contain lm3s69xx but old enough to not fail to build would be helpful.
> The clone I got from git and configured with the following didn't build:
>
>
> ../rtems/configure --prefix=/opt/rtems-4.10.2 --target=arm-rtems4.10
> --enable-networking --enable-cxx --enable-posix --enable-multilib
> --enable-maintainer-mode --enable-rtemsbsp="edb7312 arm7tdmi armcortexa9
> stm32f4 nds"
>
Yes you need the Git head for the new BSPs. Try to configure with
rtems-4.11 target/prefix instead so you pull in the 4.11 toolchain.

Ideally no version of RTEMS Git head should fail to build with the
correct toolchain. Ideally. :)

-Gedare

> It failed in the testsuites for the stm32f4 BSP which is of course, one
> of the ones in which I am interested...
>
>
> gmake[6]: Entering directory
> `/home/grunzasr/rtems/git/b-arm-rtems/arm-rtems4.10/c/stm32f4/testsuites
> /samples/hello'
> arm-rtems4.10-gcc -B../../../../../lib/ -B../../../../../stm32f4/lib/
> -specs bsp_specs -qrtems -march=armv7-m -mthumb -O2 -g -Wall
> -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
> -Wnested-externs    -march=armv7-m -mthumb   -o hello.exe init.o
> ../../../../../stm32f4/lib/librtemsbsp.a(libbsp_a-armv7m-irq-dispatch.o)
> : In function `_ARMV7M_NVIC_Interrupt_dispatch':
> /home/grunzasr/rtems/git/b-arm-rtems/arm-rtems4.10/c/stm32f4/lib/libbsp/
> arm/stm32f4/../../../../../../../../rtems/c/src/lib/libbsp/arm/stm32f4/.
> ./shared/armv7m/irq/armv7m-irq-dispatch.c:27: undefined reference to
> `_ARMV7M_Interrupt_service_enter'
> /home/grunzasr/rtems/git/b-arm-rtems/arm-rtems4.10/c/stm32f4/lib/libbsp/
> arm/stm32f4/../../../../../../../../rtems/c/src/lib/libbsp/arm/stm32f4/.
> ./shared/armv7m/irq/armv7m-irq-dispatch.c:29: undefined reference to
> `_ARMV7M_Interrupt_service_leave'
> collect2: ld returned 1 exit status
> gmake[6]: *** [hello.exe] Error 1
> gmake[6]: Leaving directory
> `/home/grunzasr/rtems/git/b-arm-rtems/arm-rtems4.10/c/stm32f4/testsuites
> /samples/hello'
> gmake[5]: *** [all-recursive] Error 1
> gmake[5]: Leaving directory
> `/home/grunzasr/rtems/git/b-arm-rtems/arm-rtems4.10/c/stm32f4/testsuites
> /samples'
> gmake[4]: *** [all] Error 2
> gmake[4]: Leaving directory
> `/home/grunzasr/rtems/git/b-arm-rtems/arm-rtems4.10/c/stm32f4/testsuites
> /samples'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory
> `/home/grunzasr/rtems/git/b-arm-rtems/arm-rtems4.10/c/stm32f4/testsuites
> '
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/home/grunzasr/rtems/git/b-arm-rtems/arm-rtems4.10/c/stm32f4'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/home/grunzasr/rtems/git/b-arm-rtems/arm-rtems4.10/c'
> make: *** [all-recursive] Error 1
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users




More information about the users mailing list