Hi.
D-link DIR-600 , hw:B1
CPU : RT3050F , 320.00 MHz
RAM : 32MB
FLASH : 4MB
Price : Low price (but Fast cpu , Mass memory )
GPL Source Code : ftp://ftp.dlink.com/Gateway/dir600/Firm … _101NA.zip
OpenWRT : not yet support
DD-WRT : support
=============================
OpenWRT trunk svn source has ramips_rt305x code..
( *but, Ethernet Not recognized. )
My Work list.
###########################################
1. How to Kernel Build
###########################################
# svn co svn://svn.openwrt.org/openwrt/trunk/ -r18229
( copy my .config file to trunk root directory.)
# cd trunk
# wget http://114.141.255.46/.config
# make
# cd bin
# ls -al openwrt-ramips-uImage-initramfs.bin
1. firmware : http://114.141.255.46/openwrt/openwrt-r … tramfs.bin
2. tftp server : http://114.141.255.46/openwrt/tftpsrv.exe
###########################################
2. Boot DIR-600 : use OpenWRT firmware.
###########################################
2.1) connect serial cable
2.2) reset button + power
2.3) ctrl + c , and press '1'
========================================
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
9: Load Boot Loader code then write to Flash via TFTP.
You choosed (49)
0 seconds ...
========================================
2.4) PC : TFTP Server RUN ! (192.168.0.2)
Please Input new ones /or Ctrl-C to discard
Input device IP (192.168.0.1) : 192.168.0.1 (enter)
Input server IP (192.168.0.2) : 192.168.0.2 (enter)
Input Linux Kernel filename (firmware.ram) : openwrt-ramips-uImage-initramfs.bin (enter)
###########################################
3. Boot messages
###########################################
U-Boot 1.1.3 (Jan 13 2009 - 17:40:14) (Alpha) - SVN revision : 105
Model: WRGN23
Board: RT2880 DRAM: 32 MB
twe0 set to <NULL>
toe0 set to <NULL>
============================================
Ralink UBoot Version: 3.1 Alpha
--------------------------------------------
ASIC 3052_MP2 (MAC to GigaMAC Mode)
DRAM COMPONENT: 256Mbits
DRAM BUS: 16BIT
Total memory: 32Mbytes
Date:Jan 13 2009 Time:17:40:14
============================================
icache: sets:128, ways:4, linesz:32 ,total:16384
dcache: sets:128, ways:4, linesz:32 ,total:16384
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
9: Load Boot Loader code then write to Flash via TFTP.
You choosed (49)
0 seconds ...
Eth0 (10/100-M) : ethaddr = (00:26:5a:1f:9e:dc) 00 26 5A 1F 9E DC
1: System Load Linux to SDRAM via TFTP.
Please Input new ones /or Ctrl-C to discard
Input device IP (192.168.0.1) :
Input server IP (192.168.0.2) :
Input Linux Kernel filename (firmware.ram) :
Mac to giga Mac mode
Using Eth0 (10/100-M) device
TFTP from server 192.168.0.2; our IP address is 192.168.0.1
Filename 'firmware.ram'.
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############################
Bytes transferred = 2141351 (20aca7 hex)
Automatic boot of image at addr 0x80800000 ...
## Booting image at 80800000 ...
Image Name: MIPS OpenWrt Linux-2.6.30.9
Created: 2009-11-16 14:25:46 UTC
System Control Status = 0x23400000
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2141287 Bytes = 2 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.30.9 (dev@localhost) (gcc version 4.1.2) #1 Mon Nov 16 23:25:41 KST 2009
console [early0] enabled
CPU revision is: 0001964c (MIPS 24Kc)
Ralink RT3052 id:1 rev:2 running at 320.00 MHz
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: console=ttyS1,57600 rootfstype=squashfs,jffs2
Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=00028080
Readback ErrCtl register=00028080
NR_IRQS:48
PID hash table entries: 128 (order: 7, 512 bytes)
console handover: boot [early0] -> real [ttyS1]
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28872k/32768k available (1702k kernel code, 3896k reserved, 360k data, 1460k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 212.99 BogoMIPS (lpj=1064960)
Mount-cache hash table entries: 512
net_namespace: 528 bytes
NET: Registered protocol family 16
MIPS: machine is Generic Ralink board
bio: create slab <bio-0> at 0
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
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) ? 2001-2006 Red Hat, Inc.
msgmni has been set to 56
alg: No test for lzma (lzma-generic)
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Freeing unused kernel memory: 1460k freed
- preinit -
Press CTRL-C for failsafe
Please press Enter to activate this console. PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (512 buckets, 2048 max)
BusyBox v1.14.4 (2009-11-16 23:04:06 KST) 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, r18229) ------------------
* 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:/#
root@OpenWrt:/# cat /proc/cpuinfo
system type : Ralink RT3052 id:1 rev:2
machine : Generic Ralink board
processor : 0
cpu model : MIPS 24Kc V4.12
BogoMIPS : 212.99
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0e18, 0x0ffb]
ASEs implemented : mips16
shadow register sets : 1
core : 0
VCED exceptions : not available
VCEI exceptions : not available
root@OpenWrt:/#
root@OpenWrt:/# cat /proc/meminfo
MemTotal: 30332 kB
MemFree: 21388 kB
Buffers: 0 kB
Cached: 5952 kB
SwapCached: 0 kB
Active: 3100 kB
Inactive: 3524 kB
Active(anon): 720 kB
Inactive(anon): 0 kB
Active(file): 2380 kB
Inactive(file): 3524 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 688 kB
Mapped: 764 kB
Slab: 1316 kB
SReclaimable: 340 kB
SUnreclaim: 976 kB
PageTables: 132 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 15164 kB
Committed_AS: 2384 kB
VmallocTotal: 1048404 kB
VmallocUsed: 336 kB
VmallocChunk: 1042232 kB
root@OpenWrt:/#
root@OpenWrt:/# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
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:/#
root@OpenWrt:/# df -kh
Filesystem Size Used Available Use% Mounted on
tmpfs 14.8M 24.0K 14.8M 0% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:/#
(Last edited by ipiranha on 16 Nov 2009, 17:31)