Re: Raspberry Pi support for Rev-2 & BL

Markus Dolze <[email protected]> Mon, 14 Jan 2013 08:08:27 +0100
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <[email protected]>
On 02.01.2013 00:59, paul_c wrote:
>
> Attached is a patch against the current CVS tree to support the HD44780 
> display on Rev-1 and Rev-2 boards. Pulled changes from a couple of 
> sources and cleaned up a potential bug if the GPIO pin is "out of 
> range".
>
> Newer boards (known as Revision 2) have a new gpio connector along with 
> slight changes to the pin mappings - A simple runtime test selects the 
> correct mapping and hopefully simplifies changes when new boards are 
> released. It is possible that other boards using memory mapped IO could 
> be supported by extending the test...
>
> warhog's improved ARM test included - Cross compile test shows that 
>   $host is sufficient (been a while since I last messed with autotools, 
>   and have forgotten much).
>
> Serac's backlight added and Rev-2 board support reworked.
>
>
> Regards, Paul.
>
>

Hi Paul,

I made myself some more familiar with the Raspberry Pi and prepared the
code for inclusion in LCDproc. Work is done, but I still need to do the
tests (I borrowed a Pi model B for that).

In the meantime you may receive notice that the revision detection fails
on recent models (my revision is 'f'). The line that reads in the
revision number should read hex vales ('x' modifier) not integers.

I will test and prepare a patch today evening (GMT+1).

Stay tuned.

Markus