All times are UTC-06:00




Post new topic  Reply to topic  [ 51 posts ] 
Author Message
 Post subject:
PostPosted: Sun Jan 17, 2010 12:42 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Ubuntu 9.10 efikamx ttymxc0

efikamx login:
Hmm looks like it's picking an interlaced mode (argh). There was code to remove interlaced modes and duplicate modes as well as keep the refresh rates manageable but it seems the interlaced code got removed, the duplicate code got marked as interlaced.. sigh..

So far the updates to the kernel we have here don't fix a thing but I will endeavour to clean up this mode selection and release by the end of the week.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Mon Jan 25, 2010 4:48 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1071
It still does not work, but this time seems to select the right resolution. Here is the dmesg:
Code:
[ 0.770000] *** sii9022_probe
[ 0.770000] *** monitor is detected
[ 0.770000] *** mxc_init_fb vmode= video-mode=0 clock_auto=1
[ 0.770000] mode_option=1280x720-24@60
[ 0.770000] mxcfb_di_clock_adjust pixelclk=13468 rate=74250000
[ 0.770000] orig: parent=pll3 clk=216000000 this=ipu_di0_clk di_clk=27000000
[ 0.770000] adjust: parent=pll3 clk=74250000 this=ipu_di0_clk di_clk=74250000 ret=0 ret=0
[ 0.770000] skip sii9022_reinit!
[ 0.770000] mxc_ipu mxc_ipu: Channel already disabled 9
[ 0.770000] mxc_ipu mxc_ipu: Channel already uninitialized 9
[ 0.770000] pclk 13468 same to previous one, skipping!
[ 0.770000] skip sii9022_reinit!
[ 0.800000] Console: switching to colour frame buffer device 160x45
[ 0.820000] *** sii9022 lcd_probe
[ 0.820000] *** sii9022 lcd_init_fb
[ 0.830000] read_edid2
[ 0.850000] 00ffffffffffff001e6d654b1c2f04000a110103ea261e78ea3231a3574c9d25
[ 0.850000] 115054a56a80314f454f614f81800101010101010101302a009851002a403070
[ 0.850000] 1300520e1100001e000000fd00384b1e470b000a202020202020000000fc004c
[ 0.850000] 313935340a20202020202020000000fc00200a2020202020202020202020001d
[ 0.860000] ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
[ 0.860000] ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
[ 0.860000] ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
[ 0.860000] ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
[ 0.860000] i2c-adapter i2c-1: ACK not received
[ 0.870000] ========================================
[ 0.870000] Display Information (EDID)
[ 0.880000] ========================================
[ 0.880000] EDID Version 1.3
[ 0.890000] Manufacturer: GSM
[ 0.890000] Model: 4b65
[ 0.900000] Serial#: 274204
[ 0.900000] Year: 2007 Week 10
[ 0.910000] Monitor Name: L1954
[ 0.910000] Monitor Name:
[ 0.920000] Display Characteristics:
[ 0.920000] Monitor Operating Limits: From EDID
[ 0.930000] H: 30-71KHz V: 56-75Hz DCLK: 110MHz
[ 0.930000] Digital Display Input
[ 0.930000] Sync: Separate Sync on Green
[ 0.940000] Max H-size in cm: 38
[ 0.950000] Max V-size in cm: 30
[ 0.950000] Gamma: 2.20
[ 0.950000] DPMS: Active yes, Suspend yes, Standby yes
[ 0.960000] RGB Color Display
[ 0.960000] Chroma
[ 0.970000] RedX: 0.637 RedY: 0.343
[ 0.970000] GreenX: 0.297 GreenY: 0.615
[ 0.980000] BlueX: 0.145 BlueY: 0.069
[ 0.980000] WhiteX: 0.313 WhiteY: 0.329
[ 0.990000] First DETAILED Timing is preferred
[ 0.990000] Detailed Timings
[ 0.990000] "1280x1024@60" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
[ 1.000000] Supported VESA Modes
[ 1.000000] 720x400@70Hz
[ 1.010000] 640x480@60Hz
[ 1.010000] 640x480@75Hz
[ 1.010000] 800x600@60Hz
[ 1.020000] 800x600@75Hz
[ 1.020000] 832x624@75Hz
[ 1.030000] 1024x768@60Hz
[ 1.030000] 1024x768@75Hz
[ 1.030000] 1152x870@75Hz
[ 1.040000] Manufacturer's mask: 0
[ 1.040000] Standard Timings
[ 1.040000] 640x480@75Hz
[ 1.050000] 800x600@75Hz
[ 1.050000] 1024x768@75Hz
[ 1.050000] 1280x1024@60Hz
[ 1.060000] Detail Timings
[ 1.060000] ========================================
[ 1.060000] Monitor/TV supported modelines
[ 1.070000] "1280x1024@60" 108.03 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
[ 1.070000] "720x400@70" 26.171 720 737 808 896 400 401 404 417 -hsync -vsync
[ 1.070000] "640x480@60" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
[ 1.080000] "640x480@75" 31.500 640 656 720 840 480 481 484 500 -hsync -vsync
[ 1.080000] "800x600@60" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
[ 1.080000] "800x600@75" 49.500 800 816 896 1056 600 601 604 625 +hsync +vsync
[ 1.090000] "832x624@75" 53.433 832 875 962 1092 624 625 628 652 -hsync -vsync
[ 1.090000] "1024x768@60" 65.02 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 1.100000] "1024x768@75" 78.802 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
[ 1.100000] "1152x864@75" 108.03 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
[ 1.100000] "640x480@75" 31.500 640 656 720 840 480 481 484 500 -hsync -vsync
[ 1.110000] "800x600@75" 49.500 800 816 896 1056 600 601 604 625 +hsync +vsync
[ 1.110000] "1024x768@75" 78.802 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
[ 1.120000] "1280x1024@60" 108.03 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
[ 1.120000] found preferred video mode 1280x1024@60 pclk=9259
[ 1.120000] mxcfb_update_default_var mode_opt=<NULL> vmode=
[ 1.130000] preferred mode geometry 1280 1024 9259
[ 1.130000] preferred mode timings 9259 248 48 38 1 112 3
[ 1.140000] preferred mode flag 17 sync 3 vmode 0 preferred
[ 1.140000] best mode is 1280x1024@60 pclk=9259
[ 1.150000] best mode geometry 1280 1024 9259
[ 1.150000] best mode timings 9259 248 48 38 1 112 3
[ 1.160000] best mode flag 17 sync 3 vmode 0 preferred
[ 1.160000] mxcfb_di_clock_adjust pixelclk=9259 rate=108003000
[ 1.170000] orig: parent=pll3 clk=74250000 this=ipu_di0_clk di_clk=74250000
[ 1.170000] adjust: parent=pll3 clk=108003000 this=ipu_di0_clk di_clk=108003000 ret=0 ret=0
[ 1.180000] sii9022_reinit 1280x1024 9259
[ 1.320000] sii9022 1-0039: vmap idx=0 vcode=0
[ 1.320000] sii9022 1-0039: geometry 1280 1024 1280 1024 0
[ 1.330000] sii9022 1-0039: timings 9259 248 48 38 1 112 3
[ 1.330000] sii9022 1-0039: accel 0 sync 3 vmode=0
[ 1.340000] sii9022 1-0039: pclk 10800 refresh 6024 total x 1688 y 1066
[ 1.350000] sii9022 1-0039: vmap idx=0 vcode=0
[ 1.350000] hdmi audio mute
[ 1.370000] hdmi audio unmute
[ 1.380000] pclk 9259 same to previous one, skipping!
[ 1.380000] sii9022_reinit 1280x1024 9259 same to previous one, skipping
[ 1.380000] mxc_ipu mxc_ipu: WARNING: adapt panel end blank lines

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Mon Jan 25, 2010 3:07 pm 
Offline
Genesi

Joined: Tue Feb 07, 2006 4:49 pm
Posts: 145
Location: San Antonio, TX
2.6.31.12 same - assuming this is already known, but posting the dmesg for posterity.
Code:
Starting kernel ...

