天嵌 ARM开发社区

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

TQ210修改成1024*768分辨率后出现问题

[复制链接]
woodstiger 发表于 2013-5-6 14:31:02 | 显示全部楼层 |阅读模式
win->id=0, pmem_start=0x4e0a0000
s3cfb s3cfb: [fb0] dma: 0x4e0a0000, cpu: 0xf8000000, size: 0x00900000
------------[ cut here ]------------
WARNING: at mm/page_alloc.c:2121 __alloc_pages_nodemask+0x450/0x620()
Modules linked in: s5pv210_hdmi wm8960 rt5370sta ds18b20 Acceleration_sensor
[<c003edc8>] (unwind_backtrace+0x0/0xfc) from [<c005794c>] (warn_slowpath_common+0x4c/0x64)
[<c005794c>] (warn_slowpath_common+0x4c/0x64) from [<c0057980>] (warn_slowpath_null+0x1c/0x24)
[<c0057980>] (warn_slowpath_null+0x1c/0x24) from [<c009fdcc>] (__alloc_pages_nodemask+0x450/0x620)
[<c009fdcc>] (__alloc_pages_nodemask+0x450/0x620) from [<c003f768>] (__dma_alloc+0x8c/0x2fc)
[<c003f768>] (__dma_alloc+0x8c/0x2fc) from [<c003f9fc>] (dma_alloc_writecombine+0x24/0x2c)
[<c003f9fc>] (dma_alloc_writecombine+0x24/0x2c) from [<c023d7a0>] (s3cfb_map_video_memory+0xac/0x174)
[<c023d7a0>] (s3cfb_map_video_memory+0xac/0x174) from [<c023dfac>] (s3cfb_set_par+0x58/0xc0)
[<c023dfac>] (s3cfb_set_par+0x58/0xc0) from [<c023726c>] (fb_set_var+0x168/0x2a4)
[<c023726c>] (fb_set_var+0x168/0x2a4) from [<c023775c>] (do_fb_ioctl+0x3b4/0x5f0)
[<c023775c>] (do_fb_ioctl+0x3b4/0x5f0) from [<c00d4c28>] (do_vfs_ioctl+0x80/0x5f0)
[<c00d4c28>] (do_vfs_ioctl+0x80/0x5f0) from [<c00d51d0>] (sys_ioctl+0x38/0x60)
[<c00d51d0>] (sys_ioctl+0x38/0x60) from [<c00392c0>] (ret_fast_syscall+0x0/0x30)
---[ end trace d2ba085864747acd ]---
DDDDDDDDDDDDDDDDDMMMMMMMMMMMMMMMMMMMAAAAAAAAAAAAAAAAA
亚瑟王 发表于 2013-5-6 15:08:42 | 显示全部楼层
亲,内存分配出问题了,你是怎么弄的?
 楼主| woodstiger 发表于 2013-5-6 15:27:57 | 显示全部楼层
亚瑟王 发表于 2013-5-6 15:08
亲,内存分配出问题了,你是怎么弄的?

我就在内核里把LCD选成了VGA1024*768,编译后烧写就提示这样的错误了,我用的是3.0.8的内核
亚瑟王 发表于 2013-5-6 15:32:31 | 显示全部楼层
woodstiger 发表于 2013-5-6 15:27
我就在内核里把LCD选成了VGA1024*768,编译后烧写就提示这样的错误了,我用的是3.0.8的内核

用的是V1的还是V1.2的?V1.2的应该不会有这个问题。
 楼主| woodstiger 发表于 2013-5-6 15:34:28 | 显示全部楼层
亚瑟王 发表于 2013-5-6 15:32
用的是V1的还是V1.2的?V1.2的应该不会有这个问题。

请问你指的是UBOOT的版本吗
亚瑟王 发表于 2013-5-6 15:41:22 | 显示全部楼层
woodstiger 发表于 2013-5-6 15:34
请问你指的是UBOOT的版本吗

