天嵌 ARM开发社区

 找回密码
 注册
查看: 7653|回复: 11

镜像编译后,触摸屏无效???

[复制链接]
sdjnjg 发表于 2014-3-20 21:46:24 | 显示全部楼层 |阅读模式
利用天嵌提供的默认配置文件,编译后,烧写后,触摸屏不起作用,应用程序位于屏幕的偏右下方,这个正常吗???
天嵌提供的配置文件中,各个驱动都提供了吗?是否每个驱动需要单独配置,才起作用?
 楼主| sdjnjg 发表于 2014-3-20 21:55:32 | 显示全部楼层
编译生成的系统镜像为3.38M, 天嵌提供的镜像为4.65M,这两者有何区别?
回复

使用道具 举报

TQ-ZQL 发表于 2014-3-21 09:27:31 | 显示全部楼层
使用默认配置就可以,里面已经有包含。
讲下环境,使用的源码,编译过程,烧写之后有没有重新重新在uboot中设置分辨率。启动信息里有没有关于gt811(Goodix-TS 2-005d)的相关信息?
回复

使用道具 举报

 楼主| sdjnjg 发表于 2014-3-22 09:58:37 | 显示全部楼层
1.安装交叉编译器: 安装天嵌光盘->linux平台工具->ubuntu_env_install.tar.bz2, 并在/etc/environment中添加路径:/opt/EmbedSky/4.4.6/bin
2.解压系统源码Kernel_2.6.35.7_TQ210_for_Linux_V1.2.tar.bz2
3.修改Makefile文件:ARCH = arm和CROSS_COMPILE = arm-linux-
4.修改平台时钟为12000000;
5.打开 arch/arm/configs/s3c2410_defconfig, 并保存为 .config
6.使用make zImage命令编译

以下是串口接收的启动信息
Start Linux ......
NAND read: device 0 offset 0x500000, size 0x500000


