Re: RTEMS for ARM Cortex-M1 ?

2015-06-19 Thread Daniel Gutson
On Tue, Feb 17, 2015 at 10:53 AM, Daniel Gutson
daniel.gut...@tallertechnologies.com wrote:

 El 14/02/2015 10:29, Sebastian Huber sebastian.hu...@embedded-brains.de
 escribió:

 On 14/02/15 14:27, Sebastian Huber wrote:

 On 14/02/15 12:48, Daniel Gutson wrote:

 We're developing support for the
 cortex M 4 so we can let you know once we commit the patches so you can
 have a starting point in case an emulator is also needed.


 The Cortex-M4 is already supported including the FPU (e.g. LPC4088).


 Hm, I should read more carefully.  You added a Cortex-M4 support for Qemu
 including the FPU?

 We are currently working on it, but we're focused in the DSP part of the
 instruction set rather than the FP part.

FWIW, it has been committed: (both patches are required)

http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg03724.html
http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg04234.html


 --
 Sebastian Huber, embedded brains GmbH

 Address : Dornierstr. 4, D-82178 Puchheim, Germany
 Phone   : +49 89 189 47 41-16
 Fax : +49 89 189 47 41-09
 E-Mail  : sebastian.hu...@embedded-brains.de
 PGP : Public key available on request.

 Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




-- 

Daniel F. Gutson
Chief Engineering Officer, SPD

San Lorenzo 47, 3rd Floor, Office 5
Córdoba, Argentina

Phone:   +54 351 4217888 / +54 351 4218211
Skype:dgutson
LinkedIn: http://ar.linkedin.com/in/danielgutson
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: RTEMS for ARM Cortex-M1 ?

2015-03-07 Thread Hesham ALMatary
Hi,

Sorry I just see this thread now.

On Sat, Feb 14, 2015 at 4:46 PM, Joel Sherrill
joel.sherr...@oarcorp.com wrote:


 On February 14, 2015 10:38:13 AM CST, Alan Cudmore alan.cudm...@gmail.com 
 wrote:
Thanks for the info.. so it sounds like a new BSP and some changes to
the ARMV7-M code in score.

 I wouldn't think there is a lot of work. Just tweaks to avoid instructions 
 not available.

The project will also look at some other fpga based cpus. I'm glad to
see the openrisc and microblaze work going on.

 OpenRISC should be in good shape but your board may have more peripherals.

There are few supported FPGA boards by OpenRISC [1]. Also, Parallella
board [2] has Zynq FPGA, but my RTEMS port just run on the Epiphany
chip and communite with Linux in the the Dual ARM A9 cores, however I
believe that the Xilinx_Zynq BSP can easily run on the ARM cores
there.

 Hesham has been making progress on Microblaze. He can update us.

Hello World is working fine there, but didn't implement any timer
functionality yet, besides the license issue..

[1] https://github.com/openrisc/orpsoc-cores/tree/master/systems
[2] https://www.parallella.org/board/
Alan

On Feb 14, 2015 8:29 AM, Sebastian Huber
sebastian.hu...@embedded-brains.de wrote:

On 14/02/15 14:27, Sebastian Huber wrote:

On 14/02/15 12:48, Daniel Gutson wrote:

We're developing support for the
cortex M 4 so we can let you know once we commit the patches so you can
have a starting point in case an emulator is also needed.


The Cortex-M4 is already supported including the FPU (e.g. LPC4088).


Hm, I should read more carefully.  You added a Cortex-M4 support for
Qemu including the FPU?

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

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

 --joel
 ___
 devel mailing list
 devel@rtems.org
 http://lists.rtems.org/mailman/listinfo/devel



-- 
Hesham
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: RTEMS for ARM Cortex-M1 ?

2015-02-14 Thread Daniel Gutson
El 13/02/2015 22:59, Cudmore, Alan P. (GSFC-5820) alan.p.cudm...@nasa.gov
escribió:

 A project is looking at using RTEMS on an FPGA based ARM Cortex-M1 like
 the one in the Microsemi ProAsic3L development kit:

