Re: GSOC: Adding FDT infrastructure to RTEMS

2020-02-02 Thread Sebastian Huber
- Am 2. Feb 2020 um 12:10 schrieb Niteesh gsnb...@gmail.com: > On Sun, Feb 2, 2020 at 2:55 PM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> Hello Niteesh, >> >> I am not in favour of a home grown solution. We should not re-invent the >> wheel. Working with device trees m

Re: GSOC: Adding FDT infrastructure to RTEMS

2020-02-02 Thread Niteesh
On Sun, Feb 2, 2020 at 2:55 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello Niteesh, > > I am not in favour of a home grown solution. We should not re-invent the > wheel. Working with device trees may appear to be simple, however, this > could end up in a multi-person-month

Re: GSOC: Adding FDT infrastructure to RTEMS

2020-02-02 Thread Sebastian Huber
Hello Niteesh, I am not in favour of a home grown solution. We should not re-invent the wheel. Working with device trees may appear to be simple, however, this could end up in a multi-person-month project easily. There are several existing solutions for device drivers based on device trees. Wha

Re: GSOC: Adding FDT infrastructure to RTEMS

2020-02-01 Thread Niteesh
I am in the process of preparing my GSoC proposal and I would like to discuss in more detail on implementation and necessary functions. Assuming, a basic probe and attach functionality have been added, I guess the console-config could be changed to http://collabedit.com/adyh

Re: GSOC: Adding FDT infrastructure to RTEMS

2020-01-21 Thread Christian Mauderer
Hello Niteesh, great that you pick up that project. On 20/01/2020 18:38, Niteesh wrote: > This is what I have understood till now, please correct me if I am wrong > All this explanation is in context with FreeBSD. Note that this stuff in FreeBSD is quite universal and tend to be a bit more compl

Re: GSOC: Adding FDT infrastructure to RTEMS

2020-01-20 Thread Niteesh
This is what I have understood till now, please correct me if I am wrong All this explanation is in context with FreeBSD. The drivers register themselves using* EARLY_DRIVER_MODULE*, this done with the help of linker sets right? Where all the data structures for the drivers stored things like compa

GSOC: Adding FDT infrastructure to RTEMS

2020-01-20 Thread Niteesh
I interested in adding FDT infrastructure similar to FreeBSD and Linux to RTEMS as a GSOC project. I have very little knowledge of how all this works, but I have started learning by digging into FreeBSD code, using online forums and also thanks to Christian for patiently answering all my questions.