• 6616阅读
  • 2回复

嵌入式QT的启动问题 [复制链接]

上一主题 下一主题
离线vilont
 
只看楼主 倒序阅读 楼主  发表于: 2008-04-07
— 本帖被 XChinux 执行加亮操作(2008-04-13) —
U-Boot@JackTam> tftp 0x30008000 zImage_my
dm9000 i/o: 0x8000300, id: 0x90000a46
MAC: 00:80:00:80:00:80
operating at unknown: 0 mode
TFTP from server 192.168.138.100; our IP address is 192.168.138.99
Filename 'zImage_my'.
Load address: 0x30008000
Loading: T #################################################################
        #################################################################
        #############################
done
Bytes transferred = 812548 (c6604 hex)
U-Boot@JackTam> go 30008000
## Starting application at 0x30008000 ...
Uncompressing Linux............................................................ done, booting the kernel.
Linux version 2.4.18-rmk7-pxa1 (root@vilont) (gcc version 2.95.2 20000516 (release) [Rebel.com]) #1018 Wed Apr 2 11:26:43 CST 2008
CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0
Machine: Samsung-SMDK2410
On node 0 totalpages: 1536
zone(0): 1536 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: noinitrd init=linuxrc console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.138.100:/s3c2410_linux/nfs ip=192.168.138.99:192.168.138.100:192.168.138.0:255.255.255.0:vilont:eth0:off mac=
..............
..............
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
Looking up port of RPC 100003/2 on 192.168.138.100
Looking up port of RPC 100005/1 on 192.168.138.100
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing init memory: 80K
mount /etc as ramfs
re-create the /etc/mtab entries
console=/dev/con
init started:  BusyBox v0.60.3 (2002.05.13-08:36+0000) multi-cal binary
Starting pid 18, console /dev/console: '/etc/init.d/rcS'
mount: Mounting none on /dev/pts failed: No such file or directory
Thu Jan  1 00:00:00 UTC 2004
mount: Mounting ramfs on /.kde failed: No such file or directory
Cannot open /dev/h3600_ts (No such file or directory)
Create pluginlibman in libqpe
Out of Memory: Killed process 33 (qpe).
Terminated
Waiting for enter to start '/bin/sh' (pid 35, terminal /dev/console)

Please press Enter to activate this console.
Starting pid 35, console /dev/console: '/bin/sh'


BusyBox v0.60.3 (2002.05.13-08:36+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.


Create pluginlibman in libqpe
Out of Memory: Killed process 33 (qpe).
Terminated
Waiting for enter to start '/bin/sh' (pid 35, terminal /dev/console)
本人是用nfs启动根文件系统,但是里面qtopia启动时却出现内存不足的现象,但是我内存有64M,应该不至于这么快就用完了吧。请问一下,有没有人遇到跟我一样的问题啊,有没有解决办法?
[ 此贴被vilont在2008-04-07 14:48重新编辑 ]
离线eriol2004
只看该作者 1楼 发表于: 2008-04-13
我跟楼主情况差不多,内存也是64M,运行qt例子中的t14也很吃力,不用说qtopia,连复杂的qte程序都不行,请问有人知道怎么解决吗?是不是64M的内存太小了?
びっくりしました~~
离线vilont
只看该作者 2楼 发表于: 2008-05-06
我换了其他调试方式,发现可以启动。可能是这种启动方式占用的内存太大了,建议调大一点的程序不要用nfs启动根文件系统方式调,建议把根文件系统烧到flash
快速回复
限100 字节
 
上一个 下一个