Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Christian Mauderer
On 21/12/2019 08:28, Niteesh wrote: > Did you take a look at the exception? Not yet. > I still couldn't get it running on > the rpi3 using rpi2 bsp. Again: It's quite likely that the serial interface is a problem. I don't think that you'll see any output on rpi3 without changes. > I built the b

Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Niteesh
I am very much interested in taking part in GSOC 2020. I want to get this running on raspberrypi3 so that I could start learning and exploring more of RTEMS. I am planning to add framebuffer support, using this year's GSOC work on beagle bone as a reference. On Sat, Dec 21, 2019 at 2:20 PM Christia

Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Niteesh
Looks like there is already framebuffer support for RPi, but still I would like to play with it and add some GUI example as in https://blog.thelunatic.dev/gsoc-final-report/ On Sat, Dec 21, 2019 at 2:32 PM Niteesh wrote: > I am very much interested in taking part in GSOC 2020. I want to get this

Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Christian Mauderer
On 21/12/2019 10:36, Niteesh wrote: > Looks like there is already framebuffer support for RPi, but still I > would like to play with it and add some GUI example as > in https://blog.thelunatic.dev/gsoc-final-report/ Yes, there is some framebuffer support. For the rpi I think it's a driver ported t

Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Christian Mauderer
On 19/12/2019 15:05, Christian Mauderer wrote: > On 19/12/2019 14:27, Sebastian Huber wrote: >> On 19/12/2019 14:24, Christian Mauderer wrote: >>> Hello, >>> >>> triggered by the discussion regarding RTEMS on raspberrypi 3 I did some >>> tests. I haven't been able to start a RTEMS on my Pi 1 if I t

Re: [PATCH] bsp/raspberrypi: Fix linker command file

2019-12-21 Thread Christian Mauderer
With some further tests that is not absolutely necessary like I first thought. The raspberry bootloader has a configuration option for setting the start address: If the following line is added to the config.txt we can leave the address at 0x0020: kernel_address=0x0020 See https://www.rasp

Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Niteesh
Shall I start writing a driver for raspberrypi3 PL011? On Sat, Dec 21, 2019 at 8:40 PM Christian Mauderer wrote: > On 19/12/2019 15:05, Christian Mauderer wrote: > > On 19/12/2019 14:27, Sebastian Huber wrote: > >> On 19/12/2019 14:24, Christian Mauderer wrote: > >>> Hello, > >>> > >>> triggere

Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Niteesh
There is already a PL011 driver in the arm shared section. should we just import it? On Sat, Dec 21, 2019 at 10:46 PM Niteesh wrote: > Shall I start writing a driver for raspberrypi3 PL011? > > > On Sat, Dec 21, 2019 at 8:40 PM Christian Mauderer > wrote: > >> On 19/12/2019 15:05, Christian Mau

Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Christian Mauderer
On 21/12/2019 19:26, Niteesh wrote: > There is already a PL011 driver in the arm shared section. should we > just import it? If you say "import" and you mean "use" and not "copy": yes, that would be great. > > On Sat, Dec 21, 2019 at 10:46 PM Niteesh > wrote: > >

Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Niteesh
On inspecting the code, the driver is for PL011. We have to write a driver for the mini uart. which we will have start from scratch. So, how do you want the structure to be? The code of PL011 can be improved. We could use gpio functions to configure pins. And also many of the UART values are set i

Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Christian Mauderer
I haven't had a look at the different types of UARTS yet. What is the difference? What do you use as reference? If it is just a variant of an existing driver, the existing one should be extended to support both variants. On 21/12/2019 20:45, Niteesh wrote: > On inspecting the code, the driver is

Re: [PATCH v3] libmisc/top: Fix the idle time and priorities on SMP

2019-12-21 Thread Chris Johns
On 20/12/19 12:22 am, Sebastian Huber wrote: > On 16/12/2019 02:29, chr...@rtems.org wrote: >> From: Chris Johns >> >> - This patch is based on the patch attached to #3552 submitted >>    by jameszxj. >> >> Closes #3552 > > I tested and pushed the patch. It looks good now: Many thanks. I have man

Re: raspberry BSP: Maybe there is a bug in the linker file?

2019-12-21 Thread Niteesh
On raspberry pis equipped with the wireless/Bluetooth module, the PL011 is connected to the Bluetooth module, and the mini UART is used as the primary UART. On all other models, the PL011 is used as the primary UART. The mini UART has smaller FIFOs. Combined with the lack of flow control, this mak