Re: [GSOC] rtems GPIO API

2014-05-24 Thread Andre Marques
On 05/23/14 01:08, Alan Cudmore wrote: Hi Andre, Please see my comments below: Alan On 5/22/2014 6:30 PM, Andre Marques wrote: Hello, I will start my GSOC project with a GPIO driver for the RPi BSP, and part of the GPIO driver code will not be specific to the RPi but to any board with a

Re: Fwd: Re: [GSOC] rtems GPIO API

2014-05-24 Thread Andre Marques
On 05/23/14 17:57, Chris Nott wrote: My two cents: On 22/05/2014 3:30 PM, Andre Marques wrote: Hello, I will start my GSOC project with a GPIO driver for the RPi BSP, and part of the GPIO driver code will not be specific to the RPi but to any board with a GPIO interface. With code reuse in

[GSOC] rtems GPIO API

2014-05-22 Thread Andre Marques
(int gpio) rtems_gpio_read_value (int gpio) And interrupt management: rtems_int_enable (int gpio, rtems_interrupt_level int) rtems_int_disable (int gpio) rtems_int_clear (int gpio) Would appreciate some feedback on this. --Andre Marques. ___ rtems-devel mailing list r

Re: [GSOC] RPi BSP RTEMS

2014-05-13 Thread Andre Marques
On 05/09/14 03:24, Alan Cudmore wrote: I have not had much time to figure out why GDB is not working with the Pi/openOCD setup yet. But I started documenting my setup. The hardware details are here: http://alanstechnotes.blogspot.com/2014/05/a-low-cost-jtag-debugger-for-raspberry.html Next I w

Re: [GSOC] RPi BSP memory barrier

2014-05-13 Thread Andre Marques
On 05/09/14 07:04, Sebastian Huber wrote: On 2014-05-08 18:51, Andre Marques wrote: On 05/05/14 11:50, Sebastian Huber wrote: On 2014-05-05 12:43, Andre Marques wrote: Any thoughts on this? Why not use C11 atomic operations? Well, I didn't know they existed, thank you! Since I hav

Re: Rtems_fsmount dosfs hanging

2014-05-13 Thread Andre Marques
t reads the first two partition blocks and then hangs. If you get stuck share your sources and let me know. Will try to get the code to github soon. 2014-05-13 14:03 GMT+04:00 Andre Marques mailto:andre.lousa.marq...@gmail.com>>: On 05/12/14 19:25, Andrey Mozzhuhin wrote:

Re: Rtems_fsmount dosfs hanging

2014-05-13 Thread Andre Marques
On 05/13/14 17:43, Ric Claus wrote: I did this same kind of thing almost a year ago (for a Zynq project), but starting from the U-Boot sources. (I understand there are licensing issues that prevent it from being included in RTEMS.) In the process of debugging it, I found that one pattern tha

Re: Rtems_fsmount dosfs hanging

2014-05-13 Thread Andre Marques
specs/archive/part1_301.pdf Host Controller Simplified Specification (2.00) - https://www.sdcard.org/downloads/pls/simplified_specs/archive/partA2_200.pdf and the raspberry soc datasheet: Broadcom BCM2835 Peripherals Guide (Chapter 5 - EMMC) 2014-05-12 20:23 GMT+04:00 Andre Ma

Re: Rtems_fsmount dosfs hanging

2014-05-12 Thread Andre Marques
1) format partition under RTEMS with msdos_format() function; 2) check that PC can read/write this SD Card; 3) if PC fails to mount this partition - dump SD Card and check that all data is on right sectors. 2014-05-05 13:52 GMT+04:00 Andre Marques mailto:andre.lousa.marq...@

Re: [GSOC] RPi BSP memory barrier

2014-05-08 Thread Andre Marques
On 05/05/14 11:50, Sebastian Huber wrote: On 2014-05-05 12:43, Andre Marques wrote: Any thoughts on this? Why not use C11 atomic operations? Well, I didn't know they existed, thank you! Since I have not used them before, please check if I'm thinking this right. 1. Include r

[GSOC] RPi BSP memory barrier

2014-05-05 Thread Andre Marques
Hello, I have updated the blog [1] last week with some info on memory barriers for the ARM achitecture. As for the RPi BSP, the needed inline assembly may be implemented in three ways: 1. Any explicit memory access is done through a function, which wraps the memory access instruction with

Rtems_fsmount dosfs hanging

