From: Unger R. <ric...@te...> - 2006-08-09 08:10:26
|
You need to add a parameter to your kernel boot line in your GRUB or = LILO configuration. Something like "video=3Dnscfb:vmode:1024x768-32,vfreq=3D75" That's assuming you are using the GEODE framebuffer driver, not vesa... Attached to the end of this email is the GEODE Framebuffer README file = from the amd.com site. It has a pretty good description of how to set it = up... Richie -------------------------------------------------------------------------= ---- PRODUCT INFORMATION -------------------------------------------------------------------------= ---- This driver is the frame buffer graphics device driver for the Geode GX=20 processors (GX 533@1.1W, GX 500@1.0W, GX 466@0.9W), Geode SC1200/SC1201, = SC2200,=20 and SC3200 processors, and the GX1 processors. (Hereafter referred to as = Geode=20 processor unless otherwise specified.) The driver works with the Geode = Linux=20 graphics driver architecture and has been tested with Linux kernel = 2.4.17.=20 Features -------- Geode GX processors (GX 533@1.1W, GX 500@1.0W, GX 466@0.9W) supported=20 display modes: - 640x480 @ 60, 72, 75, 85 Hz, 8, 16, and 32 bpp - 800x600 @ 56, 60, 72, 75, 85 Hz, 8, 16, and 32 bpp - 1024x768 @ 60, 70, 75, 85 Hz, 8, 16, and 32 bpp - 1152x864 @ 75 Hz 8, 16, and 32 bpp - 1280x1024 @ 60, 75, 85 Hz, 8, 16, and 32 bpp - 1600x1200 @ 60, 70, 75, 85 Hz, 8, 16, and 32 bpp Geode SC1200/SC1201/SC2200/SC3200 processors supported display modes:=20 - 640x480 @ 60, 72, 75, 85 Hz, 8 and 16 bpp - 800x600 @ 56, 60, 72, 75, 85 Hz, 8 and 16 bpp - 1024x768 @ 60, 70, 75, 85 Hz, 8 and 16 bpp - 1152x864 @ 75 Hz 8 bpp=20 - 1280x1024 @ 60, 75, 85 Hz, 8 bpp=20 Geode GX1 processors supported display modes: - 640x480 @ 60, 72, 75, 85 Hz, 8 and 16 bpp - 800x600 @ 56, 60, 72, 75, 85 Hz, 8 and 16 bpp - 1024x768 @ 60, 70, 75, 85 Hz, 8 and 16 bpp - 1152x864 @ 75 Hz 8, and 16 bpp - 1280x1024 @ 60, 75, 85 Hz, 8 and 16 bpp Geode SC1200/SC1201 processors supported TV modes (TV modes run only=20 on 16 bpp depth): - NTSC-720X480 - NTSC-640X480 - PAL-768X576 - PAL-720X576=09 - Default mode is 640x480 16 bpp. - To run 1280x1024@32 Video memory must be set to >=3D 8 MB in BIOS. - To run 1600x1200@32 Video memory must be set to >=3D 9.37 5 MB in = BIOS. - Compression is disabled automatically if video memory is insufficient. (e.g. modes like 1280x1024@32 with 8 MB video memory). - DDC (Display Data Channel) supported on the Geode GX1 processor-based = platforms. - If Flat panel option is selected, then DDC option is ignored. Dependencies ------------ Durango v2.51.02 Panel v1.3.5 DDC v1.1.1=20 tvoset v1.1.0 Functional Changes ------------------ - Readme.txt document modified with simple Build and Install = instructions. - Installation script has been added to install the Geode KFB driver = sources. Defects Corrected ----------------- - #169.12 vfreq 56 Hz for mode 800x600 in not supported. File Changes ------------ - All Known Errata ------------ - Panning is not supported in the driver when flat panel is selected. - Since flat panel display timings are different from the CRT, fbset utility shows different values for the vertical frequency=20 when flat panel enabled. - Panel support is not supported on the Geode SP1SC20/SP1SC21 platforms. If flat panel option is selected on SP1SC20/SP1SC21, display is = distorted=20 for BIOS version lower than v0.07. -------------------------------------------------------------------------= ---- VALIDATION ENVIRONMENT -------------------------------------------------------------------------= ---- Validated on:=20 Geode SP4GX22 system platform Geode SP4GX10 system platform Geode SP4SC30 system platform Geode SP1SC20/SP1SC21 system platforms=20 with Red hat 7.2 Linux-2.4.17. -------------------------------------------------------------------------= ---------- INSTALLATION INSTRUCTIONS -------------------------------------------------------------------------= ---------- Packages required: - RedHat 7.2 Installation hard disk (installed from CDs). - Linux Kernel source version 2.4.17 (linux-2.4.17.tar.gz). This can be down loaded from the following ftp site: ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.gz - If /usr/src/linux directory is existing then "mv /usr/src/linux = /usr/src/linux.old" - Place the downloaded linux-2.4.17.tar.gz in "/usr/src" directory and = expand it. "tar -zxvf linux-2.4.17.tar.gz" - Then /usr/src/linux directory will be created. Copying/injecting the Geode driver source into the existing kernel = source tree -------------------------------------------------------------------------= ----- 1. Extract the supplied nsc-kfb-driver-2.7.7 source tar file in "root" = directory as: - cd /root - tar -zxvf nsc-kfb-driver-2.7.7.tar.gz then "/root/nsc-kfb-driver-2.7.7" directory will be created. =20 2. cd /root/nsc-kfb-driver-2.7.7 3. Execute "./install" -------------------------------------------------------------------------= ---- BUILD INSTRUCTIONS =09 -------------------------------------------------------------------------= ----=20 - cd "/usr/src/linux" - Configure the Geode frame buffer driver with the following steps a) Run "make menuconfig" b) Goto "Code maturity level options" c) Enable "Prompt for development drivers" d) Goto top level menu and select "Console drivers" e) Goto "Frame-buffer Support" - Select "National Geode display support"=20 as "M" for Module or "*" for part of the kernel image - Select "FlatPanel Support" if required - Select "DDC Support" if required - Select "GAL Support" if required - Select "Advanced low level driver options" - Select "8, 16, 24, and 32bpp packed pixel support" f) Save the kernel configuration - For XFree86 Geode STB driver GAL option is mandatory. - For XFree Geode STB driver, you can set the flat panel or TV options=20 (Geode SC1200/SC1201 only), whichever needed.=20 - Run "make dep" - Run "make modules" - Run "make modules_install" - Run "make install" Configuration changes to install the linux-2.4.17 kernel -------------------------------------------------------- a) Update the file "/etc/lilo.conf": boot=3D/dev/hda map=3D/boot/map install=3D/boot/boot.b prompt timeout=3D50 linear default=3Dlinux-2.4.17 image=3D/boot/vmlinuz-2.4.17 label=3Dlinux-2.4.17 read-only root=3D/dev/hda1 b) Options for Geode KFB driver if it has been compiled as part of the = kernel image=20 - Modify "/etc/lilo.conf" to use these kernel command line options: For example NTSC-720X480 TV mode option: ---------------------------------------- boot=3D/dev/hda map=3D/boot/map install=3D/boot/boot.b prompt timeout=3D50 linear default=3Dlinux-2.4.17 image=3D/boot/vmlinuz-2.4.17 append=3D"video=3Dnscfb:vmode:NTSC-720X480" label=3Dlinux-2.4.17 read-only root=3D/dev/hda1 - Kernel command line options can be passed to nscfb with: `video=3Dnscfb:option1,option2:value2,option3' (multiple options = should be=20 separated by comma, values are separated from options by `:').=20 Accepted options: ----------------- The table for the Kernel mode numbers are: | 640x480 800x600 1024x768 1280x1024 1600x1200 -------+-------------------------------------------------------- 8 bpp | 0x301/769 0x303/771 0x305/773 0x307/775 0x31C/796 16 bpp | 0x311/785 0x314/788 0x317/791 0x31A/794 0x31E/798 24 bpp | 0x312/786 0x315/789 0x318/792 =20 vesa:X - Selects startup videomode. X is number from 0 to 0x1FF. See = the=20 above table for detailed explanation.=20 vmode:X - Selects startup videomode. X is string of the format=20 widthxheight-depth.=20 =20 vfreq:X - Selects startup video vertical frequency. Takes 60, 70, 72, = 75=20 and 85 Hz. Default is 60 Hz. Linux_kernel_mode_number =3D VESA_mode_number + 0x200 If adding in lilo.conf use the decimal number and not hex value. While using Geode frame buffer driver do not use "VGA=3DASK". To turn on the desired mode, use the video mode number of the Linux=20 kernel which is the VESA mode number plus 0x200. - Flat panel option is provided for TFT/DSTN support. This support is available only on platforms with CS9211 support. To select a Flat panel: 1. Option "flatpanel:1". This option is used to select the flat panel. =20 If BIOS supports flat panel the display will be flat panel and CRT. If BIOS does not support flat panel, the display defaults to CRT only. By default in the driver, flat panel is turned off for Geode GX1 = and=20 SC1200 processor-based platforms. This option is mandatory for Geode GX1 and SC1200 processor-based = platforms to select flat panel support. For flat panel based Geode GX (i.e., = GX 533@1.1W, GX 500@1.0W, GX 466@0.9W)processor platforms, default = flat panel=20 is enabled, so this is not required. In this version of driver, = flat panel is=20 supported on Geode GX (i.e., GX 533@1.1W, GX 500@1.0W, GX 466@0.9W) = TFT=20 version, Geode GX1 processor-based platforms, and the Geode SP4SC30 = platform=20 only. =09 - Option Compression:=20 - compression:1 is to enable the compression. - compression:0 is to disable the compression. - Default compression is enabled in the driver. sample options: --------------- #append=3D"video=3Dnscfb:vmode:791" #append=3D"video=3Dnscfb:vmode:1024x768-16,vfreq:75" #append=3D"video=3Dnscfb:vmode:NTSC-640X480" #append=3D"video=3Dnscfb:vmode:PAL-768X576" #append=3D"video=3Dnscfb:vmode:PAL-720X576" #append=3D"video=3Dnscfb:compression:0" #append=3D"video=3Dnscfb:vmode:NTSC-720X480,TVO:50:30:620:420" c) Execute the following commands: - Run "lilo" - Run reboot Installation of Geode KFB driver if Compiled as Module ------------------------------------------------------ Execute the instructions: - cd "/usr/src/linux/drivers/video/nsc/" - insmod nsc.o option1=3Dvalue option2=3Dvalue option3=3Dvalue ...etc. Available options usage: =20 i. vmode=3D"mode"=20 - To set 1024x768-16 mode: insmod nsc.o vmode=3D"1024x768-16" - To set PAL-768X576 mode: insmod nsc.o vmode=3D"PAL-768X576" ii. vesa=3Dvalue (value should be in hexadecimal or integer format) To set 1024x768-16 mode: insmod nsc.o vesa=3D0x317 (or 791) iii. compression=3Dvalue=20 - By default in the driver compression will be turned on.=20 - To disable compression the above option can be used as=20 insmod nsc.o compression=3D0 iv. flatpanel=3Dvalue=20 By default in the driver flat panel is off for Geode GX1 and=20 SC1200 processor-based platforms. This option is mandatory=20 for these processors to select flat panel support. =20 For flat panel Geode GX (i.e., GX 533@1.1W, GX 500@1.0W,=20 GX 466@0.9W) processor-based platforms the default flat panel=20 is enabled, so this option is not required. =20 Usage: On Geode GX1 and SC1200 processor-based platforms=20 to select flat panel:=20 - insmod nsc.o flatpanel=3D1=20 =20 V. ddc=3Dvalue=20 By default in the driver DDC is turned off.=20 insmod nsc.o ddc=3D1 will get DDC mode. Vi. vfreq=3Dvalue (value should be integer) TO select 85 Hz vfreq: insmod nsc.o vfreq=3D85 The format to select more than one option:=20 (e.g., insmod nsc.o vmode=3D"1024x768-16" vfreq=3D85) -------------------------------------------------------------------------= ------- RELEASE HISTORY (Previous Version) -------------------------------------------------------------------------= ------- Version 2.7.6, General Release Release Date: March 13th, 2003 Dependencies: - crlf v1.0.1o - Durango v2.51.01 - Panel v1.3.5 - DDC v1.1.1=20 - tvoset v1.1.0 Functional Changes=20 ------------------ - The 'gfx_enable_panning' routine exported to GAL. Defects Corrected ----------------- - Issue #169.10: Did not take the vfreq append entry in lilo bootloader=20 correctly for 640x480-16 mode. - Issue #169.11: Mode switch from higher mode to panel width and height = fails=20 on Geode GX1 processor and Geode GX (i.e., GX 533@1.1W, GX 500@1.0W,=20 GX 466@0.9W) processor-based platforms.=20 File Changes ------------ - nsc_gx1_fb.c - nsc_gx2_fb.c - nsc_ioctl.c - nsc_common_fb.h - nsc_ioctl.h - nsc_galproto.h Known Errata ------------ - Panning is not supported in the driver when flat panel is selected. - Since flat panel display timings are different from the CRT, fbset utility shows different values for the vertical frequency=20 when flat panel enabled. - Panel support is not supported on the Geode SP1SC20/SP1SC21 platforms. If flatpanel option selected on the Geode SP1SC20/SP1SC21, display is=20 distorted for BIOS version lower than v0.07. > -----Urspr=FCngliche Nachricht----- > Von: lin...@li...=20 > [mailto:lin...@li...] Im=20 > Auftrag von Kushal Koolwal > Gesendet: Mittwoch, 09. August 2006 01:52 > An: lin...@li... > Betreff: [Linux-fbdev-users] Where to put fbset command=20 > during system boot up >=20 > Hi, >=20 > I am using Debian Etch with kernel 2.6.17 and I am using the=20 > framebuffer driver for my Graphic Card(AMD GX processor). Now=20 > the problem is, when my system boots on the framebuffer=20 > console, the resolution is "640x480" which I later found out=20 > once my system booted into fluxbox and I ran the fbset -v=20 > command to see the resolution of the framebuffer debvice. Now=20 > I know that my framebuffer driver supports "1024x768"=20 > resolution. I checked this my hitting > Alt-Ctrl-F1 to switch from the fluxbox to the virtual console=20 > and then I gave the command fbset -v "1024x768-60" and the=20 > resolution got changed and I was getting a much bigger display now. >=20 > So my problem is how can I get that resolution during the=20 > system boot also.=20 > I tried putting a script called setconsole (which has a=20 > single line fbset -v > "1024x768-60") in /etc/init.d directory and made it=20 > executable and linked it with the rc.N directories by giving=20 > the following command: >=20 > update-rc.d setconsole defaults 10 >=20 > but it did not help. >=20 > How can get the particular resolution on my framebuffer=20 > console during the system boot? Do I need to place the script=20 > somewhere else? >=20 > THanks in advance. >=20 >=20 >=20 > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier Download IBM WebSphere Application Server=20 > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > dat=3D121642 > _______________________________________________ > Linux-fbdev-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-fbdev-users >=20 |