Uncompressing Linux................................................................................................................................................. done, booting the kernel.
[ 0.000000] Linux version 2.6.31.12-ER1-efikamx (neko@eriol) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #2 Sun Jan 24 18:00:54 CST 2010
[ 0.000000] CPU: ARMv7 Processor [412fc081] revision 1 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: Efika MX
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 121920
[ 0.000000] Kernel command line: noinitrd console=ttymxc0,115200 console=tty0 root=/dev/sda2 rw hdmi
[ 0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 480MB = 480MB total
[ 0.000000] Memory: 482432KB available (4132K code, 299K data, 108K init, 0K highmem)
[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:272
[ 0.000000] MXC IRQ initialized
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000000] Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696)
[ 0.230000] Mount-cache hash table entries: 512
[ 0.230000] CPU: Testing write buffer coherency: ok
[ 0.230000] regulator: core version 0.5
[ 0.230000] NET: Registered protocol family 16
[ 0.230000] /proc/ioctl created
[ 0.230000] CPU is i.MX51 Revision 2.5
[ 0.230000] MXC GPIO hardware
[ 0.330000] IRAM READY
[ 0.330000] mxc_init_dvfs_per initialised
[ 0.330000] board ID: 1.1
[ 0.330000] Using SDMA I.API
[ 0.330000] MXC DMA API initialized
[ 0.340000] bio: create slab <bio-0> at 0
[ 0.340000] SCSI subsystem initialized
[ 0.340000] CSPI: mxc_spi-0 probed
[ 0.340000] usbcore: registered new interface driver usbfs
[ 0.340000] usbcore: registered new interface driver hub
[ 0.340000] usbcore: registered new device driver usb
[ 0.340000] MXC I2C driver
[ 0.340000] MXC I2C driver
[ 0.340000] MXC HS I2C driver
[ 0.340000] IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[ 0.360000] mc13892 Rev 2.0 FinVer 2 detected
[ 0.400000] Initializing regulators for Efika MX
[ 0.510000] regulator: SW1: 600 <--> 1375 mV
[ 0.540000] regulator: SW2: 900 <--> 1850 mV
[ 0.540000] regulator: SW3: 1100 <--> 1850 mV
[ 0.540000] regulator: SW4: 1100 <--> 1850 mV
[ 0.540000] regulator: SWBST: 0 mV
[ 0.560000] regulator: VIOHI: 0 mV
[ 0.580000] regulator: VPLL: 1050 <--> 1800 mV
[ 0.600000] regulator: VDIG: 1050 <--> 1800 mV
[ 0.600000] regulator: VSD: 1800 <--> 3150 mV
[ 0.620000] regulator: VUSB2: 2400 <--> 2775 mV
[ 0.660000] regulator: VVIDEO: 2775 mV
[ 0.660000] regulator: VAUDIO: 2300 <--> 3000 mV
[ 0.660000] regulator: VCAM: 2500 <--> 3000 mV fast normal
[ 0.660000] regulator: VGEN1: 1200 <--> 3150 mV
[ 0.660000] regulator: VGEN2: 1200 <--> 3150 mV
[ 0.660000] regulator: VGEN3: 1800 <--> 2900 mV
[ 0.680000] regulator: VUSB: 0 mV
[ 0.680000] regulator: GPO1: 0 mV
[ 0.680000] regulator: GPO2: 0 mV
[ 0.680000] regulator: GPO3: 0 mV
[ 0.680000] regulator: GPO4: 0 mV
[ 0.760000] Device spi1.0 probed
[ 0.760000] NET: Registered protocol family 2
[ 0.760000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.760000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.760000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.760000] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.760000] TCP reno registered
[ 0.760000] NET: Registered protocol family 1
[ 0.760000] LPMode driver module loaded
[ 0.760000] Static Power Management for Freescale i.MX51
[ 0.760000] PM driver module loaded
[ 0.760000] sdram autogating driver module loaded
[ 0.760000] Bus freq driver module loaded
[ 0.760000] usb: Host 1 host (isp1504) registered
[ 0.760000] usb: DR host (utmi) registered
[ 0.760000] mxc_dvfs_core_probe
[ 0.760000] DVFS driver module loaded
[ 0.760000] i.MXC CPU frequency driver
[ 0.760000] DVFS PER driver module loaded
[ 0.760000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.760000] msgmni has been set to 942
[ 0.770000] alg: No test for stdrng (krng)
[ 0.770000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.770000] io scheduler noop registered
[ 0.770000] io scheduler cfq registered (default)
[ 0.770000] *** sii9022_probe
[ 0.770000] *** monitor is detected
[ 0.770000] *** mxc_init_fb vmode= video-mode=0 clock_auto=1
[ 0.770000] mode_option=1280x720-24@60
[ 0.770000] mxcfb_di_clock_adjust pixelclk=13468 rate=74250000
[ 0.770000] orig: parent=pll3 clk=216000000 this=ipu_di0_clk di_clk=27000000
[ 0.770000] adjust: parent=pll3 clk=74250000 this=ipu_di0_clk di_clk=74250000 ret=0 ret=0
[ 0.770000] skip sii9022_reinit!
[ 0.770000] mxc_ipu mxc_ipu: Channel already disabled 9
[ 0.770000] mxc_ipu mxc_ipu: Channel already uninitialized 9
[ 0.770000] pclk 13468 same to previous one, skipping!
[ 0.770000] skip sii9022_reinit!
[ 0.800000] Console: switching to colour frame buffer device 160x45
[ 0.820000] *** sii9022 lcd_probe
[ 0.820000] *** sii9022 lcd_init_fb
[ 0.830000] read_edid2
[ 0.850000] 00ffffffffffff003a9306000100000009110103802f1e780ab534a5564a9a25
[ 0.850000] 105054afcf008180818f9500950f01010101010101011c399030621a274068b0
[ 0.850000] 3600d92811000018000000fe000a202020202020202020202020000000fc004d
[ 0.850000] 42572d53455249414c0a2020000000ff000a20202020202020202020202000ba
[ 0.860000] 00ffffffffffff003a9306000100000009110103802f1e780ab534a5564a9a25
[ 0.860000] 105054afcf008180818f9500950f01010101010101011c399030621a274068b0
[ 0.860000] 3600d92811000018000000fe000a202020202020202020202020000000fc004d
[ 0.860000] 42572d53455249414c0a2020000000ff000a20202020202020202020202000ba
[ 0.860000] i2c-adapter i2c-1: ACK not received
[ 0.870000] ========================================
[ 0.870000] Display Information (EDID)
[ 0.880000] ========================================
[ 0.880000] EDID Version 1.3
[ 0.890000] Manufacturer: NTS
[ 0.900000] Model: 6
[ 0.900000] Serial#: 1
[ 0.910000] Year: 2007 Week 9
[ 0.910000] ASCII Block:
[ 0.920000] Monitor Name: MBW-SERIAL
[ 0.920000] Serial Number:
[ 0.930000] Display Characteristics:
[ 0.930000] Monitor Operating Limits: Detailed Timings
[ 0.940000] "1680x1050@59" 146 1680 1784 1960 2240 1050 1053 1059 1089 -hsync -vsync
[ 0.940000] Supported VESA Modes
[ 0.950000] 720x400@70Hz
[ 0.950000] 640x480@60Hz
[ 0.960000] 640x480@72Hz
[ 0.960000] 640x480@75Hz
[ 0.970000] 800x600@56Hz
[ 0.970000] 800x600@60Hz
[ 0.980000] 800x600@72Hz
[ 0.980000] 800x600@75Hz
[ 0.990000] 1024x768@60Hz
[ 0.990000] 1024x768@70Hz
[ 0.990000] 1024x768@75Hz
[ 1.000000] 1280x1024@75Hz
[ 1.000000] Manufacturer's mask: 0
[ 1.010000] Standard Timings
[ 1.010000] 1280x1024@60Hz
[ 1.010000] 1280x1024@75Hz
[ 1.020000] 1440x900@60Hz
[ 1.020000] 1440x900@75Hz
[ 1.030000] Detail Timings
[ 1.030000] Extrapolated
[ 1.030000] H: 29-80KHz V: 56-76Hz DCLK: 146MHz
[ 1.040000] Digital Display Input
[ 1.040000] Sync:
[ 1.040000] Max H-size in cm: 47
[ 1.050000] Max V-size in cm: 30
[ 1.050000] Gamma: 2.20
[ 1.050000] DPMS: Active no, Suspend no, Standby no
[ 1.060000] RGB Color Display
[ 1.060000] Chroma
[ 1.060000] RedX: 0.646 RedY: 0.339
[ 1.070000] GreenX: 0.290 GreenY: 0.603
[ 1.070000] BlueX: 0.145 BlueY: 0.065
[ 1.070000] WhiteX: 0.313 WhiteY: 0.328
[ 1.070000] First DETAILED Timing is preferred
[ 1.080000] Detailed Timings
[ 1.080000] "1680x1050@59" 146 1680 1784 1960 2240 1050 1053 1059 1089 -hsync -vsync
[ 1.080000] Supported VESA Modes
[ 1.090000] 720x400@70Hz
[ 1.090000] 640x480@60Hz
[ 1.090000] 640x480@72Hz
[ 1.100000] 640x480@75Hz
[ 1.100000] 800x600@56Hz
[ 1.100000] 800x600@60Hz
[ 1.110000] 800x600@72Hz
[ 1.110000] 800x600@75Hz
[ 1.110000] 1024x768@60Hz
[ 1.110000] 1024x768@70Hz
[ 1.120000] 1024x768@75Hz
[ 1.120000] 1280x1024@75Hz
[ 1.120000] Manufacturer's mask: 0
[ 1.120000] Standard Timings
[ 1.130000] 1280x1024@60Hz
[ 1.130000] 1280x1024@75Hz
[ 1.130000] 1440x900@60Hz
[ 1.130000] 1440x900@75Hz
[ 1.140000] Detail Timings
[ 1.140000] ========================================
[ 1.140000] Monitor/TV supported modelines
[ 1.150000] "1680x1050@59" 146.220 1680 1784 1960 2240 1050 1053 1059 1089 -hsync -vsync
[ 1.150000] "720x400@70" 26.171 720 737 808 896 400 401 404 417 -hsync -vsync
[ 1.150000] "640x480@60" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
[ 1.150000] "640x480@72" 31.500 640 664 704 832 480 489 491 520 -hsync -vsync
[ 1.160000] "640x480@75" 31.500 640 656 720 840 480 481 484 500 -hsync -vsync
[ 1.160000] "800x600@56" 36.01 800 824 896 1024 600 601 603 625 +hsync +vsync
[ 1.170000] "800x600@60" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
[ 1.170000] "800x600@72" 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync
[ 1.170000] "800x600@75" 49.500 800 816 896 1056 600 601 604 625 +hsync +vsync
[ 1.180000] "1024x768@60" 65.02 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 1.180000] "1024x768@70" 75.01 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
[ 1.180000] "1024x768@75" 78.802 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
[ 1.190000] "1280x1024@75" 135.07 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
[ 1.190000] "1280x1024@60" 108.03 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
[ 1.190000] "1280x1024@75" 135.07 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
[ 1.200000] "1440x900@60" 106.780 1440 1523 1675 1910 900 901 904 932 -hsync -vsync
[ 1.200000] "1440x900@75" 136.780 1440 1534 1689 1939 900 901 904 940 -hsync -vsync
[ 1.200000] found preferred video mode 1680x1050@59 pclk=6839
[ 1.210000] 1680x1050@59 pclk=6839 removed (exceed 7507 limit)
[ 1.210000] 1280x1024@75 pclk=7407 removed (exceed 7507 limit)
[ 1.220000] 1280x1024@75 pclk=7407 removed (exceed 7507 limit)
[ 1.220000] 1440x900@75 pclk=7311 removed (exceed 7507 limit)
[ 1.220000] mxcfb_update_default_var mode_opt=<NULL> vmode=
[ 1.230000] preferred mode geometry 1680 1050 6839
[ 1.230000] preferred mode timings 6839 280 104 30 3 176 6
[ 1.230000] preferred mode flag 17 sync 0 vmode 0 preferred
[ 1.240000] nearest default (1280x720@60 pclk=13468) is 1024x768@60 pclk=15384
[ 1.240000] nearest default geometry 1024 768 15384
[ 1.250000] nearest default timings 15384 160 24 29 3 136 6
[ 1.250000] nearest default flag 4 sync 0 vmode 0
[ 1.250000] mxcfb_di_clock_adjust pixelclk=15384 rate=65002000
[ 1.260000] orig: parent=pll3 clk=74250000 this=ipu_di0_clk di_clk=74250000
[ 1.260000] adjust: parent=pll3 clk=65002000 this=ipu_di0_clk di_clk=65002000 ret=0 ret=0
[ 1.270000] sii9022_reinit 1024x768 15384
[ 1.410000] sii9022 1-0039: vmap idx=5 vcode=0
[ 1.410000] sii9022 1-0039: geometry 1024 768 1024 768 0
[ 1.420000] sii9022 1-0039: timings 15384 160 24 29 3 136 6
[ 1.420000] sii9022 1-0039: accel 0 sync 0 vmode=0
[ 1.430000] sii9022 1-0039: pclk 6500 refresh 6024 total x 1344 y 806
[ 1.430000] sii9022 1-0039: vmap idx=5 vcode=0
[ 1.440000] hdmi audio mute
[ 1.450000] hdmi audio unmute
[ 1.460000] pclk 15384 same to previous one, skipping!
[ 1.460000] sii9022_reinit 1024x768 15384 same to previous one, skipping
[ 1.710000] Serial: MXC Internal UART driver
[ 1.710000] mxcintuart.0: ttymxc0 at MMIO 0x73fbc000 (irq = 31) is a Freescale i.MX
[ 1.720000] console [ttymxc0] enabled
[ 3.430000] mxcintuart.1: ttymxc1 at MMIO 0x73fc0000 (irq = 32) is a Freescale i.MX
[ 3.440000] mxcintuart.2: ttymxc2 at MMIO 0x7000c000 (irq = 33) is a Freescale i.MX
[ 3.450000] loop: module loaded
[ 3.460000] pata_fsl pata_fsl: rchan=29 wchan=28
[ 3.470000] scsi0 : pata_fsl
[ 3.480000] ata1: PATA max UDMA/44 irq 70
[ 3.480000] usbmon: debugfs is not available
[ 3.490000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.660000] ata1.00: CFA: Flash Module, Ver2.M1B, max UDMA/100
[ 3.660000] ata1.00: 7535808 sectors, multi 1: LBA
[ 3.690000] ata1.00: configured for UDMA/44
[ 3.700000] scsi 0:0:0:0: Direct-Access ATA Flash Module Ver2 PQ: 0 ANSI: 5
[ 3.710000] sd 0:0:0:0: [sda] 7535808 512-byte logical blocks: (3.85 GB/3.59 GiB)
[ 3.720000] sd 0:0:0:0: [sda] Write Protect is off
[ 3.730000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 3.740000] sda:
[ 3.740000] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
[ 3.760000] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
[ 3.770000] sda1 sda2
[ 3.770000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.780000] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.800000] fsl-ehci fsl-ehci.0: irq 14, io base 0x73f80200
[ 3.820000] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[ 3.820000] usb usb1: configuration #1 chosen from 1 choice
[ 3.830000] hub 1-0:1.0: USB hub found
[ 3.840000] hub 1-0:1.0: 1 port detected
[ 3.960000] fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
[ 3.970000] fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
[ 4.010000] fsl-ehci fsl-ehci.1: irq 18, io base 0x73f80000
[ 4.030000] fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
[ 4.030000] usb usb2: configuration #1 chosen from 1 choice
[ 4.040000] hub 2-0:1.0: USB hub found
[ 4.050000] hub 2-0:1.0: 1 port detected
[ 4.060000] usbcore: registered new interface driver libusual
[ 4.070000] mice: PS/2 mouse device common for all mice
[ 4.080000] MXC keypad loaded
[ 4.080000] mc13892 rtc probe start
[ 4.110000] pmic_rtc pmic_rtc.1: rtc core: registered pmic_rtc as rtc0
[ 4.120000] mc13892 rtc probe succeed
[ 4.120000] i2c /dev entries driver
[ 4.130000] Linux video capture interface: v2.00
[ 4.140000] MXC Video Output MXC Video Output.0: Registered device video0
[ 4.150000] MXC WatchDog Driver 2.0
[ 4.160000] clk: Unable to get requested clock: wdog_clk
[ 4.170000] MXC Watchdog # 0 Timer: initial timeout 60 sec
[ 4.180000] usb 1-1: new high speed USB device using fsl-ehci and address 2
[ 4.190000] cpuidle: using governor ladder
[ 4.190000] cpuidle: using governor menu
[ 4.350000] usb 1-1: configuration #1 chosen from 1 choice
[ 4.360000] hub 1-1:1.0: USB hub found
[ 4.360000] hub 1-1:1.0: 4 ports detected
[ 4.490000] usb 2-1: new high speed USB device using fsl-ehci and address 2
[ 4.560000] VPU initialized
[ 4.560000] mxsdhci: MXC Secure Digital Host Controller Interface driver
[ 4.570000] mxsdhci: MXC SDHCI Controller Driver.
[ 4.580000] mmc0: SDHCI detect irq 128 irq 1 INTERNAL DMA
[ 4.590000] mxsdhci: MXC SDHCI Controller Driver.
[ 4.600000] mmc1: SDHCI detect irq 136 irq 2 INTERNAL DMA
[ 4.610000] Registered led device: efikamx:green:power
[ 4.720000] Registered led device: efikamx:red:ide
[ 4.730000] Registered led device: efikamx:blue:sdhc
[ 4.740000] usbcore: registered new interface driver usbhid
[ 4.750000] usbhid: v2.6:USB HID core driver
[ 4.860000] Advanced Linux Sound Architecture Driver Version 1.0.20.
[ 4.880000] usb 2-1: configuration #1 chosen from 1 choice
[ 4.910000] sgtl5000-i2c 1-000a: SGTL5000 revision 17
[ 4.930000] No device for DAI imx-ssi-1-0
[ 4.940000] No device for DAI imx-ssi-1-1
[ 4.950000] No device for DAI imx-ssi-2-0
[ 4.960000] No device for DAI imx-ssi-2-1
[ 4.960000] DMA Sound Buffers Allocated:UseIram=1 buf->addr=1fff3000 buf->area=de8a8000 size=24576
[ 4.980000] DMA Sound Buffers Allocated:UseIram=1 buf->addr=ac108000 buf->area=fbe48000 size=24576
[ 4.990000] asoc: SGTL5000 <-> imx-ssi-2-0 mapping ok
[ 5.050000] ALSA device list:
[ 5.050000] #0: imx-3stack (SGTL5000)
[ 5.060000] TCP cubic registered
[ 5.070000] NET: Registered protocol family 17
[ 5.070000] ThumbEE CPU extension supported.
[ 5.080000] input: Genesi Efika MX Buttons as /devices/virtual/input/input0
[ 5.090000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
[ 5.100000] usb 1-1.1: new high speed USB device using fsl-ehci and address 3
[ 5.120000] regulator_init_complete: incomplete constraints, leaving GPO4 on
[ 5.130000] regulator_init_complete: incomplete constraints, leaving GPO3 on
[ 5.140000] regulator_init_complete: incomplete constraints, leaving GPO2 on
[ 5.150000] regulator_init_complete: incomplete constraints, leaving GPO1 on
[ 5.160000] regulator_init_complete: incomplete constraints, leaving VUSB on
[ 5.170000] regulator_init_complete: incomplete constraints, leaving VGEN3 on
[ 5.180000] regulator_init_complete: incomplete constraints, leaving VGEN2 on
[ 5.190000] regulator_init_complete: incomplete constraints, leaving VGEN1 on
[ 5.200000] regulator_init_complete: incomplete constraints, leaving VCAM on
[ 5.210000] regulator_init_complete: incomplete constraints, leaving VAUDIO on
[ 5.220000] regulator_init_complete: incomplete constraints, leaving VUSB2 on
[ 5.230000] regulator_init_complete: incomplete constraints, leaving VSD on
[ 5.240000] regulator_init_complete: incomplete constraints, leaving VPLL on
[ 5.250000] regulator_init_complete: incomplete constraints, leaving VIOHI on
[ 5.260000] regulator_init_complete: incomplete constraints, leaving SWBST on
[ 5.280000] pmic_rtc pmic_rtc.1: setting system clock to 2010-01-25 20:50:07 UTC (1264452607)
[ 5.290000] EXT3-fs: sda2: couldn't mount because of unsupported optional features (240).
[ 5.300000] EXT2-fs: sda2: couldn't mount because of unsupported optional features (240).
[ 5.320000] EXT4-fs (sda2): barriers enabled
[ 5.340000] kjournald2 starting: pid 1040, dev sda2:8, commit interval 5 seconds
[ 5.390000] usb 1-1.1: configuration #1 chosen from 1 choice
[ 5.550000] EXT4-fs (sda2): internal journal on sda2:8
[ 5.560000] EXT4-fs (sda2): delayed allocation enabled
[ 5.570000] EXT4-fs: file extents enabled
[ 5.570000] EXT4-fs: mballoc enabled
[ 5.580000] EXT4-fs (sda2): mounted filesystem with ordered data mode
[ 5.590000] VFS: Mounted root (ext4 filesystem) on device 8:2.
[ 5.600000] Freeing init memory: 108K


Top
   
 Post subject:
PostPosted: Tue Jan 26, 2010 2:27 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1071
Check the latest version. It works fine here!

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Tue Jan 26, 2010 3:01 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Check the latest version. It works fine here!
All should be fixed now, apart from when your monitor needs a pixel clock of >133MHz.

Now this is working we can prep the accelerated 2D driver from the Freescale BSP (it does work okay anyway, it's just not very fast) and see what we can do about 3D.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Wed Aug 04, 2010 11:03 pm 
Offline

Joined: Tue Mar 31, 2009 10:24 pm
Posts: 171
i get the feeling a similar case might have been covered already, but just in case:

with 2.6.31-TO3 i lost HDMI out due to the kernel not picking up the preferred mode (the one after 'First DETAILED Timing is preferred') but instead going with a mode reported as available by my TV but tricky to get as not everything reported by that set as supported is actually there.

dmesg showing the case:
Code:
[ 0.893749] *** sii9022 lcd_probe
[ 0.896035] *** sii9022 lcd_init_fb
[ 0.900494] mxcfb_read_edid2
[ 0.930596] 00ffffffffffff001e6d01000101010102100103805c34960acf32a3574cb023
[ 0.933278] 094b4b2fce003140454061400101010101010101010164190040410026301888
[ 0.935957] 3600980732000018000000fd00384b1e3d08000a202020202020000000fc0034
[ 0.938687] 3250433344562d55440a2020000000fc005044500a20202020202020202001bc
[ 0.941393] 020313f144840503022315075065030c001000011d007251d01e206e28550098
[ 0.944189] 073200001e011d8018711c1620582c250098073200009e8c0ad08a20e02d1010
[ 0.947016] 3e96009807320000188c0ad08a20e02d10103e96009807320000180000000000
[ 0.949903] 00000000000000000000000000000000000000000000000000000000000000c4
[ 0.952951] ----------------------------------------
[ 0.955536] Revision number: 3
[ 0.958149] DTV underscan: Supported
[ 0.960740] Basic audio: Supported
[ 0.963263] Sink device: TV, HDMI
[ 0.965770] ========================================
[ 0.968307] Display Information (EDID)
[ 0.970785] ========================================
[ 0.973303] EDID Version 1.3
[ 0.975758] Manufacturer: GSM
[ 0.978191] Model: 1
[ 0.980600] Serial#: 16843009
[ 0.983000] Year: 2006 Week 2
[ 0.985293] Monitor Name: 42PC3DV-UD
[ 0.987610] Monitor Name: PDP
[ 0.989879] Display Characteristics:
[ 0.992075] Monitor Operating Limits: From EDID
[ 0.994321] H: 30-61KHz V: 56-75Hz DCLK: 80MHz
[ 0.996555] Digital Display Input
[ 0.996623] Sync:
[ 1.000934] Max H-size in cm: 92
[ 1.003123] Max V-size in cm: 52
[ 1.005253] Gamma: 2.50
[ 1.007333] DPMS: Active no, Suspend no, Standby no
[ 1.009421] RGB Color Display
[ 1.011482] Chroma
[ 1.013514] RedX: 0.640 RedY: 0.340
[ 1.015541] GreenX: 0.300 GreenY: 0.690
[ 1.017631] BlueX: 0.137 BlueY: 0.038
[ 1.019670] WhiteX: 0.293 WhiteY: 0.295
[ 1.021671] First DETAILED Timing is preferred
[ 1.023646] Detailed Timings
[ 1.025566] "1024x768@60" 65 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 1.027589] Supported VESA Modes
[ 1.029517] 640x480@60Hz
[ 1.031359] 640x480@72Hz
[ 1.033195] 640x480@75Hz
[ 1.034947] 800x600@56Hz
[ 1.036657] 800x600@60Hz
[ 1.038332] 800x600@72Hz
[ 1.039991] 800x600@75Hz
[ 1.041621] 1024x768@60Hz
[ 1.043216] 1024x768@70Hz
[ 1.044729] 1024x768@75Hz
[ 1.046185] Manufacturer's mask: 0
[ 1.047666] Standard Timings
[ 1.049141] 640x480@60Hz
[ 1.050631] 800x600@60Hz
[ 1.052100] 1024x768@60Hz
[ 1.053570] Detail Timings
[ 1.055033] ----------------------------------------
[ 1.056567] EIA/CEA-861 Information
[ 1.058081] Revision number: 3
[ 1.059547] DTV underscan: Supported
[ 1.061001] Basic audio: Supported
[ 1.062464] Detailed Timings
[ 1.063915] "1280x720@60" 74 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
[ 1.065521] "1920x1080i@60" 74 1920 2008 2052 2200 1080 1084 1094 1124 +hsync +vsync
[ 1.067223] "720x480@59" 27 720 736 798 858 480 489 495 525 -hsync -vsync
[ 1.068971] "720x480@59" 27 720 736 798 858 480 489 495 525 -hsync -vsync
[ 1.070687] ========================================
[ 1.072359] Monitor/TV supported modelines
[ 1.074048] "1024x768@60" 65.02 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 1.075835] "640x480@60" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
[ 1.077720] "640x480@72" 31.500 640 664 704 832 480 489 491 520 -hsync -vsync
[ 1.079615] "640x480@75" 31.500 640 656 720 840 480 481 484 500 -hsync -vsync
[ 1.081493] "800x600@56" 36.01 800 824 896 1024 600 601 603 625 +hsync +vsync
[ 1.083382] "800x600@60" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
[ 1.085256] "800x600@72" 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync
[ 1.087077] "800x600@75" 49.500 800 816 896 1056 600 601 604 625 +hsync +vsync
[ 1.088872] "1024x768@60" 65.02 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 1.090682] "1024x768@70" 75.01 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
[ 1.092551] "1024x768@75" 78.802 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
[ 1.094488] "640x480@60" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
[ 1.096506] "800x600@60" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
[ 1.098580] "1024x768@60" 65.02 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 1.100747] "1280x720@60" 74.250 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
[ 1.102975] "1920x1080i@60" 74.250 1920 2008 2052 2200 1080 1084 1094 1124 +hsync +vsync
[ 1.105241] "720x480@59" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync
[ 1.107626] "720x480@59" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync
[ 1.110050] 1920x1080i@60 pclk=13468 removed (interlaced)
[ 1.112440] 720x480@59 pclk=37037 removed (duplicate)
[ 1.114831] mxcfb_update_default_var mode_opt=<NULL> vmode=
[ 1.117278] 1280x720@60 pclk=13468 nearest mode is 1280x720@60 pclk=13468
[ 1.119782] nearest mode geometry 1280 720 13468
[ 1.122323] nearest mode timings 13468 220 110 20 5 40 5
[ 1.124905] nearest mode flag 1 sync 3 vmode 0
[ 1.127477] mxcfb_di_clock_adjust pixelclk=13468 rate=148500000
[ 1.130127] orig: parent=pll3 clk=80000000 this=ipu_di0_clk di_clk=40000000
[ 1.132824] adjust: parent=pll3 clk=148500000 this=ipu_di0_clk di_clk=74250000 ret=0 ret=0
[ 1.135606] sii9022_reinit 1280x720 13468
[ 1.283544] sii9022 1-0039: geometry 1280 720 1280 720 0
[ 1.286299] sii9022 1-0039: timings 13468 220 110 20 5 40 5
[ 1.289052] sii9022 1-0039: accel 0 sync 3 vmode=0
[ 1.291762] sii9022 1-0039: pclk 7425 refresh 6024 total x 1650 y 750
[ 1.294449] sii9022 1-0039: vmap idx=6 vcode=4
[ 1.297537] hdmi audio mute
[ 1.308100] hdmi audio unmute
[ 1.314163] pclk 13468 same to previous one, skipping!
[ 1.314172] sii9022_reinit 1280x720 13468 same to previous one, skipping
for the record, i do not specify that 1280x720 as a kernel argument - it's entirely a product of autonomous logic.

