Welcome! Log In Create A New Profile

Advanced

Request : XGI Graphics

Posted by Gravelrash 
Request : XGI Graphics
March 10, 2016 01:19PM
Would you be able and or willing to compile the rootfs/kernel with support for xgi graphics

cross link for consistency to HPT5325 thread

http://forum.doozan.com/read.php?2,25473,26554,page=6#msg-26554
Re: Request : XGI Graphics
March 10, 2016 01:47PM
Gravelrash,

The XGI support is in the kernel as a module: xgifb.ko. Try loading it during kernel boot or modprobe it on the fly, to see if I've missed anything related.
/lib/modules/4.4.0-kirkwood-tld-1/kernel/drivers/staging/xgifb/xgifb.ko

Is the T5325 has one of these for the XGI chip? I know PCI is working, perhaps it is bridged. Currently I don't have a display to test this capability.

Quote

This driver supports notebooks with XGI Z7,Z9,Z11 PCI chips

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Request : XGI Graphics
March 10, 2016 01:59PM
Here is the dmesg output from the T5325, showing that it was loaded during kernel booting.

root@T5325:~# dmesg | grep -i xgi
[   18.206715] xgifb: module is from the staging directory, the quality is unknown, you have been warned.
[   18.328560] xgifb 0000:01:00.0: Relocate IO address: 10000 [00010030]
[   18.397159] xgifb 0000:01:00.0: enabling device (0140 -> 0143)
[   18.459724] xgifb 0000:01:00.0: chipid = 32
[   18.502571] xgifb: SR14=51 DramSzie 2000000 ChannelNum 1
[   18.555128] xgifb 0000:01:00.0: Framebuffer at 0xe0000000, mapped to 0xe1000000, size 32768k
[   18.618776] xgifb 0000:01:00.0: MMIO at 0xe4000000, mapped to 0xe0f00000, size 256k
[   18.746978] xgifb 0000:01:00.0: No or unknown bridge type detected
[   18.774583] xgifb: Default mode is 800x600x16 (60Hz)

root@T5325:~# lsmod | grep xgi
xgifb                  80106  0 
cfbfillrect             2963  1 xgifb
cfbimgblt               1813  1 xgifb
cfbcopyarea             2625  1 xgifb
fb                     49476  1 xgifb

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Request : XGI Graphics
March 10, 2016 02:28PM
@bodhi - im a plank sometime.... i was using the wrong fs
Re: Request : XGI Graphics
March 11, 2016 04:17AM
@bodhi

im focusing now on getting the vga to work on this unit, so far i have learned what you probably already know and have acheived

Kernel VGA and Sound quoted from http://www.arm-blog.com/customizing-the-hp-t5325-with-opening-the-box/
You can build a kernel using the kirkwood kernelconfig, there is one major point to look out for and that is the XGI display driver, since this driver is staging, this needs to be extra specified in Device Drivers -> Staging Drivers, and disable the option “Disallow staging drivers from being built”, once disabled, you’ll see all the staging (testing) drivers in the current kernel, there is your XGI display driver. Also, if you want to have sound on the t5325, enable Alsa and enable the SoC audio options for the t5325 (you’ll notice the options directly).


Display
The xorg XGI display driver is not available in the armel repo’s of Debian, luckily there was a dude that built the XGI driver from source,
http://www.arm-blog.com/customizing-the-hp-t5325-with-opening-the-box/
http://www.arm-blog.com/downloads/ scroll down to the section HPT5325

attached for anyone taht wants it is a believed to be working xorg.conf file
Attachments:
open | download - xorg.conf (2.3 KB)
Re: Request : XGI Graphics
March 11, 2016 04:39AM
xgi seems to be covered by the following from x.org

http://www.x.org/wiki/Projects/Drivers/

sis - SiS 5597/5598, 6326, 530/620, 300/305, 540, 630/730, 315/E/H/PRO, 650/651/M650/740, 661FX/M661FX/M661MX/741, 330 (Xabre), 760; and XGI Volari V3XT, V5, and V8

Maintainer: Thomas Winischhofer

These may be helpful so adding here to remember later :)
http://www.x.org/wiki/sis/
http://ubuntuforums.org/showthread.php?t=2060174
https://github.com/search?utf8=%E2%9C%93&q=xorg-server
CV
Re: Request : XGI Graphics
March 11, 2016 04:53AM
I have VGA output using above attached xorg.conf and having apt-get'ted a lof of X'y things (icewm, gdm, whatnot..!)

USB Mouse and keyboard worked out of the box,
I have a running LXDE desktop
Resolution is 1024x768, I'll try to set it higher.
(In Display Settings its the max, I'll check the conf file).



Edited 1 time(s). Last edit at 03/11/2016 04:57AM by CV.
Re: Request : XGI Graphics
March 11, 2016 05:00AM
CV Wrote:
-------------------------------------------------------
> I have VGA output using above attached
> xorg.conf and having apt-get'ted a lof of X'y
> things (icewm, gdm, whatnot..!)

>
> USB Mouse and keyboard worked out of the box,
> I have a running LXDE desktop
> Resolution is 1024x768, I'll try to set it
> higher.
> (In Display Settings its the max, I'll check the
> conf file).


CV just to clarify, what kernel and uboot are you using and what steps did you take to make the VGA output to screen?

if this works out of the box, i take no credit for this and pass the thanks and praise directly to bodhi
CV
Re: Request : XGI Graphics
March 11, 2016 05:58AM
>> if this works out of the box, i take no credit for this and pass the thanks and praise directly to bodhi

I did not do anything special really,
I use Bodhis uboot and env flashed to NAND:
* uboot.2015.10-tld-2.t5325.mtd0.kwb
* uboot.2014.07-tld-3.environment.64K.img

His
* kernel: Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel GNU/Linux
* rootfs as linked somewhere in forum

* and your attched xorg.conf in this thread above.

No special settings anywhere.
EDIT: also NOT this:
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts video=xgifb splash quiet

So to clarify: I have no text console on VGA upon boot, I have to "startx" from serial console!


I installed some random X stuff, I must say I do not really remember,
probably any desktop package would be ok as it pulls the required dependent packages
and startx...!

:-)

