lj124 发表于 2007-5-22 18:46:24

uClinux启动遇到的问题

由u-boot引导uClinux,先将其映像下载到sdram中,
tftp 0c300000 uclinux_ram.bin.gz.img
在解压缩运行,
bootm 0c300000
结果运行到
kernel command line: root=/dev/rom0 init=/linuxrc
死机!
请大家帮忙分析一下!

lj124 发表于 2007-5-27 21:20:54

是遇到sti()开中断函数停了下来,猜测是u-boot的中断向量设置有问题,但修改了以后仍不行,不知道是我改的不对,还是其他的地方有问题,真是一点头绪都没有啊,有谁遇到到过类似的问题没?请指教!@_@

victor_lyy 发表于 2007-5-28 22:27:23

我师妹也遇到了同样的问题,如果她解决了我可以告诉你

lj124 发表于 2007-6-4 20:00:24

uclinux运行结果如下:

Shell invoked to run file: /etc/rc
Command: hostname Samsung
Command: /bin/expand /etc/ramfs.img /dev/ram0
Command: /bin/expand /etc/ramfs2048.img /dev/ram1
Command: mount -t proc proc /proc
mount: /etc/mtab: Read-only file system
Command: mount -t ext2 /dev/ram0 /var
mount: /etc/mtab: Read-only file system
Command: mount -t ext2 /dev/ram1 /ramdisk
mount: Mounting /dev/ram1 on /ramdisk failed: No such file or directory
pid 13: failed 256
Command: chmod 777 /ramdisk
/ramdisk: No such file or directory
Command: mkdir /var/config
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: mkdir /var/empty
Command: ifconfig eth0 192.168.0.28 netmask 255.255.255.0 up
Command: cat /etc/motd
Welcome to
____ _ _
/ __| ||_|
_ _| | | | _ ____ _ _ _ _
| | | | | | || | _ \| | | |\ \/ /
| |_| | |__| || | | | | |_| |/ \
| ___\____|_||_|_| |_|\____|\_/\_/
| |
|_|

For further information check:
http://www.uclinux.org/

Command:
Execution Finished, Exiting
init: exec rc failed
init: /bin/firewall failed!init: exec rc failed

Sash command shell (version 1.1.1)

Command: mount -t ext2 /dev/ram1 /ramdisk
mount: Mounting /dev/ram1 on /ramdisk failed: No such file or directory
pid 13: failed 256
Command: chmod 777 /ramdisk
/ramdisk: No such file or directory
init: exec rc failed
init: /bin/firewall failed!init: exec rc failed
是怎么回事啊?
而且无法ping自己,却能ping宿主机。
页: [1]
查看完整版本: uClinux启动遇到的问题