here's dmesg from 2.6.31.12.2 successfully working with the same set (2.6.31.12.3 works too, but i don't have its dmesg at hand):
Code:
[ 0.830000] Display Information (EDID)
[ 0.830000] ========================================
[ 0.840000] EDID Version 1.3
[ 0.840000] Manufacturer: GSM
[ 0.850000] Model: 1
[ 0.850000] Serial#: 16843009
[ 0.860000] Year: 2006 Week 2
[ 0.870000] Monitor Name: 42PC3DV-UD
[ 0.870000] Monitor Name: PDP
[ 0.880000] Display Characteristics:
[ 0.880000] Monitor Operating Limits: From EDID
[ 0.890000] H: 30-61KHz V: 56-75Hz DCLK: 80MHz
[ 0.890000] Digital Display Input
[ 0.890000] Sync:
[ 0.900000] Max H-size in cm: 92
[ 0.910000] Max V-size in cm: 52
[ 0.910000] Gamma: 2.50
[ 0.920000] DPMS: Active no, Suspend no, Standby no
[ 0.920000] RGB Color Display
[ 0.930000] Chroma
[ 0.930000] RedX: 0.640 RedY: 0.340
[ 0.940000] GreenX: 0.300 GreenY: 0.690
[ 0.940000] BlueX: 0.137 BlueY: 0.038
[ 0.950000] WhiteX: 0.293 WhiteY: 0.295
[ 0.950000] First DETAILED Timing is preferred
[ 0.960000] Detailed Timings
[ 0.960000] "1024x768@60" 65 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 0.970000] Supported VESA Modes
[ 0.970000] 640x480@60Hz
[ 0.980000] 640x480@72Hz
[ 0.980000] 640x480@75Hz
[ 0.980000] 800x600@56Hz
[ 0.990000] 800x600@60Hz
[ 0.990000] 800x600@72Hz
[ 1.000000] 800x600@75Hz
[ 1.000000] 1024x768@60Hz
[ 1.000000] 1024x768@70Hz
[ 1.010000] 1024x768@75Hz
[ 1.010000] Manufacturer's mask: 0
[ 1.020000] Standard Timings
[ 1.020000] 640x480@60Hz
[ 1.020000] 800x600@60Hz
[ 1.030000] 1024x768@60Hz
[ 1.030000] Detail Timings
[ 1.030000] ----------------------------------------
[ 1.040000] EIA/CEA-861 Information
[ 1.040000] Revision number: 3
[ 1.040000] DTV underscan: Supported
[ 1.040000] Basic audio: Supported
[ 1.050000] Detailed Timings
[ 1.050000] "1280x720@60" 74 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
[ 1.050000] "1920x1080i@60" 74 1920 2008 2052 2200 1080 1084 1094 1124 +hsync +vsync
[ 1.060000] "720x480@59" 27 720 736 798 858 480 489 495 525 -hsync -vsync
[ 1.060000] "720x480@59" 27 720 736 798 858 480 489 495 525 -hsync -vsync
[ 1.070000] ========================================
[ 1.070000] Monitor/TV supported modelines
[ 1.070000] "1024x768@60" 65.02 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 1.080000] "640x480@60" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
[ 1.080000] "640x480@72" 31.500 640 664 704 832 480 489 491 520 -hsync -vsync
[ 1.090000] "640x480@75" 31.500 640 656 720 840 480 481 484 500 -hsync -vsync
[ 1.090000] "800x600@56" 36.01 800 824 896 1024 600 601 603 625 +hsync +vsync
[ 1.090000] "800x600@60" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
[ 1.100000] "800x600@72" 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync
[ 1.100000] "800x600@75" 49.500 800 816 896 1056 600 601 604 625 +hsync +vsync
[ 1.110000] "1024x768@60" 65.02 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 1.110000] "1024x768@70" 75.01 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
[ 1.110000] "1024x768@75" 78.802 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
[ 1.120000] "640x480@60" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
[ 1.120000] "800x600@60" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
[ 1.130000] "1024x768@60" 65.02 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 1.130000] "1280x720@60" 74.250 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
[ 1.140000] "1920x1080i@60" 74.250 1920 2008 2052 2200 1080 1084 1094 1124 +hsync +vsync
[ 1.140000] "720x480@59" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync
[ 1.150000] "720x480@59" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync
[ 1.150000] found preferred video mode 1024x768@60 pclk=15384
[ 1.160000] 1920x1080i@60 pclk=13468 removed (interlaced)
[ 1.160000] 720x480@59 pclk=37037 removed (duplicate)
[ 1.160000] mxcfb_update_default_var mode_opt=<NULL> vmode=
[ 1.170000] preferred mode geometry 1024 768 15384
[ 1.180000] preferred mode timings 15384 160 24 29 3 136 6
[ 1.180000] preferred mode flag 17 sync 0 vmode 0 preferred
[ 1.190000] best mode is 1024x768@60 pclk=15384
[ 1.190000] best mode geometry 1024 768 15384
[ 1.200000] best mode timings 15384 160 24 29 3 136 6
[ 1.200000] best mode flag 17 sync 0 vmode 0 preferred
[ 1.210000] mxcfb_di_clock_adjust pixelclk=15384 rate=65002000
[ 1.210000] orig: parent=pll3 clk=74250000 this=ipu_di0_clk di_clk=74250000
[ 1.220000] adjust: parent=pll3 clk=65002000 this=ipu_di0_clk di_clk=65002000 ret=0 ret=0
[ 1.220000] sii9022_reinit 1024x768 15384
[ 1.370000] sii9022 1-0039: vmap idx=5 vcode=0
[ 1.370000] sii9022 1-0039: geometry 1024 768 1024 768 0
[ 1.380000] sii9022 1-0039: timings 15384 160 24 29 3 136 6
[ 1.390000] sii9022 1-0039: accel 0 sync 0 vmode=0
[ 1.390000] sii9022 1-0039: pclk 6500 refresh 6024 total x 1344 y 806
[ 1.400000] sii9022 1-0039: vmap idx=5 vcode=0
[ 1.400000] hdmi audio mute
[ 1.420000] hdmi audio unmute
[ 1.430000] pclk 15384 same to previous one, skipping!
[ 1.430000] sii9022_reinit 1024x768 15384 same to previous one, skipping
also, on an unrelated note, with 2.6.31-TO3 i lost access to the front-slot SD :/


