A. Brand
2017-01-01 18:36:42 UTC
Hi together,
normally i work bare metal on Cortex-M devices. But with devices such as
the Cortex-M7 with more than 200MHz, i think of using uclinux for my coming
IoT applications.
How is the actual status of the Cortex-M7 Support? My first Target will be
the STM32F769 Discovery board.
As i read the discussions according FPU support for arm v7m devices, i can
not use the gnu arm gcc toolchain by arm hosted at:
https://launchpad.net/gcc-arm-embedded
because this toolchain was linked against newlib, am i right? I need a
least one linked against uClib?
So to get a toolchain supporting a arm v7m with fpv5-sp-d16 i need to add a
configuration for the cortex-m7 to buildroot. According to this thread:
http://buildroot-busybox.2317881.n4.nabble.com/PATCH-00-16-ARM-Cortex-M-support-td129310.html
i have to adapt the dropped patch for the FPU support of the M4 to the M7
FPU.
Ok then i have a toolchain, but as i read through the thread why the FPU
patch was dropped, it seems i have another problem.
The V7M port of linux mainline has no support for the CONFIG_VFP option. It
seems fpu register stack save for task switches is not implemented yet. Is
that right? Were in the source tree can i look at the
hardware dependent code for the task switch? So i can try to add lazy fpu
register save an test it.
In search of a maintainer of the stm32 port i found Alexandre Torgues
branch at kernel.org as the one with the latest commits. But i found no
recent commits on fpu handling.
Thanks for reading this novel.
Does anybody have any suggestions where i can start my development?
Which toolchain to use? Buildroot, something manually built?
On which branch of the kernel should i clone?
Thanks in advance.
Regards
Alex
normally i work bare metal on Cortex-M devices. But with devices such as
the Cortex-M7 with more than 200MHz, i think of using uclinux for my coming
IoT applications.
How is the actual status of the Cortex-M7 Support? My first Target will be
the STM32F769 Discovery board.
As i read the discussions according FPU support for arm v7m devices, i can
not use the gnu arm gcc toolchain by arm hosted at:
https://launchpad.net/gcc-arm-embedded
because this toolchain was linked against newlib, am i right? I need a
least one linked against uClib?
So to get a toolchain supporting a arm v7m with fpv5-sp-d16 i need to add a
configuration for the cortex-m7 to buildroot. According to this thread:
http://buildroot-busybox.2317881.n4.nabble.com/PATCH-00-16-ARM-Cortex-M-support-td129310.html
i have to adapt the dropped patch for the FPU support of the M4 to the M7
FPU.
Ok then i have a toolchain, but as i read through the thread why the FPU
patch was dropped, it seems i have another problem.
The V7M port of linux mainline has no support for the CONFIG_VFP option. It
seems fpu register stack save for task switches is not implemented yet. Is
that right? Were in the source tree can i look at the
hardware dependent code for the task switch? So i can try to add lazy fpu
register save an test it.
In search of a maintainer of the stm32 port i found Alexandre Torgues
branch at kernel.org as the one with the latest commits. But i found no
recent commits on fpu handling.
Thanks for reading this novel.
Does anybody have any suggestions where i can start my development?
Which toolchain to use? Buildroot, something manually built?
On which branch of the kernel should i clone?
Thanks in advance.
Regards
Alex