Project

General

Profile

LCD Framebuffer Problem » test_log.TXT

Se-Sang Mun, 11/17/2015 10:52 PM

 


OMAP-L138/AM-1808/AM-1810 initialization passed!
Configuring 256MB mDDR
Booting TI User Boot Loader
UBL Version: 1.65:2.28.1 BuiltJul 11 2011 12:49:53
UBL Flashtype: SPI
Starting SPI Memory Copy...
Valid magicnum, 0x55424CBB, found at offset 0x00010000.
DONE
Jumping to entry point at 0xC1080000.


U-Boot 2009.11 (Jan 13 2014 - 11:14:02)

I2C: ready
DRAM: 128 MB
NAND: 512 MiB
MMC: davinci: 0
In: serial
Out: serial
Err: serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
EMIFA CLock : 100000000 Hz
DSP Clock : 300000000 Hz
ASYNC3 Clock : 150000000 Hz
Enet config : 2
MMC 0 Enable : 0
Resetting ethernet phy
Net: Ethernet PHY: GENERIC @ 0x03 [0x8]

Hit any key to stop autoboot: 0
8192 KiB M25P64 at 0:0 is now current device
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-2.6.34-rc1-00003-g8bdeae6-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2218184 Bytes = 2.1 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.34-rc1-00003-g8bdeae6-dirty (root@mitydsp-dev) (gcc version 4.3.3 (GCC) ) #8 PREEMPT Tue Nov 17 20:01:39 EST 2015
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: MityDSP-L138
Peripheral Config Block Found
Enet_Config = 2
PHYMask = 0x8
LCD Configured : NEC_NL4827HC19-05B
UART[0] = 0, 0, 0, 115200
UART[1] = 1, 1, 0, 115200
UART[2] = 0, 0, 0, 115200
SPI[0] = 0, 0, 00, 0, 0
SPI[1] = 1, 1, 01, 0, 30000000
Memory policy: ECC disabled, Data cache writethrough
DaVinci da850/omap-l138/am18xx variant 0x1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24384
Kernel command line: mem=96M console=ttyS1,115200n8 mtdparts=nand:128M(rootfs),-(userfs) root=/dev/mtdblock0 rw,noatime rootfstype=jffs2
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: 96MB = 96MB total
Memory: 92616k/92616k available, 5688k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xff000000 - 0xffe00000 ( 14 MB)
vmalloc : 0xc6800000 - 0xfea00000 ( 898 MB)
lowmem : 0xc0000000 - 0xc6000000 ( 96 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc002b000 ( 140 kB)
.text : 0xc002b000 - 0xc0434000 (4132 kB)
.data : 0xc0450000 - 0xc0484f80 ( 212 kB)
Experimental preemptable hierarchical RCU implementation.
NR_IRQS:445
Console: colour dummy device 80x30
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 144 gpio irqs
regulator: core version 0.5
NET: Registered protocol family 16
mityomapl138_init...
mityomapl138_setup_nand: using 8 bit data
EMAC: MII PHY configured, RMII PHY will not be functional
mityomapl138_init: setting phy_mask to 8
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
regulator: VDCDC1: 1150 <--> 1350 mV at 1200 mV
regulator: VDCDC2: 1710 <--> 1910 mV at 3300 mV
regulator: VDCDC3: 1120 <--> 1320 mV at 1800 mV
regulator: LDO1: 1800 mV
regulator: LDO2: 3300 mV
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
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.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 180
io scheduler noop registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
console [ttyS1] enabled
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
brd: module loaded
at24 1-0050: 256 byte 24c02 EEPROM (read-only)
MityOMAPL138: Found MAC = 70:b3:d5:ef:9e:1b
MityOMAPL138: Part Number = L138-FI-236-RL
MityOMAPL138: setting max frequency to 456 MHz
ahci ahci: forcing PORTS_IMPL to 0x1
ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc
scsi0 : ahci
ata1: SATA max UDMA/133 irq 67
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
Creating 2 MTD partitions on "davinci_nand.1":
0x000000000000-0x000008000000 : "rootfs"
0x000008000000-0x000020000000 : "homefs"
davinci_nand davinci_nand.1: controller rev. 2.5
spi_davinci spi_davinci.1: DMA: supported
spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0
spi_davinci spi_davinci.1: Controller at 0xfef0e000
console [netcon0] enabled
netconsole: network logging started
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci ohci.0: DA8xx OHCI
ohci ohci.0: new USB bus registered, assigned bus number 1
Waiting for USB PHY clock good...
ohci ohci.0: irq 59, io mem 0x01e25000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
omap_rtc: RTC power up reset detected
omap_rtc: already running
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
No device for DAI AD73311
Asahi Kasei AK4104 ALSA SoC Codec Driver
No device for DAI AK4535
Cirrus Logic CS4270 ALSA SoC Codec Driver
No device for codec dsd1791
No device for DAI dsd1791
No device for DAI PCM3008 HiFi
No device for DAI SSM2602
No device for DAI tlv320aic23
No device for DAI UDA134X
No device for DAI WM8510 HiFi
No device for DAI WM8728
No device for DAI WM8750
No device for DAI WM8971
No device for DAI WM8990 ADC/DAC Primary
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
Clocks: disable unused i2c1
Clocks: disable unused emac
Clocks: disable unused mcasp
Clocks: disable unused lcdc
Clocks: disable unused mmcsd
Clocks: disable unused spi0
Clocks: disable unused mcbsp0
Clocks: disable unused mcbsp1
Clocks: disable unused vpif
Clocks: disable unused ecap
Clocks: disable unused ehrpwm
regulator_init_complete: incomplete constraints, leaving LDO2 on
regulator_init_complete: incomplete constraints, leaving LDO1 on
ata1: SATA link down (SStatus 0 SControl 300)
regulator_init_complete: incomplete constraints, leaving VDCDC3 on
regulator_init_complete: incomplete constraints, leaving VDCDC2 on
regulator_init_complete: incomplete constraints, leaving VDCDC1 on
emac-mii: probed
omap_rtc omap_rtc: setting system clock to 2013-04-08 18:22:33 UTC (1365445353)
Empty flash at 0x045cfe40 ends at 0x045d0000
Empty flash at 0x05d550e4 ends at 0x05d55800
Empty flash at 0x063b29bc ends at 0x063b3000
Empty flash at 0x07bfbc90 ends at 0x07bfc000
VFS: Mounted root (jffs2 filesystem) on device 31:0.
Freeing init memory: 140K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
JFFS2 notice: (916) check_node_data: wrong data CRC in data node at 0x063b1978: read 0x95369409, calculated 0xe02082db.
udev: starting version 151
Remounting root file system...
Caching udev devnodes
Populating dev cache
Configuring network interfaces... eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:03, id=40005201)
udhcpc (v1.13.2) started
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
Sending discover...
PHY: 1:03 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.38...
Lease of 192.168.0.38 obtained, lease time 7200
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
adding dns 210.220.163.82
adding dns 219.250.36.130
done.
Starting portmap daemon: portmap.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Dropbear SSH server: dropbear.
creating NFS state directory: done
starting 8 nfsd kernel threads: done
starting mountd: done
starting statd: done
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
...done.