Top
   
 Post subject:
PostPosted: Fri Aug 06, 2010 2:31 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
i get the feeling a similar case might have been covered already, but just in case:

with 2.6.31-TO3 i lost HDMI out due to the kernel not picking up the preferred mode (the one after 'First DETAILED Timing is preferred') but instead going with a mode reported as available by my TV but tricky to get as not everything reported by that set as supported is actually there.
It does seem to be intent on picking 1280x720 for some reason. The code that picks it is almost identical, except that one line: preferred mode found. I have no idea why it isn't going here anymore.. it should replace the 1280x720 match with the preferred match to ensure the detailed timings are used.

BTW does your monitor really support 1280x720? I have this sneaky feeling that some of the modes in the EDID dump don't really exist! But it is reporting them anyway.
Quote:
also, on an unrelated note, with 2.6.31-TO3 i lost access to the front-slot SD :/
That really should never have happened. Can you give me the output earlier in dmesg, something like "EFIKAMX: IOMUX for SD (external, mmc1)?"

What is the result of the PCB revision output? 1.1 I hope?

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Fri Aug 06, 2010 3:27 pm 
Offline

Joined: Tue Mar 31, 2009 10:24 pm
Posts: 171
Quote:
It does seem to be intent on picking 1280x720 for some reason. The code that picks it is almost identical, except that one line: preferred mode found. I have no idea why it isn't going here anymore.. it should replace the 1280x720 match with the preferred match to ensure the detailed timings are used.
that's in the kernel source, right? if so, i'll go look into it myself tonight. the more people reading it, the better.
Quote:
BTW does your monitor really support 1280x720? I have this sneaky feeling that some of the modes in the EDID dump don't really exist! But it is reporting them anyway.
your feeling is correct. it's an old EDTV which supports up to 1080i input, but everythig above its native 850x480 is actually downscaled on the fly. it is generally capable of taking 720p, and i've tested it over HDMI, but i belive it can show only one such mode, with certain timings, and the rest in that res group are just ghosts.
Quote:
That really should never have happened. Can you give me the output earlier in dmesg, something like "EFIKAMX: IOMUX for SD (external, mmc1)?"

What is the result of the PCB revision output? 1.1 I hope?
board is indeed rev 1.1. here's the remainder part of 2.6.31-TO3 dmesg, preceding the already posted EDID part:
Code:
[ 0.000000] Linux version 2.6.31-TO3-efikamx-efikamx (oem@efikamx) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) ) #1 Tue Aug 3 23:56:58 CDT 2010
[ 0.000000] CPU: ARMv7 Processor [412fc081] revision 1 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: Genesi Efika MX (Smarttop)
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 106496
[ 0.000000] free_area_init_node: node 0, pgdat c041f5d8, node_mem_map c044c000
[ 0.000000] DMA zone: 128 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 16256 pages, LIFO batch:3
[ 0.000000] Normal zone: 704 pages used for memmap
[ 0.000000] Normal zone: 89408 pages, LIFO batch:15
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 105664
[ 0.000000] Kernel command line: noinitrd console=ttymxc0,115200 console=tty1 root=/dev/sda2 rw hdmi
[ 0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 416MB = 416MB total
[ 0.000000] Memory: 417676KB available (3772K code, 364K data, 128K init, 0K highmem)
[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:368
[ 0.000000] MXC IRQ initialized
[ 0.000000] MXC_Early serial console at MMIO 0x73fbc000 (options '115200')
[ 0.000000] console [ttymxc0] enabled
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console handover: boot [ttymxc0] -> real [tty1]
[ 0.000000] Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] i.MX IRAM pool: 128 KB@0xda840000
[ 0.000000] IRAM READY
[ 0.000000] CPU is i.MX51 Revision 2.5
[ 0.000000] MXC GPIO hardware
[ 0.000000] Efika MX: IOMUX for Board ID (3 pins)
[ 0.000000] Efika MX: IOMUX for General GPIO Stuff (7 pins)
[ 0.000000] Efika MX: IOMUX for SPI (6 pins)
[ 0.000000] Efika MX: IOMUX for PMIC (1 pins)
[ 0.000000] Efika MX: IOMUX for I2C (4 pins)
[ 0.000000] Efika MX: IOMUX for USB (29 pins)
[ 0.000000] Efika MX: Initializing SD card IOMUX (internal, mmc0)
[ 0.000000] Efika MX: registering mxcsdhc2_device
[ 0.000000] Efika MX: IOMUX for WDOG (1.1) (1 pins)
[ 0.000000] Efika MX: IOMUX for LED (3 pins)
[ 0.000000] Efika MX: IOMUX for Power Key (1 pins)
[ 0.000000] Efika MX: IOMUX for ATA (29 pins)
[ 0.000000] Efika MX: AIPS1_BASE_ADDR = 0x73f00000
[ 0.000000] Efika MX: AIPS1_BASE_ADDR_VIRT = 0xf7e00000, io_pg_offst = 0x3df8
[ 0.000000] Efika MX: PHYS_OFFSET = 0x90000000
[ 0.000000] Efika MX Revision 1.1
[ 0.000000] Using SDMA I.API
[ 0.000000] MXC DMA API initialized
[ 0.000000] bio: create slab <bio-0> at 0
[ 0.000000] SCSI subsystem initialized
[ 0.000000] libata version 3.00 loaded.
[ 0.000000] CSPI: mxc_spi-0 probed
[ 0.000000] usbcore: registered new interface driver usbfs
[ 0.000000] usbcore: registered new interface driver hub
[ 0.000000] usbcore: registered new device driver usb
[ 0.000000] i2c_imx_probe
[ 0.000000] IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[ 0.000000] mc13892 Rev 2.0 FinVer 2 detected
[ 0.000000] Initializing regulators for Efika MX
[ 0.000000] regulator: SW1: 600 <--> 1375 mV
[ 0.000000] regulator: SW2: 900 <--> 1850 mV
[ 0.000000] regulator: SW3: 1100 <--> 1850 mV
[ 0.000000] regulator: SW4: 1100 <--> 1850 mV
[ 0.000000] regulator: SWBST: 0 mV
[ 0.000000] regulator: VIOHI: 0 mV
[ 0.000000] regulator: VPLL: 1050 <--> 1800 mV
[ 0.000000] regulator: VDIG: 1050 <--> 1800 mV
[ 0.000000] regulator: VSD: 1800 <--> 3150 mV
[ 0.000000] regulator: VUSB2: 2400 <--> 2775 mV
[ 0.000000] regulator: VVIDEO: 2775 mV
[ 0.000000] regulator: VAUDIO: 2300 <--> 3000 mV
[ 0.000000] regulator: VCAM: 2500 <--> 3000 mV fast normal
[ 0.000000] regulator: VGEN1: 1200 <--> 3150 mV
[ 0.000000] regulator: VGEN2: 1200 <--> 3150 mV
[ 0.000000] regulator: VGEN3: 1800 <--> 2900 mV
[ 0.000000] regulator: VUSB: 0 mV
[ 0.000000] regulator: GPO1: 0 mV
[ 0.000000] regulator: GPO2: 0 mV
[ 0.000000] regulator: GPO3: 0 mV
[ 0.000000] regulator: GPO4: 0 mV
[ 0.000000] Device spi1.0 probed
[ 0.000000] NET: Registered protocol family 2
[ 0.000000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.000000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.000000] TCP reno registered
[ 0.000000] NET: Registered protocol family 1
[ 0.000000] LPMode driver module loaded
[ 0.000000] Static Power Management for Freescale i.MX51
[ 0.000000] PM driver module loaded
[ 0.000000] sdram autogating driver module loaded
[ 0.000000] Bus freq driver module loaded
[ 0.000000] DVFS driver module loaded
[ 0.000000] i.MXC CPU frequency driver
[ 0.000000] DVFS PER driver module loaded
[ 0.000000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.000000] msgmni has been set to 816
[ 0.859622] Switched to high resolution mode on CPU 0
[ 0.862529] alg: No test for stdrng (krng)
[ 0.862830] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.862863] io scheduler noop registered
[ 0.862892] io scheduler cfq registered (default)
[ 0.863329] *** sii9022_probe
[ 0.865586] *** mxc_init_fb vmode= video-mode=1 clock_auto=1 pixclk_limit=8000 video_1080p=0
[ 0.865612] registering framebuffer for HDMI
[ 0.865886] DISP3 BG
[ 0.866640] mode_option=800x600-16@60
[ 0.866670] mxcfb_di_clock_adjust pixelclk=25000 rate=80000000
[ 0.866726] orig: parent=pll3 clk=216000000 this=ipu_di0_clk di_clk=27000000
[ 0.866861] adjust: parent=pll3 clk=80000000 this=ipu_di0_clk di_clk=40000000 ret=0 ret=0
[ 0.866987] skip sii9022_reinit!
[ 0.867631] mxc_ipu mxc_ipu: Channel already disabled 9
[ 0.867640] mxc_ipu mxc_ipu: Channel already uninitialized 9
[ 0.867654] pclk 25000 same to previous one, skipping!
[ 0.867660] skip sii9022_reinit!
[ 0.867690] mxc_ipu mxc_ipu: WARNING: adapt panel end blank lines
[ 0.884254] Console: switching to colour frame buffer device 100x37
[ 0.889127] registering framebuffer for VPU overlay
[ 0.889497] DISP3 FG
no traces of "(external, mmc1)" :/

could it be the fact i'm using an older, non-HC card here? i don't have any spare SD cards ATM, but i'll get a new HC one if there's a possibility that the TO3 kernel is picky about that fact.


Top
   
 Post subject:
PostPosted: Fri Aug 06, 2010 3:42 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Okay I'll have a poke around.

We got a new BSP release earlier in the week and I'll be going through the patches again on both boards, and we'll make a release worth a damn ;)

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Fri Aug 06, 2010 8:50 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Okay I'll have a poke around.

We got a new BSP release earlier in the week and I'll be going through the patches again on both boards, and we'll make a release worth a damn ;)
I have a thought. video_max_res should be 1 in "mx51_efikamx_display.c".

Otherwise for the MMC stuff I am drawing a blank.. I'm a little desensitized to the code though.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Sat Aug 07, 2010 1:42 am 
Offline

Joined: Tue Mar 31, 2009 10:24 pm
Posts: 171
thanks, Matt. i too did some code browsing for the EDID issue. it appears practically everything relevant is in two files:
Code:
arch/arm/mach-mx5/mx51_efikamx_display.c
drivers/video/mxc/mxcfb_sii9022.c
what immediately jumps to mind from there is that lcd_init_fb() does not call fb_find_best_display() -- that one is called only in the commented out mxcfb_sanitize_modelist(), and even there its best-fit mode result (which in my case should be the first detailed mode - the one we are after) is not passed further down the control flow (as apparently it's not meant to).

now i'm just guessing here (it's rather late here and i'm half asleep to do any actual coding and building) but what lcd_init_fb() needs to do is:

instead of the whole hoopla with the video_mode logic
Code:
if( video_mode == 4 )
fb_videomode_to_var(&var, &video_modes_ce_mode_4);

else if ( video_mode == 19 )
fb_videomode_to_var(&var, &video_modes_ce_mode_19);

else if (video_mode == 2 )
fb_videomode_to_var(&var, &video_modes_1024x768_60);

else if ( video_mode == 3 )
fb_videomode_to_var(&var, &video_modes_1280x720_65);

else {
struct fb_videomode *def_mode;

if ( video_max_res )
def_mode = &video_modes_1980x1080_60;
else
def_mode = &video_modes_ce_mode_4;

mxcfb_update_default_var( &var, info, def_mode );
}
just
Code:
struct fb_videomode *best_mode = fb_find_best_display(&info->monspecs, &info->modelist);

fb_videomode_to_var(&var, best_mode);
needless to say, i'll try that tomorrow on a clear head.


Top
   
 Post subject:
PostPosted: Sat Aug 07, 2010 9:23 pm 
Offline

Joined: Tue Mar 31, 2009 10:24 pm
Posts: 171
so after a little fixup to lcd_init_fb() i am one step closer to getting the preferred videomode of my TV actuated. what's stopping me from reaching the goal is
arch/arm/mach-mx5/mx51_efikamx_display.c: mxcfb_di_clock_adjust() or something thereabout - function computes imx51's clocks for a videomode, and those are off.

here's how a working scenario looks (2.6.31.12.2 dmesg snippet immediately following the 'Monitor/TV supported modelines' modes section):
Code:
[ 1.150000] found preferred video mode 1024x768@60 pclk=15384
[ 1.160000] 1920x1080i@60 pclk=13468 removed (interlaced)
[ 1.160000] 720x480@59 pclk=37037 removed (duplicate)
[ 1.160000] mxcfb_update_default_var mode_opt=<NULL> vmode=
[ 1.170000] preferred mode geometry 1024 768 15384
[ 1.180000] preferred mode timings 15384 160 24 29 3 136 6
[ 1.180000] preferred mode flag 17 sync 0 vmode 0 preferred
[ 1.190000] best mode is 1024x768@60 pclk=15384
[ 1.190000] best mode geometry 1024 768 15384
[ 1.200000] best mode timings 15384 160 24 29 3 136 6
[ 1.200000] best mode flag 17 sync 0 vmode 0 preferred
[ 1.210000] mxcfb_di_clock_adjust pixelclk=15384 rate=65002000
[ 1.210000] orig: parent=pll3 clk=74250000 this=ipu_di0_clk di_clk=74250000
[ 1.220000] adjust: parent=pll3 clk=65002000 this=ipu_di0_clk di_clk=65002000 ret=0 ret=0
[ 1.220000] sii9022_reinit 1024x768 15384
[ 1.370000] sii9022 1-0039: vmap idx=5 vcode=0
[ 1.370000] sii9022 1-0039: geometry 1024 768 1024 768 0
[ 1.380000] sii9022 1-0039: timings 15384 160 24 29 3 136 6
[ 1.390000] sii9022 1-0039: accel 0 sync 0 vmode=0
[ 1.390000] sii9022 1-0039: pclk 6500 refresh 6024 total x 1344 y 806
[ 1.400000] sii9022 1-0039: vmap idx=5 vcode=0
[ 1.400000] hdmi audio mute
[ 1.420000] hdmi audio unmute
[ 1.430000] pclk 15384 same to previous one, skipping!
[ 1.430000] sii9022_reinit 1024x768 15384 same to previous one, skipping
and here's what i get:
Code:
[ 1.109905] 1920x1080i@60 pclk=13468 removed (interlaced)
[ 1.112305] 720x480@59 pclk=37037 removed (duplicate)
[ 1.114706] *** sii9022 lcd_init_fb: best mode found!
[ 1.117131] mxcfb_di_clock_adjust pixelclk=15384 rate=130004000
[ 1.119635] orig: parent=pll3 clk=80000000 this=ipu_di0_clk di_clk=40000000
[ 1.122236] adjust: parent=pll3 clk=130004000 this=ipu_di0_clk di_clk=65002000 ret=0 ret=0
[ 1.125001] sii9022_reinit 1024x768 15384
[ 1.263430] sii9022 1-0039: geometry 1024 768 1024 768 0
[ 1.266124] sii9022 1-0039: timings 15384 160 24 29 3 136 6
[ 1.268809] sii9022 1-0039: accel 0 sync 0 vmode=0
[ 1.271459] sii9022 1-0039: pclk 6500 refresh 6024 total x 1344 y 806
[ 1.274193] sii9022 1-0039: vmap idx=5 vcode=0
[ 1.277291] hdmi audio mute
[ 1.287954] hdmi audio unmute
[ 1.299059] pclk 15384 same to previous one, skipping!
[ 1.299068] sii9022_reinit 1024x768 15384 same to previous one, skipping
apparently mxcfb_di_clock_adjust() computes 'rate' which is off by a factor of 2. i think i'll suspend my tinkering here, as i'm not keen on playing trail-and-error with clocks.

in case of interest, here's my version of lcd_init_fb()
Code:
--- drivers/video/mxc/mxcfb_sii9022.c 2010-07-08 18:09:00.000000000 +0000
+++ ../mxcfb_sii9022.c 2010-08-07 22:55:27.000000000 +0000
@@ -686,6 +686,7 @@
{
int err = 0;
static struct fb_var_screeninfo var;
+ struct fb_videomode const *best_mode = NULL;

printk("*** sii9022 %s\n", __func__);

@@ -705,6 +707,14 @@
//mxcfb_sanitize_modelist(info, info->monspecs.modedb, info->monspecs.modedb_len,
// &info->modelist);

+ best_mode = fb_find_best_display(&info->monspecs, &info->modelist);
+
+ if ( best_mode ) {
+
+ printk("*** sii9022 %s: best mode found!\n", __func__);
+
+ fb_videomode_to_var(&var, best_mode);
+ }
}
}

