Hi.
Buffolo WHR-G300N
CPU : Ralink RT3052F , 384 MHZ
RAM : 32MB
FLASH : 4MB
Price : Low price (High Perfomance CPU , Mass memory ^^ )
serial speed : 57600 , 8, 1, n
Buffolo GPL Infomation : http://114.141.255.46/openwrt/WHR-G300N_Manual_web.pdf / Page : 46
######################################################
"For each individual product and revision, please send one individually packaged self addressed padded CD
shipping envelope, containing a blank CD-R to the following address:
Buffalo Technology USA Inc.
11100 Metric Blvd, Suite 750
Austin, TX 78758
Attn. GPL Department
Within the envelope containing the self addressed padded CD shipping envelope, please include a bank draft
or money order for $20 (USD) (Made out to: Buffalo Technology) to cover our handling fee, postage and CD
preparation. The CD-R should have the name of the product and revision number clearly written on the
actual CD-R (not on the insert)."
######################################################
~ ORZ ... (I live in South Korea.)
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 WHR-G300N : use OpenWRT firmware.
###########################################
2.1) connect serial cable
2.2) 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 1
Please Input new ones /or Ctrl-C to discard
Input device IP (192.168.11.1) ==: 192.168.11.1 (enter)
Input server IP (192.168.11.2) ==: 192.168.11.2 (enter)
Input Linux Kernel filename (firmware.ram) ==: openwrt-ramips-uImage-initramfs.bin (enter)
###########################################
3. Boot messages
###########################################
============================================
Ralink UBoot Version: 3.1
--------------------------------------------
ASIC 3052_MP2 (MAC to GigaMAC Mode)
DRAM COMPONENT: 256Mbits
DRAM BUS: 32BIT
Total memory: 64 MBytes
Date:Aug 26 2008 Time:13:08:44
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384
##### The CPU freq = 384 MHZ ####
SDRAM bus set to 32 bit
SDRAM size =32 Mbytes
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 1
Net:
eth_register
Eth0 (10/100-M)
enetvar=ethaddr,Eth addr:00:AA:BB:CC:DD:19
00:AA:BB:CC:DD:19:
eth_current->name = Eth0 (10/100-M)
1: System Load Linux to SDRAM via TFTP.
Please Input new ones /or Ctrl-C to discard
Input device IP (192.168.11.1) ==:
Input server IP (192.168.11.2) ==:
Input Linux Kernel filename (firmware.ram) ==:
netboot_common, argc= 3
*************buf = 0x81fcb9e0
**********NexTxPacket = 81fe3ac0
NetTxPacket = 0x81FE3AC0
NetRxPackets[0] = 0x81FE40C0
NetRxPackets[1] = 0x81FE46C0
NetRxPackets[2] = 0x81FE4CC0
NetRxPackets[3] = 0x81FE52C0
NetRxPackets[4] = 0x81FE58C0
NetRxPackets[5] = 0x81FE5EC0
NetRxPackets[6] = 0x81FE64C0
NetRxPackets[7] = 0x81FE6AC0
NetRxPackets[8] = 0x81FE70C0
NetRxPackets[9] = 0x81FE76C0
NetRxPackets[10] = 0x81FE7CC0
NetRxPackets[11] = 0x81FE82C0
NetRxPackets[12] = 0x81FE88C0
NetRxPackets[13] = 0x81FE8EC0
NetRxPackets[14] = 0x81FE94C0
NetRxPackets[15] = 0x81FE9AC0
NetRxPackets[16] = 0x81FEA0C0
NetRxPackets[17] = 0x81FEA6C0
NetRxPackets[18] = 0x81FEACC0
NetRxPackets[19] = 0x81FEB2C0
KSEG1ADDR(NetTxPacket) = 0xA1FE3AC0
NetLoop,call eth_halt !
NetLoop,call eth_init !
Trying Eth0 (10/100-M)
Waitting for RX_DMA_BUSY status Start... done
Mac to giga Mac mode
rx_ring = A1FCBE00, tx_ring0 = A1FCBCC0
Header Payload scatter function is Disable !!
RT2880_PDMA_GLO_CFG=00000020
*************************************************
RX_CALC_IDX0=19
RX_DRX_IDX0 = 0
*************************************************
ETH_STATE_ACTIVE!!
Using Eth0 (10/100-M) device
TFTP from server 192.168.11.2; our IP address is 192.168.11.1
Filename 'firmware.ram'.
TIMEOUT_COUNT=10,Load address: 0x80800000
Loading: Got ARP REPLY, set server/gtwy eth addr (00:1a:80:d2:d8:36)
Got it
#
first block received
################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############################
done
Bytes transferred = 2141351 (20aca7 hex)
NetBootFileXferSize= 0020aca7
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 = 0x20440000
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
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32
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 384.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 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=000781cf
Readback ErrCtl register=000781cf
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... 255.59 BogoMIPS (lpj=1277952)
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 : 255.59
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0cb8, 0x0ffb]
ASEs implemented : mips16
shadow register sets : 1
core : 0
VCED exceptions : not available
VCEI exceptions : not available
root@OpenWrt:/# cat /proc/meminfo
MemTotal: 30332 kB
MemFree: 21336 kB
Buffers: 0 kB
Cached: 5952 kB
SwapCached: 0 kB
Active: 3112 kB
Inactive: 3524 kB
Active(anon): 732 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: 700 kB
Mapped: 764 kB
Slab: 1356 kB
SReclaimable: 340 kB
SUnreclaim: 1016 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 32.0K 14.8M 0% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:/#
(Last edited by ipiranha on 16 Nov 2009, 17:22)