QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1159|回复: 7

what is wrong?

[复制链接]
发表于 2004-10-7 16:39:01 | 显示全部楼层 |阅读模式
(SkyEye) run
Starting program: /root/111/uClinux-dist/linux-2.4.x/linux
Linux version 2.4.24-uc0 (root@localhost) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #1 四 10月 7 12:24:20 CST 2004Processor: Atmel AT91M40xxx revision 0
Architecture: EB01
On node 0 totalpages: 1024
zone(0): 0 pages.
zone(1): 1024 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 15.82 BogoMIPS
Memory: 4MB = 4MB total
Memory: 2968KB available (850K code, 180K data, 40K init)
Dentry cache hash table entries: 512 (order: 0, 4096 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 1024 (order: 0, 4096 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Atmel USART driver version 0.99
ttyS0 at 0xfffd0000 (irq = 2) is a builtin Atmel APB USART
ttyS1 at 0xfffcc000 (irq = 3) is a builtin Atmel APB USART
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 1400000-1402FFF [VIRTUAL 1400000-1402FFF] (RO)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Kernel panic: No init found.  Try passing init= option to kernel.


whaat is wrong ?how can I do?
:-)

发表于 2004-10-8 09:10:38 | 显示全部楼层
可能是你的文件系统中没有init程序。
回复

使用道具 举报

 楼主| 发表于 2004-10-8 11:05:50 | 显示全部楼层
是哪个程序,是我编译的uclinux程序吗?怎样加入init程序?可以告诉我怎样加入吗,我没主意了.
回复

使用道具 举报

 楼主| 发表于 2004-10-8 11:10:50 | 显示全部楼层
是在编译文件系统时吗,好像当时有问题,但是后来生成了romfs.img, 是要重新编译吗?
回复

使用道具 举报

发表于 2004-10-8 11:23:07 | 显示全部楼层
最好把以前的删除,重新编译一次。
回复

使用道具 举报

 楼主| 发表于 2004-10-8 21:45:39 | 显示全部楼层
我编译的不是论坛上介绍的UCLINUX-DIST版本,这个没问题吧,

我早上下了一个编译好的试了一下,通过了。看到了DAMO上的界面,
下一步编程怎么做啊,是和有开发板一样,可以下载应用程序吗?

  是不是我就假想有一个开发板接在电脑上,然后就编程,下载到假想的板子上运行。如我写个HELLO WORLD ,编译好下载到假想的板子上运行,就能出效果吗?
   有没有这方面的介绍的文章?
回复

使用道具 举报

发表于 2004-10-8 22:10:19 | 显示全部楼层
我还没有时间整理本版的精华区,如果你有时间,不妨看看精华区是否有你可供参考的文档。
回复

使用道具 举报

发表于 2004-10-9 13:55:33 | 显示全部楼层

what is wrong

你在uClinux-dest里面编译内核和文件系统的时候再出现选择文件系统里面的文件的时候 ,你需要选择至少init选项。否则系统起不来
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-5-10 01:03 , Processed in 0.127200 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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