Board logo

标题: 基于uClinux内核移植ARM开发板应用(7) [打印本页]

作者: yuyang911220    时间: 2014-12-25 16:46     标题: 基于uClinux内核移植ARM开发板应用(7)

0: C400000-C47CBFF [VIRTUAL
C400000-C47CBFF] (RO)
RAMDISK driver initialized: 16 RAM disks of 1024K size
1024 blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: IC
IP:
routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured
(established 512 bind 512)
VFS: Mounted root (romfs filesystem)
readonly.
Freeing init memory: 40K
Shell invoked to run file:
/etc/rc
Command: hostname Samsung
Command: /bin/expand /etc/ramfs.img
/dev/ram0
Command: mount -t proc proc /proc
Command: mount -t ext2
/dev/ram0 /var
Command: mkdir /var/config
Command: mkdir
/var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir
/var/lock
Command: cat /etc/motd
Welcome to
____ _ _
/ __| ||_|
_
_| | | | _ ____ _ _ _ _
| | | | | | || | _ | | | | / /
| |_| | |__| ||
| | | | |_| |/
| _______|_||_|_| |_|____|_/_/
| |
|_|
For further information check:
http://www.uclinux.org/
Command: ifconfig lo 127.0.0.1
Command: route add -net 127.0.0.0 netmask
255.255.255.0 lo
Command: ifconfig eth0 192.168.253.2 netmask 255.255.255.0
up
Execution Finished, Exiting
Sash command shell (version
1.1.1)
/>
出现以上信息后,可以尝试从键盘输入ls、ping命令,来查看系统的运行情况。我们还建议读者按照uClinux-dist
Documentation下的Adding-User-Apps-HOWTO文档编写一个简单的Helloworld应用程序,看是否能够正确运行。




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0