CFE> ifconfig eth0 -addr=192.168.2.10
Device eth0: hwaddr 00-90-4C-4E-33-77, ipaddr 192.168.2.10, mask 255.255.255.0
gateway not set, nameserver not set
*** command status = 0
CFE> flash -noheader 192.168.2.4:openwrt-brcm-2.4-squashfs.trx flash1.trx
Reading 192.168.2.4:openwrt-brcm-2.4-squashfs.trx: Done. 2494464 bytes read
Programming...done. 2494464 bytes written
*** command status = 0
CFE> Decompressing...........done
Decompressing...........done
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Tue Jan 16 20:33:15 CST 2007 (tony@macpaul-x60)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena
Initializing Devices.
flash_init () : boot size initialize
Boot partition size = 262144(0x40000)
TOP type flash ..
TOP type flash ..
TOP type flash ..
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.131.35.4
rndis0: Broadcom USB RNDIS Network Adapter (P-t-P)
et1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.131.35.4
CPU type 0x29006: 264MHz
Total memory: 32768 KBytes
Total memory used by CFE: 0x80300000 - 0x803A0C90 (658576)
Initialized Data: 0x80336450 - 0x80338C60 (10256)
BSS Area: 0x80338C60 - 0x8033AC90 (8240)
Local Heap: 0x8033AC90 - 0x8039EC90 (409600)
Stack Area: 0x8039EC90 - 0x803A0C90 (8192)
Text (code) segment: 0x80300000 - 0x80336450 (222288)
Boot area (physical): 0x003A1000 - 0x003E1000
Relocation Factor: I:00000000 - D:00000000
Device eth0: hwaddr 00-90-4C-4E-33-77, ipaddr 192.168.0.2, mask 255.255.255.0
gateway not set, nameserver not set
Loader:elf Filesys:tftp Dev:eth0 File:192.168.0.100:vmlinux Options:(null)
Loading: TFTP error 1: File not found
Failed.
Could not load 192.168.0.100:vmlinux: File not found
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3732 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029006
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Linux version 2.4.34 (florian@meteor) (gcc version 3.4.6 (OpenWrt-2.0)) #5 Mon Jun 18 00:19:44 CEST 2007
Setting the PFC to its default value
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM4704 rev 9 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 262.96 BogoMIPS
Memory: 30412k/32768k available (1476k kernel code, 2356k reserved, 100k data, 84k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Registering mini_fo version $Id$
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
b44.c:v0.93 (Mar, 2004)
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:90:4c:4e:33:77
eth1: Broadcom 47xx 10/100BaseT Ethernet 00:90:4c:4f:00:0c
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
Physically mapped flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x1cd795
Updating TRX offsets and length:
old trx = [0x0000001c, 0x000008ec, 0x0007f800], len=0x00261000 crc32=0xc07691c0
new trx = [0x0000001c, 0x000008ec, 0x0007f800], len=0x00250000 crc32=0x23c3e6d4
Done
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000bf800-0x00290000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x00290000-0x007f0000 : "rootfs_data"
sflash: found no supported devices
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 84k freed
Algorithmics/MIPS FPU Emulator v1.5
mount: mounting none on /sys failed
mount: mounting none on /dev failed
- preinit -
diag: Detected 'D-Link DIR-300'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
Probing device eth0: No Robo switch in managed mode found
Probing device eth1: found!
jffs2 not ready yet; using ramdisk
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
- init -
init started: BusyBox v1.4.2 (2007-06-16 20:02:06 CEST) multi-call binary
Please press Enter to activate this console. jffs2.bbc: SIZE compression mode activated.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
BusyBox v1.4.2 (2007-06-16 20:02:06 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r7645) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:/# b44: eth1: Link is up at 100 Mbps, full duplex.
b44: eth1: Flow control is off for TX and off for RX.
root@OpenWrt:/# IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
PCI: Enabling device 01:01.0 (0004 -> 0006)
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.80.53.0
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/projects/ipt_recent/
IPP2P v0.8.1_rc1 loading
imq driver loaded.
ipt_time loading
ip_conntrack_rtsp v0.01 loading
ip_nat_rtsp v0.01 loading
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
root@OpenWrt:/# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
sit0 no wireless extensions.
wl0 IEEE 802.11-DS ESSID:""
Mode:Managed Frequency:2.412 GHz Tx-Power:off
imq0 no wireless extensions.
imq1 no wireless extensions.
root@OpenWrt:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:90:4C:4E:33:77
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::290:4cff:fe4e:3377/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:398 (398.0 B)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 00:90:4C:4E:33:78
inet6 addr: fe80::290:4cff:fe4e:3378/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@OpenWrt:/# ifconfig jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end markerdone.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
/bin/ash: ifcon: not found
root@OpenWrt:/#
root@OpenWrt:/#