Updated ps3fb usage?

5 messages, 3 authors, 2007-03-07 · open the first message on its own page

Updated ps3fb usage?

From: Edward Strong <hidden>
Date: 2007-03-06 19:07:59

Hi, I've just done a pull on Geoff's PS3 kernel git and I've noticed you
can't change the videomode as a kernel parameter in kboot.conf anymore. 
Has this feature been modified or removed completely?  I only ask because
I seem to be stuck in an unusable video mode at boot.

Thanks in advance,

Re: Updated ps3fb usage?

From: Geert Uytterhoeven <hidden>
Date: 2007-03-06 19:20:03

On Tue, 6 Mar 2007, Edward Strong wrote:
Hi, I've just done a pull on Geoff's PS3 kernel git and I've noticed you
can't change the videomode as a kernel parameter in kboot.conf anymore. 
Has this feature been modified or removed completely?  I only ask because
I seem to be stuck in an unusable video mode at boot.
I modified ps3fb to support the standard fbdev modedb framework, so you should
be able to say e.g. `video=720p' or `video=ps3fb:720p' now.

It should still work the old way (`video=ps3fb:mode:%u'), though (I'll give it
a try when I get back to the office).

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE)
Geert.Uytterhoeven@sonycom.com ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium

Re: Updated ps3fb usage?

From: Edward Strong <hidden>
Date: 2007-03-06 22:01:42

I modified ps3fb to support the standard fbdev modedb framework, so you
should
be able to say e.g. `video=720p' or `video=ps3fb:720p' now.

It should still work the old way (`video=ps3fb:mode:%u'), though (I'll
give it
a try when I get back to the office).

Gr{oetje,eeting}s,
Thanks Geert, just tried this and I'm still getting a "no signal" from my
TV after kboot, I'm pretty sure it's booting fine since I can see
hard-drive activity and the system reboots on ctrl+alt+delete.

My last working compile was version 2.6.20-gd96197dd.  I used the
ps3_defconfig, and my TV supports 480p/720p/1080i so not quite sure where
I'm going wrong here.  Any pointers would be much appreciated.

Edward

Re: Updated ps3fb usage?

From: Geoff Levand <hidden>
Date: 2007-03-06 23:27:56

Edward Strong wrote:
quoted
I modified ps3fb to support the standard fbdev modedb framework, so you
should
be able to say e.g. `video=720p' or `video=ps3fb:720p' now.

It should still work the old way (`video=ps3fb:mode:%u'), though (I'll
give it
a try when I get back to the office).

Gr{oetje,eeting}s,
Thanks Geert, just tried this and I'm still getting a "no signal" from my
TV after kboot, I'm pretty sure it's booting fine since I can see
hard-drive activity and the system reboots on ctrl+alt+delete.

My last working compile was version 2.6.20-gd96197dd.  I used the
ps3_defconfig, and my TV supports 480p/720p/1080i so not quite sure where
I'm going wrong here.  Any pointers would be much appreciated.
Sorry for the trouble, I accidentally applied the patch ps3-hires-defconfig.diff
(below) when committing.  'mode:5' is 1080p, which your monitor does not support.
Just set the mode to one your monitor supports.

BTW, you need to build the video mode into kernel with CONFIG_CMDLINE since I
don't yet have the code to parse and use the command line from kboot done.

-Geoff
--- ps3-linux-dev.orig/arch/powerpc/configs/ps3_defconfig
+++ ps3-linux-dev/arch/powerpc/configs/ps3_defconfig
@@ -213 +213,1 @@
-CONFIG_CMDLINE="root=/dev/sda1 ip=dhcp"
+CONFIG_CMDLINE="root=/dev/sda1 ip=dhcp video=ps3fb:mode:5"

Re: Updated ps3fb usage?

From: Edward Strong <hidden>
Date: 2007-03-07 00:04:23

quoted hunk
Sorry for the trouble, I accidentally applied the patch
ps3-hires-defconfig.diff
(below) when committing.  'mode:5' is 1080p, which your monitor does not
support.
Just set the mode to one your monitor supports.

BTW, you need to build the video mode into kernel with CONFIG_CMDLINE
since I
don't yet have the code to parse and use the command line from kboot done.

-Geoff
--- ps3-linux-dev.orig/arch/powerpc/configs/ps3_defconfig
+++ ps3-linux-dev/arch/powerpc/configs/ps3_defconfig
@@ -213 +213,1 @@
-CONFIG_CMDLINE="root=/dev/sda1 ip=dhcp"
+CONFIG_CMDLINE="root=/dev/sda1 ip=dhcp video=ps3fb:mode:5"
Yes this solved it.  Apologies, it was sloppy of me not to check the
defconfig.  Thanks again,

Edward
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help