Re: [PATCH v4] Raspberrypi: updated the console interface.

2019-12-31 Thread Niteesh
How to turn off optimizations, while debugging some of the variables get optimized out. On Wed, Jan 1, 2020 at 12:02 PM Niteesh wrote: > Good news, The FDT works. For testing purposes, I used a different DTB > file provided by > raspberrpi foundation. It has a different structure than the DTB

Re: [PATCH v4] Raspberrypi: updated the console interface.

2019-12-31 Thread Niteesh
Good news, The FDT works. For testing purposes, I used a different DTB file provided by raspberrpi foundation. It has a different structure than the DTB from FreeBSD, so I modified the initialization code a little bit, but anyhow it works, the registers are initialized from the DTB file. But they

Re: [PATCH v4] Raspberrypi: updated the console interface.

2019-12-31 Thread Christian Mauderer
On 31/12/2019 19:41, Niteesh wrote: > On Tue, Dec 31, 2019 at 10:56 PM Vijay Kumar Banerjee > mailto:vijaykumar9...@gmail.com>> wrote: > > > On Tue, Dec 31, 2019 at 9:27 PM Niteesh > wrote: > > I tried the above thing it doesn't work :( > Maybe

Re: [PATCH v4] Raspberrypi: updated the console interface.

2019-12-31 Thread Christian Mauderer
On 31/12/2019 14:56, Niteesh wrote: > If moving uart_probe to output char, then should I move  > rtems_device_handler_install to console_initialize because, my guess > is that the IO initialization system would not be initialized properly > at that stage. The uart_probe in the output char

Re: [PATCH v4] Raspberrypi: updated the console interface.

2019-12-31 Thread Christian Mauderer
On 31/12/2019 13:22, Niteesh wrote: > It works now, the functions are getting called when used with fileio.exe. > The function bsp_start wants to print information about the board, That print maybe should be moved to a later point. It just fetches some information and prints it. It doesn't even

Re: Error while building the rtems-libbsd

2019-12-31 Thread Christian Mauderer
On 31/12/2019 12:41, Utkarsh Rai wrote: > My host system has an x-86_64  architecture with ubuntu-18.04 running on > top of it, I have a python2 installed. > Interestingly enough, when I clean up the libbsd directory and try to > build as a super-user, I have two observations:- Please note that

Re: [PATCH v4] Raspberrypi: updated the console interface.

2019-12-31 Thread Niteesh
It works now, the functions are getting called when used with fileio.exe. The function bsp_start wants to print information about the board, but the console initialization function is called after bsp_start, assuming that the FDT works it still crash since the console still isn't initialized, one

Re: Error while building the rtems-libbsd

2019-12-31 Thread Utkarsh Rai
My host system has an x-86_64 architecture with ubuntu-18.04 running on top of it, I have a python2 installed. Interestingly enough, when I clean up the libbsd directory and try to build as a super-user, I have two observations:- 1. The build fails with the following error message:- [1/4]

Re: [PATCH v4] Raspberrypi: updated the console interface.

2019-12-31 Thread Christian Mauderer
On 31/12/2019 11:37, Christian Mauderer wrote: > On 31/12/2019 06:11, Niteesh wrote: >> On Tue, Dec 31, 2019 at 1:13 AM Christian Mauderer > > wrote: >> >> On 30/12/2019 19:32, Niteesh wrote: >> > Just to make sure that console_initialize and uart_probe are

Re: [PATCH v4] Raspberrypi: updated the console interface.

2019-12-31 Thread Christian Mauderer
On 31/12/2019 06:11, Niteesh wrote: > On Tue, Dec 31, 2019 at 1:13 AM Christian Mauderer > wrote: > > On 30/12/2019 19:32, Niteesh wrote: > > Just to make sure that console_initialize and uart_probe are being > > called, I manually initialized the pl011