Here is my complete package list:
root@debian:~
# dpkg-query -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  adduser        3.113+nmu3   all          add and remove users and groups
ii  adwaita-icon-t 3.14.0-2     all          default icon theme of GNOME
ii  apt            1.0.9.8.2    armel        commandline package manager
ii  apt-utils      1.0.9.8.2    armel        package management related utilit
ii  avahi-daemon   0.6.31-5     armel        Avahi mDNS/DNS-SD daemon
ii  base-files     8+deb8u3     armel        Debian base system miscellaneous 
ii  base-passwd    3.5.37       armel        Debian base system master passwor
ii  bash           4.3-11+b1    armel        GNU Bourne Again SHell
ii  bind9-host     1:9.9.5.dfsg armel        Version of 'host' bundled with BI
ii  bsdmainutils   9.0.6        armel        collection of more utilities from
ii  bsdutils       1:2.25.2-6   armel        basic utilities from 4.4BSD-Lite
ii  busybox        1:1.22.0-9+d armel        Tiny utilities for small and embe
ii  busybox-syslog 1:1.22.0-9+d all          Provides syslogd and klogd using 
ii  bzip2          1.0.6-7+b3   armel        high-quality block-sorting file c
ii  consolekit     0.4.6-5      armel        framework for defining and tracki
ii  coreutils      8.23-4       armel        GNU core utilities
ii  cpio           2.11+dfsg-4. armel        GNU cpio -- a program to manage a
ii  cpp            4:4.9.2-2    armel        GNU C preprocessor (cpp)
ii  cpp-4.9        4.9.2-10     armel        GNU C preprocessor
ii  dash           0.5.7-4+b1   armel        POSIX-compliant shell
ii  dbus           1.8.20-0+deb armel        simple interprocess messaging sys
ii  dconf-gsetting 0.22.0-1     armel        simple configuration storage syst
ii  dconf-service  0.22.0-1     armel        simple configuration storage syst
ii  debconf        1.5.56       all          Debian configuration management s
ii  debconf-i18n   1.5.56       all          full internationalization support
ii  debian-archive 2014.3       all          GnuPG archive keys of the Debian 
ii  debianutils    4.4+b1       armel        Miscellaneous utilities specific 
ii  desktop-file-u 0.22-1       armel        Utilities for .desktop files
ii  devio          1.2-1+b1     armel        correctly read (or write) a regio
rc  dhcpcd         1:3.2.3-11   armel        DHCP client for automatically con
ii  dialog         1.2-20140911 armel        Displays user-friendly dialog box
ii  diffutils      1:3.3-1+b1   armel        File comparison utilities
ii  dmsetup        2:1.02.90-2. armel        Linux Kernel Device Mapper usersp
ii  dpkg           1.17.26      armel        Debian package management system
ii  e2fslibs:armel 1.42.12-1.1  armel        ext2/ext3/ext4 file system librar
ii  e2fsprogs      1.42.12-1.1  armel        ext2/ext3/ext4 file system utilit
ii  esound-common  0.2.41-11    all          Enlightened Sound Daemon - Common
ii  ethtool        1:3.16-1     armel        display or change Ethernet device
ii  f2fs-tools     1.4.0-2      armel        Tools for Flash-Friendly File Sys
ii  findutils      4.4.2-9+b1   armel        utilities for finding files--find
ii  fontconfig     2.11.0-6.3   armel        generic font configuration librar
ii  fontconfig-con 2.11.0-6.3   all          generic font configuration librar
ii  fonts-dejavu-c 2.34-1       all          Vera font family derivate with ad
ii  galculator     2.1.3-1      armel        scientific calculator
ii  gcc-4.4-base:a 4.4.7-2      armel        GCC, the GNU Compiler Collection 
ii  gcc-4.9-base:a 4.9.2-10     armel        GCC, the GNU Compiler Collection 
ii  glib-networkin 2.42.0-2     armel        network-related giomodules for GL
ii  glib-networkin 2.42.0-2     all          network-related giomodules for GL
ii  glib-networkin 2.42.0-2     armel        network-related giomodules for GL
ii  gnupg          1.4.18-7     armel        GNU privacy guard - a free PGP re
ii  gpgv           1.4.18-7     armel        GNU privacy guard - signature ver
ii  gpicview       0.2.4-2+b2   armel        lightweight image viewer
ii  grep           2.20-4.1     armel        GNU grep, egrep and fgrep
ii  groff-base     1.22.2-8     armel        GNU troff text-formatting system 
ii  gsettings-desk 3.14.1-1     all          GSettings desktop-wide schemas
ii  gzip           1.6-4        armel        GNU compression utilities
ii  hicolor-icon-t 0.13-1       all          default fallback theme for FreeDe
ii  hostname       3.15         armel        utility to set/show the host name
ii  htop           1.0.3-1      armel        interactive processes viewer
ii  icewm          1.3.8-2      armel        wonderful Win95-OS/2-Motif-like w
ii  icewm-common   1.3.8-2      armel        wonderful Win95-OS/2-Motif-like w
ii  ifupdown       0.7.53.1     armel        high level tools to configure net
ii  init           1.22         armel        System-V-like init utilities - me
ii  init-system-he 1.22         all          helper tools for all init systems
ii  initramfs-tool 0.120        all          generic modular initramfs generat
ii  initscripts    2.88dsf-59   armel        scripts for initializing and shut
ii  insserv        1.14.0-5     armel        boot sequence organizer using LSB
ii  iperf          2.0.5+dfsg1- armel        Internet Protocol bandwidth measu
ii  iproute        1:3.16.0-2   all          transitional dummy package for ip
ii  iproute2       3.16.0-2     armel        networking and traffic control to
ii  iputils-ping   3:20121221-5 armel        Tools to test the reachability of
ii  isc-dhcp-clien 4.3.1-6+deb8 armel        DHCP client for automatically obt
ii  isc-dhcp-commo 4.3.1-6+deb8 armel        common files used by all of the i
ii  keyboard-confi 1.123        all          system-wide keyboard preferences
ii  klibc-utils    2.0.4-2      armel        small utilities built with klibc 
ii  kmod           18-3         armel        tools for managing Linux kernel m
ii  leafpad        0.8.18.1-4   armel        GTK+ based simple text editor
ii  less           458-3        armel        pager program similar to more
ii  libacl1:armel  2.2.52-2     armel        Access control list shared librar
ii  libapt-inst1.5 1.0.9.8.2    armel        deb package format runtime librar
ii  libapt-pkg4.12 1.0.9.8.2    armel        package management runtime librar
ii  libasound2:arm 1.0.28-1     armel        shared library for ALSA applicati
ii  libasound2-dat 1.0.28-1     all          Configuration files and profiles 
ii  libatk-bridge2 2.14.0-2     armel        AT-SPI 2 toolkit bridge - shared 
ii  libatk1.0-0:ar 2.14.0-1     armel        ATK accessibility toolkit
ii  libatk1.0-data 2.14.0-1     all          Common files for the ATK accessib
ii  libatspi2.0-0: 2.14.0-1     armel        Assistive Technology Service Prov
ii  libattr1:armel 1:2.4.47-2   armel        Extended attribute shared library
ii  libaudiofile1: 0.3.6-2+b1   armel        Open-source version of SGI's audi
ii  libaudit-commo 1:2.4-1      all          Dynamic library for security audi
ii  libaudit1:arme 1:2.4-1+b1   armel        Dynamic library for security audi
ii  libavahi-clien 0.6.31-5     armel        Avahi client library
ii  libavahi-commo 0.6.31-5     armel        Avahi common data files
ii  libavahi-commo 0.6.31-5     armel        Avahi common library
ii  libavahi-core7 0.6.31-5     armel        Avahi's embeddable mDNS/DNS-SD li
rc  libbind9-80    1:9.8.4.dfsg armel        BIND9 Shared Library used by BIND
ii  libbind9-90    1:9.9.5.dfsg armel        BIND9 Shared Library used by BIND
ii  libblkid1:arme 2.25.2-6     armel        block device id library
ii  libbsd0:armel  0.7.0-2      armel        utility functions from BSD system
ii  libbz2-1.0:arm 1.0.6-7+b3   armel        high-quality block-sorting file c
ii  libc-bin       2.19-18+deb8 armel        GNU C Library: Binaries
ii  libc6:armel    2.19-18+deb8 armel        GNU C Library: Shared libraries
ii  libcairo-gobje 1.14.0-2.1   armel        Cairo 2D vector graphics library 
ii  libcairo2:arme 1.14.0-2.1   armel        Cairo 2D vector graphics library
ii  libcap-ng0:arm 0.7.4-2      armel        An alternate POSIX capabilities l
ii  libcap2:armel  1:2.24-8     armel        POSIX 1003.1e capabilities (libra
ii  libcap2-bin    1:2.24-8     armel        POSIX 1003.1e capabilities (utili
ii  libck-connecto 0.4.6-5      armel        ConsoleKit libraries
ii  libcloog-isl4: 0.18.2-1+b2  armel        Chunky Loop Generator (runtime li
ii  libcolord2:arm 1.2.1-1+b2   armel        system service to manage device c
ii  libcomerr2:arm 1.42.12-1.1  armel        common error description library
ii  libcroco3:arme 0.6.8-3+b1   armel        Cascading Style Sheet (CSS) parsi
rc  libcryptsetup4 2:1.6.6-5    armel        disk encryption support - shared 
ii  libcups2:armel 1.7.5-11+deb armel        Common UNIX Printing System(tm) -
ii  libdaemon0:arm 0.14-6       armel        lightweight C library for daemons
ii  libdatrie1:arm 0.2.8-1      armel        Double-array trie library
ii  libdb4.8       4.8.30-2     armel        Berkeley v4.8 Database Libraries 
rc  libdb5.1:armel 5.1.29-5     armel        Berkeley v5.1 Database Libraries 
ii  libdb5.3:armel 5.3.28-9     armel        Berkeley v5.3 Database Libraries 
ii  libdbus-1-3:ar 1.8.20-0+deb armel        simple interprocess messaging sys
ii  libdbus-glib-1 0.102-1      armel        simple interprocess messaging sys
ii  libdconf1:arme 0.22.0-1     armel        simple configuration storage syst
ii  libdebconfclie 0.192        armel        Debian Configuration Management S
ii  libdevmapper1. 2:1.02.90-2. armel        Linux Kernel Device Mapper usersp
ii  libdns-export1 1:9.9.5.dfsg armel        Exported DNS Shared Library
ii  libdns100      1:9.9.5.dfsg armel        DNS Shared Library used by BIND
rc  libdns88       1:9.8.4.dfsg armel        DNS Shared Library used by BIND
ii  libdrm-freedre 2.4.58-2     armel        Userspace interface to msm/kgsl k
ii  libdrm-nouveau 2.4.58-2     armel        Userspace interface to nouveau-sp
ii  libdrm-radeon1 2.4.58-2     armel        Userspace interface to radeon-spe
ii  libdrm2:armel  2.4.58-2     armel        Userspace interface to kernel DRM
ii  libedit2:armel 3.1-20140620 armel        BSD editline and history librarie
ii  libegl1-mesa:a 10.3.2-1+deb armel        free implementation of the EGL AP
ii  libepoxy0      1.2-1        armel        OpenGL function pointer managemen
ii  libesd0:armel  0.2.41-11    armel        Enlightened Sound Daemon - Shared
ii  libevdev2      1.3+dfsg-1   armel        wrapper library for evdev devices
ii  libevent-2.0-5 2.0.21-stabl armel        Asynchronous event notification l
ii  libexif12:arme 0.6.21-2     armel        library to parse EXIF files
ii  libexpat1:arme 2.1.0-6+deb8 armel        XML parsing C library - runtime l
ii  libffi6:armel  3.1-2+b2     armel        Foreign Function Interface librar
ii  libflac8:armel 1.3.0-3      armel        Free Lossless Audio Codec - runti
ii  libfm-data     1.2.3-1      all          file management support (common d
ii  libfm-extra4:a 1.2.3-1      armel        file management support (extra li
ii  libfm-gtk-data 1.2.3-1      all          file management support (GTK+ lib
ii  libfm-gtk4:arm 1.2.3-1      armel        file management support (GTK+ 2.0
ii  libfm-modules: 1.2.3-1      armel        file management support (loadable
ii  libfm4:armel   1.2.3-1      armel        file management support (core lib
ii  libfontconfig1 2.11.0-6.3   armel        generic font configuration librar
ii  libfontenc1:ar 1:1.1.2-1+b2 armel        X11 font encoding library
ii  libfreetype6:a 2.5.2-3+deb8 armel        FreeType 2 font engine, shared li
ii  libgbm1:armel  10.3.2-1+deb armel        generic buffer management API -- 
ii  libgcc1:armel  1:4.9.2-10   armel        GCC support library
rc  libgcrypt11:ar 1.5.0-5+deb7 armel        LGPL Crypto library - runtime lib
ii  libgcrypt20:ar 1.6.3-2+deb8 armel        LGPL Crypto library - runtime lib
ii  libgdbm3:armel 1.8.3-13.1   armel        GNU dbm database routines (runtim
ii  libgdk-pixbuf2 2.31.1-2+deb armel        GDK Pixbuf library
ii  libgdk-pixbuf2 2.31.1-2+deb all          GDK Pixbuf library - data files
ii  libgeoip1:arme 1.6.2-4      armel        non-DNS IP-to-country resolver li
ii  libgif4:armel  4.1.6-11     armel        library for GIF images (library)
ii  libgl1-mesa-dr 10.3.2-1+deb armel        free implementation of the OpenGL
ii  libgl1-mesa-gl 10.3.2-1+deb armel        free implementation of the OpenGL
ii  libglapi-mesa: 10.3.2-1+deb armel        free implementation of the GL API
ii  libglib2.0-0:a 2.42.1-1     armel        GLib library of C routines
ii  libglu1-mesa:a 9.0.0-2      armel        Mesa OpenGL utility library (GLU)
ii  libgmp10:armel 2:6.0.0+dfsg armel        Multiprecision arithmetic library
ii  libgnutls-deb0 3.3.8-6+deb8 armel        GNU TLS library - main runtime li
ii  libgnutls-open 3.3.8-6+deb8 armel        GNU TLS library - OpenSSL wrapper
rc  libgnutls26:ar 2.12.20-8+de armel        GNU TLS library - runtime library
ii  libgpg-error0: 1.17-3       armel        library for common error values a
ii  libgraphite2-3 1.3.5-1~deb8 armel        Font rendering engine for Complex
ii  libgssapi-krb5 1.12.1+dfsg- armel        MIT Kerberos runtime libraries - 
rc  libgssglue1:ar 0.4-2        armel        mechanism-switch gssapi library
ii  libgtk-3-0:arm 3.14.5-1+deb armel        GTK+ graphical user interface lib
ii  libgtk-3-bin   3.14.5-1+deb armel        programs for the GTK+ graphical u
ii  libgtk-3-commo 3.14.5-1+deb all          common files for the GTK+ graphic
ii  libgtk2.0-0:ar 2.24.25-3    armel        GTK+ graphical user interface lib
ii  libgtk2.0-comm 2.24.25-3    all          common files for the GTK+ graphic
ii  libharfbuzz0b: 0.9.35-2     armel        OpenType text shaping engine (sha
ii  libhogweed2:ar 2.7.1-5      armel        low level cryptographic library (
ii  libice6:armel  2:1.0.9-1+b1 armel        X11 Inter-Client Exchange library
ii  libicu52:armel 52.1-8+deb8u armel        International Components for Unic
ii  libid3tag0     0.15.1b-11   armel        ID3 tag reading library from the 
ii  libidn11:armel 1.29-1+b2    armel        GNU Libidn library, implementatio
ii  libimlib2      1.4.6-2+b3   armel        image loading, rendering, saving 
ii  libirs-export9 1:9.9.5.dfsg armel        Exported IRS Shared Library
ii  libisc-export9 1:9.9.5.dfsg armel        Exported ISC Shared Library
rc  libisc84       1:9.8.4.dfsg armel        ISC Shared Library used by BIND
ii  libisc95       1:9.9.5.dfsg armel        ISC Shared Library used by BIND
rc  libisccc80     1:9.8.4.dfsg armel        Command Channel Library used by B
ii  libisccc90     1:9.9.5.dfsg armel        Command Channel Library used by B
ii  libisccfg-expo 1:9.9.5.dfsg armel        Exported ISC CFG Shared Library
rc  libisccfg82    1:9.8.4.dfsg armel        Config File Handling Library used
ii  libisccfg90    1:9.9.5.dfsg armel        Config File Handling Library used
ii  libisl10:armel 0.12.2-2     armel        manipulating sets and relations o
ii  libiw30:armel  30~pre9-8    armel        Wireless tools - library
ii  libjasper1:arm 1.900.1-debi armel        JasPer JPEG-2000 runtime library
ii  libjbig0:armel 2.1-3.1      armel        JBIGkit libraries
ii  libjpeg62-turb 1:1.3.1-12   armel        libjpeg-turbo JPEG runtime librar
ii  libjson-glib-1 1.0.2-1      armel        GLib JSON manipulation library
ii  libjson-glib-1 1.0.2-1      all          GLib JSON manipulation library (c
ii  libk5crypto3:a 1.12.1+dfsg- armel        MIT Kerberos runtime libraries - 
ii  libkeyutils1:a 1.5.9-5+b1   armel        Linux Key Management Utilities (l
ii  libklibc       2.0.4-2      armel        minimal libc subset for use with 
ii  libkmod2:armel 18-3         armel        libkmod shared library
ii  libkrb5-3:arme 1.12.1+dfsg- armel        MIT Kerberos runtime libraries
ii  libkrb5support 1.12.1+dfsg- armel        MIT Kerberos runtime libraries - 
ii  liblcms2-2:arm 2.6-3+b3     armel        Little CMS 2 color management lib
ii  libldap-2.4-2: 2.4.40+dfsg- armel        OpenLDAP libraries
ii  liblocale-gett 1.05-8+b1    armel        module using libc functions for i
rc  liblwres80     1:9.8.4.dfsg armel        Lightweight Resolver Library used
ii  liblwres90     1:9.9.5.dfsg armel        Lightweight Resolver Library used
ii  liblzma2       5.0.0-2      armel        XZ-format compression library
ii  liblzma5:armel 5.1.1alpha+2 armel        XZ-format compression library
ii  liblzo2-2:arme 2.08-1.2     armel        data compression library
ii  libmenu-cache- 1.0.0-1      armel        LXDE implementation of the freede
ii  libmenu-cache3 1.0.0-1      armel        LXDE implementation of the freede
ii  libmount1:arme 2.25.2-6     armel        device mounting library
ii  libmpc3:armel  1.0.2-1      armel        multiple precision complex floati
ii  libmpfr4:armel 3.1.2-2      armel        multiple precision floating-point
ii  libmtdev1:arme 1.1.5-1      armel        Multitouch Protocol Translation L
ii  libncurses5:ar 5.9+20140913 armel        shared libraries for terminal han
ii  libncursesw5:a 5.9+20140913 armel        shared libraries for terminal han
ii  libnettle4:arm 2.7.1-5      armel        low level cryptographic library (
ii  libnfsidmap2:a 0.25-5       armel        NFS idmapping library
ii  libobrender29  3.5.2-8      armel        rendering library for openbox the
ii  libobt2        3.5.2-8      armel        parsing library for openbox
ii  libogg0:armel  1.3.2-1      armel        Ogg bitstream library
ii  libopts25:arme 1:5.18.4-3   armel        automated option processing libra
ii  libp11-kit0:ar 0.20.7-1     armel        Library for loading and coordinat
ii  libpam-modules 1.1.8-3.1+de armel        Pluggable Authentication Modules 
ii  libpam-modules 1.1.8-3.1+de armel        Pluggable Authentication Modules 
ii  libpam-runtime 1.1.8-3.1+de all          Runtime support for the PAM libra
ii  libpam0g:armel 1.1.8-3.1+de armel        Pluggable Authentication Modules 
ii  libpango-1.0-0 1.36.8-3     armel        Layout and rendering of internati
ii  libpango1.0-0: 1.36.8-3     armel        Layout and rendering of internati
ii  libpangocairo- 1.36.8-3     armel        Layout and rendering of internati
ii  libpangoft2-1. 1.36.8-3     armel        Layout and rendering of internati
ii  libpangox-1.0- 0.0.2-5      armel        pango library X backend
ii  libpangoxft-1. 1.36.8-3     armel        Layout and rendering of internati
ii  libpciaccess0: 0.13.2-3+b1  armel        Generic PCI access library for X
ii  libpcre3:armel 2:8.35-3.3+d armel        Perl 5 Compatible Regular Express
ii  libpipeline1:a 1.4.0-1      armel        pipeline manipulation library
ii  libpixman-1-0: 0.32.6-3     armel        pixel-manipulation library for X 
ii  libpng12-0:arm 1.2.50-2+deb armel        PNG library - runtime
ii  libpolkit-agen 0.105-8      armel        PolicyKit Authentication Agent AP
ii  libpolkit-gobj 0.105-8      armel        PolicyKit Authorization API
ii  libpopt0:armel 1.16-10      armel        lib for parsing cmdline parameter
rc  libprocps0:arm 1:3.3.3-3    armel        library for accessing process inf
ii  libprocps3:arm 2:3.3.9-9    armel        library for accessing process inf
ii  libproxy1:arme 0.4.11-4+b2  armel        automatic proxy configuration man
ii  libpsl0:armel  0.5.1-1      armel        Library for Public Suffix List (s
ii  libpython-stdl 2.7.9-1      armel        interactive high-level object-ori
ii  libpython2.7-m 2.7.9-2      armel        Minimal subset of the Python lang
ii  libpython2.7-s 2.7.9-2      armel        Interactive high-level object-ori
ii  libreadline6:a 6.3-8+b3     armel        GNU readline and history librarie
ii  librest-0.7-0: 0.7.92-3     armel        REST service access library
ii  librsvg2-2:arm 2.40.5-1     armel        SAX-based renderer library for SV
ii  librsvg2-commo 2.40.5-1     armel        SAX-based renderer library for SV
ii  libsasl2-2:arm 2.1.26.dfsg1 armel        Cyrus SASL - authentication abstr
ii  libsasl2-modul 2.1.26.dfsg1 armel        Cyrus SASL - pluggable authentica
ii  libselinux1:ar 2.3-2        armel        SELinux runtime shared libraries
ii  libsemanage-co 2.3-1        all          Common files for SELinux policy m
ii  libsemanage1:a 2.3-1+b1     armel        SELinux policy management library
ii  libsepol1:arme 2.3-2        armel        SELinux library for manipulating 
ii  libslang2:arme 2.3.0-2      armel        S-Lang programming library - runt
ii  libsm6:armel   2:1.2.2-1+b1 armel        X11 Session Management library
ii  libsmartcols1: 2.25.2-6     armel        smart column output alignment lib
ii  libsoup-gnome2 2.48.0-1     armel        HTTP library implementation in C 
ii  libsoup2.4-1:a 2.48.0-1     armel        HTTP library implementation in C 
ii  libsqlite3-0:a 3.8.7.1-1+de armel        SQLite 3 shared library
ii  libss2:armel   1.42.12-1.1  armel        command-line interface parsing li
ii  libssl0.9.8    0.9.8o-4sque armel        SSL shared libraries
ii  libssl1.0.0:ar 1.0.1k-3+deb armel        Secure Sockets Layer toolkit - sh
ii  libstartup-not 0.12-4       armel        library for program launch feedba
ii  libstdc++6:arm 4.9.2-10     armel        GNU Standard C++ Library v3
rc  libsystemd-log 215-17+deb8u armel        systemd login utility library (de
ii  libsystemd0:ar 215-17+deb8u armel        systemd utility library
rc  libtasn1-3:arm 2.13-2       armel        Manage ASN.1 structures (runtime)
ii  libtasn1-6:arm 4.2-3+deb8u1 armel        Manage ASN.1 structures (runtime)
ii  libtext-charwi 0.04-7+b3    armel        get display widths of characters 
ii  libtext-iconv- 1.7-5+b2     armel        converts between character sets i
ii  libtext-wrapi1 0.06-7       all          internationalized substitute of T
ii  libthai-data   0.1.21-1     all          Data files for Thai language supp
ii  libthai0:armel 0.1.21-1     armel        Thai language support library
ii  libtiff5:armel 4.0.3-12.3+d armel        Tag Image File Format (TIFF) libr
ii  libtinfo5:arme 5.9+20140913 armel        shared low-level terminfo library
ii  libtirpc1:arme 0.2.5-1      armel        transport-independent RPC library
ii  libudev0:armel 175-7.2      armel        libudev shared library
ii  libudev1:armel 215-17+deb8u armel        libudev shared library
ii  libusb-0.1-4:a 2:0.1.12-25  armel        userspace USB programming library
ii  libustr-1.0-1: 1.0.4-3+b2   armel        Micro string library: shared libr
ii  libutempter0   1.1.5-4      armel        A privileged helper for utmp/wtmp
ii  libuuid-perl   0.05-1+b1    armel        Perl extension for using UUID int
ii  libuuid1:armel 2.25.2-6     armel        Universally Unique ID library
ii  libvte-common  1:0.28.2-5   all          Terminal emulator widget for GTK+
ii  libvte9        1:0.28.2-5   armel        Terminal emulator widget for GTK+
ii  libwayland-cli 1.6.0-2      armel        wayland compositor infrastructure
ii  libwayland-cur 1.6.0-2      armel        wayland compositor infrastructure
ii  libwayland-ser 1.6.0-2      armel        wayland compositor infrastructure
ii  libwnck-common 2.30.7-2     all          Window Navigator Construction Kit
ii  libwnck22      2.30.7-2     armel        Window Navigator Construction Kit
ii  libwrap0:armel 7.6.q-25     armel        Wietse Venema's TCP wrappers libr
ii  libx11-6:armel 2:1.6.2-3    armel        X11 client-side library
ii  libx11-data    2:1.6.2-3    all          X11 client-side library
ii  libx11-xcb1:ar 2:1.6.2-3    armel        Xlib/XCB interface library
ii  libxau6:armel  1:1.0.8-1    armel        X11 authorisation library
ii  libxaw7:armel  2:1.0.12-2+b armel        X11 Athena Widget library
ii  libxcb-dri2-0: 1.10-3+b1    armel        X C Binding, dri2 extension
ii  libxcb-dri3-0: 1.10-3+b1    armel        X C Binding, dri3 extension
ii  libxcb-glx0:ar 1.10-3+b1    armel        X C Binding, glx extension
ii  libxcb-present 1.10-3+b1    armel        X C Binding, present extension
ii  libxcb-render0 1.10-3+b1    armel        X C Binding, render extension
ii  libxcb-shape0: 1.10-3+b1    armel        X C Binding, shape extension
ii  libxcb-shm0:ar 1.10-3+b1    armel        X C Binding, shm extension
ii  libxcb-sync1:a 1.10-3+b1    armel        X C Binding, sync extension
ii  libxcb-util0:a 0.3.8-3      armel        utility libraries for X C Binding
ii  libxcb-xfixes0 1.10-3+b1    armel        X C Binding, xfixes extension
ii  libxcb1:armel  1.10-3+b1    armel        X C Binding
ii  libxcomposite1 1:0.4.4-1    armel        X11 Composite extension library
ii  libxcursor1:ar 1:1.1.14-1+b armel        X cursor management library
ii  libxdamage1:ar 1:1.1.4-2+b1 armel        X11 damaged region extension libr
ii  libxdmcp6:arme 1:1.1.1-1+b1 armel        X11 Display Manager Control Proto
ii  libxext6:armel 2:1.3.3-1    armel        X11 miscellaneous extension libra
ii  libxfixes3:arm 1:5.0.1-2+b2 armel        X11 miscellaneous 'fixes' extensi
ii  libxfont1:arme 1:1.5.1-1    armel        X11 font rasterisation library
ii  libxft2:armel  2.3.2-1      armel        FreeType-based font drawing libra
ii  libxi6:armel   2:1.7.4-1+b2 armel        X11 Input extension library
ii  libxinerama1:a 2:1.1.3-1+b1 armel        X11 Xinerama extension library
ii  libxkbcommon0: 0.4.3-2      armel        library interface to the XKB comp
ii  libxkbfile1:ar 1:1.0.8-1    armel        X11 keyboard file manipulation li
ii  libxml2:armel  2.9.1+dfsg1- armel        GNOME XML library
ii  libxmu6:armel  2:1.1.2-1    armel        X11 miscellaneous utility library
ii  libxmuu1:armel 2:1.1.2-1    armel        X11 miscellaneous micro-utility l
ii  libxpm4:armel  1:3.5.11-1+b armel        X11 pixmap library
ii  libxrandr2:arm 2:1.4.2-1+b1 armel        X11 RandR extension library
ii  libxrender1:ar 1:0.9.8-1+b1 armel        X Rendering Extension client libr
ii  libxres1:armel 2:1.0.7-1+b1 armel        X11 Resource extension library
ii  libxshmfence1: 1.1-4        armel        X shared memory fences - shared l
ii  libxt6:armel   1:1.1.4-1+b1 armel        X11 toolkit intrinsics library
ii  libxtst6:armel 2:1.2.2-1+b1 armel        X11 Testing -- Record extension l
ii  libxv1:armel   2:1.0.10-1+b armel        X11 Video extension library
ii  libxxf86dga1:a 2:1.1.4-1+b1 armel        X11 Direct Graphics Access extens
ii  libxxf86vm1:ar 1:1.1.3-1+b1 armel        X11 XFree86 video mode extension 
ii  linux-base     3.5          all          Linux image base package
ii  linux-image-4. 1.0          armel        Linux kernel binary image for ver
ii  login          1:4.2-3+deb8 armel        system login tools
ii  lsb-base       4.1+Debian13 all          Linux Standard Base 4.1 init scri
ii  lsb-release    4.1+Debian13 all          Linux Standard Base version repor
ii  lxappearance   0.6.1-1      armel        LXDE GTK+ theme switcher
ii  lxappearance-o 0.2.2-1      armel        LXDE GTK+ theme switcher (plugin)
ii  lxde           6            all          Metapackage for LXDE
ii  lxde-common    0.99.0-1     all          LXDE configuration data
ii  lxde-core      6            all          Metapackage for the LXDE core
ii  lxde-icon-them 0.5.1-1      all          LXDE standard icon theme
ii  lxinput        0.3.4-1      armel        LXDE keyboard and mouse configura
ii  lxmenu-data    0.1.4-1      all          LXDE freedesktop.org menu specifi
ii  lxpanel        0.7.2-1      armel        LXDE panel
ii  lxpanel-data   0.7.2-1      all          LXDE panel (data files)
ii  lxrandr        0.3.0-1      armel        LXDE monitor configuration tool
ii  lxsession      0.5.1-2      armel        LXDE default session manager
ii  lxterminal     0.2.0-1      armel        LXDE terminal emulator
ii  man-db         2.7.0.2-5    armel        on-line manual pager
ii  mawk           1.3.3-17     armel        a pattern scanning and text proce
ii  mime-support   3.58         all          MIME files 'mime.types' & 'mailca
ii  module-init-to 18-3         all          transitional dummy package (modul
ii  mount          2.25.2-6     armel        Tools for mounting and manipulati
ii  mtd-utils      1:1.5.1-1    armel        Memory Technology Device Utilitie
ii  multiarch-supp 2.19-18+deb8 armel        Transitional package to ensure mu
ii  nano           2.2.6-3      armel        small, friendly text editor inspi
ii  ncurses-base   5.9+20140913 all          basic terminal type definitions
ii  ncurses-bin    5.9+20140913 armel        terminal-related programs and man
ii  net-tools      1.60-26+b1   armel        NET-3 networking toolkit
ii  netbase        5.3          all          Basic TCP/IP networking system
ii  nfs-common     1:1.2.8-9    armel        NFS support files common to clien
ii  nfs-kernel-ser 1:1.2.8-9    armel        support for NFS kernel server
ii  ntp            1:4.2.6.p5+d armel        Network Time Protocol daemon and 
ii  ntpdate        1:4.2.6.p5+d armel        client for setting system time fr
ii  openbox        3.5.2-8      armel        standards-compliant, fast, light-
ii  openssh-blackl 0.4.1+nmu1   all          list of default blacklisted OpenS
ii  openssh-client 1:6.7p1-5+de armel        secure shell (SSH) client, for se
ii  openssh-server 1:6.7p1-5+de armel        secure shell (SSH) server, for se
ii  openssh-sftp-s 1:6.7p1-5+de armel        secure shell (SSH) sftp server mo
ii  passwd         1:4.2-3+deb8 armel        change and administer password an
ii  pcmanfm        1.2.3-1.1    armel        extremely fast and lightweight fi
ii  perl-base      5.20.2-3+deb armel        minimal Perl system
ii  procps         2:3.3.9-9    armel        /proc file system utilities
ii  python         2.7.9-1      armel        interactive high-level object-ori
ii  python-minimal 2.7.9-1      armel        minimal subset of the Python lang
ii  python2.7      2.7.9-2      armel        Interactive high-level object-ori
ii  python2.7-mini 2.7.9-2      armel        Minimal subset of the Python lang
ii  readline-commo 6.3-8        all          GNU readline and history librarie
ii  rpcbind        0.2.1-6+deb8 armel        converts RPC program numbers into
ii  rsync          3.1.1-3      armel        fast, versatile, remote (and loca
ii  sed            4.2.2-4+b1   armel        The GNU sed stream editor
ii  sensible-utils 0.0.9        all          Utilities for sensible alternativ
ii  shared-mime-in 1.3-1        armel        FreeDesktop.org shared MIME datab
ii  startpar       0.59-3       armel        run processes in parallel and mul
rc  systemd        215-17+deb8u armel        system and service manager
ii  sysv-rc        2.88dsf-59   all          System-V-like runlevel change mec
ii  sysvinit       2.88dsf-59   armel        System-V-like init utilities - tr
ii  sysvinit-core  2.88dsf-59   armel        System-V-like init utilities
ii  sysvinit-utils 2.88dsf-59   armel        System-V-like utilities
ii  tar            1.27.1-2+b1  armel        GNU version of the tar archiving 
ii  ttf-dejavu-cor 2.34-1       all          transitional dummy package
ii  tzdata         2015g-0+deb8 all          time zone and daylight-saving tim
ii  u-boot-tools   2014.10+dfsg armel        companion tools for Das U-Boot bo
ii  uboot-envtools 20081215-3+2 all          read/modify the environment for t
ii  uboot-mkimage  2012.04.01-2 all          generate kernel image for U-Boot 
ii  ucf            3.0030       all          Update Configuration File(s): pre
ii  udev           215-17+deb8u armel        /dev/ and hotplug management daem
ii  util-linux     2.25.2-6     armel        Miscellaneous system utilities
ii  vim-common     2:7.4.488-7  armel        Vi IMproved - Common files
ii  vim-tiny       2:7.4.488-7  armel        Vi IMproved - enhanced vi editor 
ii  wget           1.16-1       armel        retrieves files from the web
ii  x11-apps       7.7+4        armel        X applications
ii  x11-common     1:7.7+7      all          X Window System (X.Org) infrastru
ii  x11-session-ut 7.7+1        armel        X session utilities
ii  x11-utils      7.7+2        armel        X11 utilities
ii  x11-xkb-utils  7.7+1        armel        X11 XKB utilities
ii  x11-xserver-ut 7.7+3+b1     armel        X server utilities
ii  xarchiver      1:0.5.4-1    armel        GTK+ frontend for most used compr
ii  xauth          1:1.0.9-1    armel        X authentication utility
ii  xbitmaps       1.1.1-2      all          Base X bitmaps
ii  xfonts-100dpi  1:1.0.3      all          100 dpi fonts for X
ii  xfonts-75dpi   1:1.0.3      all          75 dpi fonts for X
ii  xfonts-base    1:1.0.3      all          standard fonts for X
ii  xfonts-encodin 1:1.0.4-2    all          Encodings for X.Org fonts
ii  xfonts-scalabl 1:1.0.3-1    all          scalable fonts for X
ii  xfonts-utils   1:7.7+2      armel        X Window System font utility prog
ii  xinit          1.3.4-1      armel        X server initialisation tool
ii  xkb-data       2.12-1       all          X Keyboard Extension (XKB) config
ii  xorg           1:7.7+7      armel        X.Org X Window System
ii  xorg-docs-core 1:1.7-1      all          Core documentation for the X.org 
ii  xserver-common 2:1.16.4-1   all          common files used by various X se
ii  xserver-xorg   1:7.7+7      armel        X.Org X server
ii  xserver-xorg-c 2:1.16.4-1   armel        Xorg X server - core server
ii  xserver-xorg-i 1:7.7+7      armel        X.Org X server -- input driver me
ii  xserver-xorg-i 1:2.9.0-2    armel        X.Org X server -- evdev input dri
ii  xserver-xorg-i 1.8.1-1      armel        Synaptics TouchPad driver for X.O
ii  xserver-xorg-v 1:7.7+7      armel        X.Org X server -- output driver m
ii  xserver-xorg-v 1:7.5.0-1    armel        X.Org X server -- AMD/ATI display
ii  xserver-xorg-v 1:1.5.2-2+b1 armel        X.Org X server -- Cirrus display 
ii  xserver-xorg-v 1:0.4.4-1+b2 armel        X.Org X server -- fbdev display d
ii  xserver-xorg-v 6.9.4-2      armel        X.Org X server -- ATI Mach64 disp
ii  xserver-xorg-v 1:1.6.3-2+b1 armel        X.Org X server -- MGA display dri
ii  xserver-xorg-v 1:1.2.8-1+b2 armel        X.Org X server -- Neomagic displa
ii  xserver-xorg-v 6.9.2-1+b2   armel        X.Org X server -- ATI r128 displa
ii  xserver-xorg-v 1:7.5.0-1    armel        X.Org X server -- AMD/ATI Radeon 
ii  xserver-xorg-v 1:2.3.7-2+b2 armel        X.Org X server -- Savage display 
ii  xserver-xorg-v 1:1.7.7-2+b2 armel        X.Org X server -- SiliconMotion d
ii  xserver-xorg-v 1:0.9.6-2+b2 armel        X.Org X server -- SiS USB display
ii  xserver-xorg-v 1:1.4.5-1+b2 armel        X.Org X server -- tdfx display dr
ii  xserver-xorg-v 1:1.3.6-2+b2 armel        X.Org X server -- Trident display
ii  xserver-xorg-v 1:2.3.3-1+b3 armel        X.Org X server -- VESA display dr
ii  xterm          312-2        armel        X terminal emulator
ii  xz-utils       5.1.1alpha+2 armel        XZ-format compression utilities
ii  zlib1g:armel   1:1.2.8.dfsg armel        compression library - runtime
root@debian:~
#



Edited 1 time(s). Last edit at 03/11/2016 06:07AM by CV.
Re: Request : XGI Graphics
March 11, 2016 06:05AM
the lxde meta package seems to be the most likely candidate as it brings in icewm, and x-* which is necessary for a graphical logon.

did you startx from the cli then logon via the GUI or was this automagically working and the graphical desktop appeared?
CV
Re: Request : XGI Graphics
March 11, 2016 06:09AM
>> did you startx from the cli then logon via the GUI or was this automagically working and the graphical desktop appeared?
I saw your response to late, I edited above: : i have to start X from serial, as I do not have a VGA console.
Re: Request : XGI Graphics
March 11, 2016 06:47AM
there is a way to make this start automatically at boot. would you be interested in doing this or are you happy as is?
CV
Re: Request : XGI Graphics
March 11, 2016 06:58AM
>> there is a way to make this start automatically at boot. would you be interested in doing this or are you happy as is?
Sure I am interested!

* I would like to have the serial console TOGETHER with a VGA console
* I would like to have autostart X and have a graphical login (like on a standard Destop Linux)

I think I could setup the X autostart some "debian" way just messing around, but I have not found out of how to configure a text login console...
Re: Request : XGI Graphics
March 11, 2016 07:51AM
i *may* get chance over the weekend, fi work commitments allow and i will see what i can find out.
Re: Request : XGI Graphics
March 11, 2016 10:21AM
ok this should give some more options and screen resolutions for the xorg.conf as usual backup your original file before you make any changes - also can you post your xorg.conf file so we can do a compare and contrast?

Removed as it was missing a bunch of stuff



Edited 1 time(s). Last edit at 03/11/2016 02:52PM by Gravelrash.
Re: Request : XGI Graphics
March 11, 2016 10:36AM
Can you do the following for me?

dmesg | grep tty

and also - when you have done a startx, does the Alt+F2 etc allow you to view other terminals.

also you may need to install getty

apt-get install (util-linux | mingetty | ngetty | rungetty)

and ensure that the /etc/inittab file has them running for your default runlevel. E.g.:

1:23457:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6



Edited 1 time(s). Last edit at 03/11/2016 03:01PM by Gravelrash.
CV
Re: Request : XGI Graphics
March 11, 2016 01:24PM
Hi Gravelrash,
I found out two things:

1) we have to start the framebuffer console, as the t5325 has no "normal" VGA as a PC would have
It's either compiled into the kernel or a module, we already have it as a module (thanks to Bodhi!)

2) start a TTY on it

So:
root@debian:~
# modprobe fbcon
root@debian:~
# agetty --noclear tty0 linux

And on black screen we see:
Debian GNU/Linux 8 debian tty0

debian login:

Yeah! :-)

root can't login, root login is disabled, but create a normal user, then you can!

Now we only have to put this into the init scripts and be done!

:-)

EDIT: I use the attached xorg.conf from this thread, unaltered, so I don't post it here.
(But I will try your suggested additions, and if I can get higher resolution, I will)

# dmesg | grep tty
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env) video=xgifb splash quiet
[    1.025818] console [ttyS0] disabled
[    1.025882] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    1.036964] console [ttyS0] enabled
root@debian:~



Edited 2 time(s). Last edit at 03/11/2016 01:31PM by CV.
Re: Request : XGI Graphics
March 11, 2016 01:29PM
if you get to do this before i do would you post the steps to set this up in the init scripts so anyone else following will be able to do it

when we have this all working from start to finish I am going to write this up as a howto abd ask bodhi to includ it in his "wiki"
CV
Re: Request : XGI Graphics
March 11, 2016 01:37PM
Gravelrash,
sure, I will not hold anything back - I got so much from here, I want to give back as much as I can!
I didn't post then, but ~3 years ago I used this site to setup a dockstar as my fileserver - its running stable ever since!

Many Thanks to everyone contributing on this site, for their time, effort, dedication and will to share!
Re: Request : XGI Graphics
March 11, 2016 01:52PM
Good works you guys :) now it would be cool to see Gravelrash 7" display fitted to this box.

@CV, will it be in the init scripts where it will survive kernel upgrade?

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Request : XGI Graphics
March 11, 2016 02:30PM
@CV
I have just re read the above second xorg.conf i posted - DONT USE IT - its missing a bunch of settings that need to be in there. Dunno if i it a paste limit of something.
CV
Re: Request : XGI Graphics
March 12, 2016 03:28AM
Hi,
here is how to change the X11 resolution:
see changes in "/etc/X11/xorg.conf" below in bold.
1600x1200 seems to be the maximum the t5325 can do.
I deleted the 8bit mode section, not useful for me.

(It was astonishingly simple, no mode line settings or anything needed, I remember them with a shudder)



xorg.conf:
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    "record"
        Load    "type1"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Option          "XLeds" "1 2 3"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option "XkbModel"       "evdev"
        Option "XkbLayout"      "us"
        Option "XkbVariant"     "wincompat"
        Option "XkbOptions"     "srvrkeys:none"
        Driver          "evdev"
        Option          "Device"        "/dev/input/event1"
EndSection
Section "Monitor"
        Identifier      "Primary Monitor"
        Option          "DPMS"  "true"
        HorizSync       1-10000
        VertRefresh     1-10000
        #Option         "NonDDCDefaultMode"             "1440x900@60"
        #Option         "PreferredMode" "1440x900"
        Option          "NonDDCDefaultMode"             "1600x1200@60"
        Option          "PreferredMode" "1600x1200"
EndSection
Section "Device"
        Identifier      "Driver0"
        Screen          0
        Driver          "fbdev"
        BoardName       "XGI Volari Z11"
        BusID           "PCI:00:01:0"
        Option          "HWCursor"      "On"
        Option          "SWCursor"      "Off"
        Option          "NoAccel"       "0"
        Option          "DDCMode"       "On"
        Option          "DRI"           "On"
#       Option          "EnableSiSCtrl" "On"
        Option          "AccelMethod"   "EXA"
        Option          "UseFBDev"      "true"
        Option          "RenderAccel"   "true"
        Option          "BusType"       "PCIE"
#       Option          "MergedFB"      "true"
#       Option          "EnablePageFlip" "true"
        Option          "fbdev"         "/dev/fb0"
        Option          "ShadowFB"      "true"
EndSection
Section "Screen"
    Identifier     "Primary Screen"
    Device         "Driver0"
    Monitor        "Primary Monitor"
    DefaultDepth    16
    SubSection     "Display"
        Depth       16
        Modes      "1600x1200" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
Section "ServerLayout"
        Identifier      "Default Layout"
        InputDevice     "Generic Keyboard"
        Screen          0 "Primary Screen" 0 0
EndSection
Section "DRI"
        Mode    0666
EndSection
Section "ServerFlags"
        Option "DontVTSwitch" "false"
        Option "DontZap" "false"
        Option "DontZoom" "true"
EndSection
CV
Re: Request : XGI Graphics
March 12, 2016 03:37AM
Question to X warnings I get on startx (and to keyboard settings):

# startx &
[2] 2865
root@debian:~
#

X.Org X Server 1.16.4
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-0.bpo.4-armmp-lpae armv7l Debian
Current Operating System: Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel
Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env) video=xgifb splash quiet
Build Date: 11 February 2015  01:28:48AM
xorg-server 2:1.16.4-1 (http://www.debian.org/support)
Current version of pixman: 0.32.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 12 07:32:48 2016
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
[75558.152570] vgaarb: this pci device is not a vga device
[75558.164931] vgaarb: this pci device is not a vga device
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            No Symbols named "wincompat" in the include file "de"
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server

* What might this "vgaarb: this pci device is not a vga device" mean?
* Dang, I just don't recall how to set keyboard layout, it's to long, and I got spoiled by all them graphical config managers...

Somebody remember?
CV
Re: Request : XGI Graphics
March 12, 2016 03:53AM
Graphic speed is not great really...

* moving a xterm window has a BIG lag!
* glxgears in default windows size says 18 FPS

This really sets me back to 1995 (?) - glxgears, xeyes... :-)

This xgifb driver probably is not axcellerated at all..?

(Which is no problem for me, I plan to replace my dockstar fileserver with the t5325 and will run it headless,
I choose it for its 512MB RAM, hope that will allow clamav to run, the dockstar's 128MB is not enough for this)



Edited 1 time(s). Last edit at 03/12/2016 03:54AM by CV.
Re: Request : XGI Graphics
March 12, 2016 04:50AM
keyboard layout is in this section
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Option          "XLeds" "1 2 3"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option "XkbModel"       "evdev"
        Option "XkbLayout"      "us"
        Option "XkbVariant"     "wincompat"
        Option "XkbOptions"     "srvrkeys:none"
        Driver          "evdev"
        Option          "Device"        "/dev/input/event1"
EndSection

My guess for your setup would be something like
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Option          "XLeds" "1 2 3"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option "XkbModel"       "evdev"
        Option "XkbLayout"      "de"
#        Option "XkbVariant"     "wincompat"
        Option "XkbOptions"     "srvrkeys:none"
        Driver          "evdev"
        Option          "Device"        "/dev/input/event1"
EndSection

I will have an hour or so to check this later and see what i can find,



Edited 1 time(s). Last edit at 03/12/2016 04:58AM by Gravelrash.
Re: Request : XGI Graphics
March 12, 2016 07:39AM
Ok, got kernel output onscreen when booting (most of it, like a PC anyway), CLI on screen works fine and xorg works (not yet installed a DE, but it starts up fine and shows... a better looking command line interface, with a working mouse).

you need to add "console=tty0" to the bootargs in uboot
and I mean ADD IT.
DO NOT replace the current console=ttyS0, so the kernel knows that there is another console to talk to.

fw_setenv set_bootargs 'setenv bootargs console=tty0 console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params'

To see console over xgifb (a framebuffer driver for XGI volari) we need also fbcon (framebuffer console driver)

We need both to be loaded as early as possible.

open /etc/initramfs-tools/modules and write
xgifb
fbcon
into it.

update initramfs:
update-initramfs -u

update uInitrd (check the name of your initramfs and use the proper one)
cd /boot
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-4.4.0-kirkwood-tld-1 -d initrd.img-4.4.0-kirkwood-tld-1 uInitrd

open /etc/inittab and uncomment the entries about tty1 to tty6 so getty is started on them.

If you need a DE you can also install xorg, if you want console-only it *SHOULD* work even without. (You need the packages for the input devices, probably like the ones for the keyboard)

apt-get install xorg

reboot.

you should see kernel messages after the driver was loaded (the others can only be seen over TTL), also both TTL AND screen should output console at the same time and can be used together with no issues.

if you write "startx" it starts fine (but having no DE nor anything it only shows a better-looking terminal and a mouse arrow)

I have a screen on DVI port (not VGA) and it works fine.

Will now install LXDE and see how it goes.



Edited 3 time(s). Last edit at 03/12/2016 08:17AM by bobafetthotmail.
CV
Re: Request : XGI Graphics
March 12, 2016 10:17AM
Thank you Bobba!

This is exactly the knowhow I am missing:
I got fbcon and X started manually, but to integrate into initrd I did not know to.

A bit strange: when I startx (I installed LXDE), I get an error message window: Error: No session for pid xxx.
I can just close it, it seems to be harmless, but could it mean?


By the way: I did manage to change my keyboard to german layout, but only "halfway":

# cat /etc/xdg/lxsession/LXDE/autostart
@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
@setxkbmap -layout "de,de"
root@debian:~
#

The layout now is german, but a lot of "german" keys do all deliver a "?"...?
Probably I would have to specify pc105 keyboard or such, but how?
Re: Request : XGI Graphics
March 12, 2016 11:03AM
> when I startx (I installed LXDE), I get an error message window: Error: No session for pid xxx.
> I can just close it, it seems to be harmless, but could it mean?

Googled it, and it seems like a bug or something, will look at that later, on my box. :/

> By the way: I did manage to change my keyboard to german layout, but only "halfway":

that works only for lxde DE.

do this
dpkg-reconfigure keyboard-configuration
then follow the steps.

service keyboard-setup restart
to apply the config (usually), also rebooting works (100% sure).
If you use systemd, I don't know, reboot will of course work.

A quick tip: if you are seriously into device hacking and/or linux, buy a US keyboard to operate the devices until you can configure them for your local keyboard/language.
I got a cheapo wireless keyboard+mouse (touchpad) with US keyboard layout for these situations.



Edited 1 time(s). Last edit at 03/12/2016 11:04AM by bobafetthotmail.
CV
Re: Request : XGI Graphics
March 12, 2016 11:16AM
>> A quick tip: if you are seriously into device hacking and/or linux, buy a US keyboard to operate the devices until you can configure them for your local keyboard/language.
Oh, its ok for me, I get along quite well with a german keyboard and an english layout.

But I thought as now its all about getting a desktop to work, I might as wall have a go at german keyboard.

And as I said, I halfway succeeded - I have german layout concerning the "!"§$%&/()=?`", backslash, all the rest are there.
But the german umlaut keys are funny! öäü all give "?", and " ß" gives "ss" (which is in fact the correct replacement where "ß" is missing)!

I had several different goes at "dpkg-reconfigure keyboard-configuration / console-setup" ... but always the same.
Keyboard PC105, different ones, UTF8, ISO-Whatnot! Always same result..
Re: Request : XGI Graphics
March 12, 2016 01:43PM
@CV & Bobba

Well done chaps

Just followed your steps to configure console logon and lxde login..... works for me

Even though i am currently stuck in the dark ages with my ancient stock uboot

EDIT: gratuitous picture added



Edited 1 time(s). Last edit at 03/12/2016 02:30PM by Gravelrash.
Attachments:
open | download - IMG.jpg (834.4 KB)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: