九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 6906|回复: 13
打印 上一主题 下一主题

X210 II 7寸屏iNand开发板,重新编译系统android 2.3后显示不正...

[复制链接]
跳转到指定楼层
楼主
发表于 2012-12-19 10:28:42 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
12月初购买的X210 II 7寸屏iNand开发板,重新编译系统android 2.3后,屏幕显示不正常,板子无法正常使用。不知道在使用官方的android源码编译时,针对7寸屏需要修改哪些东西?
具体现象描述如下:
1.使用官方编译好的映像文件,即X210II_A\android2.3\image\inand\LCD070\目录下的三个映像文件,系统显示正常。
2.重新编译源码,即X210II_A\android2.3\目录下x210_android2.3.tar.bz2中的源码,重新编译下载,系统不正常。在上电后先是在屏幕左上角显示一个小的九鼎图标,如下图:

然后会黑屏好一会,才会重新有显示,并且显示不正常,桌面显示不全,抖动,不清晰,屏幕上有花点,如下图:




回复

使用道具 举报

沙发
 楼主| 发表于 2012-12-19 10:33:21 | 只看该作者
按照论坛上常见问题汇总中所说的,替换kernel/drivers/input/touchscreen/目录下的 ft5x06_ts.c, ft5x06_ts.c,makefile和Kconfig,重新编译uboot和内核,现像依旧。


回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2012-12-19 10:35:51 | 只看该作者
上电后系统串口打印信息如下:
OK


U-Boot 1.3.4 (Dec 17 2012 - 23:40:52) for x210



CPU:  S5PV210@1000MHz(OK)

        APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz

        MPLL = 667MHz, EPLL = 96MHz

                       HclkDsys = 166MHz, PclkDsys = 83MHz

                       HclkPsys = 133MHz, PclkPsys = 66MHz

                       SCLKA2M  = 200MHz

Serial = CLKUART

Board:   X210

DRAM:    512 MB

Flash:   8 MB

SD/MMC: 3800MB

NAND:    0 MB

*** Warning - using default environment


In:      serial

Out:     serial

Err:     serial

Enter into Normal mode

Hit any key to stop autoboot:  0

reading kernel.. 1073, 8192

MMC read: dev # 0, block # 1073, count 8192 ...8192 blocks read: OK

completed

reading RFS.. 9265, 6144

MMC read: dev # 0, block # 9265, count 6144 ...6144 blocks read: OK

completed

Boot with zImage

get_format

-------- 0 --------

Wrong Ramdisk Image Format


Starting kernel ...


Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35.7 (hx@hx-desktop) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #244 PREEMPT Mon Dec 17 23:43:28 CST 2012
[    0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: SMDKV210
[    0.000000] Ignoring unrecognised tag 0x41001099
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU S5PV210/S5PC110 (id 0x43110220)
[    0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[    0.000000] S5PV210: PLL settings, A=1000000000, M=667000000, E=96000000 V=54000000
[    0.000000] S5PV210: ARMCLK=1000000000, HCLKM=200000000, HCLKD=166750000
[    0.000000] HCLKP=133400000, PCLKM=100000000, PCLKD=83375000, PCLKP=66700000
[    0.000000] sclk_dmc: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk_onenand: source is hclk_psys (0), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk_mixer: source is sclk_dac (0), rate is 24000000
[    0.000000] sclk_spdif: source is sclk_audio (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_cam0: source is ext_xtal (0), rate is 12000000
[    0.000000] sclk_cam1: source is ext_xtal (0), rate is 12000000
[    0.000000] sclk_fimd: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 51307692
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 96000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 51307692
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 96000000
[    0.000000] sclk_mfc: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk_g2d: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk: source is sclk_a2m (0), rate is 100000000
[    0.000000] sclk_csis: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_spi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_spi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_pwi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_pwm: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_mdnie: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_mdnie_pwm: source is ext_xtal (0), rate is 24000000
[    0.000000] s5pv210: 37748736 bytes system memory reserved for mfc at 0x30b6d000
[    0.000000] s5pv210: 37748736 bytes system memory reserved for mfc at 0x40000000
[    0.000000] s5pv210: 25165824 bytes system memory reserved for fimc0 at 0x42400000
[    0.000000] s5pv210: 10137600 bytes system memory reserved for fimc1 at 0x43c00000
[    0.000000] s5pv210: 25165824 bytes system memory reserved for fimc2 at 0x445ab000
[    0.000000] s5pv210: 25165824 bytes system memory reserved for jpeg at 0x45dab000
[    0.000000] s5pv210: 10485760 bytes system memory reserved for fimd at 0x475ab000
[    0.000000] s5pv210: 10485760 bytes system memory reserved for texstream at 0x47fab000
[    0.000000] s5pv210: 3379200 bytes system memory reserved for pmem_gpu1 at 0x489ab000
[    0.000000] s5pv210: 8388608 bytes system memory reserved for g2d at 0x48ce4000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttySAC0,115200
[    0.000000] PID hash table entries: 2048 (order: 1, 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: 256MB 256MB = 512MB total
[    0.000000] Memory: 322884k/322884k available, 201404k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xff000000 - 0xffe00000   (  14 MB)
[    0.000000]     vmalloc : 0xe0800000 - 0xfc000000   ( 440 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc006a000   ( 392 kB)
[    0.000000]       .text : 0xc006a000 - 0xc065e000   (6096 kB)
[    0.000000]       .data : 0xc065e000 - 0xc06aa200   ( 305 kB)
[    0.000000] SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]         RCU-based detection of stalled CPUs is disabled.
[    0.000000]         Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:393
[    0.000000] VIC @fd000000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fd010000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fd020000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fd030000: id 0x00041192, vendor 0x41
[    0.000000] mult[140737]
[    0.000000] max_delta_ns[2937815369]
[    0.000000] min_delta_ns[30517]
[    0.000000] rate[32768]
[    0.000000] HZ[256]
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttySAC0] enabled
回复 支持 反对

使用道具 举报

地板
 楼主| 发表于 2012-12-19 10:37:19 | 只看该作者
  1. [    0.459938] Calibrating delay loop... 998.15 BogoMIPS (lpj=1949696)
  2. [    0.542967] pid_max: default: 32768 minimum: 301
  3. [    0.543062] Mount-cache hash table entries: 512
  4. [    0.543391] Initializing cgroup subsys debug
  5. [    0.543435] Initializing cgroup subsys cpuacct
  6. [    0.543477] Initializing cgroup subsys freezer
  7. [    0.545563] CPU: Testing write buffer coherency: ok
  8. [    0.552443] regulator: core version 0.5
  9. [    0.554334] NET: Registered protocol family 16
  10. [    0.564314] S3C Power Management, Copyright 2004 Simtec Electronics
  11. [    0.564871] pmstats at 00000000
  12. [    0.568031] Open OV2655 camema sensor
  13. [    0.707124] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
  14. [    0.707209] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
  15. [    0.707293] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
  16. [    0.707500] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
  17. [    0.715058] smdkv210_nand_io_init
  18. [    0.718785] S5PV210: Initializing architecture
  19. [    0.723071] s3c24xx-pwm s3c24xx-pwm.0: tin at 66700000, tdiv at 66700000, tin=divclk, base 0
  20. [    0.731188] s3c24xx-pwm s3c24xx-pwm.1: tin at 66700000, tdiv at 66700000, tin=divclk, base 8
  21. [    0.739590] s3c24xx-pwm s3c24xx-pwm.2: tin at 66700000, tdiv at 66700000, tin=divclk, base 12
  22. [    0.748081] s3c24xx-pwm s3c24xx-pwm.3: tin at 66700000, tdiv at 66700000, tin=divclk, base 16
  23. [    0.756702] regulator: pd_audio_supply: 5000 mV normal
  24. [    0.761838] regulator: pd_cam_supply: 5000 mV normal
  25. [    0.766858] regulator: pd_tv_supply: 5000 mV normal
  26. [    0.771791] regulator: pd_lcd_supply: 5000 mV normal
  27. [    0.776824] regulator: pd_g3d_supply: 5000 mV normal
  28. [    0.781844] regulator: pd_mfc_supply: 5000 mV normal
  29. [    0.792486] bio: create slab <bio-0> at 0
  30. [    0.793123] SCSI subsystem initialized
  31. [    0.794613] usbcore: registered new interface driver usbfs
  32. [    0.800037] usbcore: registered new interface driver hub
  33. [    0.805334] usbcore: registered new device driver usb
  34. [    0.810667] s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
  35. [    0.815826] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
  36. [    0.821196] s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
  37. [    0.826705] Advanced Linux Sound Architecture Driver Version 1.0.23.
  38. [    0.833107] Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc.
  39. [    0.840006] Bluetooth: Core ver 2.15
  40. [    0.843573] NET: Registered protocol family 31
  41. [    0.847963] Bluetooth: HCI device and connection manager initialized
  42. [    0.854289] Bluetooth: HCI socket layer initialized
  43. [    0.859381] cfg80211: Calling CRDA to update world regulatory domain
  44. [    0.865665] Switching to clocksource clock_source_systimer
  45. [    0.876184] NET: Registered protocol family 2
  46. [    0.876417] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
  47. [    0.882940] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
  48. [    0.889682] TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
  49. [    0.896436] TCP: Hash tables configured (established 16384 bind 16384)
  50. [    0.902476] TCP reno registered
  51. [    0.905585] UDP hash table entries: 256 (order: 1, 12288 bytes)
  52. [    0.911507] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
  53. [    0.917969] NET: Registered protocol family 1
  54. [    0.923799] PMU: registered new PMU device of type 0
  55. [    0.927146] wifi power management

  56. [    0.930765] SMDKC110/V210 RTC, (c) 2010 Samsung Electronics
  57. [    0.936058] smdkc110-rtc smdkc110-rtc: rtc disabled, re-enabling
  58. [    0.941998] smdkc110-rtc smdkc110-rtc: rtc disabled, re-enabling
  59. [    0.948119] smdkc110-rtc smdkc110-rtc: rtc core: registered s3c as rtc0
  60. [    0.954610] S5PV210 ADC driver, (c) 2010 Samsung Electronics
  61. [    0.960399] cpuidle: phy_regs_save:0x4fd86000
  62. [    0.964873] input: s3c-button as /devices/virtual/input/input0
  63. [    0.970340] s3c button Initialized!!
  64. [    0.974012] Loaded driver for PL330 DMAC-0 s3c-pl330
  65. [    0.978831]         DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
  66. [    0.984963] Loaded driver for PL330 DMAC-1 s3c-pl330
  67. [    0.989827]         DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
  68. [    0.995987] Loaded driver for PL330 DMAC-2 s3c-pl330
  69. [    1.000835]         DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
  70. [    1.013502] ashmem: initialized
  71. [    1.013745] ROMFS MTD (C) 2007 Red Hat, Inc.
  72. [    1.014289] msgmni has been set to 630
  73. [    1.020661] alg: No test for stdrng (krng)
  74. [    1.022082] io scheduler noop registered
  75. [    1.025989] io scheduler deadline registered
  76. [    1.030225] io scheduler cfq registered (default)
  77. [    1.035816] s3cfb s3cfb: [fb2] dma: 0x475ab000, cpu: 0xe1000000, size: 0x00a00000
  78. [    1.050784] s3cfb s3cfb: registered successfully
  79. [    1.050829] Start display and show logo
  80. [    1.252277] ---x210_LED_init---
  81. [    1.319859] input: compass as /devices/virtual/input/input1
  82. [    1.321147] PA FB = 0x475AB000, bits per pixel = 32
  83. [    1.321195] screen width=1280 height=1024 va=0xd75ab000 pa=0x475ab000
  84. [    1.321251] xres_virtual = 1280, yres_virtual = 2048, xoffset = 0, yoffset = 0
  85. [    1.321609] fb_size=10485760
  86. [    1.324523] Back frameBuffer[0].VAddr=d7aab000 PAddr=47aab000 size=5242880
  87. [    1.331672] s5pv210-uart.0: s3c2410_serial0 at MMIO 0xe2900000 (irq = 16) is a S3C6400/10
  88. [    1.339874] s5pv210-uart.1: s3c2410_serial1 at MMIO 0xe2900400 (irq = 20) is a S3C6400/10
  89. [    1.347893] s5pv210-uart.2: s3c2410_serial2 at MMIO 0xe2900800 (irq = 24) is a S3C6400/10
  90. [    1.355998] s5pv210-uart.3: s3c2410_serial3 at MMIO 0xe2900c00 (irq = 28) is a S3C6400/10
  91. [    1.368398] brd: module loaded
  92. [    1.370638] loop: module loaded
  93. [    1.371199] S3C NAND Driver, (c) 2008 Samsung Electronics
  94. [    1.375564] Unknown NAND Device.
  95. [    1.378705] PPP generic driver version 2.4.2
  96. [    1.383192] PPP Deflate Compression module registered
  97. [    1.387925] PPP BSD Compression module registered
  98. [    1.393368] PPP MPPE Compression module registered
  99. [    1.397380] NET: Registered protocol family 24
  100. [    1.403311] dm9000 Ethernet Driver, V1.31
  101. [    1.407021] eth0: dm9000c at e0896300,e089a304 IRQ 42 MAC: 00:09:c0:ff:ec:48 (platform data)
  102. [    1.414255] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  103. [    1.420812] s5p-ehci s5p-ehci: s5pv210 EHCI
  104. [    1.424868] s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1
  105. [    1.431951] s5p-ehci s5p-ehci: irq 87, io mem 0xec200000
  106. [    1.445247] s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00
  107. [    1.445837] hub 1-0:1.0: USB hub found
  108. [    1.446239] hub 1-0:1.0: 1 port detected
  109. [    1.450407] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  110. [    1.456425] s5p-ohci s5p-ohci: s5pv210 OHCI
  111. [    1.460473] s5p-ohci s5p-ohci: new USB bus registered, assigned bus number 2
  112. [    1.467498] s5p-ohci s5p-ohci: irq 87, io mem 0xec300000
复制代码
回复 支持 反对

使用道具 举报

5#
 楼主| 发表于 2012-12-19 10:40:30 | 只看该作者
卡这儿好多天了,板子一直不能正常使用,不知道是不是提供的源码,必须还要修改其它地方才能正常使用。请各位大神帮忙指导解决,谢谢。
回复 支持 反对

使用道具 举报

6#
发表于 2012-12-19 11:48:49 | 只看该作者
刚看到你的消息
回复 支持 反对

使用道具 举报

7#
发表于 2012-12-19 11:50:18 | 只看该作者
不是触摸屏问题,你在menuconfig里面找到显示设备,有VGA,4.3,7寸等映像,找到7寸的,选中,默认为1280X1024的。选中后重新make,更新zImage就好了。

注意,make menuconfig,修改配置后,要将kernel目录的.config复制到arch/arm/config/x210_android_inand_defconfig中去。
回复 支持 反对

使用道具 举报

8#
 楼主| 发表于 2012-12-19 14:59:01 | 只看该作者
在menuconfig中哪个位置呢?找了半天,只看到VGA的,没看到有7寸屏的信息。
回复 支持 反对

使用道具 举报

9#
发表于 2012-12-21 18:24:30 | 只看该作者
和VGA在一个地方,有好几种VGA,还有一个AT070TN92的选项,选TN92就好了
回复 支持 反对

使用道具 举报

10#
 楼主| 发表于 2012-12-22 12:46:57 | 只看该作者
找到了。显示正常了。不过触摸屏还是没完全正常。开机后只有第一次点击有反应,但显示的屏幕不对,不管点的是什么,进入的都是提示没有SD卡的界面,然后再点退出,就没反应了。怀疑可能是不是触摸位置不准,还在试。
回复 支持 反对

使用道具 举报

11#
发表于 2013-1-16 09:16:39 | 只看该作者
要是可以给一个源码编译的配置教程就好了
回复 支持 反对

使用道具 举报

12#
发表于 2013-6-8 08:12:35 | 只看该作者
遇到了相同的问题,按照上述办法改改试试先!
回复 支持 反对

使用道具 举报

13#
发表于 2013-6-8 09:22:08 | 只看该作者
lhx_forum 发表于 2012-12-22 12:46
找到了。显示正常了。不过触摸屏还是没完全正常。开机后只有第一次点击有反应,但显示的屏幕不对,不管点的 ...

我怎么没有找到呢???进入kernel目录,然后执行make menuconfig 没有找到“和VGA在一个地方,有好几种VGA,还有一个AT070TN92的选项,选TN92就好了”这些信息啊???能告诉我路径吗???
回复 支持 反对

使用道具 举报

14#
发表于 2013-6-8 10:08:55 | 只看该作者
lhx_forum 发表于 2012-12-22 12:46
找到了。显示正常了。不过触摸屏还是没完全正常。开机后只有第一次点击有反应,但显示的屏幕不对,不管点的 ...

问题已经解决了,路径是Device Drivers->Graphics support->Support for frame buffer devices ->select LCD Type->EK070TN93,另外管理员说“注意,make menuconfig,修改配置后,要将kernel目录的.config复制到arch/arm/config/x210_android_inand_defconfig中去。”,但是,kernel目录下没有.config文件,我是直接找到arch/arm/config/x210_android_inand_defconfig文件,将其中的配置项修改成EK070TN93即可。重新编译内核烧录后就没有问题了,重启了也没有问题了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-5-7 15:32 , Processed in 0.025357 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表