Re: [PATCH 1/3] rbtree: Format

2014-07-29 Thread Chris Johns

On 22/07/2014 11:38 pm, Gedare Bloom wrote:

Thanks, I have added a section at
http://www.rtems.org/wiki/index.php/Coding_Conventions#Tools and
uploaded/linked to your configuration.


Why not add to the source tree with a note ? Wiki pages are great if you 
know they exist !!


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


Re: [PATCH] Fix headers and add RTC to altera-cyclone-v BSP.

2014-07-29 Thread Christian Mauderer
Hello,

thanks for clarifying the licensing issues with the hwlib Chris.

After that problem is resolved, you can find the resubmission of the second
patch as an answer to this mail.

Please don't hesitate to make any comments to this or one of the other two
patches.

Kind regards

Christian Mauderer

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


RSB 0.4.0

2014-07-29 Thread Chris Johns

Hi,

I have pushed RSB 0.4.0. It contains the following:

 - GCC 4.8.3 targets are arm, avr, bfin, h8300, i386, m32c,
   m32r, m68k, microblaze, mips, moxie, powerpc, sh, sparc,
   sparc64. Newlib is CVS 26-Jul-2014.

 - GCC 4.9.1 targets are lm32, nios2. Newlib is
   CVS 26-Jul-201.4

 - Show the download status when downloading.

 - Add checksum support for files.

 - ARM support for Cortex-M4 and Cortex-R based chips.

 - Add support for building 3rd Party packages for RTEMS. Add
   NTP and Net-SNMP as examples.

With the checksum support if a file does not have checksum defined a 
warning message is generated. Please send me patches with the hash to 
help clean this up.


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


Re: [PATCH] Fix headers and add RTC to altera-cyclone-v BSP.

2014-07-29 Thread Chris Johns

On 29/07/2014 5:37 pm, Christian Mauderer wrote:


After that problem is resolved, you can find the resubmission of the second
patch as an answer to this mail.



The original message has been approved.

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


Raspberry Pi BSP SPI bus

2014-07-29 Thread Andre Marques

Hello,

The Raspberry Pi SPI bus on the P1 GPIO header is already working, both 
through polling and interrupts on the bus FIFOS, and has been tested 
with a microchip 23k256 SRAM device.


The bus code can be found in:

https://github.com/asuol/rtems/blob/GPIO_API/c/src/lib/libbsp/arm/raspberrypi/i2c/spi.c

The 23k256 SRAM minimal device driver (based in the 
libchip/i2c/spi-memdrv driver) used to test the bus can be found in:


https://github.com/asuol/rtems/blob/GPIO_API/c/src/libchip/i2c/23k256.c

The application that tests the device can be found in:

https://github.com/asuol/rtems/blob/GPIO_API/testsuites/samples/SPI_23k256_TEST/init.c

Alan, from what I have seen of your adafruit FRAM device datasheet I 
recon that it should also work with my 23k256 driver if you comment out 
lines 65 through 106, as it just sets the device in sequential mode 
which your device already uses.


The current pending issues with the SPI implementation are:

- Currently the bus is registered in the system through a function 
called on an application. Should it stay this way or should the bus be 
registered in the system in the predriver-hook during the BSP startup?


- It can currently work either in polling or interrupt mode, as well as 
in either 3-wire mode (miso, mosi, and sclk) or in 2-wire mode 
(bi-directional mode by turning the bus around in the mosi data line, 
although this stills needs to be tested with another device). These 
configuration options are currently made staticaly during the SPI bus 
initialization, but they should be made elsewhere by the user. Should 
these options be passed to the bus register function or through define 
constants?


Thanks,
André Marques.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Fwd: [ANNOUNCEMENT] GDB 7.8 released!

2014-07-29 Thread Joel Sherrill



 Original Message 
From: Joel Brobecker 
Sent: July 29, 2014 10:59:39 AM EDT
To: "g...@sourceware.org" 
Subject: [ANNOUNCEMENT] GDB 7.8 released!