@@ -726,7 +736,8 @@
else if ( video_mode == 3 )
fb_videomode_to_var(&var, &video_modes_1280x720_65);

- else {
+ else if ( best_mode == NULL ) {
+
struct fb_videomode *def_mode;

if ( video_max_res )


Top
   
 Post subject:
PostPosted: Thu Aug 12, 2010 12:25 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
so after a little fixup to lcd_init_fb() i am one step closer to getting the preferred videomode of my TV actuated.
Checking it out now. We have some clock issues to fix, and we'll see if this gets better after that, or if it needs to be fixed further..

IMO that whole platform display code needs to be rewritten from scratch to be cleaner and easier to follow. If anyone wants to go do it.. please go ahead.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Sun Aug 15, 2010 12:18 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Quote:
so after a little fixup to lcd_init_fb() i am one step closer to getting the preferred videomode of my TV actuated.
Checking it out now. We have some clock issues to fix, and we'll see if this gets better after that, or if it needs to be fixed further..

IMO that whole platform display code needs to be rewritten from scratch to be cleaner and easier to follow. If anyone wants to go do it.. please go ahead.
Okay I got another thing for you to try.

Go to drivers/mxc/ipu3/ipu_disp.c and find the function "ipu_adapt_panel_restricitions" (note the spelling error..). There is a little #if/#else/#endif that defines the first few arguments. Remove the stuff that happens when CONFIG_MACH_MX51_EFIKAMX is defined. The pixelclock is passed as a pointer to a u32, but the function is casting it as a pointer to a u16. This is pretty braindead, so let's get rid of it and see what happens for your monitor :)

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Tue Aug 17, 2010 7:49 pm 
Offline

Joined: Tue Mar 31, 2009 10:24 pm
Posts: 171
hey, Matt, justice prevailed!

fixing that routine you suggested brought the crucial blow to the last head of the hydra known as freescale's mxc display code. my TV is chirping happily under 2.6.31-TO3 now ; )

apropos, in my version of the kernel codebase the routine is called 'adapt_panel_to_ipu_restricitions' - still with the signature spelling error. and i see that the name is still the same in the efikamx-10.07.11 bsp branch (btw, very nice initiative with the git repo - thanks!).

i absolutely agree that the display code needs rewriting. it's classic spaghetti code, full of gems like this one:
Code:
if (pixel_clock == 37000 ) /* NTSC 480i */
rate = (u32) ((((PICOS2KHZ(pixel_clock)))/1000)*1000000)*2;
else
rate = (((u32)(PICOS2KHZ(pixel_clock) ))*1000 * 2);
holy parenthesis abuse, batman!

now, onto the tracks of the missing front SD card slot..

apropos, 2.6.31-TO3 does not seem to cope with the available z430 modules either, which greatly reduces its value to me.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 51 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group