Hi I am Srinidhi, I am trying to bring up XWindows on DM365 board. I am using custom compiled Linux-2.6.36 kernel (obtained from git source). I used Narcissus to build file system which has UI in it.
When I boot the kernel I can see the command line log in prompt on minicom but no display on Screen connected to video output of the board via TV Tuner card.
This is what I get when the kernel boots
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36-rc7-07606-g881eea6 (root@srinidhi-desktop) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 PREEMPT Wed Oct 13 11:14:43 IST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM365 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm365_rev1.2 variant 0x8
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 19304
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.0.29:192.168.0.162:192.168.0.1:255.255.255.0:::off root=/dev/nfs nfsroot=192.168.0.162:/nfsboot,nolo
ck mem=76M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=4
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 76MB = 76MB total
Memory: 73688k/73688k available, 4136k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xff000000 - 0xffe00000 ( 14 MB)
vmalloc : 0xc5000000 - 0xfea00000 ( 922 MB)
lowmem : 0xc0000000 - 0xc4c00000 ( 76 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0027000 ( 124 kB)
.text : 0xc0027000 - 0xc030a000 (2956 kB)
.data : 0xc030a000 - 0xc032d260 ( 141 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 8 gpio irqs
NET: Registered protocol family 16
MUX: initialized INT_EDMA_CC
MUX: Setting register INT_EDMA_CC
INTMUX (0x00000018) = 0x00000000 -> 0x00000004
MUX: initialized INT_EMAC_RXTHRESH
MUX: Setting register INT_EMAC_RXTHRESH
INTMUX (0x00000018) = 0x00000004 -> 0x00004004
MUX: initialized INT_EMAC_RXPULSE
MUX: Setting register INT_EMAC_RXPULSE
INTMUX (0x00000018) = 0x00004004 -> 0x0000c004
MUX: initialized INT_EMAC_TXPULSE
MUX: Setting register INT_EMAC_TXPULSE
INTMUX (0x00000018) = 0x0000c004 -> 0x0001c004
MUX: initialized INT_EMAC_MISCPULSE
MUX: Setting register INT_EMAC_MISCPULSE
INTMUX (0x00000018) = 0x0001c004 -> 0x0003c004
MUX: initialized SD1_CLK
MUX: Setting register SD1_CLK
PINMUX0 (0x00000000) = 0x00fe0000 -> 0x00fd0000
MUX: initialized SD1_CMD
MUX: Setting register SD1_CMD
PINMUX4 (0x00000010) = 0xaab95755 -> 0x6ab95755
MUX: initialized SD1_DATA3
MUX: Setting register SD1_DATA3
PINMUX4 (0x00000010) = 0x6ab95755 -> 0x5ab95755
MUX: initialized SD1_DATA2
MUX: Setting register SD1_DATA2
PINMUX4 (0x00000010) = 0x5ab95755 -> 0x56b95755
MUX: initialized SD1_DATA1
MUX: Setting register SD1_DATA1
PINMUX4 (0x00000010) = 0x56b95755 -> 0x55b95755
MUX: initialized SD1_DATA0
MUX: Setting register SD1_DATA0
PINMUX4 (0x00000010) = 0x55b95755 -> 0x55795755
EVM: tvp5146 SD video input
MUX: initialized INT_PRTCSS
MUX: Setting register INT_PRTCSS
INTMUX (0x00000018) = 0x0003c004 -> 0x0003c404
MUX: initialized SPI0_SCLK
MUX: Setting register SPI0_SCLK
PINMUX3 (0x0000000c) = 0x015affff -> 0x115affff
MUX: initialized SPI0_SDI
MUX: Setting register SPI0_SDI
PINMUX3 (0x0000000c) = 0x115affff -> 0x155affff
MUX: initialized SPI0_SDO
MUX: Setting register SPI0_SDO
PINMUX3 (0x0000000c) = 0x155affff -> 0x175affff
MUX: initialized SPI0_SDENA0
MUX: Setting register SPI0_SDENA0
PINMUX3 (0x0000000c) = 0x175affff -> 0x375affff
bio: create slab <bio-0> at 0
Switching to clocksource timer0_1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
msgmni has been set to 143
io scheduler noop registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ41): -22
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
davinci_mdio davinci_mdio.0: detected phy mask fffffffc
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
dm9000 Ethernet Driver, V1.31
console [netcon0] enabled
netconsole: network logging started
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
davinci_emac_probe: using random MAC addr: 46:3b:57:27:e5:42
net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=221613)
IP-Config: Complete:
device=eth0, addr=192.168.0.29, mask=255.255.255.0, gw=192.168.0.1,
host=192.168.0.29, domain=, nis-domain=(none),
bootserver=192.168.0.162, rootserver=192.168.0.162, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.162
PHY: 0:01 - Link is Up - 100/Full
Looking up port of RPC 100005/1 on 192.168.0.162
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing init memory: 124K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
udevd (829): /proc/829/oom_adj is deprecated, please use /proc/829/oom_score_adj instead.
Remounting root file system...
Caching udev devnodes
Populating dev cache
root: mount: mount point /proc/bus/usb does not exist
Cannot create link over existing -/etc/resolv.conf-.
Undefined users:
Skipping /etc/default/volatiles/99_hal
ALSA: Restoring mixer settings...
NOT configuring network interfaces: / is an NFS mount
Starting portmap daemon: portmap/usr/sbin/alsactl: load_state:1608: No soundcards found...
.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
hwclock: can't open '/dev/misc/rtc': No such file or directory
Tue Oct 12 19:16:00 BST 2010
hwclock: can't open '/dev/misc/rtc': No such file or directory
Configuring hicolor-icon-theme.
Configuring pango-module-basic-x.
Configuring pango-module-basic-fc.
Configuring ttf-dejavu-common.
Configuring ttf-dejavu-sans.
Configuring gdk-pixbuf-loader-png.
Configuring gdk-pixbuf-loader-jpeg.
Configuring gdk-pixbuf-loader-gif.
Configuring gdk-pixbuf-loader-xpm.
Configuring dbus.
Adding system startup for /etc/init.d/dbus-1.
Configuring ntpdate.
adding crontab
Configuring update-modules.
Configuring kernel-image-2.6.32-rc2-davinci1.
Configuring kernel-module-smbfs.
Configuring kernel-image-2.6.31-rc2-davinci1.
Configuring kernel-module-snd-mixer-oss.
Configuring kernel-module-snd-pcm-oss.
Configuring hal.
Cannot create link over existing -/etc/resolv.conf-.
Configuring kernel-module-slhc.
Configuring kernel-image-2.6.31-rc7-davinci1.
Configuring kernel-module-usbcore.
Configuring kernel-module-usb-storage.
Configuring kernel-module-nop-usb-xceiv.
Configuring kernel-module-musb-hdrc.
Configuring kernel-module-gadgetfs.
Configuring kernel-module-g-file-storage.
Configuring kernel-module-g-serial.
Configuring kernel-module-g-ether.
Configuring ppp.
Configuring ppp-dialin.
Configuring kernel-module-ppp-generic.
Configuring kernel-module-crc-ccitt.
Configuring kernel-module-ppp-async.
Configuring ttf-dejavu-sans-mono.
Configuring kernel-module-nls-utf8.
Configuring kernel-module-usbhid.
Configuring angstrom-libc-fixup-hack.
Configuring libnss-mdns.
Configuring avahi-daemon.
System startup links for /etc/init.d/avahi-daemon already exist.
Configuring avahi-autoipd.
Configuring kernel-module-ppp-deflate.
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Hardware abstraction layer hald
Creating Dropbear SSH server RSA host key.
Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCVgHvM5Wp3e9Bm1zIMnM4uxeCbdwse1MczqWTftvscWmrEaAkGFkpkcEtEhxWluUTk46+OjcppU/bqIGeLuMS6HMTgXstHDz2WBnBRPPzv4UPe5m7Cgoh86mpsv5UDgEf
yd8Gnc02x5StRO1CjjkEO5TSZYVwmflEwr2K7yPTaocZZ root@dm365-evm
Fingerprint: md5 f4:b1:cb:e4:94:2b:a7:cb:2d:35:4f:d1:45:c3:b7:43
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
...done.
Starting GPE display manager: gpe-dm
.-------.
| | .-.
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'
The Angstrom Distribution dm365-evm ttyS0
Angstrom 2010.7-test-20100901 dm365-evm ttyS0
dm365-evm login:
When I try to bring up X from command line I got the following error
root@dm365-evm:~# X&
root@dm365-evm:~# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/dm365-evm:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X.Org X Server 1.7.4
Release Date: 2010-01-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.33.2 x86_64
Current Operating System: Linux dm365-evm 2.6.36-rc7-07606-g881eea6 #1 PREEMPT Wed Oct 13 11:14:43 IST 2010 armv5tejl
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.0.29:192.168.0.162:192.168.0.1:255.255.255.0:::off root=/dev/nfs nfsroot=192.168.0.162:/nfsboot,nolo
ck mem=76M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=4
Build Date: 22 September 2010 07:54:54AM
Current version of pixman: 0.19.4
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: Tue Oct 12 19:24:30 2010
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
Primary device is not PCI
(EE) open /dev/fb0: No such file or directory
(EE) No devices detected.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
This is /var/log file
Current version of pixman: 0.19.4
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: Tue Oct 12 19:24:30 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section. Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) | |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/misc" does not exist.
Entry deleted from font path.
(==) FontPath set to:
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevice
(II) Loader magic: 0x188ee4
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 2
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.4, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.4, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)
Primary device is not PCI
(==) Matched fbdev for the autoconfigured driver
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
compiled for 1.7.4, module version = 0.4.2
ABI class: X.Org Video Driver, version 6.0
(II) FBDEV: driver for framebuffer: fbdev
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.7.4, module version = 0.0.2
ABI class: X.Org Video Driver, version 6.0
(EE) open /dev/fb0: No such file or directory
(EE) No devices detected.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional informati
Can anybody give some pointers to resolve this.
Thanks
Srinidhi KV