http://www.microsemi.com/products/fpga-soc/design-resources/dev-kits/proasi
 c3/cortex-m1-enabled-proasic3l-development-kit

 Wikipedia says the Cortex-M1 is an ARMv6M architecture.
 http://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M1

 I see that there is ARMv7M support in score, would a similar be
 needed for ARMv6M?

 Is an ARMv6M close to anything in RTEMS now?

FWIW, We've developed a BSP for the cortex m3 which AFAIK has a reduced
instruction set so the profiles should be similar. With correct
configuration of the ticker and console drivers, the armv7-m should be a
good starting point for your BSP.
The GNU tool chain already supports the architecture, so all is needed from
that side is the proper linker script. Finally,there's qemu which support
Was not finished last time I checked. We're developing support for the
cortex M 4 so we can let you know once we commit the patches so you can
have a starting point in case an emulator is also needed.

 Thanks,
 Alan

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

Re: RTEMS for ARM Cortex-M1 ?

2015-02-14 Thread Joel Sherrill


On February 14, 2015 10:38:13 AM CST, Alan Cudmore alan.cudm...@gmail.com 
wrote:
Thanks for the info.. so it sounds like a new BSP and some changes to
the ARMV7-M code in score. 

I wouldn't think there is a lot of work. Just tweaks to avoid instructions not 
available. 

The project will also look at some other fpga based cpus. I'm glad to
see the openrisc and microblaze work going on.

OpenRISC should be in good shape but your board may have more peripherals.

Hesham has been making progress on Microblaze. He can update us.

Alan

On Feb 14, 2015 8:29 AM, Sebastian Huber
sebastian.hu...@embedded-brains.de wrote:

On 14/02/15 14:27, Sebastian Huber wrote:

On 14/02/15 12:48, Daniel Gutson wrote:

We're developing support for the
cortex M 4 so we can let you know once we commit the patches so you can
have a starting point in case an emulator is also needed.


The Cortex-M4 is already supported including the FPU (e.g. LPC4088).


Hm, I should read more carefully.  You added a Cortex-M4 support for
Qemu including the FPU?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

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

--joel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: RTEMS for ARM Cortex-M1 ?

2015-02-14 Thread Alan Cudmore
Thanks for the info.. so it sounds like a new BSP and some changes to the
ARMV7-M code in score.

The project will also look at some other fpga based cpus. I'm glad to see
the openrisc and microblaze work going on.
Alan
On Feb 14, 2015 8:29 AM, Sebastian Huber 
sebastian.hu...@embedded-brains.de wrote:

 On 14/02/15 14:27, Sebastian Huber wrote:

 On 14/02/15 12:48, Daniel Gutson wrote:

 We're developing support for the
 cortex M 4 so we can let you know once we commit the patches so you can
 have a starting point in case an emulator is also needed.


 The Cortex-M4 is already supported including the FPU (e.g. LPC4088).


 Hm, I should read more carefully.  You added a Cortex-M4 support for Qemu
 including the FPU?

 --
 Sebastian Huber, embedded brains GmbH

 Address : Dornierstr. 4, D-82178 Puchheim, Germany
 Phone   : +49 89 189 47 41-16
 Fax : +49 89 189 47 41-09
 E-Mail  : sebastian.hu...@embedded-brains.de
 PGP : Public key available on request.

 Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

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

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

Re: RTEMS for ARM Cortex-M1 ?

2015-02-13 Thread Sebastian Huber

On 14/02/15 02:58, Cudmore, Alan P. (GSFC-5820) wrote:

A project is looking at using RTEMS on an FPGA based ARM Cortex-M1 like
the one in the Microsemi ProAsic3L development kit:
http://www.microsemi.com/products/fpga-soc/design-resources/dev-kits/proasi
c3/cortex-m1-enabled-proasic3l-development-kit

Wikipedia says the Cortex-M1 is an ARMv6M architecture.
http://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M1

I see that there is ARMv7M support in score, would a similar port be
needed for ARMv6M?

Is an ARMv6M close to anything in RTEMS now?


The ARMv6M has a reduced instruction set compared to ARMv7M. We have an 
ARMv6M multilib, so the GCC part should be fine. You have to fix some 
ARMv7M assembly code in RTEMS (not much). I tried to do this two weeks a 
go, but after 10 minutes I gave up, since it had no priority for me.


--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

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