Re: Testing the interrupt extension API?

2019-10-11 Thread Christian Mauderer
wasteful. > I don't remember the exact controller but I think I once found a watchdog that could only be enabled. Of course Watchdogs cause resets most of the time and not interrupts that can be processed by software. So I'm not sure whether it's relevant. Best regards Christian -- -

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2019-10-04 Thread Christian Mauderer
On 04/10/2019 20:38, dufa...@hda.com wrote: >> On Oct 4, 2019, at 08:59 , Christian Mauderer wrote: >> >> >> That's great news. I'm quite sure we tried some external oscillators >> back then too without luck. Might I ask which types (drive strength, >> ppm,

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2019-10-04 Thread Christian Mauderer
On 04/10/2019 14:17, dufa...@hda.com wrote: > > >> On Nov 25, 2018, at 14:45 , Christian Mauderer > <mailto:l...@c-mauderer.de>> wrote: >> >> Thomas mentioned already the bug that has been reported to Microchip. >> Please note that I had two more pro

Re: [PATCH] bsps/beagle: update i2c section

2019-09-27 Thread Christian Mauderer
Hello Vijay, thanks for the update. I pushed it. Best regards Christian On 24/09/2019 20:44, Vijay Kumar Banerjee wrote: > --- > user/bsps/arm/beagle.rst | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/user/bsps/arm/beagle.rst b/user/bsps/arm/beagle.rst > index

Re: [PATCH v2] bsps/beagle: register i2c device at initialization

2019-09-19 Thread Christian Mauderer
Thanks for the patch. Now it's OK and I pushed it (with an indentation fix). Best regards Christian On 19/09/2019 20:56, Vijay Kumar Banerjee wrote: > > > > On Fri, Sep 20, 2019 at 12:08 AM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 19

Re: [PATCH v2] bsps/beagle: register i2c device at initialization

2019-09-19 Thread Christian Mauderer
On 19/09/2019 19:48, Vijay Kumar Banerjee wrote: > > > > On Thu, Sep 19, 2019 at 10:05 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Hello Vijay, > > sorry for being picky: What happens if something goes wrong during that

Re: [PATCH v2] bsps/beagle: register i2c device at initialization

2019-09-19 Thread Christian Mauderer
Hello Vijay, sorry for being picky: What happens if something goes wrong during that initialization? For example: If the system has a configuration where /dev/i2c0 can't be created. In that case it will just silently fail to create the i2c-0 which maybe leads to odd errors later. There's already

Re: [PATCH 1/1] bsps/beagle: register i2c device at initialization

2019-09-18 Thread Christian Mauderer
Hello Vijay, I tried it and the patch works. But there is a point that might could be improved: My application can still call bbb_register_i2c_0(). If I do that it returns an error code. That's better than if it would just initialize the bus twice. But it's not very clear from a user

Re: [PATCH 0/1] Add i2c in Beagle initialization

2019-09-18 Thread Christian Mauderer
On 18/09/2019 06:42, Chris Johns wrote: > On 18/9/19 8:03 am, Vijay Kumar Banerjee wrote: >> The following patch adds i2c device initialization in BBB. >> The intention is to have th i2c-0 device created during >> initialization so that the libbsd applications can use the >> RTEMS i2c device on

Re: [PATCH] Add lvgl_hello: Sample Hello world app using littleVGL and libbsd

2019-09-17 Thread Christian Mauderer
On 17/09/2019 21:04, Vijay Kumar Banerjee wrote: > > > > On Tue, Sep 17, 2019 at 2:21 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 17/09/2019 08:46, Vijay Kumar Banerjee wrote: > > > > > > On Th

Re: [PATCH] Add lvgl_hello: Sample Hello world app using littleVGL and libbsd

2019-09-17 Thread Christian Mauderer
On 17/09/2019 08:46, Vijay Kumar Banerjee wrote: > > > On Thu, Sep 12, 2019 at 2:37 PM Christian Mauderer > <mailto:christian.maude...@embedded-brains.de>> wrote: > > > > On 12/09/2019 10:28, Vijay Kumar Banerjee wrote: > > > > &g

Re: [PATCH] update rtems_waf

2019-09-17 Thread Christian Mauderer
On 17/09/2019 08:51, Vijay Kumar Banerjee wrote: > > > > On Fri, Sep 13, 2019 at 9:00 AM Chris Johns > wrote: > > On 11/9/19 6:14 pm, Vijay Kumar Banerjee wrote: > > ping :) > > Sorry about the delay. OK to push. > > Hi, > Thanks for the review! > Can

Re: [PATCH] Add lvgl_hello: Sample Hello world app using littleVGL and libbsd

2019-09-12 Thread Christian Mauderer
On 12/09/2019 10:28, Vijay Kumar Banerjee wrote: > > > > On Wed, Sep 11, 2019 at 4:38 PM Christian Mauderer > <mailto:christian.maude...@embedded-brains.de>> wrote: > > On 11/09/2019 10:48, Vijay Kumar Banerjee wrote: > > > >  H

