# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram0 9911 7962 1437 85% /
/dev/mtdblock3 10772 10772 0 100% /usr
/dev/hda1 158309288 32836 150234720 0% /home
# free
total used free shared buffers
Mem: 62456 24012 38444 0 1440
Swap: 0 0 0
Total: 62456 24012 38444
# lsmod
Module Size Used by
ath_pci 31936 0 (unused)
ath_hal 150944 1 [ath_pci]
wlan 46744 1 [ath_pci]
ixp425_eth 18644 1
ixp400 603104 0 [ixp425_eth]
ixp425 1360 0
# cat /proc/cmdline
console=ttyS0,115200 root=/dev/ram rw initrd=0x00B00000,10M mem=64M@0x00000000
# cat /proc/cpu/alignment
User: 121
System: 6
Skipped: 0
Half: 6
Word: 0
Multi: 0
User faults: 0 (ignored)
# cat /proc/cpuinfo
Processor : Intel XScale?-IXP4xx?/IXC1100? rev 1 (v5b)
BogoMIPS? : 263.78
Features : swp half thumb fastmult edsp
CPU implementor : 0x69
CPU architecture: 5TE
CPU variant : 0x0
CPU part : 0x41f
CPU revision : 1
Cache type : undefined 5
Cache clean : undefined 5
Cache lockdown : undefined 5
Cache unified : harvard
I size : 32768
I assoc : 32
I line length : 32
I sets : 32
D size : 32768
D assoc : 32
D line length : 32
D sets : 32
Hardware : Intel IXDP425? Development Platform
Revision : 0000
Serial : 0000000000000000
# cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
10 misc
36 netlink
89 i2c
90 mtd
128 ptm
136 pts
162 raw
180 usb
254 ixp425
Block devices:
1 ramdisk
3 ide0
7 loop
31 mtdblock
# cat /proc/filesystems
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev pipefs
ext3
ext2
cramfs
nodev ramfs
msdos
vfat
iso9660
ntfs
romfs
nodev devpts
nodev usbdevfs
nodev usbfs
# cat /proc/ide/aec62xx
AEC6280? Chipset without ROM.
--------------- Primary Channel ---------------- Secondary Channel -------------
enabled enabled
--------------- drive0 --------- drive1 -------- drive0 ---------- drive1 ------
DMA enabled: yes yes yes yes
DMA Mode: UDMA(4) DMA(?) DMA(?) DMA(?)
Active: 0x03 0x00 0x00 0x00
Recovery: 0x01 0x00 0x00 0x00
reg49h = 0x84 reg4ah = 0x96
# cat /proc/interrupts
0: 0 csr
1: 58 csr
2: 51 csr
3: 0 ixp425_eth
5: 262028 IXP425 Timer 1
15: 3200 serial
18: 10387402 ixp425_eth
24: 0 ehci_hcd
25: 0 usb-uhci
26: 0 usb-uhci
27: 0 ath0
28: 79 ide0
Err: 0
# cat /proc/iomem
00000000-03ffffff : System RAM
0003a000-001df1d7 : Kernel code
001df1d8-00242feb : Kernel data
4bfeff00-4bfeffff : ehci_hcd
4bff0000-4bffffff : ath
50000000-50ffffff : ixp425 Flash
# cat /proc/ioports
ffffff80-ffffff9f : usb-uhci
ffffffa0-ffffffbf : usb-uhci
ffffffd0-ffffffd7 : ide0
ffffffd8-ffffffdf : ide1
fffffff6-fffffff6 : ide0
fffffff8-ffffffff : ide0
# cat /proc/modules
ath_pci 31936 0 (unused)
ath_hal 150944 1 [ath_pci]
wlan 46744 1 [ath_pci]
ixp425_eth 18644 1
ixp400 603104 0 [ixp425_eth]
ixp425 1360 0
# cat /proc/mounts
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
none /dev/pts devpts rw 0 0
none /proc/bus/usb usbdevfs rw 0 0
/dev/mtdblock3 /usr cramfs rw 0 0
/dev/hda1 /home ext3 rw 0 0
# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "RedBoot"
mtd1: 00200000 00020000 "kernel"
mtd2: 00600000 00020000 "filesystem"
mtd3: 00680000 00020000 "usr"
mtd4: 00040000 00020000 "unallocated space"
mtd5: 000c0000 00020000 "sysconfig"
mtd6: 00020000 00020000 "RedBoot config"
mtd7: 00020000 00020000 "FIS directory"
# cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Co-processor: PCI device 8086:8500 (Intel Corp.) (rev 1).
Prefetchable 32 bit memory at 0x0 [0xffffff].
Prefetchable 32 bit memory at 0x1000000 [0x1ffffff].
Prefetchable 32 bit memory at 0x2000000 [0x2ffffff].
Prefetchable 32 bit memory at 0x3000000 [0x3ffffff].
Prefetchable 32 bit memory at 0xff000000 [0xffffffff].
I/O at 0xffffff00 [0xffffffff].
Bus 0, device 1, function 0:
Unknown mass storage controller: Artop Electronic Corp ATP865? NO-ROM (rev 7).
IRQ 28.
Master Capable. Latency=144. Min Gnt=11.Max Lat=4.
I/O at 0xfffffff8 [0xffffffff].
I/O at 0xfffffff4 [0xfffffff7].
I/O at 0xffffffe8 [0xffffffef].
I/O at 0xffffffe4 [0xffffffe7].
I/O at 0xffffffd0 [0xffffffdf].
Bus 0, device 2, function 0:
Ethernet controller: PCI device 168c:0013 (rev 1).
IRQ 27.
Master Capable. Latency=168. Min Gnt=10.Max Lat=28.
Non-prefetchable 32 bit memory at 0x4bff0000 [0x4bffffff].
Bus 0, device 3, function 0:
USB Controller: VIA Technologies, Inc. UHCI USB (rev 97).
IRQ 26.
Master Capable. Latency=128.
I/O at 0xffffffa0 [0xffffffbf].
Bus 0, device 3, function 1:
USB Controller: VIA Technologies, Inc. UHCI USB (#2) (rev 97).
IRQ 25.
Master Capable. Latency=128.
I/O at 0xffffff80 [0xffffff9f].
Bus 0, device 3, function 2:
USB Controller: PCI device 1106:3104 (VIA Technologies, Inc.) (rev 99).
IRQ 24.
Master Capable. Latency=128.
Non-prefetchable 32 bit memory at 0x4bfeff00 [0x4bfeffff].
# cat /proc/tty/drivers
serial /dev/cua 5 64-65 serial:callout
serial /dev/ttyS 4 64-65 serial
pty_slave /dev/pts 136 0-255 pty:slave
pty_master /dev/ptm 128 0-255 pty:master
pty_slave /dev/ttyp 3 0-255 pty:slave
pty_master /dev/pty 2 0-255 pty:master
/dev/ptmx /dev/ptmx 5 2 system
/dev/console /dev/console 5 1 system:console
/dev/tty /dev/tty 5 0 system:/dev/tty
# cat /proc/tty/driver/serial
serinfo:1.0 driver:5.05c revision:2001-07-08
0: uart:XScale? UART port:FF000003? irq:15 baud:115200 tx:137373 rx:1401 RTS|DTR|DSR|CD|RI
1: uart:XScale? UART port:FF001003? irq:13 tx:0 rx:0 DSR|CD|RI
# cat /proc/version
Linux version 2.4.18_mvl30-ixdp425 (root@localhost.localdomain) (gcc version 3.2.1 20020930 (MontaVista?)) #93 ¶g¤ 8¤ë 20 22:39:50 CST 2004
# ls -l /lib/libc-*
-rwxr-xr-x 1 root root 781288 Aug 6 2004 /lib/libc-2.2.5.so
# ls -lR /lib/modules/2.4.18_mvl30-ixdp425
/lib/modules/2.4.18_mvl30-ixdp425:
lrwxrwxrwx 1 root root 35 Sep 23 2004 build -> /home/zepp/iphard/kernel/0925/linux
drwxr-xr-x 3 root root 1024 Jan 4 1970 kernel
/lib/modules/2.4.18_mvl30-ixdp425/kernel:
drwxr-xr-x 4 root root 1024 May 9 2004 drivers
/lib/modules/2.4.18_mvl30-ixdp425/kernel/drivers:
drwxr-xr-x 2 root root 1024 Aug 9 2004 ixp400
drwxr-xr-x 2 root root 1024 Aug 9 2004 net
/lib/modules/2.4.18_mvl30-ixdp425/kernel/drivers/ixp400:
-rw-r--r-- 1 root root 365716 Aug 9 2004 ixp400.o
/lib/modules/2.4.18_mvl30-ixdp425/kernel/drivers/net:
-rw-r--r-- 1 root root 29228 Aug 9 2004 ixp425_eth.o
# busybox
BusyBox? v0.60.3 (2002.12.19-12:19+0000) multi-call binary
Usage: busybox [function] [arguments]...
or: [function] [arguments]...
BusyBox? is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use, and BusyBox?
will act like whatever it was invoked as.
Currently defined functions:
[, ash, basename, busybox, cat, chgrp, chmod, chown, chroot, cp,
cut, date, dd, df, dirname, dmesg, du, echo, env, expr, false,
free, grep, gunzip, gzip, halt, head, id, ifconfig, init, insmod,
kill, killall, klogd, linuxrc, ln, logger, ls, lsmod, mkdir, mkfifo,
mknod, mkswap, modprobe, more, mount, mv, pidof, ps, pwd, reboot,
reset, rm, rmdir, rmmod, route, sed, sh, sleep, sort, stty, swapoff,
swapon, sync, syslogd, tail, tar, test, touch, tr, true, umount,
uname, uniq, uptime, wc, which, whoami, xargs, yes, zcat
#