RTEMS-libbsd copyright question

2017-06-18 Thread Sichen Zhao
Hi all, I have a question about copyright in rtems-libbsd: i ported some usb driver files from FreeBSD, i modified somewhere in these files to suit with rtems-libbsd. Should i add my copyright in these file? Besides, I also modified some files in the rtemsbsd folder,. Should i add my copyright

Re: [PATCH] Fix beagle bsp irq issue

2017-06-18 Thread Sichen Zhao
Ok. Best Regards Sichen Zhao From: devel on behalf of Chris Johns Sent: Monday, June 19, 2017 10:01 To: Sichen Zhao; devel@rtems.org Cc: punitv...@gmail.com; christian.maude...@embedded-brains.de Subject: Re: [PATCH] Fix beagle bsp irq issue On 18/06/2

Re: [PATCH] Fix beagle bsp irq issue

2017-06-18 Thread Chris Johns
On 18/06/2017 00:31, Sichen Zhao wrote: > Enable/disable vector routines now check for a valid vector. > Without these guards, the enable/disable vector routines > will not work with the interrupt server. I am rejecting this change until this thread is resolved: https://lists.rtems.org/pipermail/

Re: Valid interrupt vectors and the interrupt server

2017-06-18 Thread Chris Johns
On 18/06/2017 17:45, Christian Mauderer wrote: > > yes the interrupt server uses an pseudo interrupt on _every_ target: > > https://git.rtems.org/rtems/tree/c/src/lib/libbsp/shared/src/irq-server.c?id=ae359a9df#n31 Thanks. It would be nice to have a comment that gave us a hint on what the inter

Re: Are you happy with how the project is going?

2017-06-18 Thread Denis Obrezkov
Hesham, could you check what is the value of rtems_minimum_stack_size in your SPIKE executable? 2017-06-18 22:10 GMT+03:00 Denis Obrezkov : > Hello all, > > I was able to proceed further via setting rtems_minimum_stack_size > manually to 0x200. > Now I have another error, my backtrace: > #0 0x20

Re: [PATCH] Fix beagle bsp irq issue

2017-06-18 Thread Gedare Bloom
On Sun, Jun 18, 2017 at 9:04 AM, Sichen Zhao wrote: > No, i don't think it should return an error. > The interrupt server uses one pseudo interrupt number. It only works if these > functions don't do anything odd and don't return an error for a vector that > is out of range. > I'm not convinced,

Re: Are you happy with how the project is going?

2017-06-18 Thread Denis Obrezkov
Hello all, I was able to proceed further via setting rtems_minimum_stack_size manually to 0x200. Now I have another error, my backtrace: #0 0x20403728 in _Internal_error (core_error=INTERNAL_ERROR_WORKSPACE_ALLOCATION) at /home/reprofy/Projects/riscv/rtems/development/rtems/kernel/rtems-riscv

Re: [PATCH] Fix beagle bsp irq issue

2017-06-18 Thread Sichen Zhao
No, i don't think it should return an error. The interrupt server uses one pseudo interrupt number. It only works if these functions don't do anything odd and don't return an error for a vector that is out of range. Christian has the same issue, and he explained it: https://lists.rtems.org/pip

Re: [PATCH] Fix beagle bsp irq issue

2017-06-18 Thread Gedare Bloom
On Sat, Jun 17, 2017 at 10:31 AM, Sichen Zhao <1473996...@qq.com> wrote: > Enable/disable vector routines now check for a valid vector. > Without these guards, the enable/disable vector routines > will not work with the interrupt server. > --- > c/src/lib/libbsp/arm/beagle/irq.c | 22 +

Re: Valid interrupt vectors and the interrupt server

2017-06-18 Thread Christian Mauderer
- Ursprüngliche Mail - > Von: "Chris Johns" > An: "Christian Mauderer" , > devel@rtems.org > Gesendet: Sonntag, 18. Juni 2017 04:31:22 > Betreff: Re: Valid interrupt vectors and the interrupt server > On 18/6/17 2:17 am, Christian Mauderer wrote: >> Hello, >> >> I had a problem recently