public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* Updated ps3fb usage?
@ 2007-03-06 18:30 Edward Strong
  2007-03-06 19:19 ` Geert Uytterhoeven
  0 siblings, 1 reply; 5+ messages in thread
From: Edward Strong @ 2007-03-06 18:30 UTC (permalink / raw)
  To: linuxppc-dev

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,

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Updated ps3fb usage?
  2007-03-06 18:30 Updated ps3fb usage? Edward Strong
@ 2007-03-06 19:19 ` Geert Uytterhoeven
  2007-03-06 22:01   ` Edward Strong
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2007-03-06 19:19 UTC (permalink / raw)
  To: Edward Strong; +Cc: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Updated ps3fb usage?
  2007-03-06 19:19 ` Geert Uytterhoeven
@ 2007-03-06 22:01   ` Edward Strong
  2007-03-06 23:27     ` Geoff Levand
  0 siblings, 1 reply; 5+ messages in thread
From: Edward Strong @ 2007-03-06 22:01 UTC (permalink / raw)
  To: linuxppc-dev

> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Updated ps3fb usage?
  2007-03-06 22:01   ` Edward Strong
@ 2007-03-06 23:27     ` Geoff Levand
  2007-03-07  0:04       ` Edward Strong
  0 siblings, 1 reply; 5+ messages in thread
From: Geoff Levand @ 2007-03-06 23:27 UTC (permalink / raw)
  To: Edward Strong; +Cc: linuxppc-dev

Edward Strong wrote:
>> 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"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Updated ps3fb usage?
  2007-03-06 23:27     ` Geoff Levand
@ 2007-03-07  0:04       ` Edward Strong
  0 siblings, 0 replies; 5+ messages in thread
From: Edward Strong @ 2007-03-07  0:04 UTC (permalink / raw)
  To: linuxppc-dev

> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-07  0:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-06 18:30 Updated ps3fb usage? Edward Strong
2007-03-06 19:19 ` Geert Uytterhoeven
2007-03-06 22:01   ` Edward Strong
2007-03-06 23:27     ` Geoff Levand
2007-03-07  0:04       ` Edward Strong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox