Project

General

Profile

LCD Framebuffer Problem » test_log.TXT

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

 
1

    
2

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

    
13

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

    
16
I2C:   ready
17
DRAM:  128 MB
18
NAND:  512 MiB
19
MMC:   davinci: 0
20
In:    serial
21
Out:   serial
22
Err:   serial
23
ARM    Clock : 300000000 Hz
24
DDR    Clock : 150000000 Hz
25
EMIFA  CLock : 100000000 Hz
26
DSP    Clock : 300000000 Hz
27
ASYNC3 Clock : 150000000 Hz
28
Enet  config : 2
29
MMC 0 Enable : 0
30
Resetting ethernet phy
31
Net:   Ethernet PHY: GENERIC @ 0x03 [0x8]
32

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

    
45
Starting kernel ...
46

    
47
Uncompressing Linux... done, booting the kernel.
48
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
49
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
50
CPU: VIVT data cache, VIVT instruction cache
51
Machine: MityDSP-L138
52
Peripheral Config Block Found
53
Enet_Config = 2
54
PHYMask = 0x8
55
LCD Configured : NEC_NL4827HC19-05B
56
UART[0] = 0, 0, 0, 115200
57
UART[1] = 1, 1, 0, 115200
58
UART[2] = 0, 0, 0, 115200
59
SPI[0] = 0, 0, 00, 0, 0
60
SPI[1] = 1, 1, 01, 0, 30000000
61
Memory policy: ECC disabled, Data cache writethrough
62
DaVinci da850/omap-l138/am18xx variant 0x1
63
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 24384
64
Kernel command line: mem=96M console=ttyS1,115200n8 mtdparts=nand:128M(rootfs),-(userfs) root=/dev/mtdblock0 rw,noatime rootfstype=jffs2
65
PID hash table entries: 512 (order: -1, 2048 bytes)
66
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
67
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
68
Memory: 96MB = 96MB total
69
Memory: 92616k/92616k available, 5688k reserved, 0K highmem
70
Virtual kernel memory layout:
71
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
72
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
73
    DMA     : 0xff000000 - 0xffe00000   (  14 MB)
74
    vmalloc : 0xc6800000 - 0xfea00000   ( 898 MB)
75
    lowmem  : 0xc0000000 - 0xc6000000   (  96 MB)
76
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
77
      .init : 0xc0008000 - 0xc002b000   ( 140 kB)
78
      .text : 0xc002b000 - 0xc0434000   (4132 kB)
79
      .data : 0xc0450000 - 0xc0484f80   ( 212 kB)
80
Experimental preemptable hierarchical RCU implementation.
81
NR_IRQS:445
82
Console: colour dummy device 80x30
83
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
84
Mount-cache hash table entries: 512
85
CPU: Testing write buffer coherency: ok
86
DaVinci: 144 gpio irqs
87
regulator: core version 0.5
88
NET: Registered protocol family 16
89
mityomapl138_init...
90
mityomapl138_setup_nand: using 8 bit data
91
EMAC: MII PHY configured, RMII PHY will not be functional
92
mityomapl138_init: setting phy_mask to 8
93
bio: create slab <bio-0> at 0
94
SCSI subsystem initialized
95
usbcore: registered new interface driver usbfs
96
usbcore: registered new interface driver hub
97
usbcore: registered new device driver usb
98
regulator: VDCDC1: 1150 <--> 1350 mV at 1200 mV 
99
regulator: VDCDC2: 1710 <--> 1910 mV at 3300 mV 
100
regulator: VDCDC3: 1120 <--> 1320 mV at 1800 mV 
101
regulator: LDO1: 1800 mV 
102
regulator: LDO2: 3300 mV 
103
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
104
Switching to clocksource timer0_1
105
NET: Registered protocol family 2
106
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
107
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
108
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
109
TCP: Hash tables configured (established 4096 bind 4096)
110
TCP reno registered
111
UDP hash table entries: 256 (order: 0, 4096 bytes)
112
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
113
NET: Registered protocol family 1
114
RPC: Registered udp transport module.
115
RPC: Registered tcp transport module.
116
RPC: Registered tcp NFSv4.1 backchannel transport module.
117
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
118
msgmni has been set to 180
119
io scheduler noop registered (default)
120
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
121
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
122
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
123
console [ttyS1] enabled
124
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
125
brd: module loaded
126
at24 1-0050: 256 byte 24c02 EEPROM (read-only)
127
MityOMAPL138: Found MAC = 70:b3:d5:ef:9e:1b
128
MityOMAPL138: Part Number = L138-FI-236-RL
129
MityOMAPL138: setting max frequency to 456 MHz
130
ahci ahci: forcing PORTS_IMPL to 0x1
131
ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
132
ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc 
133
scsi0 : ahci
134
ata1: SATA max UDMA/133 irq 67
135
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
136
Creating 2 MTD partitions on "davinci_nand.1":
137
0x000000000000-0x000008000000 : "rootfs"
138
0x000008000000-0x000020000000 : "homefs"
139
davinci_nand davinci_nand.1: controller rev. 2.5
140
spi_davinci spi_davinci.1: DMA: supported
141
spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0
142
spi_davinci spi_davinci.1: Controller at 0xfef0e000
143
console [netcon0] enabled
144
netconsole: network logging started
145
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
146
ohci ohci.0: DA8xx OHCI
147
ohci ohci.0: new USB bus registered, assigned bus number 1
148
Waiting for USB PHY clock good...
149
ohci ohci.0: irq 59, io mem 0x01e25000
150
hub 1-0:1.0: USB hub found
151
hub 1-0:1.0: 1 port detected
152
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
153
omap_rtc: RTC power up reset detected
154
omap_rtc: already running
155
i2c /dev entries driver
156
cpuidle: using governor ladder
157
cpuidle: using governor menu
158
usbcore: registered new interface driver usbhid
159
usbhid: USB HID core driver
160
No device for DAI AD73311
161
Asahi Kasei AK4104 ALSA SoC Codec Driver
162
No device for DAI AK4535
163
Cirrus Logic CS4270 ALSA SoC Codec Driver
164
No device for codec dsd1791
165
No device for DAI dsd1791
166
No device for DAI PCM3008 HiFi
167
No device for DAI SSM2602
168
No device for DAI tlv320aic23
169
No device for DAI UDA134X
170
No device for DAI WM8510 HiFi
171
No device for DAI WM8728
172
No device for DAI WM8750
173
No device for DAI WM8971
174
No device for DAI WM8990 ADC/DAC Primary
175
ALSA device list:
176
  No soundcards found.
177
TCP cubic registered
178
NET: Registered protocol family 17
179
Clocks: disable unused i2c1
180
Clocks: disable unused emac
181
Clocks: disable unused mcasp
182
Clocks: disable unused lcdc
183
Clocks: disable unused mmcsd
184
Clocks: disable unused spi0
185
Clocks: disable unused mcbsp0
186
Clocks: disable unused mcbsp1
187
Clocks: disable unused vpif
188
Clocks: disable unused ecap
189
Clocks: disable unused ehrpwm
190
regulator_init_complete: incomplete constraints, leaving LDO2 on
191
regulator_init_complete: incomplete constraints, leaving LDO1 on
192
ata1: SATA link down (SStatus 0 SControl 300)
193
regulator_init_complete: incomplete constraints, leaving VDCDC3 on
194
regulator_init_complete: incomplete constraints, leaving VDCDC2 on
195
regulator_init_complete: incomplete constraints, leaving VDCDC1 on
196
emac-mii: probed
197
omap_rtc omap_rtc: setting system clock to 2013-04-08 18:22:33 UTC (1365445353)
198
Empty flash at 0x045cfe40 ends at 0x045d0000
199
Empty flash at 0x05d550e4 ends at 0x05d55800
200
Empty flash at 0x063b29bc ends at 0x063b3000
201
Empty flash at 0x07bfbc90 ends at 0x07bfc000
202
VFS: Mounted root (jffs2 filesystem) on device 31:0.
203
Freeing init memory: 140K
204
INIT: version 2.86 booting
205
Please wait: booting...
206
Starting udev
207
JFFS2 notice: (916) check_node_data: wrong data CRC in data node at 0x063b1978: read 0x95369409, calculated 0xe02082db.
208
udev: starting version 151
209
Remounting root file system...
210
Caching udev devnodes
211
Populating dev cache
212
Configuring network interfaces... eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:03, id=40005201)
213
udhcpc (v1.13.2) started
214
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
215
Sending discover...
216
PHY: 1:03 - Link is Up - 100/Full
217
Sending discover...
218
Sending select for 192.168.0.38...
219
Lease of 192.168.0.38 obtained, lease time 7200
220
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
221
adding dns 210.220.163.82
222
adding dns 219.250.36.130
223
done.
224
Starting portmap daemon: portmap.
225
net.ipv4.conf.default.rp_filter = 1
226
net.ipv4.conf.all.rp_filter = 1
227
INIT: Entering runlevel: 5
228
Starting system message bus: dbus.
229
Starting Dropbear SSH server: dropbear.
230
creating NFS state directory: done
231
starting 8 nfsd kernel threads: done
232
starting mountd: done
233
starting statd: done
234
Starting syslogd/klogd: done
235
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
236
   ...done.
237

    
238
.-------.                                           
239
|       |                  .-.                      
240
|   |   |-----.-----.-----.| |   .----..-----.-----.
241
|       |     | __  |  ---'| '--.|  .-'|     |     |
242
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
243
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
244
                -'  |
245
                '---'
246

    
247
The Angstrom Distribution mityomapl138 ttyS1
248

    
249
Angstrom 2010.7-test-20101202 mityomapl138 ttyS1
250

    
251
mityomapl138 login: root
252
root@mityomapl138:~# 
253
root@mityomapl138:~# 
254
root@mityomapl138:~# cd /app
255
root@mityomapl138:/app# ls -al
256
drwxr-xr-x    2 root     root            0 Apr  8  2013 .
257
drwxr-xr-x   17 root     root            0 Jan  1  1970 ..
258
-rwxr-xr-x    1 root     root        26982 May 17  2011 QTStart_Test		
259
-rw-r--r--    1 root     root         9852 Apr  8  2013 ads7843.ko
260
-rw-r--r--    1 root     root        17978 Apr  8  2013 fpga_ctrl.ko
261
-rw-r--r--    1 root     root         8150 Apr  8  2013 fpga_i2c.ko
262
-rwxr-xr-x    1 root     root      1484404 Apr  8 18:30 fpga_lcd_lx45.bin
263
root@mityomapl138:/app# 
264
root@mityomapl138:/app# cd /dev
265
root@mityomapl138:/dev# mknod /dev/fb0 c 29 0
266
root@mityomapl138:/dev# chgrp video fb0
267
root@mityomapl138:/dev# chmod g+w fb0
268
root@mityomapl138:/dev# ln -s fb0 fb
269
root@mityomapl138:/dev# ls -l /dev/fb*
270
lrwxrwxrwx    1 root     root            3 Apr  8 18:24 /dev/fb -> fb0
271
crw-rw-r--    1 root     video     29,   0 Apr  8 18:23 /dev/fb0
272
root@mityomapl138:/app# 
273
root@mityomapl138:/app# 
274
root@mityomapl138:/dev# cd /app          
275
root@mityomapl138:/app# insmod fpga_ctrl.ko 
276
fpga (null): loading the fpga_ctrl module.
277
root@mityomapl138:/app# insmod ads7843.ko 
278
root@mityomapl138:/app# 
279
root@mityomapl138:/app# echo 1 > /sys/devices/fpga_ctrl/cmd
280
root@mityomapl138:/app# echo 2 > /sys/devices/fpga_ctrl/cmd
281
root@mityomapl138:/app# cat fpga_lcd_lx45.bin > /sys/devices/fpga_ctrl/image
282
root@mityomapl138:/app# echo 3 > /sys/devices/fpga_ctrl/cmd
283
input: ADS7843 Touchscreen as /devices/fpga_ctrl/1/input/input0
284
fpga fpga_ctrl: enable_irq_vector (0,0,1)
285
root@mityomapl138:/app# 
286
root@mityomapl138:/app# cat /sys/devices/fpga_ctrl/state  
287
4 : PROGRAMMED
288
root@mityomapl138:/app# 
289
root@mityomapl138:/app# cat /sys/devices/fpga_ctrl/version
290
PROGRAMMED
291
FPGA Version        : 01.01
292
FPGA Date           : 0010-09-27
293
Base Module Version : 01.01
294
Base Module Date    : 0010-09-27
295
root@mityomapl138:/app# 
296
root@mityomapl138:/app# 
297
root@mityomapl138:/app# 
298
root@mityomapl138:/app# fbset -g 480 272 480 272 16 
299
fbset: can't open '/dev/fb0': No such device
300
root@mityomapl138:/app# 
301
root@mityomapl138:/app# ls /etc/dev*
302
/etc/dev.tar            /etc/device_table       /etc/device_table-opkg
303
root@mityomapl138:/app# 
304
root@mityomapl138:/app# rm /etc/dev.tar 
305
root@mityomapl138:/app# 
306
root@mityomapl138:/app# 
307
root@mityomapl138:/app# opkg install qt4-embedded
308
Package qt4-embedded (4.6.3-r25.1.6) installed in root is up to date.
309
root@mityomapl138:/app# 
310
root@mityomapl138:/app# 
311
root@mityomapl138:/app# ./QTStart_Test -qws
312
QScreenLinuxFb::connect: No such device
313
Error opening framebuffer device /dev/fb0
314
QScreenLinuxFb::connect: No such device
315
Error opening framebuffer device /dev/fb0
316
QScreenLinuxFb::connect: No such device
317
Error opening framebuffer device /dev/fb0
318
QScreenLinuxFb::connect: No such device
319
Error opening framebuffer device /dev/fb0
320
QScreenLinuxFb::connect: No such device
321
Error opening framebuffer device /dev/fb0
322
QScreenLinuxFb::connect: No such device
323
Error opening framebuffer device /dev/fb0
324
QScreenLinuxFb::connect: No such device
325
Error opening framebuffer device /dev/fb0
326
QScreenLinuxFb::connect: No such device
327
Error opening framebuffer device /dev/fb0
328
QScreenLinuxFb::connect: No such device
329
Error opening framebuffer device /dev/fb0
330
root@mityomapl138:/app# 
331
root@mityomapl138:/app# 
332
root@mityomapl138:/app# uname -a
333
Linux mityomapl138 2.6.34-rc1-00003-g8bdeae6-dirty #9 PREEMPT Tue Nov 17 22:15:29 EST 2015 armv5tejl unknown
334
root@mityomapl138:/app#
335
root@mityomapl138:/app# 
336
root@mityomapl138:/app# cat /proc/fb
337
root@mityomapl138:/app# 
338
root@mityomapl138:/app#  
    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)