首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

基于uClinux内核移植ARM开发板应用(7)

基于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应用程序,看是否能够正确运行。
继承事业,薪火相传
返回列表