Re: Support for Freescale QorIQ T2080 and T4240

2014-12-15 Thread Joel Sherrill
On 12/15/2014 6:22 AM, Sebastian Huber wrote: > Hello, > > we work currently on a BSP for the Freescale QorIQ T2080 and T4240 > chips. The T4240 is a 12 core PowerPC supporting 24 virtual cores (two > virtual cores share a FPU and AltiVec unit). These chips use the e6500 > core which supports

Re: [PATCH] Add GPIO, I2C and SPI support for the RPi BSP

2014-12-15 Thread Chris Johns
On 16/12/2014 7:19 am, Alan Cudmore wrote: Is the ARM Zync BSP using the new i2c API? Yes. I was looking through the BSP and did not see how it is initialized. Support is optional with the Zynq because the user needs to route the pin correctly so by default it is not enabled. I use: #inc

Re: PowerPC gwlcfm and mpc5566evb build failure

2014-12-15 Thread Peter Dufault
> On Dec 15, 2014, at 13:33 , Joel Sherrill wrote: > > In file included from > ../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:23:0: > ../../../../.././gwlcfm/lib/include/mpc55xx/regs.h:83:4: error: #error > "unsupported chip type" > #error "unsupported chip type" I'm no

Re: [PATCH] Add GPIO, I2C and SPI support for the RPi BSP

2014-12-15 Thread Alan Cudmore
Is the ARM Zync BSP using the new i2c API? I was looking through the BSP and did not see how it is initialized. Also, the current libi2c supports SPI. Does anyone see a problem with using libi2c for SPI and the new i2c API for i2c? Finally, will new i2c drivers go in libchip, or in cpukit/dev ?

PowerPC gwlcfm and mpc5566evb build failure

2014-12-15 Thread Joel Sherrill
Hi Both fail with this. powerpc-rtems4.11-gcc --pipe -B../../../../.././lib/ -B../../../../.././gwlcfm/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-lib-libcpu-powerpc\" -DPACKAGE_TARNAME=\"rtems-c-src-lib-libcpu-powerpc\" -DPACKAGE_VERSION=\"4.10.99.0\" -DPACKAGE_STRING=\"rtems-c-sr

Re: [PATCH] fix warnings found when building beagle bsp

2014-12-15 Thread Ben Gras
Okay. On Mon, Dec 15, 2014 at 6:39 PM, Gedare Bloom wrote: > In the future try to use git-send-email if you can. Inline patches > especially this small are much easier to review. > > Go ahead and apply. > -Gedare > > On Mon, Dec 15, 2014 at 11:34 AM, Ben Gras wrote: >> gah. >> >> >> On Mon, Dec

Re: [PATCH] fix warnings found when building beagle bsp

2014-12-15 Thread Joel Sherrill
On 12/15/2014 11:42 AM, Gedare Bloom wrote: > In the future try to use git-send-email if you can. Inline patches > especially this small are much easier to review. The --cover-letter is a nice option when sending a large related batch. :) > Go ahead and apply. > -Gedare > > On Mon, Dec 15, 2014 at

Re: [PATCH] fix warnings found when building beagle bsp

2014-12-15 Thread Gedare Bloom
In the future try to use git-send-email if you can. Inline patches especially this small are much easier to review. Go ahead and apply. -Gedare On Mon, Dec 15, 2014 at 11:34 AM, Ben Gras wrote: > gah. > > > On Mon, Dec 15, 2014 at 1:48 PM, Ben Gras wrote: >> The extra includes in console_*.c ar

Re: [PATCH] doc: Add multilib section to CPU supplement

2014-12-15 Thread Gedare Bloom
Great! "multilib" stuff is very confusing for a new developer. The added documentation is nice. I suggest 2 changes below. I only read general.t changes. On Mon, Dec 15, 2014 at 9:35 AM, Sebastian Huber wrote: > Add multilib section for ARM and PowerPC > --- > doc/cpu_supplement/arm.t | 57

Re: [PATCH] fix warnings found when building beagle bsp

2014-12-15 Thread Ben Gras
gah. On Mon, Dec 15, 2014 at 1:48 PM, Ben Gras wrote: > The extra includes in console_*.c are to solve a 'no previous prototype' > warning. > > Solves #2212 in trac. From 5104e9abb8205394996e060669c4ce05a4d33aaf Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 15 Dec 2014 13:35:26 +0100 Subje