内核源码的版本。
 楼主| woodstiger 发表于 2013-5-6 15:42:23 | 显示全部楼层
亚瑟王 发表于 2013-5-6 15:41
内核源码的版本。

我用的是zImage_3.0.8_for_android_V1.0.bin,是不是这个有问题啊
 楼主| woodstiger 发表于 2013-5-6 15:53:41 | 显示全部楼层
woodstiger 发表于 2013-5-6 15:42
我用的是zImage_3.0.8_for_android_V1.0.bin,是不是这个有问题啊

我手上的是Kernel_3.0.8_TQ210_for_Android_v1.0.tar这个内核源码,是不是有最新的,哪里可以下载?
亚瑟王 发表于 2013-5-6 16:17:37 | 显示全部楼层
woodstiger 发表于 2013-5-6 15:53
我手上的是Kernel_3.0.8_TQ210_for_Android_v1.0.tar这个内核源码,是不是有最新的,哪里可以下载?

本论坛提供有补丁的,下载后打上补丁即可。
 楼主| woodstiger 发表于 2013-5-6 17:29:09 | 显示全部楼层
亚瑟王 发表于 2013-5-6 16:17
本论坛提供有补丁的,下载后打上补丁即可。

arch/arm/mach-s5pv210/mach-tq210.c: In function 'tq210_fixup_bootmem':
arch/arm/mach-s5pv210/mach-tq210.c:584: error: 'tq210_media_devs' undeclared (first use in this function)
arch/arm/mach-s5pv210/mach-tq210.c:584: error: (Each undeclared identifier is reported only once
arch/arm/mach-s5pv210/mach-tq210.c:584: error: for each function it appears in.)
arch/arm/mach-s5pv210/mach-tq210.c:584: warning: type defaults to 'int' in declaration of 'type name'
arch/arm/mach-s5pv210/mach-tq210.c:584: warning: type defaults to 'int' in declaration of 'type name'
arch/arm/mach-s5pv210/mach-tq210.c:584: error: negative width in bit-field '<anonymous>'
arch/arm/mach-s5pv210/mach-tq210.c: At top level:
arch/arm/mach-s5pv210/mach-tq210.c:1814: warning: excess elements in array initializer
arch/arm/mach-s5pv210/mach-tq210.c:1814: warning: (near initialization for 'fimc_plat_lsi.camera')
arch/arm/mach-s5pv210/mach-tq210.c: In function 'tq210_map_io':
arch/arm/mach-s5pv210/mach-tq210.c:2134: error: 'BYTES_PER_PIXEL' undeclared (first use in this function)
arch/arm/mach-s5pv210/mach-tq210.c:2135: error: 'NUM_BUFFER' undeclared (first use in this function)
arch/arm/mach-s5pv210/mach-tq210.c:2148: error: 'tq210_media_devs' undeclared (first use in this function)
arch/arm/mach-s5pv210/mach-tq210.c:2148: warning: type defaults to 'int' in declaration of 'type name'
arch/arm/mach-s5pv210/mach-tq210.c:2148: warning: type defaults to 'int' in declaration of 'type name'
arch/arm/mach-s5pv210/mach-tq210.c:2148: error: negative width in bit-field '<anonymous>'
make[1]: *** [arch/arm/mach-s5pv210/mach-tq210.o] 错误 1
make: *** [arch/arm/mach-s5pv210] 错误 2
亚瑟王 发表于 2013-5-7 14:04:30 | 显示全部楼层
woodstiger 发表于 2013-5-6 17:29
arch/arm/mach-s5pv210/mach-tq210.c: In function 'tq210_fixup_bootmem':
arch/arm/mach-s5pv210/mach ...

不要同一个问题到处发帖,浪费大家时间。
请到:http://www.armbbs.net/forum.php?mod=viewthread&tid=15645下载新的补丁和说明。
kxgy 发表于 2013-9-5 08:20:49 | 显示全部楼层
搞什么啊,完全按照指示做的,同样出现先前那位仁兄的现象!:Q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-19 00:05 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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