.-------.
| | .-.
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'

The Angstrom Distribution mityomapl138 ttyS1

Angstrom 2010.7-test-20101202 mityomapl138 ttyS1

mityomapl138 login: root
root@mityomapl138:~#
root@mityomapl138:~#
root@mityomapl138:~# cd /app
root@mityomapl138:/app# ls -al
drwxr-xr-x 2 root root 0 Apr 8 2013 .
drwxr-xr-x 17 root root 0 Jan 1 1970 ..
-rwxr-xr-x 1 root root 26982 May 17 2011 QTStart_Test
-rw-r--r-- 1 root root 9852 Apr 8 2013 ads7843.ko
-rw-r--r-- 1 root root 17978 Apr 8 2013 fpga_ctrl.ko
-rw-r--r-- 1 root root 8150 Apr 8 2013 fpga_i2c.ko
-rwxr-xr-x 1 root root 1484404 Apr 8 18:30 fpga_lcd_lx45.bin
root@mityomapl138:/app#
root@mityomapl138:/app# cd /dev
root@mityomapl138:/dev# mknod /dev/fb0 c 29 0
root@mityomapl138:/dev# chgrp video fb0
root@mityomapl138:/dev# chmod g+w fb0
root@mityomapl138:/dev# ln -s fb0 fb
root@mityomapl138:/dev# ls -l /dev/fb*
lrwxrwxrwx 1 root root 3 Apr 8 18:24 /dev/fb -> fb0
crw-rw-r-- 1 root video 29, 0 Apr 8 18:23 /dev/fb0
root@mityomapl138:/app#
root@mityomapl138:/app#
root@mityomapl138:/dev# cd /app
root@mityomapl138:/app# insmod fpga_ctrl.ko
fpga (null): loading the fpga_ctrl module.
root@mityomapl138:/app# insmod ads7843.ko
root@mityomapl138:/app#
root@mityomapl138:/app# echo 1 > /sys/devices/fpga_ctrl/cmd
root@mityomapl138:/app# echo 2 > /sys/devices/fpga_ctrl/cmd
root@mityomapl138:/app# cat fpga_lcd_lx45.bin > /sys/devices/fpga_ctrl/image
root@mityomapl138:/app# echo 3 > /sys/devices/fpga_ctrl/cmd
input: ADS7843 Touchscreen as /devices/fpga_ctrl/1/input/input0
fpga fpga_ctrl: enable_irq_vector (0,0,1)
root@mityomapl138:/app#
root@mityomapl138:/app# cat /sys/devices/fpga_ctrl/state
4 : PROGRAMMED
root@mityomapl138:/app#
root@mityomapl138:/app# cat /sys/devices/fpga_ctrl/version
PROGRAMMED
FPGA Version : 01.01
FPGA Date : 0010-09-27
Base Module Version : 01.01
Base Module Date : 0010-09-27
root@mityomapl138:/app#
root@mityomapl138:/app#
root@mityomapl138:/app#
root@mityomapl138:/app# fbset -g 480 272 480 272 16
fbset: can't open '/dev/fb0': No such device
root@mityomapl138:/app#
root@mityomapl138:/app# ls /etc/dev*
/etc/dev.tar /etc/device_table /etc/device_table-opkg
root@mityomapl138:/app#
root@mityomapl138:/app# rm /etc/dev.tar
root@mityomapl138:/app#
root@mityomapl138:/app#
root@mityomapl138:/app# opkg install qt4-embedded
Package qt4-embedded (4.6.3-r25.1.6) installed in root is up to date.
root@mityomapl138:/app#
root@mityomapl138:/app#
root@mityomapl138:/app# ./QTStart_Test -qws
QScreenLinuxFb::connect: No such device
Error opening framebuffer device /dev/fb0
QScreenLinuxFb::connect: No such device
Error opening framebuffer device /dev/fb0
QScreenLinuxFb::connect: No such device
Error opening framebuffer device /dev/fb0
QScreenLinuxFb::connect: No such device
Error opening framebuffer device /dev/fb0
QScreenLinuxFb::connect: No such device
Error opening framebuffer device /dev/fb0
QScreenLinuxFb::connect: No such device
Error opening framebuffer device /dev/fb0
QScreenLinuxFb::connect: No such device
Error opening framebuffer device /dev/fb0
QScreenLinuxFb::connect: No such device
Error opening framebuffer device /dev/fb0
QScreenLinuxFb::connect: No such device
Error opening framebuffer device /dev/fb0
root@mityomapl138:/app#
root@mityomapl138:/app#
root@mityomapl138:/app# uname -a
Linux mityomapl138 2.6.34-rc1-00003-g8bdeae6-dirty #9 PREEMPT Tue Nov 17 22:15:29 EST 2015 armv5tejl unknown
root@mityomapl138:/app#
root@mityomapl138:/app#
root@mityomapl138:/app# cat /proc/fb
root@mityomapl138:/app#
root@mityomapl138:/app#
    (1-1/1)