Re: build failure on moxie-rtems

2014-12-15 Thread Sebastian Huber
On 14/12/14 23:28, Chris Johns wrote: On 13/12/2014 2:13 am, Joel Sherrill wrote: On December 12, 2014 9:12:53 AM CST, Anthony Green wrote: Joel Sherrill writes: Hi Do we need a newer binutils? Yes.. we're still waiting for binutils 2.25. It branched last month, but I don't know whe

[PATCH] doc: Add multilib section to CPU supplement

2014-12-15 Thread Sebastian Huber
Add multilib section for ARM and PowerPC --- doc/cpu_supplement/arm.t | 57 doc/cpu_supplement/general.t | 30 +++ doc/cpu_supplement/powerpc.t | 34 ++ 3 files changed, 121 insertions(+) diff --git a/doc

[PATCH] Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM

2014-12-15 Thread Sebastian Huber
This define was superfluous, undocumented and used inconsistently. --- cpukit/libi2c/libi2c.h | 5 ++--- cpukit/libmisc/dummy/default-configuration.c | 1 - testsuites/fstests/fsbdpart01/init.c | 2 -- testsuites/fstests/fsdosfsformat01/init.c | 2 -- tests

Re: Is this a bug in libi2c ?

2014-12-15 Thread Sebastian Huber
On 10/12/14 15:21, Tom wrote: yes , you are right. I should be more careful This is not a problem at all. It is better to ask, than not to ask. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47

[PATCH] fix warnings found when building beagle bsp

2014-12-15 Thread Ben Gras
The extra includes in console_*.c are to solve a 'no previous prototype' warning. Solves #2212 in trac. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Support for Freescale QorIQ T2080 and T4240

2014-12-15 Thread Sebastian Huber
Hello, we work currently on a BSP for the Freescale QorIQ T2080 and T4240 chips. The T4240 is a 12 core PowerPC supporting 24 virtual cores (two virtual cores share a FPU and AltiVec unit). These chips use the e6500 core which supports the 64-bit PowerPC instruction set. We will only use th

[PATCH v2] RTEMS: Add e6500 multilibs for PowerPC

2014-12-15 Thread Sebastian Huber
Use 32-bit instructions only since currenlty there is no demand for a larger address space. Provide one multilib with FPU and AltiVec support and one without. This patch should be applied to GCC 4.9 and mainline. I do not have write access, so in case this gets approved, please commit it for me.

[PATCH 2/3] RTEMS: Fix MPC8540 multilibs for PowerPC

2014-12-15 Thread Sebastian Huber
GCC generates SPE instructions even if -msoft-float is specified. Explicitly add -mno-spe to prevent generation of SPE instructions. This multilib variant must not lead to a usage of the SPE. This patch should be applied to GCC 4.9 and mainline. I do not have write access, so in case this gets a

[PATCH 1/3] RTEMS: Use MULTILIB_REQUIRED for PowerPC

2014-12-15 Thread Sebastian Huber
This patch should be applied to GCC 4.9 and mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-12-15 Sebastian Huber * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of MULTILIB_EXCEPTIONS. --- gcc/config/rs6

[PATCH 3/3] RTEMS: Add e6500 multilibs for PowerPC

2014-12-15 Thread Sebastian Huber
Use 32-bit instructions only since currenlty there is no demand for a larger address space. Provide one multilib with FPU and AltiVec support and one without. This patch should be applied to GCC 4.9 and mainline. I do not have write access, so in case this gets approved, please commit it for me.

[PATCH 2/2] RTEMS: Use MULTILIB_REQUIRED for ARM

2014-12-15 Thread Sebastian Huber
This patch should be applied to GCC mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-12-15 Sebastian Huber * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of MULTILIB_EXCEPTIONS. --- gcc/config/arm/t-rtems |

[PATCH 1/2] RTEMS: Rename ARM target config files

2014-12-15 Thread Sebastian Huber
Now that we only have the EABI configuration for RTEMS rename the files to match the pattern used for the other RTEMS targets. This patch should be applied to GCC mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-12-15 Sebastian Hub