5242880 bytes read: OK
Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35.7-EmbedSky-GJ (root@gj-ThinkPad-Twist) (gcc version 4.4.6 (for TQ210 EmbedSky Tech) ) #1 PREEMPT Thu Mar 20 20:55:26 CST 2014
[    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: TQ210
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Truncating RAM at 40000000-5fffffff to -53ffffff (vmalloc region overlap).
[    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=80000000 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_dsys (1), rate is 166750000
[    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 54000000
[    0.000000] sclk_spdif: source is sclk_audio (0), rate is 24000000
....

重新设置LCD尺寸后,程序界面仍然偏右下方,触摸屏无效.

请问我这是什么地方操作不对?

回复

使用道具 举报

 楼主| sdjnjg 发表于 2014-3-22 10:11:01 | 显示全部楼层
完整的下载、重启信息:

OK
##### EmbedSky BIOS for SKY210/TQ210 #####
This Board: SDRAM is 1024MB; LCD display size is: 800X480
Hit any key to stop autoboot:  0
SD and FAT initialize success!
file length is 0x328.
condition=INSTALL
OSType=LINUX
beep state=ON

bootloader=images\bootloader\u-boot_TQ210_V1.3.bin
file length is 0x6c000.

NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xe0000 -- 100% complete.
OK

NAND write: device 0 offset 0x0, size 0x6c000
Main area read (4 blocks):
Checksum is calculated.
Main area write (4 blocks):
524288 bytes written: OK

logodir=images\logo\logo_800x480.bin
file length is 0x177000.

NAND erase: device 0 offset 0x200000, size 0x300000
Erasing at 0x4e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x200000, size 0x177000

Writing data at 0x69d6800 -- 100% complete.
103635840 bytes written: OK
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x100000 -- 100% complete.
Writing to Nand... done
Start Linux ......
NAND read: device 0 offset 0x500000, size 0x500000


5242880 bytes read: OK
Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35.7-EmbedSky-GJ (root@gj-ThinkPad-Twist) (gcc version 4.4.6 (for TQ210 EmbedSky Tech) ) #1 PREEMPT Thu Mar 20 20:55:26 CST 2014
[    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: TQ210
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Truncating RAM at 40000000-5fffffff to -53ffffff (vmalloc region overlap).
[    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=80000000 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_dsys (1), rate is 166750000
[    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 54000000
[    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 24000000
[    0.000000] sclk_cam1: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimd: source is mout_epll (7), rate is 80000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 80000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 80000000
[    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 200000000
[    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 0x20fb3000
[    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: 8388608 bytes system memory reserved for jpeg at 0x45dab000
[    0.000000] s5pv210: 9437184 bytes system memory reserved for fimd at 0x465ab000
[    0.000000] s5pv210: 3072000 bytes system memory reserved for texstream at 0x46eab000
[    0.000000] s5pv210: 3379200 bytes system memory reserved for pmem_gpu1 at 0x47199000
[    0.000000] s5pv210: 8388608 bytes system memory reserved for g2d at 0x474d2000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 211328
[    0.000000] Kernel command line: noinitrd root=/dev/mtdblock3 rootfstype=yaffs2 init=/init console=ttySAC0 lcd=X800Y480
[    0.000000] user X800Y480 lcd.
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 512MB 320MB = 832MB total
[    0.000000] Memory: 670456k/670456k available, 181512k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
回复

使用道具 举报

 楼主| sdjnjg 发表于 2014-3-23 20:11:41 | 显示全部楼层
以下是天嵌提供的内核的下载、启动信息

?"OK
##### EmbedSky BIOS for SKY210/TQ210 #####
This Board: SDRAM is 1024MB; LCD display size is: 800X480
Hit any key to stop autoboot:  0
SD and FAT initialize success!
file length is 0x340.
condition=INSTALL
OSType=LINUX
beep state=ON

bootloader=images\bootloader\u-boot_TQ210_V1.3.bin
file length is 0x6c000.

NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xe0000 -- 100% complete.
OK

NAND write: device 0 offset 0x0, size 0x6c000
Main area read (4 blocks):
Checksum is calculated.
Main area write (4 blocks):
524288 bytes written: OK

logodir=images\logo\logo_800x480.bin
file length is 0x177000.

NAND erase: device 0 offset 0x200000, size 0x300000
Erasing at 0x4e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x200000, size 0x177000

Writing data at 0x9a7800 -- 100% complete.
4881660 bytes written: OK

Linux rootfs=images\linux\rootfs_linux_v1.3_CoreB.bin

NAND erase: device 0 offset 0xa00000, size 0x3f600000
Writing data at 0x69d6800 -- 100% complete.
103635840 bytes written: OK
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x100000 -- 100% complete.
Writing to Nand... done
Start Linux ......
NAND read: device 0 offset 0x500000, size 0x500000


5242880 bytes read: OK
Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 2.6.35.7-EmbedSky (root@embedsk-server) (gcc version 4.4.6 (for TQ210 EmbedSky Tech) ) #1 PREEMPT Fri Dec 14 22:59:29 CST 2012
CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: TQ210
Memory policy: ECC disabled, Data cache writeback
Truncating RAM at 40000000-5fffffff to -53ffffff (vmalloc region overlap).
CPU S5PV210/S5PC110 (id 0x43110220)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S5PV210: PLL settings, A=1000000000, M=667000000, E=80000000 V=54000000
S5PV210: ARMCLK=1000000000, HCLKM=200000000, HCLKD=166750000
HCLKP=133400000, PCLKM=100000000, PCLKD=83375000, PCLKP=66700000
sclk_dmc: source is sclk_a2m (0), rate is 200000000
sclk_onenand: source is hclk_dsys (1), rate is 166750000
sclk: source is mout_mpll (6), rate is 66700000
sclk: source is mout_mpll (6), rate is 66700000
sclk: source is mout_mpll (6), rate is 66700000
sclk: source is mout_mpll (6), rate is 66700000
sclk_mixer: source is sclk_dac (0), rate is 54000000
sclk_spdif: source is sclk_audio (0), rate is 24000000
sclk_fimc: source is ext_xtal (0), rate is 24000000
sclk_fimc: source is ext_xtal (0), rate is 24000000
sclk_fimc: source is ext_xtal (0), rate is 24000000
sclk_cam0: source is ext_xtal (0), rate is 24000000
sclk_cam1: source is ext_xtal (0), rate is 24000000
sclk_fimd: source is mout_epll (7), rate is 80000000
sclk_mmc: source is mout_mpll (6), rate is 47642857
sclk_mmc: source is mout_epll (7), rate is 80000000
sclk_mmc: source is mout_mpll (6), rate is 47642857
sclk_mmc: source is mout_epll (7), rate is 80000000
sclk_mfc: source is sclk_a2m (0), rate is 200000000
sclk_g2d: source is sclk_a2m (0), rate is 200000000
sclk: source is sclk_a2m (0), rate is 200000000
sclk_csis: source is ext_xtal (0), rate is 24000000
sclk_spi: source is ext_xtal (0), rate is 24000000
sclk_spi: source is ext_xtal (0), rate is 24000000
sclk_pwi: source is ext_xtal (0), rate is 24000000
sclk_pwm: source is ext_xtal (0), rate is 24000000
sclk_mdnie: source is ext_xtal (0), rate is 24000000
sclk_mdnie_pwm: source is ext_xtal (0), rate is 24000000
s5pv210: 37748736 bytes system memory reserved for mfc at 0x2129c000
s5pv210: 37748736 bytes system memory reserved for mfc at 0x40000000
s5pv210: 25165824 bytes system memory reserved for fimc0 at 0x42400000
s5pv210: 10137600 bytes system memory reserved for fimc1 at 0x43c00000
s5pv210: 25165824 bytes system memory reserved for fimc2 at 0x445ab000
s5pv210: 8388608 bytes system memory reserved for jpeg at 0x45dab000
s5pv210: 12582912 bytes system memory reserved for fimd at 0x465ab000
s5pv210: 3072000 bytes system memory reserved for texstream at 0x471ab000
s5pv210: 3379200 bytes system memory reserved for pmem_gpu1 at 0x47499000
s5pv210: 8388608 bytes system memory reserved for g2d at 0x477d2000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 211328
Kernel command line: noinitrd root=/dev/mtdblock3 rootfstype=yaffs2 init=/init console=ttySAC0 lcd=X800Y480
user X800Y480 lcd.
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 512MB 320MB = 832MB total
Memory: 664396k/664396k available, 187572k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff000000 - 0xffe00000   (  14 MB)
    vmalloc : 0xf4800000 - 0xfc000000   ( 120 MB)
    lowmem  : 0xc0000000 - 0xf4000000   ( 832 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc003a000   ( 200 kB)
      .text : 0xc003a000 - 0xc09ad000   (9676 kB)
      .data : 0xc09ae000 - 0xc0a15d20   ( 416 kB)
SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:393
VIC @fd000000: id 0x00041192, vendor 0x41
VIC @fd010000: id 0x00041192, vendor 0x41
VIC @fd020000: id 0x00041192, vendor 0x41
VIC @fd030000: id 0x00041192, vendor 0x41
mult[140737]
max_delta_ns[2937815369]
min_delta_ns[30517]
rate[32768]
HZ[256]
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 998.15 BogoMIPS (lpj=1949696)
pid_max: default: 32768 minimum: 301
Security Framework initialized
TOMOYO Linux initialized
Mount-cache hash table entries: 512
Initializing cgroup subsys debug
Initializing cgroup subsys cpuacct
Initializing cgroup su440-i2c.0: i2c-0: S3C I2C adapter
s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
Advanced Linux Sound Architecture Driver Version 1.0.23.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource clock_source_systimer
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PMU: registered new PMU device of type 0
SMDKC110/V210 RTC, (c) 2010 Samsung Electronics
smdkc110-rtc smdkc110-rtc: rtc core: registered s3c as rtc0
S5PV210 ADC driver, (c) 2010 Samsung Electronics
cpuidle: phy_regs_save:0x53d15000
Loaded driver for PL330 DMAC-0 s3c-pl330
DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
Loaded driver for PL330 DMAC-1 s3c-pl330
DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
Loaded driver for PL330 DMAC-2 s3c-pl330
DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.29 [Flags: R/W].
fuse init (API version 7.14)
msgmni has been set to 1297
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
user a70 param
s3cfb s3cfb: [fb0] dma: 0x465ab000, cpu: 0xf5000000, size: 0x005dc000
Console: switching to colour frame buffer device 100x30
FIMD src sclk = 166750000
s3cfb s3cfb: registered successfully
TQ210 Beep driver successfully probed
TQ210 LEDs driver successfully probed
PA FB = 0x465AB000, bits per pixel = 32
screen width=800 height=480 va=0xe65ab000 pa=0x465ab000
xres_virtual = 800, yres_virtual = 1920, xoffset = 0, yoffset = 0
fb_size=6144000
Back frameBuffer[0].VAddr=e6722000 PAddr=46722000 size=1536000
Back frameBuffer[1].VAddr=e6899000 PAddr=46899000 size=1536000
Back frameBuffer[2].VAddr=e6a10000 PAddr=46a10000 size=1536000
s5pv210-uart.0: s3c2410_serial0 at MMIO 0xe2900000 (irq = 16) is a S3C6400/10
s5pv210-uart.1: s3c2410_serial1 at MMIO 0xe2900400 (irq = 20) is a S3C6400/10
s5pv210-uart.2: s3c2410_serial2 at MMIO 0xe2900800 (irq = 24) is a S3C6400/10
s5pv210-uart.3: s3c2410_serial3 at MMIO 0xe2900c00 (irq = 28) is a S3C6400/10
S3C NAND Driver, (c) 2008 Samsung Electronics
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Creating 4 MTD partitions on "s5pv210-nand":
0x000000000000-0x000000100000 : "bootloader"
0x000000200000-0x000000500000 : "Logo"
0x000000500000-0x000000a00000 : "kernel"
0x000000a00000-0x000040000000 : "rootfs"
[init] SMB380 is error!
Acceleration_sensor: probe of Acceleration_sensor failed with error -1
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
回复

使用道具 举报

 楼主| sdjnjg 发表于 2014-3-23 20:11:56 | 显示全部楼层
dm9000 Ethernet Driver, V1.31
eth0: dm9000a at f48c2300,f48c6304 IRQ 42 MAC: 10:23:45:67:89:ab (platform data)
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver rndis_host
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver zd1211rw
usbcore: registered new interface driver rndis_wlan
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
usbcore: registered new interface driver rt2500usb
usbcore: registered new interface driver rt73usb
usbcore: registered new interface driver rt2800usb
console [netcon0] enabled
netconsole: network logging started
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
s5p-ehci s5p-ehci: s5pv210 EHCI
s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1
s5p-ehci s5p-ehci: irq 87, io mem 0xec200000
s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
s3c-udc : S3C HS USB Device Controller Driver, (c) 2008-2009 Samsung Electronics
s3c-udc : version 15 March 2009 (DMA Mode)
android init
android_usb gadget: android_usb ready
f_acm init
f_mass_storage init
fsg_probe pdev: c09b9a08, pdata: c09ba774
f_mtp init
f_rndis init
rndis_function_bind_config MAC: 02:02:45:46:4F:48
android_usb gadget: using random self ethernet address
android_usb gadget: using random host ethernet address
usb0: MAC a6:e1:05:73:0a:73
usb0: HOST MAC 06:27:ae:21:c6:5a
android_usb gadget: Mass Storage Function, version: 2009/09/11
android_usb gadget: Number of LUNs=1
lun0: LUN: removable file: (no medium)
mtp_bind_config
mice: PS/2 mouse device common for all mice
input: tq210_hs0038 as /devices/virtual/input/input0
Input: S3C GPIO  hs0038 Registered
input: gpio-keys as /devices/platform/gpio-keys/input/input1
S5P Touchscreen driver, (c) 2008 Samsung Electronics
Resistance_ts got loaded successfully : 10 bits
input: Resistance_ts as /devices/virtual/input/input2
TSSEL : 1
input: Virtual_ts as /devices/virtual/input/input3
Input: virtal touch screen Registered successfully
virtual touchscreen driver successfully probed
using rtc device, s3c, for alarms
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
Linux video capture interface: v2.00
usbcore: registered new interface driver em28xx
em28xx driver loaded
Em28xx: Initialized (Em28xx Audio Extension) extension
cx231xx v4l2 driver loaded.
usbcore: registered new interface driver cx231xx
cx231xx: Cx231xx Audio Extension initialized
usbcore: registered new interface driver usbvision
USBVision USB Video Device Driver for Linux : 0.9.10
usbcore: registered new interface driver pvrusb2
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
usbcore: registered new interface driver ov511
ov511: v1.64 for Linux 2.5:ov511 USB Camera Driver
SE401 usb camera driver version 0.24 registering
usbcore: registered new interface driver se401
usbcore: registered new interface driver stv680
stv680  
回复

使用道具 举报

 楼主| sdjnjg 发表于 2014-3-23 20:46:33 | 显示全部楼层
自己编译内核后,更完整信息:

?OK
##### EmbedSky BIOS for SKY210/TQ210 #####
This Board: SDRAM is 1024MB; LCD display size is: 800X480
Hit any key to stop autoboot:  0
SD and FAT initialize success!
file length is 0x328.
condition=INSTALL
OSType=LINUX
beep state=ON

bootloader=images\bootloader\u-boot_TQ210_V1.3.bin
file length is 0x6c000.

NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xe0000 -- 100% complete.
OK

NAND write: device 0 offset 0x0, size 0x6c000
Main area read (4 blocks):
Checksum is calculated.
Main area write (4 blocks):
524288 bytes written: OK

logodir=images\logo\logo_800x480.bin
file length is 0x177000.

NAND erase: device 0 offset 0x200000, size 0x300000
Erasing at 0x4e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x200000, size 0x177000

Writing data at 0x376800 -- 100% complete.
1536000 bytes written: OK

Linux zImage=images\linux\zImage.bin
file length is 0x362e38.

NAND erase: device 0 offset 0x500000, size 0x500000
Erasing at 0x9e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x500000, size 0x362e38

Writing data at 0x69d6800 -- 100% complete.
103635840 bytes written: OK
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x100000 -- 100% complete.
Writing to Nand... done
Start Linux ......
NAND read: device 0 offset 0x500000, size 0x500000


5242880 bytes read: OK
Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35.7-EmbedSky-GJ (root@gj-ThinkPad-Twist) (gcc version 4.4.6 (for TQ210 EmbedSky Tech) ) #1 PREEMPT Thu Mar 20 20:55:26 CST 2014
[    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: TQ210
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Truncating RAM at 40000000-5fffffff to -53ffffff (vmalloc region overlap).
[    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=80000000 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_dsys (1), rate is 166750000
[    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 54000000
[    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 24000000
[    0.000000] sclk_cam1: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimd: source is mout_epll (7), rate is 80000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 80000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 80000000
[    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 200000000
[    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 0x20fb3000
[    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: 8388608 bytes system memory reserved for jpeg at 0x45dab000
[    0.000000] s5pv210: 9437184 bytes system memory reserved for fimd at 0x465ab000
[    0.000000] s5pv210: 3072000 bytes system memory reserved for texstream at 0x46eab000
[    0.000000] s5pv210: 3379200 bytes system memory reserved for pmem_gpu1 at 0x47199000
[    0.000000] s5pv210: 8388608 bytes system memory reserved for g2d at 0x474d2000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 211328
[    0.000000] Kernel command line: noinitrd root=/dev/mtdblock3 rootfstype=yaffs2 init=/init console=ttySAC0 lcd=X800Y480
[    0.000000] user X800Y480 lcd.
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
回复

使用道具 举报

 楼主| sdjnjg 发表于 2014-3-23 20:46:56 | 显示全部楼层
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 512MB 320MB = 832MB total
[    0.000000] Memory: 670456k/670456k available, 181512k 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 : 0xf4800000 - 0xfc000000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf4000000   ( 832 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc003a000   ( 200 kB)
[    0.000000]       .text : 0xc003a000 - 0xc06a5000   (6572 kB)
[    0.000000]       .data : 0xc06a6000 - 0xc06eda40   ( 287 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 [ttySAC0] enabled
[    0.468586] Calibrating delay loop... 998.15 BogoMIPS (lpj=1949696)
[    0.550737] pid_max: default: 32768 minimum: 301
[    0.550893] Mount-cache hash table entries: 512
[    0.551738] Initializing cgroup subsys debug
[    0.551786] Initializing cgroup subsys cpuacct
[    0.551833] Initializing cgroup subsys freezer
[    0.553388] CPU: Testing write buffer coherency: ok
[    0.563993] regulator: core version 0.5
[    0.564376] NET: Registered protocol family 16
[    0.584300] S3C Power Management, Copyright 2004 Simtec Electronics
[    0.584356] pmstats at 00000000
[    0.584665] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.584747] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.590870] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.598399] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.606829] S5PV210: Initializing architecture
[    0.611272] s3c24xx-pwm s3c24xx-pwm.0: tin at 66700000, tdiv at 66700000, tin=divclk, base 0
[    0.618925] s3c24xx-pwm s3c24xx-pwm.1: tin at 66700000, tdiv at 66700000, tin=divclk, base 8
[    0.627263] s3c24xx-pwm s3c24xx-pwm.2: tin at 66700000, tdiv at 66700000, tin=divclk, base 12
[    0.635756] s3c24xx-pwm s3c24xx-pwm.3: tin at 66700000, tdiv at 66700000, tin=divclk, base 16
[    0.644674] regulator: pd_audio_supply: 5000 mV normal
[    0.649696] regulator: pd_cam_supply: 5000 mV normal
[    0.654713] regulator: pd_tv_supply: 5000 mV normal
[    0.659611] regulator: pd_lcd_supply: 5000 mV normal
[    0.664650] regulator: pd_g3d_supply: 5000 mV normal
[    0.669681] regulator: pd_mfc_supply: 5000 mV normal
[    0.689034] bio: create slab <bio-0> at 0
[    0.690762] SCSI subsystem initialized
[    0.691152] usbcore: registered new interface driver usbfs
[    0.691484] usbcore: registered new interface driver hub
[    0.693002] usbcore: registered new device driver usb
[    0.699402] i2c-gpio i2c-gpio.5: using pins 44 (SDA) and 45 (SCL)
[    0.704221] i2c-gpio i2c-gpio.6: using pins 118 (SDA) and 117 (SCL)
[    0.710815] s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
[    0.716043] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[    0.721249] s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
[    0.727062] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.733973] cfg80211: Calling CRDA to update world regulatory domain
[    0.739124] Switching to clocksource clock_source_systimer
[    0.746677] NET: Registered protocol family 2
[    0.748953] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.756749] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.764988] TCP bind hash table entries: 65536 (order: 8, 1310720 bytes)
[    0.771441] TCP: Hash tables configured (established 131072 bind 65536)
[    0.776472] TCP reno registered
[    0.779591] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.785526] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.792096] NET: Registered protocol family 1
[    0.796547] RPC: Registered udp transport module.
[    0.800847] RPC: Registered tcp transport module.
[    0.805499] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.812497] PMU: registered new PMU device of type 0
[    0.816951] SMDKC110/V210 RTC, (c) 2010 Samsung Electronics
[    0.822878] smdkc110-rtc smdkc110-rtc: rtc core: registered s3c as rtc0
[    0.829095] S5PV210 ADC driver, (c) 2010 Samsung Electronics
[    0.835108] cpuidle: phy_regs_save:0x535fd000
[    0.839214] Loaded driver for PL330 DMAC-0 s3c-pl330
[    0.843894] DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
[    0.850187] Loaded driver for PL330 DMAC-1 s3c-pl330
[    0.854897] DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    0.861164] Loaded driver for PL330 DMAC-2 s3c-pl330
[    0.865905] DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    0.885811] ashmem: initialized
[    0.885844] Kmemleak testing
[    0.885876] kmemleak: kmalloc(32) = f35fba40
[    0.885917] kmemleak: kmalloc(32) = f35fba80
[    0.886430] kmemleak: kmalloc(1024) = f3d86000
[    0.890933] kmemleak: kmalloc(1024) = f3d86400
[    0.895282] kmemleak: kmalloc(2048) = f3dae800
[    0.899698] kmemleak: kmalloc(2048) = f3daf000
[    0.904117] kmemleak: kmalloc(
回复

使用道具 举报

TQ-ZQL 发表于 2014-3-24 15:12:26 | 显示全部楼层
建议使用3.0.8的内核,2.6的已经没有维护很久了。你自己编译的信息不全,没有看到触摸部分
回复

使用道具 举报

 楼主| sdjnjg 发表于 2014-3-24 15:40:45 | 显示全部楼层
贵公司提供的内核是2.6的啊,网盘提供的内核是2.6的,3.0.8的内核源码,贵公司网盘有吗?
没有的话从哪下载,贵公司有3.0.8的相关资料吗?
回复

使用道具 举报

 楼主| sdjnjg 发表于 2014-3-25 09:49:33 | 显示全部楼层
已解决,原因如下:
我移植系统的步骤是按“基于天嵌科技的SKY2440/TQ2440的Linux系统移植手册”中介绍的方法进行的,这里面使用的配置文件时arch/arm/configs/s3c2410_defconfig, 因为我的开发板为TQ210, 所以使用arch/arm/configs/tq210_defconfig这个配置文件,貌似这个配置文件不对

在"天嵌科技出品-TQ210 开发板使用手册V1.3"中讲到编译系统镜像,使用的内核文件夹下的“config_TQ210_linux_V1.1"这个配置文件,就成功了

原因不明,问题是解决了
回复

使用道具 举报

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

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-8-17 11:33 , Processed in 2.061810 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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