GDB 7.8 released!

Release 7.8 of GDB, the GNU Debugger, is now available via anonymous
FTP.  GDB is a source-level debugger for Ada, C, C++, Objective-C,
Pascal and many other languages.  GDB can target (i.e., debug programs
running on) more than a dozen different processor architectures, and GDB
itself can run on most popular GNU/Linux, Unix and Microsoft Windows
variants.

You can download GDB from the GNU FTP server in the directory:

ftp://ftp.gnu.org/gnu/gdb

The vital stats:

  Size   md5sumName
  17MiB  bd958fe9019d7c7896f29f6724a764ed  gdb-7.8.tar.xz
  32MiB  38d816d641093db2e13ba284e26090b4  gdb-7.8.tar.gz

There is a web page for GDB at:

http://www.gnu.org/software/gdb/

That page includes information about GDB mailing lists (an announcement
mailing list, developers discussion lists, etc.), details on how to
access GDB's source repository, locations for development snapshots,
preformatted documentation, and links to related information around
the net.  We will put errata notes and host-specific tips for this release
on-line as any problems come up.  All mailing lists archives are also
browsable via the web.

GDB 7.8 brings new targets, features and improvements, including:

  * Guile scripting support.

  * Python scripting enhancements.

  * New commands:

** guile
** guile-repl
** info auto-load guile-scripts [REGEXP]

  * New options:

** maint ada set ignore-descriptive-types (on|off)
** maint set target-async (on|off)
** set|show auto-load guile-scripts (on|off)
** set|show auto-connect-native-target
** set|show guile print-stack (none|message|full)
** set|show mi-async (on|off)
** set|show print symbol-loading (off|brief|full)
** set|show record btrace replay-memory-access (read-only|read-write)

  * Deprecated commands:

** "dll-symbols" and its two aliases ("add-shared-symbol-files" and
   "assf"). Use the "sharedlibrary" command instead.
** "set|show remotebaud". Use "set|show serial baud" instead.

  * Remote Protocol:

** The qXfer:btrace:read packet supports a new annex 'delta'.

  * GDB/MI:

** A new option "-gdb-set mi-async" replaces "-gdb-set target-async".

  * New target configurations:

** PowerPC64 GNU/Linux little-endian   powerpc64le-*-linux*

 * btrace enhancements:

** The btrace record target now supports the 'record goto' command.
** The btrace record target supports limited reverse execution and
   replay.

 * ISO C99 variable length automatic arrays support.

 * It is no longer required to "set target-async on" in order to use
   background execution commands (e.g., "c&", "s&", etc.).

 * "catch syscall" now implemented on s390*-linux* targets.

 * The "compare-sections" command now works on all targets.

 * The "target native" command now connects to the native target, and
   can be used to launch native programs, even if "set
   auto-connect-native-target" is set to off.

For a complete list and more details on each item, please see the
gdb/NEWS file.

-- 
Joel Brobecker

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


Should the type of deviceOutputUsesInterrupts in console_fns struct be changed ?

2014-07-29 Thread Tom
 
c/src/libchip/serial/serial.h
 
 
typedef struct _console_fns {
  bool(*deviceProbe)(int minor);
  int (*deviceFirstOpen)(int major, int minor, void *arg);
  int (*deviceLastClose)(int major, int minor, void *arg);
  int (*deviceRead)(int minor);
  ssize_t (*deviceWrite)(int minor, const char *buf, size_t len);
  void(*deviceInitialize)(int minor);
  void(*deviceWritePolled)(int minor, char cChar);
  int (*deviceSetAttributes)(int minor, const struct termios *t);
  bool  deviceOutputUsesInterrupts;
} console_fns;

 
Now three modes are supported in  console :  poll, interrupt, task
 
So,   should the type of deviceOutputUsesInterrupts in console_fns struct be 
changed ?
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel