[LinuxBIOS] RES: VGA Support on AMD DB800

Omar Esteves Duarte Filho duarte at vonbraunlabs.com.br
Wed Dec 26 13:50:57 CET 2007


Jordan,

Thank you again!

I removed splash and quiet form the menu.lst and added "console=tty0
console=ttyS0,115200", as you can see below:

title           Ubuntu 7.10, kernel 2.6.23.9-geodelx-fb
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.23.9-geodelx-fb
root=UUID=a4e4ac87-c677-45e1-a
a21-1e4654feac95 ro vga=771 console=tty0 console=ttyS0,115200
initrd          /boot/initrd.img-2.6.23.9-geodelx-fb

I got some success here: startx works, but there's still no vga console
before X starts. I think there is some problem with the lxfb driver because,
if i switch the line " Device "AMD" " by "Device "Generic Video Card"" in
the xorg.conf file, I get no result. lxfb and fbcon are built into the
kernel.

My xorg.conf file is configured for the amd driver:

root at ubuntu-LX800:~# cat /etc/X11/xorg.conf
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "fbdev"
        BusID           "PCI:0:1:1"
        Option          "UseFBDev"              "true"
EndSection

Section "Monitor"
        Identifier      "Monitor1"
        Option          "DPMS"
        HorizSync       28-51
        VertRefresh     43-60
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       28-51
        VertRefresh     43-60
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

# Section "ServerLayout"
#       Identifier      "Default Layout"
#       Screen          "Default Screen"
#       InputDevice     "Generic Keyboard"
#       InputDevice     "Configured Mouse"
#       InputDevice     "stylus"        "SendCoreEvents"
#       InputDevice     "cursor"        "SendCoreEvents"
#       InputDevice     "eraser"        "SendCoreEvents"
#EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]
        #Option     "ModeSetClearScreen"        # [<bool>]
        Identifier  "AMD"
        #Driver      "vesa"
        Driver      "amd"
        VendorName  "Advanced Micro Devices [AMD]"
        BoardName   "Geode LX Video"
        #Option "NoInt10" "true"
        Option "NoCompression" "true"
        BusID       "PCI:0:1:1"
EndSection

Section "Screen"
    Identifier "screen1"
#    Device "device1"
     Device "AMD"
#    Device "Generic Video Card"

    Monitor "monitor1"
    DefaultColorDepth 16

    Subsection "Display"
        Viewport 0 0
        Depth 8
        Modes "800x600" "640x480"
    EndSubsection

    Subsection "Display"
        Viewport 0 0
        Depth 15
        Modes "800x600" "640x480"
    EndSubsection

    Subsection "Display"
        Viewport 0 0
        Depth 16
        Modes "800x600" "640x480"
    EndSubsection

    Subsection "Display"
        Viewport 0 0
        Depth 24
        Modes "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Generic Keyboard" "CoreKeyboard"
    InputDevice "Configured Mouse" "CorePointer"
    Screen "screen1"
EndSection


Section "DRI"
        Mode    0666
EndSection

Thanks!

Omar.


-----Mensagem original-----
De: linuxbios-bounces at linuxbios.org [mailto:linuxbios-bounces at linuxbios.org]
Em nome de Jordan Crouse
Enviada em: quinta-feira, 20 de dezembro de 2007 18:35
Para: Omar Esteves Duarte Filho
Cc: linuxbios at linuxbios.org
Assunto: Re: [LinuxBIOS] VGA Support on AMD DB800

On 20/12/07 18:25 -0200, Omar Esteves Duarte Filho wrote:
> Hello! 
> 
> I'm trying to use LinuxBIOS with AMD Geode DB800 platform. However, 
> until now, I could not manage to get VGA output working.
> 
> Here is a summary of what i've tried:
> 
> - built a LinuxBIOS rom image without VGA support.
> - downloaded a brand new kernel from www.kernel.org (kernel version:
> 2.6.23.9).
> - configured this kernel, enabling these options:
>  [*]   AMD Geode family framebuffer support (EXPERIMENTAL) 
>  <*>     AMD Geode LX framebuffer support (EXPERIMENTAL)  
> 
> - editted GRUB's menu.lst file to include the following entry:
> 
> 	title		Ubuntu, kernel 2.6.23.9-geodelx-fb
> 	root		(hd0,1)
> 	kernel		/boot/vmlinuz-2.6.23.9-geodelx-fb
> root=UUID=b40ebb15-49bd-4042-ab40-5437c0caa1ba ro quiet splash pnpbios=off
> 	initrd		/boot/initrd.img-2.6.23.9-geodelx-fb
> 	quiet
> 	savedefault
> 
> - compiled fbcon as a module.

Compile fbcon in to the kernel - if it is a module, then you won't see
any of the early kernel output at all.    I would also get rid of the
Ubuntu splash screen, it just getting in the way right now - remove 'quiet'
and 'splash' from the kernel line in grub.

> However, if I try to modprobe fbcon, i get nothing. Running startx 
> also gives me no result... Does anyone have any idea or clue about this?

Was X configured for the 'amd' driver?

Jordan



--
linuxbios mailing list
linuxbios at linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios





More information about the coreboot mailing list