From: jourdan@enib.fr
To: "Wolfgang Denk" <wd@denx.de>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Can't get CoralP drivers to work
Date: Tue, 30 May 2006 11:39:23 +0200 (CEST) [thread overview]
Message-ID: <1664.194.3.133.184.1148981963.squirrel@webmail.enib.fr> (raw)
In-Reply-To: <1758.194.3.133.184.1148897976.squirrel@webmail.enib.fr>
>> In message <1402.194.3.133.184.1148888040.squirrel@webmail.enib.fr> you
>> wrote:
>>>
>>> This seems ok to me but I don't have any video signal. My screen
>>> remains
>>> blank.
>>
>> What's your boot arguments? Where is your console device, on the
>> serial port or on the frame buffer?
>
> My boot arguments :
> # more /proc/cmdline
> console=tty0 console=ttyS1,9600 devfs=mount ip=bootp root=/dev/nfs rw
>
> My console is on the serial port (ttyS1 on SMC2).
>
>>> xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
>>> ...
>>
>> Did you enable all of the following options in your kernel config?
>>
>> CONFIG_FB=y
>> CONFIG_DUMMY_CONSOLE=y
>> CONFIG_FB_MB86290=y
>> CONFIG_FBCON_ADVANCED=y
>> CONFIG_FBCON_CFB16=y
>> CONFIG_FBCON_FONTS=y
>> CONFIG_FONT_8x8=y
>> CONFIG_FONT_8x16=y
>> CONFIG_VT=y
>> CONFIG_VT_CONSOLE=y
>>
>> My guess is that CONFIG_VT and/or CONFIG_VT_CONSOLE might be missing.
>
> All those options are enabled.
>
As I said earlier, when the driver loads, my monitor don't receive any
video signal. I can force it by calling at the end of the initialization
of the driver :
reg = MB86290FB_READ_DISP_REGISTER(GDC_DISP_REG_EXT_MODE);
MB86290FB_WRITE_DISP_REGISTER(GDC_DISP_REG_EXT_MODE, reg | 0x80010000);
This command enables the display, and "garbage" appears on the monitor.
Then if i do :
# cat /dev/urandom > /dev/fb0
I should see dummy pixels on the screen but in fact nothing happens. This
is still the same garbage on the screen.
I use a custom processor card based on a MPC8270. I can't figure out if
the problem comes from the configuration of my kernel (all the needed
options are enabled) or if it is in the code of the initialisation of my
platform.
This is the first time I try to use framebuffer graphics, so I'm new with
it. Can the framebuffer work from a serial console on a platform without
keyboard ?
Thanks for your help.
next prev parent reply other threads:[~2006-05-30 9:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-24 16:54 Can't get CoralP drivers to work jourdan
2006-05-24 18:31 ` Dan Malek
2006-05-29 7:07 ` jourdan
2006-05-24 19:57 ` Wolfgang Denk
2006-05-29 7:34 ` jourdan
2006-05-29 9:12 ` Wolfgang Denk
2006-05-29 10:19 ` jourdan
2006-05-30 9:39 ` jourdan [this message]
[not found] ` <004b01c683db$96711e30$6401a8c0@CHUCK2>
[not found] ` <2095.194.3.133.184.1148990341.squirrel@webmail.enib.fr>
2006-05-30 12:00 ` jourdan
2006-05-30 20:32 ` Wolfgang Denk
2006-06-01 15:32 ` Can't get CoralP drivers to work (fixed) jourdan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1664.194.3.133.184.1148981963.squirrel@webmail.enib.fr \
--to=jourdan@enib.fr \
--cc=linuxppc-embedded@ozlabs.org \
--cc=wd@denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).