天嵌 ARM开发社区

 找回密码
 注册
查看: 3041|回复: 3

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

[复制链接]
sdjnjg 发表于 2014-3-24 10:41:10 | 显示全部楼层 |阅读模式
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命令编译


以下是串口接收的下载、启动信息:


自己编译内核后,更完整信息:

?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




 楼主| sdjnjg 发表于 2014-3-24 10:41:33 | 显示全部楼层
[    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:
[    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(
回复

使用道具 举报

wbz073 发表于 2014-3-24 13:30:35 | 显示全部楼层
sdjnjg 发表于 2014-3-24 10:41
[    0.000000] s5pv210: 10137600 bytes system memory reserved for fimc1 at 0x43c00000
[    0.000000 ...

这是你全部的打印信息吗,触摸驱动都没看到加载
回复

使用道具 举报

 楼主| sdjnjg 发表于 2014-3-24 15:27:58 | 显示全部楼层
全部打印信息
我的编译过程有什么错误吗???
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2025-8-1 00:25 , Processed in 2.069407 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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