阳光网驿-企业信息化交流平台【DTC零售连锁全渠道解决方案】

 找回密码
 注册

QQ登录

只需一步,快速开始

扫描二维码登录本站

手机号码,快捷登录

老司机
查看: 1533|回复: 0

[转帖] IXP435上安装madwif全过程(二)

[复制链接]
  • TA的每日心情
    开心
    2011-10-28 15:01
  • 签到天数: 1 天

    [LV.1]初来乍到

    发表于 2011-10-28 14:53:38 | 显示全部楼层 |阅读模式
                    IXP435上安装madwif全过程(二) 2008-09-05 18:10 (分类:默认分类)

    以上工作都是在PC机上进行的,我的系统是FC9,如果你用别的系统的话可能命令稍有不同。接下来我们的大部分的工作环境就将是开发板IXP435了。首先将IXP435的网口与PC连接起来,然后将串口接好(我们用串口来调试,网口来传数据)。调试用PC机上的终端minicom,具体设置见:http://www.linuxidc.com/Linux/2008-01/10939.htm

    打开minicom,接通电源,开发板就启动了:

    +

    Trying NPE-C...success. Using NPE-C with PHY 1.

    Ethernet lan: MAC address 00:03:47:df:11:22

    IP: 192.168.1.134/255.255.255.0, Gateway: 192.168.1.1

    Default server: 192.168.1.122


    RedBoot(tm) bootstrap and debug environment [ROM]

    Red Hat certified release, version 2.04 - built 15:52:02, Mar 14 2008


    Platform: KIXRP435 Development Platform (IXP43X) BE

    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2007 Free Software Foundation, Inc.


    RAM: 0x00000000-0x08000000, [0x000313e8-0x07fc1000] available

    FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.

    == Executing boot script in 1.000 seconds - enter ^C to abort

    ^C

    RedBoot>load -r -v -h 192.168.1.122 -b 0x01800000 ramdisk_32M.gz

    Using default protocol (TFTP)

    |

    Raw file loaded 0x01800000-0x0238bb2b, assumed entry at 0x01800000

    RedBoot> load -r -v -h 192.168.1.122 -b 0x01000000 zImage

    Using default protocol (TFTP)

    |

    Raw file loaded 0x01000000-0x010f2c9b, assumed entry at 0x01000000

    RedBoot> exec -r 0x01800000 0x01000000 -c "console=ttyS0,115200 root=/dev/ram initrd=0x01800000,32M ramdisk=32768 mem=128M&0x00000000"

    Using base address 0x01000000 and length 0x000f2c9c

    Uncompressing Linux................................................................. done, booting the kernel.

    Linux version 2.6.16 (root@237) (gcc version 3.4.1 20040714 (TimeSys 3.4.1-7)) #62 Fri Jan 4 14:45:22 CST 2008

    CPU: XScale-IXP43x Family [69054041] revision 1 (ARMv5TE)

    Machine: Intel KIXRP435 Reference Platform

    Memory policy: ECC disabled, Data cache writeback

    CPU0: D VIVT undefined 5 cache

    CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets

    CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets

    Built 1 zonelists

    Kernel command line: console=ttyS0,115200 root=/dev/ram initrd=0x01800000,32M ramdisk=32768 mem=128M&0x00000000

    PID hash table entries: 1024 (order: 10, 16384 bytes)

    Console: colour dummy device 80x30

    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

    Memory: 128MB = 128MB total

    Memory: 94848KB available (1640K code, 340K data, 80K init)

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    checking if image is initramfs...it isn't (no cpio magic); looks like an initrd

    Freeing initrd memory: 32768K

    NET: Registered protocol family 16

    IXP4xx: Using 16MiB expansion bus window size

    PCI: IXP4xx is host

    PCI: IXP4xx Using direct access for memory space

    PCI: bus0: Fast back to back transfers enabled

    dmabounce: registered device 0000:00:03.0 on pci bus

    Generic PHY: Registered new driver

    usbcore: registered new driver usbfs

    usbcore: registered new driver hub

    ixp4xx GPIO-based infrared receiver initialize

    NetWinder Floating Point Emulator V0.97 (extended precision)

    Initializing Cryptographic API

    io scheduler noop registered (default)

    HDLC line discipline: version $Revision: 4.8 $, maxframe=4096

    N_HDLC line discipline registered.

    Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled

    serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale

    RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize

    USB Universal Host Controller Inte**ce driver v2.3

    ixp4xx-ehci ixp4xx-ehci.0: IXP4XX EHCI Host Controller

    ixp4xx-ehci ixp4xx-ehci.0: new USB bus registered, assigned bus number 1

    ixp4xx-ehci ixp4xx-ehci.0: irq 32, io base 0xcd000100

    ixp4xx-ehci ixp4xx-ehci.0: USB 0.0 started, EHCI 1.00, driver 27 July 2006

    usb usb1: configuration #1 chosen from 1 choice

    hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 1 port detected

    ixp4xx-ehci ixp4xx-ehci.1: IXP4XX EHCI Host Controller

    ixp4xx-ehci ixp4xx-ehci.1: new USB bus registered, assigned bus number 2

    ixp4xx-ehci ixp4xx-ehci.1: irq 33, io base 0xce000100

    ixp4xx-ehci ixp4xx-ehci.1: USB 0.0 started, EHCI 1.00, driver 27 July 2006

    usb usb2: configuration #1 chosen from 1 choice

    hub 2-0:1.0: USB hub found

    hub 2-0:1.0: 1 port detected

    mice: PS/2 mouse device common for all mice

    NET: Registered protocol family 2

    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

    TCP established hash table entries: 8192 (order: 3, 32768 bytes)

    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)

    TCP: Hash tables configured (established 8192 bind 8192)

    TCP reno registered

    TCP bic registered

    NET: Registered protocol family 1

    NET: Registered protocol family 17

    NET: Registered protocol family 15

    ieee80211: 802.11 data/management/control stack, git-1.1.7

    ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>

    RAMDISK: Compressed image found at block 0

    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

    VFS: Mounted root (ext2 filesystem).

    Freeing init memory: 80K

    ixp400: module license 'unspecified' taints kernel.

    route: SIOC[ADD|DEL]RT: Network is unreachable



    BusyBox v1.2.2 (2007.05.22-06:33+0000) Built-in shell (ash)

    Enter 'help' for a list of built-in commands.


    / $

    未完再待续  ^_^

    楼主热帖
    启用邀请码注册,提高发帖质量,建设交流社区
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    快速回复 返回顶部 返回列表