linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: jourdan@enib.fr
To: "Wolfgang Denk" <wd@denx.de>
Cc: jourdan@enib.fr, linuxppc-embedded@ozlabs.org
Subject: Re: Can't get CoralP drivers to work
Date: Mon, 29 May 2006 09:34:00 +0200 (CEST)	[thread overview]
Message-ID: <1402.194.3.133.184.1148888040.squirrel@webmail.enib.fr> (raw)
In-Reply-To: <20060524195747.0CE6E353BFD@atlas.denx.de>

> In message <3799.194.3.133.184.1148489640.squirrel@webmail.enib.fr> you
> wrote:
>>
>> I have a MPC8260 processor card with a Coral-P evaluation board (rev
>> 4.0).
>> My system do not have keyboard nor mouse (i use the serial console).
>>
>> I use linux kernel 2.4.25 & 2.6.9.
>
> We have instructions on our web site; did you read these?

Yes I did. I use the same jumper configuration (for board rev 4.0) as the
pictures on your web site.

>> I'm trying to get the framebuffer driver to work. During the boot the
>> driver loads fine but the monitor remains blank (no video signal). If i
>> try to `cat /dev/urandom > /dev/fb/0` nothing happens.
>
> Are you using devfs? Don't! Use /dev/fb0

Without devfs, I have /dev/fb0.

During boot sequence, the driver loads fine (built-in, not module) :
...
MB86290: fb_init called.
MB86290: initialize called.
MB86290: GDC base phys address: 0x8c000000
MB86290: GDC base virt address: 0xc5000000
Console: switching to frame buffer device
MB86290: dmamem: GFP success.
MB86290: fb_init finished
...

In /proc I have :
#  more /proc/fb
0 MB86290

This seems ok to me but I don't have any video signal. My screen remains
blank.

>> I compiled an Xserver (Release 6.9), and the x11 drivers for the coralp.
>> When I start X, it says that it can not open tty0 (indeed it doesn't
>> exists).
>
> Well, you got an error message (tty0 cannot be opened), you  verified
> that it is valid (tty0 does not exist), so fix the problem...
>

Without devfs, I have ttys :
# ls -al tty*
crw-rw-rw-    1 root     root       5,   0 May 29  2006 tty
crw--w--w-    1 root     5          4,   0 May 29  2006 tty0
crw-rw----    1 root     5          4,   1 May 29  2006 tty1
crw-rw----    1 root     5          4,   2 May 29  2006 tty2
crw-rw----    1 root     14         4,  64 May 29  2006 ttyS0
crw-rw----    1 root     14         4,  65 May 29  2006 ttyS1
crw-rw----    1 root     14         4,  66 May 29  2006 ttyS2
crw-rw----    1 root     14         4,  67 May 29  2006 ttyS3
crw-rw-rw-    1 root     5          3,   0 May 29  2006 ttyp0
crw-rw-rw-    1 root     5          3,   1 May 29  2006 ttyp1
crw-rw-rw-    1 root     5          3,   2 May 29  2006 ttyp2
crw-rw-rw-    1 root     5          3,   3 May 29  2006 ttyp3
crw-rw-rw-    1 root     5          3,   4 May 29  2006 ttyp4
crw-rw-rw-    1 root     5          3,   5 May 29  2006 ttyp5
crw-rw-rw-    1 root     5          3,   6 May 29  2006 ttyp6
crw-rw-rw-    1 root     5          3,   7 May 29  2006 ttyp7
crw-rw-rw-    1 root     5          3,   8 May 29  2006 ttyp8
crw-rw-rw-    1 root     5          3,   9 May 29  2006 ttyp9

Major and minor codes are ok but when I start X :
...
Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
...

I have to start X from a serial console. There are no keyboard or mouse
connectors on my board. This is maybe the source of my problems ?

Thanks for your help.

  reply	other threads:[~2006-05-29  7:39 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 [this message]
2006-05-29  9:12     ` Wolfgang Denk
2006-05-29 10:19       ` jourdan
2006-05-30  9:39         ` jourdan
     [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=1402.194.3.133.184.1148888040.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).