Re: [PATCH] Add lvgl_hello: Sample Hello world app using littleVGL and libbsd

2019-09-11 Thread Christian Mauderer
On 11/09/2019 10:48, Vijay Kumar Banerjee wrote: > > > > On Thu, Sep 5, 2019 at 3:08 PM Christian Mauderer > <mailto:christian.maude...@embedded-brains.de>> wrote: > > Sorry for the late reply. This mail slipped my attention. > > On 03/09/2019 08:2

Re: [PATCH] Add lvgl_hello: Sample Hello world app using littleVGL and libbsd

2019-09-05 Thread Christian Mauderer
Sorry for the late reply. This mail slipped my attention. On 03/09/2019 08:22, Chris Johns wrote: > On 3/9/19 3:30 pm, Christian Mauderer wrote: >> On 03/09/2019 01:46, Chris Johns wrote: >>> On 2/9/19 5:42 pm, Vijay Kumar Banerjee wrote: >>>> On Mon, Sep

Re: [PATCH] update rtems_waf

2019-09-05 Thread Christian Mauderer
> bld(features = 'c cprogram', > target = 'fat_ramdisk.exe', > diff --git a/rtems_waf b/rtems_waf > index 1b89636..ad6c6e8 16 > --- a/rtems_waf > +++ b/rtems_waf > @@ -1 +1 @@ > -Subproject commit 1b896361d302aeda0145af90972aea863e28898f > +Subproject comm

Re: [PATCH] Add lvgl_hello: Sample Hello world app using littleVGL and libbsd

2019-09-02 Thread Christian Mauderer
: Is there something in the initialization that might is application specific? The still bad solution for pin config for example? (@Vijay: Bad because it's hard coded in I2C driver and not due to the double init.) Best regards Christian -- embedded brains

Re: [PATCH] rtemsbsd: remove dead code fb.c

2019-08-31 Thread Christian Mauderer
On 31/08/2019 20:37, Vijay Kumar Banerjee wrote: > > > On Sun, Sep 1, 2019 at 12:04 AM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Sorry. I've been lazy and hadn't tested it yet. After a short test I > just pushed it. Thanks for the patch. >

Re: [PATCH] rtemsbsd: remove dead code fb.c

2019-08-31 Thread Christian Mauderer
Sorry. I've been lazy and hadn't tested it yet. After a short test I just pushed it. Thanks for the patch. Best regards Christian On 31/08/2019 20:20, Vijay Kumar Banerjee wrote: > > ping :-) > > On Wed, Aug 28, 2019 at 6:13 PM Vijay Kumar Banerjee > mailto:vijaykumar9...@gmail.com>> wrote: >

Re: littleVGL now supports FreeBSD framebuffer

2019-08-30 Thread Christian Mauderer
sts.rtems.org/mailman/listinfo/devel > -- embedded brains GmbH Herr Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded-brains.de Phone: +49-89-18 94 741 - 18 Fax: +49-89-18 94 741 - 08

Re: LibBSD is not linking for the BBB BSP

2019-08-27 Thread Christian Mauderer
On 27/08/2019 21:43, Vijay Kumar Banerjee wrote: > Hello, > > I have sent a patch that fixes this issue: > https://lists.rtems.org/pipermail/devel/2019-August/027540.html > > Please try it with this patch. > > Christian: I have tested it with the sample app on BBB, can you please > review it?

Re: RTEMS Muilti-I/O lib is missing

2019-08-20 Thread Christian Mauderer
On 20/08/2019 09:05, Chris Johns wrote: > On 20/8/19 4:51 pm, Christian Mauderer wrote: >> On 20/08/2019 00:32, Chris Johns wrote: >>> On 20/8/19 5:12 am, Christian Mauderer wrote: >>>> On 19/08/2019 00:35, Chris Johns wrote: >>>>

Re: RTEMS Muilti-I/O lib is missing

2019-08-20 Thread Christian Mauderer
On 20/08/2019 00:32, Chris Johns wrote: > On 20/8/19 5:12 am, Christian Mauderer wrote: >> On 19/08/2019 00:35, Chris Johns wrote: >>> On 18/8/19 3:53 am, Joel Sherrill wrote: >>>> >>>> >>>> On Fri, Aug 16, 2019, 8:43 PM Chris Johns >>&g

Re: RTEMS Muilti-I/O lib is missing

2019-08-19 Thread Christian Mauderer
On 19/08/2019 00:35, Chris Johns wrote: > On 18/8/19 3:53 am, Joel Sherrill wrote: >> >> >> On Fri, Aug 16, 2019, 8:43 PM Chris Johns > > wrote: >> >> On 17/8/19 7:02 am, Joel Sherrill wrote: >> > FWIW the repo is git clone git://git.rtems.org/multiio.git >>

Re: littleVGL now supports FreeBSD framebuffer

2019-08-17 Thread Christian Mauderer
On 17/08/2019 18:05, Vijay Kumar Banerjee wrote: > > > > On Thu, Aug 15, 2019 at 3:46 AM Chris Johns > wrote: > > On 15/8/19 2:07 am, Vijay Kumar Banerjee wrote: > > I wrote a patch for lv_drivers repository to support FreeBSD > framebuffer > > in

Re: GSoC Final report review

2019-08-17 Thread Christian Mauderer
On 17/08/2019 17:18, Vijay Kumar Banerjee wrote: > > > On Thu, Aug 15, 2019 at 1:06 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 14/08/2019 18:41, Vijay Kumar Banerjee wrote: > > Hello all, > > > > I have prepared a

Re: Mounting/Accessing SD-Card on BBB

2019-08-17 Thread Christian Mauderer
Hello Nils, On 17/08/2019 14:04, Nils Hölscher wrote: > > > On Sat, 17 Aug 2019 at 13:34, Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Hello Nils, > > "sometimes" sounds odd. That needs a difference on each run. Do you use &g

Re: Mounting/Accessing SD-Card on BBB

2019-08-17 Thread Christian Mauderer
gt; Yes I checked with two cards and both are working fine on Linux. > > Best, > Nils > > Gedare Bloom mailto:ged...@rtems.org>> schrieb am > Fr., 16. Aug. 2019, 16:25: > > On Fri, Aug 16, 2019 at 6:04 AM Christian Mauderer > m

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Christian Mauderer
ed should be reproducible by removing SD-Card > after it was mounted. > And then the System should freeze when open is called on some file on > SD-Card. > System freezes can't be wanted behaviour. > > Best, > Nils > > On Fri, 16 Aug 2019 at 11:40, Christian Mauderer

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Christian Mauderer
PS: If neither the SD nor the eMMC has a bootable image your BBB falls back to serial and then USB boot anyway. So no need to change any boot pins. On 16/08/2019 11:38, Christian Mauderer wrote: > Hello Nils, > > if the U-Boot doesn't start from eMMC any more it won't be easy. > T

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Christian Mauderer
; > On Fri, 16 Aug 2019 at 11:03, Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 16/08/2019 10:55, Nils Hölscher wrote: > > Hi, > > > > It seems the problem was hardware related. > > My SD-Card connector just died. &

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Christian Mauderer
ck finding a replacement. For a quick workaround: I haven't tried that yet but if your on-board eMMC is still intact, you might can use that U-Boot to boot from USB. Best regards Christian > > On Fri, 16 Aug 2019 at 10:48, Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > >

Re: Mounting/Accessing SD-Card on BBB

2019-08-16 Thread Christian Mauderer
:50, Nils Hölscher <mailto:nilho...@gmail.com>> wrote: > > > On Thu, 15 Aug 2019 at 19:51, Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Hello Nils, > > maybe another bug in our FAT file system... > > Please

Re: Beagle: FDT support in BSP as a GSoC project?

2019-08-16 Thread Christian Mauderer
esn't have to add these (BSP specific) peripherals to a BSP specific config. By the way: I think it's good to discuss that. And it's a good point that should be on the list for a project like this. It can be a big part of the work depending on what solution we agree on. Best regards Christian >

Re: Beagle: FDT support in BSP as a GSoC project?

2019-08-15 Thread Christian Mauderer
On 12/08/2019 08:18, Chris Johns wrote: > On 12/8/19 3:51 pm, Christian Mauderer wrote: >> >> On 12/08/2019 03:33, Chris Johns wrote: >>> On 12/8/19 9:22 am, Joel Sherrill wrote: >>>> >>>> >>>> On Sun, Aug 11, 2019, 5:47 PM Chris Johns &g

Re: GSoC Final report review

2019-08-15 Thread Christian Mauderer
On 14/08/2019 18:41, Vijay Kumar Banerjee wrote: > Hello all, > > I have prepared a draft for the GSoC final report. It would be nice to have > some review on it before I push it to the blog. The google docs link [1] > contains a paste from the .md file that will be converted to html for the >

Re: [PATCH] user/index: Add myself to the list of copyrights

2019-08-15 Thread Christian Mauderer
Thanks. I just pushed it. On 13/08/2019 10:15, Vijay Kumar Banerjee wrote: > --- > user/index.rst | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/user/index.rst b/user/index.rst > index eff85f3..0e644c9 100644 > --- a/user/index.rst > +++ b/user/index.rst > @@ -10,6 +10,7 @@ RTEMS User

Re: [PATCH] user/index: Add myself to the list of copyrights

2019-08-13 Thread Christian Mauderer
+10,7 @@ RTEMS User Manual (|version|). > > .. topic:: Copyrights and License > > +| |copy| 2019 Vijay Kumar Banerjee > | |copy| 2018 Amaan Cheval > | |copy| 2018 Marçal Comajoan Cara > | |copy| 2018 Vidushi Vashishth > -- -

Re: Beagle: FDT support in BSP as a GSoC project?

2019-08-11 Thread Christian Mauderer
On 12/08/2019 03:33, Chris Johns wrote: > On 12/8/19 9:22 am, Joel Sherrill wrote: >> >> >> On Sun, Aug 11, 2019, 5:47 PM Chris Johns > <mailto:chr...@rtems.org>> wrote: >> >> On 12/8/19 3:28 am, Joel Sherrill wrote: >> > On Sun, Aug

Re: [PATCH] rtems/rtems-kernel-nexus.c: LibBSD init now uses all pass levels.

2019-08-11 Thread Christian Mauderer
On 12/08/2019 00:23, Chris Johns wrote: > On 10/8/19 4:33 am, Christian Mauderer wrote: >> thanks for the patch. It sounds like we will get a behaviour that is >> more similar to FreeBSD one with it. > > Yes. > >> But it has the potential to have a >> big in

Beagle: FDT support in BSP as a GSoC project?

2019-08-11 Thread Christian Mauderer
Hello, while mentoring Vijays GSoC project this year I noted that some drivers in the Beagle BSPs have quite horrible hard coded values for things like pinmux initialization. Maybe it would be a nice GSoC project for next year to replace this stuff with a fdt based initialization. I would like to

Re: [PATCH] user/exe: Add link reference in device-tree

2019-08-11 Thread Christian Mauderer
Pushed. Thanks for the fix. Gedare mentioned that you should be on the copyright list of the user manual (see [1]). Can you please create a patch for that too? Best regards Christian [1]: https://lists.rtems.org/pipermail/devel/2019-August/027204.html On 09/08/2019 10:06, Vijay Kumar Banerjee

Re: [PATCH v3 1/8] Pinmux : Import from FreeBSD

2019-08-11 Thread Christian Mauderer
On 04/08/2019 18:41, Christian Mauderer wrote: > Hello Vijay, > > for the whole patch set: > > The order and groups are good now. I didn't find anything where I would > have big problems. All patches are compilable and libbsd still compiles > on a PowerPC target. The resul

Re: [PATCH] rtems/rtems-kernel-nexus.c: LibBSD init now uses all pass levels.

2019-08-09 Thread Christian Mauderer
Hello Nils, thanks for the patch. It sounds like we will get a behaviour that is more similar to FreeBSD one with it. But it has the potential to have a big influence on existing BSPs so it would be good to have some more feedback for it before merging it. On 09/08/2019 15:53, Nils Hölscher

Re: GSoC PRU: AM35xx Clock driver

2019-08-09 Thread Christian Mauderer
I. > > Thanks, > Nils > > Christian Mauderer mailto:l...@c-mauderer.de>> > schrieb am Fr., 9. Aug. 2019, 19:50: > > Hello Nils, > > great that you found your problem. It sounds like it is a general bug in > libbsd. What did you change and do you h

Re: GSoC PRU: AM35xx Clock driver

2019-08-09 Thread Christian Mauderer
, I realized that all > drivers are on the DEFAULT_PASS_LEVEL (max_integer). > > Best and thanks, > Nils > > On Thu, 1 Aug 2019 at 11:36, Christian Mauderer > <mailto:christian.maude...@embedded-brains.de>> wrote: > > Hello Nils,

Re: [PATCH v5] user/exe: Add Device Tree section

2019-08-07 Thread Christian Mauderer
The last changes from Gedare are integrated and the patch builds fine. So I pushed it. Thanks for the work. I'll wait with the libbsd patches till weekend so that someone could still add an opinion (besides Chris and me). Best regards Christian On 07/08/2019 18:02, Vijay Kumar Banerjee wrote:

Re: [PATCH] bsp/beagle: Add nocache section

2019-08-07 Thread Christian Mauderer
Hello Gedare, I'll create a ticket and push the patch. I planned that for the weekend anyway (if no one objected till then). Best regards Christian On 07/08/2019 17:58, Gedare Bloom wrote: > Actually, this could probably use a ticket associated with it... > > On Wed, Aug 7, 2019 at 9:58 AM

Re: [PATCH v3 1/8] Pinmux : Import from FreeBSD

2019-08-04 Thread Christian Mauderer
Hello Vijay, for the whole patch set: The order and groups are good now. I didn't find anything where I would have big problems. All patches are compilable and libbsd still compiles on a PowerPC target. The result is great (with some demo application I get an image on the screen). So I'm OK with

Re: [PATCH v2 8/8] am335x display drivers: Port to RTEMS

2019-08-03 Thread Christian Mauderer
Correction: It seems that three files got lost. I had to create the following three: rtemsbsd/include/rtems/bsd/local/opt_syscons.h rtemsbsd/include/rtems/bsd/local/opt_teken.h rtemsbsd/include/rtems/bsd/local/opt_splash.h On 03/08/2019 14:02, Christian Mauderer wrote: > Seems that one file

Re: [PATCH v2 8/8] am335x display drivers: Port to RTEMS

2019-08-03 Thread Christian Mauderer
Seems that one file got lost since the last version of the patch set: Waf: Entering directory `/home/christian/rtems/rtems-bbb/libs/rtems-libbsd/build/arm-rtems5-beagleboneblack-noIPSec' [1422/2156] Compiling freebsd/sys/dev/fb/fbd.c [1786/2156] Compiling

Re: [PATCH v2 6/8] fbd: Port to RTEMS

2019-08-03 Thread Christian Mauderer
Hello Vijay, this commit doesn't compile on it's own. Please make sure that every commit can be compiled. If someone wants to use git bisect for searching for errors that is essential. Waf: Entering directory

Re: GSoC PRU: AM35xx Clock driver

2019-08-01 Thread Christian Mauderer
S_PASS_*) via the /pass/ argument. Once a driver is registered > it is > available to attach to devices for all subsequent passes." > > https://www.freebsd.org/cgi/man.cgi?query=DRIVER_MODULE=9=0=FreeBSD+12.0-RELEASE+and+Ports > > Best,

Re: How to handle pinmux in libbsd (was: Re: [PATCH 10/10] TI Pinmux : Port to RTEMS)

2019-07-30 Thread Christian Mauderer
On 30/07/2019 17:59, Gedare Bloom wrote: > On Tue, Jul 30, 2019 at 12:40 AM Christian Mauderer > wrote: >> >> On 29/07/2019 22:11, Gedare Bloom wrote: >>> We had a GSoC project about GPIO API implemented for RPi. >>> >>> https://devel.rtems.or

Re: How to handle pinmux in libbsd (was: Re: [PATCH 10/10] TI Pinmux : Port to RTEMS)

2019-07-30 Thread Christian Mauderer
4:10 AM Christian Mauderer > wrote: >> >> On 29/07/2019 10:54, Vijay Kumar Banerjee wrote: >>> >>> >>> On Sun, Jul 28, 2019 at 5:44 PM Christian Mauderer >> <mailto:l...@c-mauderer.de>> wrote: >>> >>> On 28/07/2019 12:42, Vij

Re: How to handle pinmux in libbsd (was: Re: [PATCH 10/10] TI Pinmux : Port to RTEMS)

2019-07-29 Thread Christian Mauderer
On 29/07/2019 10:54, Vijay Kumar Banerjee wrote: > > > On Sun, Jul 28, 2019 at 5:44 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 28/07/2019 12:42, Vijay Kumar Banerjee wrote: > > > > > > > > On

How to handle pinmux in libbsd (was: Re: [PATCH 10/10] TI Pinmux : Port to RTEMS)

2019-07-28 Thread Christian Mauderer
On 28/07/2019 12:42, Vijay Kumar Banerjee wrote: > > > > On Sat, Jul 27, 2019 at 7:35 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Does this initialize only the pins for drivers that are registered in > libbsd or all pins? I think you

Re: [PATCH] Add framebuffer in BBB

2019-07-28 Thread Christian Mauderer
On 28/07/2019 13:07, Vijay Kumar Banerjee wrote: > > > > On Sun, Jul 28, 2019 at 1:31 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 27/07/2019 21:43, Vijay Kumar Banerjee wrote: > > > > > > > >

Re: GSoC PRU: AM35xx Clock driver

2019-07-28 Thread Christian Mauderer
On 28/07/2019 11:22, Nils Hölscher wrote: > > > On Sat, 27 Jul 2019 at 14:34, Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 24/07/2019 16:53, Nils Hölscher wrote: > > Hi, > > > > @Vijay Kumar Banerjee <mailto:vijay

Re: [PATCH] Add framebuffer in BBB

2019-07-28 Thread Christian Mauderer
On 27/07/2019 21:43, Vijay Kumar Banerjee wrote: > > > > On Sat, Jul 27, 2019 at 7:37 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 26/07/2019 13:41, Christian Mauderer wrote: > > On 26/07/2019 13:22, Vijay Kumar Banerj

Re: [PATCH 08/10] VT : Port to RTEMS

2019-07-28 Thread Christian Mauderer
On 27/07/2019 22:31, Vijay Kumar Banerjee wrote: > > > On Sat, Jul 27, 2019 at 7:26 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > I'm still not entirely convinced what VT does. I tried to remove it (had > to remove the vt_fb_attach()

Re: [PATCH] Add framebuffer in BBB

2019-07-27 Thread Christian Mauderer
On 26/07/2019 13:41, Christian Mauderer wrote: > On 26/07/2019 13:22, Vijay Kumar Banerjee wrote: >> Hello everyone! >> >> I'm excited to post the following patchset. With this patchset >> I have the framebuffer working in BBB and have tested it with a >> BB

Re: [PATCH 10/10] TI Pinmux : Port to RTEMS

2019-07-27 Thread Christian Mauderer
Does this initialize only the pins for drivers that are registered in libbsd or all pins? I think you had an extended boot log where you might could see it. If it is all pins, this might interfere with RTEMS drivers that are not libbsd based. In that case we need some kind of solution (not sure

Re: [PATCH 06/10] fbd : Port to RTEMS

2019-07-27 Thread Christian Mauderer
On 27/07/2019 15:15, Christian Mauderer wrote: > On 26/07/2019 13:22, Vijay Kumar Banerjee wrote: >> --- >> freebsd/sys/dev/fb/fbd.c | 3 ++ >> libbsd.py | 4 +++ >> rtemsbsd/include/bsp/nexus-devices.h

Re: [PATCH 06/10] fbd : Port to RTEMS

2019-07-27 Thread Christian Mauderer
On 26/07/2019 13:22, Vijay Kumar Banerjee wrote: > --- > freebsd/sys/dev/fb/fbd.c | 3 ++ > libbsd.py | 4 +++ > rtemsbsd/include/bsp/nexus-devices.h | 3 ++ > .../machine/rtems-bsd-kernel-namespace.h | 35

Re: [PATCH 05/10] fbd : Import from FreeBSD

2019-07-27 Thread Christian Mauderer
On 26/07/2019 13:22, Vijay Kumar Banerjee wrote: > --- > freebsd/sys/dev/fb/fb.c | 762 ++ > freebsd/sys/dev/fb/fbd.c | 372 +++ > freebsd/sys/dev/vt/colors/vt_termcolors.h | 63 ++ > freebsd/sys/dev/vt/hw/fb/vt_fb.h | 54

Re: [PATCH 03/10] am335x display drivers: Import from FreeBSD

2019-07-27 Thread Christian Mauderer
On 26/07/2019 13:22, Vijay Kumar Banerjee wrote: > --- > freebsd/sys/arm/ti/am335x/am335x_ecap.c | 202 > freebsd/sys/arm/ti/am335x/am335x_lcd.c | 1085 ++ > freebsd/sys/arm/ti/am335x/am335x_lcd.h | 60 ++ > freebsd/sys/arm/ti/am335x/am335x_pwm.h | 35 + >

Re: [PATCH] Add framebuffer in BBB

2019-07-27 Thread Christian Mauderer
On 27/07/2019 02:52, Chris Johns wrote: > On 26/7/19 9:41 pm, Christian Mauderer wrote: >> I hadn't had a look at most patches yet and most likely that will need a >> bit of time. It's a lot of stuff. Most likely the bigger patches won't >> reach the mailing list so maybe addi

Re: GSoC PRU: AM35xx Clock driver

2019-07-27 Thread Christian Mauderer
On 24/07/2019 16:53, Nils Hölscher wrote: > Hi, > > @Vijay Kumar Banerjee   thanks for the > dtb file. > I build my file from FreeBSD master. > > Prcm attaches now but still after the pruss driver...: > " > nexus0: > ofwbus0: on nexus0 > simplebus0: on ofwbus0

Re: [PATCH v2] user/exe : Add Device Tree section

2019-07-27 Thread Christian Mauderer
Hello Vijay, sorry for the long delay between posting and review. It was a busy week. Would that replace part of the documentation you did in the beagle BSP? In that case it might could be good to remove it from there and put up a reference. @all: Could one of our native English speakers please

Re: [PATCH v5] Add mmap

2019-07-27 Thread Christian Mauderer
Pushed. Especially now that you have a display working with it, I'm OK with that patch. On 18/07/2019 10:56, Vijay Kumar Banerjee wrote: > --- > freebsd/sys/kern/kern_conf.c | 8 +++ > freebsd/sys/sys/conf.h | 2 +- > rtemsbsd/include/machine/vm.h | 2 ++ >

Re: [PATCH] user/bsps : Fix formatting and typo in arm/beagle

2019-07-27 Thread Christian Mauderer
Pushed. On 22/07/2019 06:12, Vijay Kumar Banerjee wrote: > --- > user/bsps/arm/beagle.rst | 55 +++- > 1 file changed, 37 insertions(+), 18 deletions(-) > > diff --git a/user/bsps/arm/beagle.rst b/user/bsps/arm/beagle.rst > index 84bfe2d..eb4ecfb 100644 > ---

Re: [PATCH] Add framebuffer in BBB

2019-07-26 Thread Christian Mauderer
t regards Christian -- ---- embedded brains GmbH Herr Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded-brains.de Phone: +49-89-18 94 741 - 18 Fax: +49-89-18 94 741 - 08 PGP: Public key available on

Re: GSoC Status update : BBB Framebuffer Project

2019-07-24 Thread Christian Mauderer
Am Mittwoch, 24. Juli 2019 schrieb Vijay Kumar Banerjee: > > > > > On Thu, Jul 25, 2019 at 1:17 AM Vijay Kumar Banerjee > wrote: > > > > > > > > > > On Thu, Jul 25, 2019 at 1:09 AM Christian Mauderer wrote: > > Hello Vijay

Re: GSoC Status update : BBB Framebuffer Project

2019-07-24 Thread Christian Mauderer
Hello Vijay, On 24/07/2019 18:14, Vijay Kumar Banerjee wrote: > Hello all, > > This is a mail to update my weekly status since the meeting got > canceled this week. Sorry for that. > > Progress: > * Completed mmap patch > : https://lists.rtems.org/pipermail/devel/2019-July/026680.html > This

Re: [PATCH v2] user/bsps : Add documentation for Beagle

2019-07-20 Thread Christian Mauderer
On 19/07/2019 20:59, Vijay Kumar Banerjee wrote: > > > On Fri, Jul 19, 2019 at 10:32 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 19/07/2019 18:21, Gedare Bloom wrote: > > Looks good to me. I'm currently not able to apply it, verify t

Re: [PATCH v2] user/bsps : Add documentation for Beagle

2019-07-19 Thread Christian Mauderer
On 19/07/2019 18:21, Gedare Bloom wrote: > Looks good to me. I'm currently not able to apply it, verify the doc > build, and push it though. (Workstation issues.) > I agree that it looks OK. Thanks from me too for contributing to the documentation. It's something that most developers don't like

Re: GSoC Linux UIO driver for PRU

2019-07-18 Thread Christian Mauderer
On 18/07/2019 11:14, Nils Hölscher wrote: > > > On Thu, 18 Jul 2019 at 10:48, Christian Mauderer > <mailto:christian.maude...@embedded-brains.de>> wrote: > > On 18/07/2019 10:30, Nils Hölscher wrote: > > Hi, > > > > Do I need to a

Re: GSoC Linux UIO driver for PRU

2019-07-18 Thread Christian Mauderer
or testing. > I will keep in contact concerning the mmap patch. > > Best, > Nils > > On Tue, 16 Jul 2019 at 15:47, Christian Mauderer > <mailto:christian.maude...@embedded-brains.de>> wrote: > > On 16/07/2019 15:35, Vijay Kuma

Re: [PATCH v3] Add mmap

2019-07-17 Thread Christian Mauderer
On 17/07/2019 11:10, Nils Hölscher wrote: >  Hi, > > +#define VM_MEMATTR_DEFAULT 0 > +#define VM_MEMATTR_UNCACHEABLE 1 > > > Are you sure that these values are correct in general? > BSD defines this only for ARM versions smaller 6. >

Re: GSoC Linux UIO driver for PRU

2019-07-16 Thread Christian Mauderer
s.org <mailto:devel@rtems.org> > http://lists.rtems.org/mailman/listinfo/devel > > ___ > devel mailing list > devel@rtems.org <mailto:devel@rtems.org> > http://lists.rtems.org/mailman/list

Re: BBB Framebuffer : Need Ideas.

2019-07-12 Thread Christian Mauderer
On 12/07/2019 13:57, Vijay Kumar Banerjee wrote: > > > > On Thu, Jul 11, 2019 at 12:51 AM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 10/07/2019 12:53, Christian Mauderer wrote: > > > > > > On

Re: BBB Framebuffer : Need Ideas.

2019-07-10 Thread Christian Mauderer
On 10/07/2019 12:53, Christian Mauderer wrote: > > > On 10/07/2019 12:38, Vijay Kumar Banerjee wrote: >> >> >> On Wed, Jul 10, 2019 at 12:40 PM Christian Mauderer >> > <mailto:christian.maude...@embedded-brains.de>> wrote: >> >> On 09/

Re: BBB Framebuffer : Need Ideas.

2019-07-10 Thread Christian Mauderer
On 10/07/2019 12:38, Vijay Kumar Banerjee wrote: > > > On Wed, Jul 10, 2019 at 12:40 PM Christian Mauderer > <mailto:christian.maude...@embedded-brains.de>> wrote: > > On 09/07/2019 21:13, Vijay Kumar Banerjee wrote: > > Hello all, 

Re: BBB Framebuffer : Need Ideas.

2019-07-10 Thread Christian Mauderer
now that the screen is still not receiving a signal. So I would assume some quite basic problem. If your new mmap wouldn't work, you should still get at least a black screen. Best regards Christian -- ---- embedded brains GmbH Herr Christian Mauderer Dornier

Re: [PATCH 6/6] fbd : Port to RTEMS

2019-06-30 Thread Christian Mauderer
On 30/06/2019 21:38, Vijay Kumar Banerjee wrote: > > > > On Mon, Jul 1, 2019 at 12:46 AM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 30/06/2019 19:57, Vijay Kumar Banerjee wrote: > > > > On Sun, Jun 30, 2019 at 10:17 PM

Re: [PATCH 6/6] fbd : Port to RTEMS

2019-06-30 Thread Christian Mauderer
On 30/06/2019 19:57, Vijay Kumar Banerjee wrote: > > On Sun, Jun 30, 2019 at 10:17 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 30/06/2019 18:29, Vijay Kumar Banerjee wrote: > >     > @@ -366,6 +374,9 @@ driver_t fbd_driver

Re: [PATCH 6/6] fbd : Port to RTEMS

2019-06-30 Thread Christian Mauderer
On 30/06/2019 18:29, Vijay Kumar Banerjee wrote: > > @@ -366,6 +374,9 @@ driver_t fbd_driver = { > >  devclass_t   fbd_devclass; > >  > >  DRIVER_MODULE(fbd, fb, fbd_driver, fbd_devclass, 0, 0); > > +#ifdef __rtems__ > > +DRIVER_MODULE(fbd, am335x_lcd, fbd_driver,

Re: [PATCH 4/6] am335x display drivers: Port to RTEMS

2019-06-30 Thread Christian Mauderer
On 30/06/2019 18:26, Vijay Kumar Banerjee wrote: > > @@ -799,6 +799,14 @@ class display(builder.Module): > >                  'sys/dev/videomode/ediddevs.h', > >                  'sys/dev/videomode/ediddevs_data.h', > >                  'sys/dev/videomode/vesagtf.h', > > +     

Re: [PATCH 2/6] TDA19988 : Port to RTEMS

2019-06-30 Thread Christian Mauderer
On 30/06/2019 18:24, Vijay Kumar Banerjee wrote: > > > On Sun, Jun 30, 2019 at 9:18 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > On 30/06/2019 17:29, Vijay Kumar Banerjee wrote: > > --- > >  Makefile.todo 

Re: BBB Framebuffer : Project status and what's next.

2019-06-30 Thread Christian Mauderer
nks, > Vijay Hello Vijay, sounds OK to me. It will be great if the frame buffer device not only appears but if you can actually do something with it ;-) Best regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH 6/6] fbd : Port to RTEMS

2019-06-30 Thread Christian Mauderer
On 30/06/2019 17:29, Vijay Kumar Banerjee wrote: > --- > freebsd/sys/dev/fb/fbd.c | 11 ++ > libbsd.py | 4 +++ > rtemsbsd/include/bsp/nexus-devices.h | 1 + > .../machine/rtems-bsd-kernel-namespace.h | 35

Re: [PATCH 4/6] am335x display drivers: Port to RTEMS

2019-06-30 Thread Christian Mauderer
On 30/06/2019 17:29, Vijay Kumar Banerjee wrote: > --- > Makefile.todo | 13 ++ > libbsd.py | 12 + > rtemsbsd/include/bsp/nexus-devices.h | 2 + > .../machine/rtems-bsd-kernel-namespace.h | 2 + >

Re: [PATCH 2/6] TDA19988 : Port to RTEMS

2019-06-30 Thread Christian Mauderer
On 30/06/2019 17:29, Vijay Kumar Banerjee wrote: > --- > Makefile.todo | 27 ++ > buildset/default.ini | 1 + > libbsd.py | 46 ++ > rtemsbsd/include/bsp/nexus-devices.h | 1 + >

Re: [PATCH 2/6] TDA19988 : Port to RTEMS

2019-06-30 Thread Christian Mauderer
On 30/06/2019 17:33, Vijay Kumar Banerjee wrote: > The following patchset has only the port commits, the commits to import > are pushed to Github and the links are as follows: > [PATCH 1/6] > :  > https://github.com/thelunatic/rtems-libbsd/commit/fa8900b30f5b41611ddc16e5b386a6b8b443675a > [PATCH

Re: BBB Framebuffer driver : Project status

2019-06-25 Thread Christian Mauderer
On 25/06/2019 19:42, Gedare Bloom wrote: > On Tue, Jun 25, 2019 at 10:36 AM Vijay Kumar Banerjee > wrote: >> >> >> >> On Tue, Jun 25, 2019 at 9:32 PM Gedare Bloom wrote: >>> >>> On Tue, Jun 25, 2019 at 5:34 AM Vijay Kumar Banerjee >>> wrote: Hello, The First Evaluation is

Re: GSoC PRU: Texas Instruments License

2019-06-20 Thread Christian Mauderer
On 20/06/2019 11:04, Nils Hölscher wrote: > Hi, > > I would like to discuss the attached TI-license. > Is it RTEMS compatible? > As far as I can see It has no copy left, but the license has to be > distributed with binarys. > > Best, > Nils > > /* > * prussdrv.c > * > * User space driver for

Re: [PATCH 2/2] fb and tda : port to RTEMS

2019-06-19 Thread Christian Mauderer
On 19/06/2019 21:10, Vijay Kumar Banerjee wrote: > > > > On Wed, Jun 19, 2019 at 9:14 PM Christian Mauderer <mailto:l...@c-mauderer.de>> wrote: > > Bit less adaptions than I thought that you have in the code. I assumed > that I would see some more loc

Re: [PATCH] port FB and TDA drivers

2019-06-19 Thread Christian Mauderer
On 18/06/2019 21:53, Vijay Kumar Banerjee wrote: > > This Patch series contains the patches to import and port > the drivers for FB and TDA from FreeBSD. This is not a working > patch and the purpose of sending the patch to the list is to > ask for a help regarding a build issue with the FB files

Re: [PATCH 2/2] fb and tda : port to RTEMS

2019-06-19 Thread Christian Mauderer
Bit less adaptions than I thought that you have in the code. I assumed that I would see some more locations in that patch where you already removed code blocks with ifdef __rtems__. I wanted to have a look especially at these parts. I expect that you will have some problems with memories (like

  1   2   3   4   5   6   >