|
本帖最后由 xi_liang 于 2013-10-23 22:52 编辑
百为LPC1788开发板 兼容官方EA-LPC1788开发板
LPC1788 uclinux启动信息:
## Booting kernel from Legacy Image at a0000000 ...
Image Name: Linux-2.6.33-arm1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2089888 Bytes = 2 MB
Load Address: a0008000
Entry Point: a0008001
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Linux version 2.6.33-arm1 (root@xiliang-desktop) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-189) ) #1 Thu Jul 11 17:30:07 PDT 2013
CPU: ARMv7-M Processor [412fc230] revision 0 (ARMv7M)
CPU: NO data cache, NO instruction cache
Machine: NXP LPC178x/7x
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 8128
Kernel command line: lpc178x_platform=ea-lpc1788 console=ttyS0,115200 panic=10 ip=172.17.4.206:172.17.0.1:::ea-lpc1788:eth0ff ip=192.168.1.101:192.168.1.111:::ea-lpc1788:eth0ff ethaddr=C0:B1:3C:88:88:88
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 30384k/30384k available, 2384k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0x00000000 - 0x00001000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0x00000000 - 0xffffffff (4095 MB)
lowmem : 0xa0000000 - 0xa2000000 ( 32 MB)
modules : 0xa0000000 - 0x01000000 (1552 MB)
.init : 0xa0008000 - 0xa00f1000 ( 932 kB)
.text : 0xa00f1000 - 0xa01f8000 (1052 kB)
.data : 0xa01f8000 - 0xa02063a0 ( 57 kB)
Hierarchical RCU implementation.
NR_IRQS:41
Calibrating delay loop... 31.23 BogoMIPS (lpj=156160)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource lpc178x-timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x4000c000 (irq = 5) is a 16550A
console [ttyS0] enabled
serial8250.2: ttyS1 at MMIO 0x40098000 (irq = 7) is a 16550A
physmap platform flash device: 00400000 at 80000000
physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank
Support for command set 0701 not present
gen_probe: No supported Vendor Command Set found
Found: SST 39VF1601
physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank
number of JEDEC chips: 1
RedBoot partition parsing not available
Using physmap partition information
Creating 3 MTD partitions on "physmap-flash":
0x000000000000-0x000000020000 : "flash_uboot_env"
0x000000020000-0x000000300000 : "flash_linux_image"
mtd: partition "flash_linux_image" extends beyond the end of device "physmap-flash" -- size truncated to 0x1e0000
0x000000300000-0x000000400000 : "flash_jffs2"
mtd: partition "flash_jffs2" is out of reach -- disabled
lpc_mii_bus: probed
eth0: using RMII interface
eth0: LPC mac at 0x20084000 irq 28
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)
TCP cubic registered
NET: Registered protocol family 17
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.101, mask=255.255.255.0, gw=255.255.255.255,
host=ea-lpc1788, domain=, nis-domain=(none),
bootserver=192.168.1.111, rootserver=192.168.1.111, rootpath=
Freeing init memory: 932K
init started: BusyBox v1.17.0 (2013-07-11 17:26:06 PDT)
~ # ls
bin dev etc httpd mnt proc root sys usr var
~ # bin/
bin/busybox bin/hostname bin/mv bin/sleep
bin/cat bin/httpd bin/netstat bin/telnet
bin/chmod bin/hush bin/nslookup bin/telnetd
bin/chown bin/ifconfig bin/ntpd bin/traceroute
bin/cp bin/init bin/ping bin/udhcpc
bin/date bin/kill bin/ps bin/umount
bin/dd bin/ln bin/pwd bin/vi
bin/df bin/login bin/reboot bin/wc
bin/echo bin/ls bin/rm bin/wget
bin/flash_eraseall bin/mkdir bin/route
bin/flashcp bin/mount bin/sh
~ # bin/hostname
ea-lpc1788
~ # bin/netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
netstat: /proc/net/unix: No such file or directory
~ # bin/df
Filesystem 1K-blocks Used Available Use% Mounted on
~ # |
|