2014-05-05 Thread Andre Marques
Hello, Following the problem in http://www.rtems.org/pipermail/rtems-devel/2014-April/006585.html I am now trying to mount the SD card partitions on RTEMS. Summarizing the process: 1. rtems_io_register_driver (by calling my driver with CONFIGURE_APPLICATION_EXTRA_DRIVERS on hello sample) 2

Re: SD card libblock bdpart linker problem

2014-04-29 Thread Andre Marques
h the configuration in your code. I have configured the base filesystem to IMFS (as used in the fstests/fsbdpart01) instead of the devfs used on samples/hello and it compiles now. Thanks for the help. On Mon, Apr 28, 2014 at 2:56 PM, Andre Marques mailto:andre.lousa.marq...@gmai

SD card libblock bdpart linker problem

2014-04-28 Thread Andre Marques
Hello, I am currently working on an emmc driver for the Raspberry Pi, and I am trying to mount the SD card using libblock on RTEMS GIT HEAD. To mount the SD card I am doing: 1. rtems_io_register_driver (by calling my driver with CONFIGURE_APPLICATION_EXTRA_DRIVERS on hello sample) 2. rtems

Re: [GSoC] Wiki page for the project

2014-04-26 Thread Andre Marques
Hello, On 04/26/14 17:00, Hesham Moustafa wrote: Hi all, I wanna create a Wiki page for my project, but I see no clear instructions for dealing with the website. Please provide me with any links and/or templates that may help. On the Open Projects page: http://www.rtems.org/wiki/index.php/Op

Re: [GSOC] RPi BSP RTEMS

2014-04-25 Thread Andre Marques
I'm taking this conversation to the list. On 04/23/14 01:21, Alan Cudmore wrote: On Tue, Apr 22, 2014 at 6:09 AM, Andre Marques mailto:andre.lousa.marq...@gmail.com>> wrote: Hello, I am very pleased to have the opportunity to participate in GSoC with the RT

Re: Raspberry Pi SD card support

2014-04-22 Thread Andre Marques
On 04/17/14 19:21, Alan Cudmore wrote: On 4/17/2014 5:42 AM, Andre Marques wrote: On 04/17/14 03:22, Alan Cudmore wrote: On Wed, Apr 16, 2014 at 4:49 PM, Joel Sherrill mailto:joel.sherr...@oarcorp.com>> wrote: On 4/16/2014 2:06 PM, Alan Cudmore wrote: On Thu, Apr 10, 201

Re: Raspberry Pi SD card support

2014-04-17 Thread Andre Marques
On 04/17/14 03:22, Alan Cudmore wrote: On Wed, Apr 16, 2014 at 4:49 PM, Joel Sherrill mailto:joel.sherr...@oarcorp.com>> wrote: On 4/16/2014 2:06 PM, Alan Cudmore wrote: On Thu, Apr 10, 2014 at 7:11 PM, Andre Marques mailto:andre.lousa.marq...@gmail.com>> wrote:

Re: Raspberry Pi SD card support

2014-04-10 Thread Andre Marques
possibility, using a TFTP server. Alan On Wed, Apr 2, 2014 at 12:02 PM, Andre Marques wrote: Hello, I'm intending to work in the SD card support for the Raspberry Pi BSP, using the SD mode instead of the SPI mode. The references I have gathered so far for this are as follows: T

Raspberry Pi SD card support

2014-04-02 Thread Andre Marques
Hello, I'm intending to work in the SD card support for the Raspberry Pi BSP, using the SD mode instead of the SPI mode. The references I have gathered so far for this are as follows: The Raspberry Pi SOC guide: Broadcom BCM2835 Peripherals Guide (Chapter 5 - EMMC) The simplified SD standa

Newlib locking (GSoC 2014)

2014-03-11 Thread Andre Marques
Hello, The previous discussion topic title wasn't in sync with the conversation anymore http://www.rtems.org/pipermail/rtems-devel/2014-March/005821.html so I'm creating this one. I have been searching for some info on this beyond bugzilla without much luck https://www.rtems.org/bugzilla/

Re: SuperCore Scheduler (GSOC 2014)

