fox810
Posts: 5
Joined: Sat Jan 26, 2013 5:07 pm

Patching SSD1289 driver

Sat Jan 26, 2013 5:37 pm

hi !

first I have to say that I´m new in the linux world, but my roots began with MS-DOS 4.01 and my programming knowledge is on a basic first I have to say that I´m new in the linux world, but my roots began with MS-DOS 4.01 and my programming knowledge is on a basic first I have to say that I´m new in the linux world, but my roots began with MS-DOS 4.01 and my programming knowledge is on a basic first I have to say that I´m new in the linux world, but my roots began with MS-DOS 4.01 and my programming knowledge is on a basic level.
So maybe my wish is a little bit out of range... :(

I found a patch in a diff-format

http://spritesmods.com/spitft/502-ssd12 ... 3.3.8.diff

Although is was written on a carambola board, Jeroen said it could run on the RPi as well.
He told me to apply this patch to the RPi kernel, make some changes in the bcm2708.c file and recompile the kernel....

so the adventures begins ;-)

I found some tutorials about applying a patch:
cd <your linux source tree>
patch -p1 < ../patchfile
which is the linux source tree on a Rasbian linux ?

the next problem... I haven´t found the bcm2708.c file on my system

fox810
Posts: 5
Joined: Sat Jan 26, 2013 5:07 pm

Re: Patching SSD1289 driver

Sun Jan 27, 2013 8:57 pm

seems that half of my post has vanished :(

so, I haven´t found the bcm2708.c file on my system... can anyone tell me, where I can find it or what I have to do to get this file ?

Thanks for your help !

Fox

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Patching SSD1289 driver

Sun Jan 27, 2013 9:02 pm

Are you really sure about this ?

http://elinux.org/Rpi_kernel_compilation

I'm not sure where the bcm2708.c is located though ...


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

fox810
Posts: 5
Joined: Sat Jan 26, 2013 5:07 pm

Re: Patching SSD1289 driver

Sun Jan 27, 2013 9:39 pm

I have found this tutorial, too.

But this is only the final step, and I´m not sure about the first steps :(

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Patching SSD1289 driver

Mon Jan 28, 2013 8:07 am

If you get the source via GIT , bcm2708.c is located under
/arch/arm/mach-bcm2708/ AFAIK.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

fox810
Posts: 5
Joined: Sat Jan 26, 2013 5:07 pm

Re: Patching SSD1289 driver

Mon Jan 28, 2013 9:54 pm

one more, and hopefully last, question....

what´s the linux source tree of the Rasbian linux ?

thx,
Fox

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Patching SSD1289 driver

Tue Jan 29, 2013 7:26 am

Do you know how to use GIT ? The location is explained in the
Wiki article i linked.
Here is the "Web" version :

https://github.com/raspberrypi/linux


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

fox810
Posts: 5
Joined: Sat Jan 26, 2013 5:07 pm

Re: Patching SSD1289 driver

Tue Jan 29, 2013 8:16 pm

no, unfortunately, I don´t really know how to use GIT

but maybe I got it...

first getting the latest raspberry kernel source according to the wiki link

than applying the patch from Jeroen in the linux directory and afterwards recompiling the kernel as described in the wiki link

Fox

Return to “Graphics, sound and multimedia”