2014-03-10 Thread Andre Marques
On 03/10/14 07:37, Sebastian Huber wrote: On 2014-03-09 18:51, Andre Marques wrote: The problem is everything in the SMP task list seems to be already under way. Maybe it would be better for me to focus outside SMP for GSoC. For POSIX I could: - Continue rename() test case (including the

Re: SuperCore Scheduler (GSOC 2014)

2014-03-09 Thread Andre Marques
Asynchronous_IO) - Test POSIX FIFOS (http://www.rtems.org/wiki/index.php/POSIXFIFOs) - Solve some issues with newlib (http://www.rtems.org/wiki/index.php/POSIX_Methods_in_NewLib_RTEMS_improvements) What do you think? --Andre Marques. On Sat, Mar 8, 2014 at 1:38 PM, Andre Marques wrote:

Re: SuperCore Scheduler (GSOC 2014)

2014-03-08 Thread Andre Marques
other entities. Thank you for your time. --Andre Marques. On 03/04/14 16:41, Andre Marques wrote: Thanks for the responses. What about thread processor affinity? http://www.rtems.org/wiki/index.php/SMP#Processor_Affinity I have seen Sebastian's opinion about it at http://www.rtems.org/p

Re: SuperCore Scheduler (GSOC 2014)

2014-03-04 Thread Andre Marques
14:16, Gedare Bloom wrote: On Mon, Mar 3, 2014 at 2:21 AM, Sebastian Huber wrote: On 2014-03-01 01:13, Andre Marques wrote: Hello, As stated in [1] I will be working with RTEMS for my undergraduate thesis, but I'm also looking to work with RTEMS through GSOC. For the last month I have be

SuperCore Scheduler (GSOC 2014)

2014-02-28 Thread Andre Marques
Hello, As stated in [1] I will be working with RTEMS for my undergraduate thesis, but I'm also looking to work with RTEMS through GSOC. For the last month I have been working on a test case to check rename() POSIX compliance. For GSOC, however, I would like to work on a SMP-aware scheduler,

[PATCH v2] New fstest to check rename POSIX conformance

2014-02-22 Thread Andre Marques
so this is postponed for now) Any problem with the patch please let me know. --André Marques >From 01bd91abd04f5f9c24e20254eedbe4eacadae62c Mon Sep 17 00:00:00 2001 From: Andre Marques Date: Sat, 22 Feb 2014 21:15:06 + Subject: [PATCH] New fstest to check rename POSIX conformance --

Re: [PATCH] New fstest to check rename POSIX conformance

2014-02-21 Thread Andre Marques
On 02/21/14 13:43, Sebastian Huber wrote: On 2014-02-21 14:38, Andre Marques wrote: I tried to create a ramdisk as in http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__rtems__ramdisk.html#gac6c99eed9f3b92bb4cf5184b25972e65 but the program exits during the rtems_blkdev_create

Re: [PATCH] New fstest to check rename POSIX conformance

2014-02-21 Thread Andre Marques
On 02/21/14 08:12, Sebastian Huber wrote: On 2014-02-20 00:36, Andre Marques wrote: - Testing errno values in error situations. There is already a fstest named fserror which purpose seems to be checking errno values for a bunch of functions (rename included, but with some errno values

Re: [PATCH] New fstest to check rename POSIX conformance

2014-02-19 Thread Andre Marques
On 02/19/14 14:00, Sebastian Huber wrote: On 2014-02-19 11:27, Andre Marques wrote: Sorry for the delay. I'm almost ready to send the patch with the test, but there are some questions. This is nice. On 02/10/14 08:14, Sebastian Huber wrote: Hello Andre, thanks for the test case

Re: [PATCH] New fstest to check rename POSIX conformance

2014-02-19 Thread Andre Marques
Sorry for the delay. I'm almost ready to send the patch with the test, but there are some questions. On 02/10/14 08:14, Sebastian Huber wrote: Hello Andre, thanks for the test case. On 2014-02-08 13:26, Andre Marques wrote: Hi, As discussed in [1], I created a new fstest to chec

Re: [PATCH] New fstest to check rename POSIX conformance

2014-02-11 Thread Andre Marques
On 02/11/14 01:07, Nick Withers wrote: On Sat, 2014-02-08 at 12:26 +, Andre Marques wrote: Hi, As discussed in [1], I created a new fstest to check the rename() implementation against the POSIX specification [2]. What the attached patch does not test: - Testing the existance of a link

[PATCH] New fstest to check rename POSIX conformance

2014-02-08 Thread Andre Marques
ques >From fe91c9c1072112c5d191a231da0ef4c04159dce6 Mon Sep 17 00:00:00 2001 From: Andre Marques Date: Sat, 8 Feb 2014 11:40:49 + Subject: [PATCH] New fstest to check rename POSIX conformance --- testsuites/fstests/Makefile.am | 1 + testsuites/fstests/configure.ac| 1 + tests