[Question]Hardware Details about Bufflo WHR-G300N?

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Author Message
kaicheng
DD-WRT Novice


Joined: 21 Oct 2009
Posts: 1

PostPosted: Thu Oct 22, 2009 14:28    Post subject: [Question]Hardware Details about Bufflo WHR-G300N? Reply with quote
hi,all:

I am wondering some hardware detail of WHR-G300N:
1) which endian it is in ?
using uname -a, I found that the arch is mips. But when I copy a mipsel(little endian) compiled program to /tmp and run it. It can properly run. I noticed that the Development of the wiki page says that:
Quote:
The mips-uclibc 3.4.6 toolchain is used for building the kernel and the 4.1.0 mipsel-uclibc toolchain is used for building the user-mode packages.

Can anybody give some explains?
2) Which linux shall I use or download ?
I am going to compile the code to add some program into ddwrt(since I only have 4 MB).
I saw that BS fix a bug of WHR-G300N modifing dir
Quote:
src/linux/brcm/linux.v24_2/arch/mips/bcm947xx/
in Change Set 10092, but
there are dirs like
Quote:
/src/linux/rt2880/linux-2.6.23/arch/mips/rt2880
including code about rt3052f.
Which directory shall I use?

Actually, the only thing I want to do is to move a login program into the route to let it connect to my schools network.
Other people in my school did it using jffs. I am afraid I cannot use it using std version. So I tend to configure it myself.
Now I have a worked but ugly solution: edit the commands that do the following thing when the route boot up :
1) copy the program file from a computer accessible without login to the school network to /tmp
2) run it.
This can be done using nvram.

Do any one have better ideas?

Thanks a lot!
kaicheng
Sponsor
DoesItMatter
DD-WRT Guru


Joined: 10 May 2008
Posts: 1380
Location: Pacific North West, USA

PostPosted: Sat Oct 24, 2009 6:54    Post subject: Reply with quote
The WHR-G300N uses the RaLink chipset.

It is not Atheros and its not Broadcom.

Because it's RaLink, there's no jtag recovery available right now.
That might change, but currently JTag only works on Atheros/Broadcom.

be careful what you load, if you brick it, its toast.

It does have built in TFTP recovery mode, so it might be salvageable.

No idea how to build the linux sources myself.

_________________
Evil or Very Mad Soylent Green Is People ! Evil or Very Mad
Twisted Evil =-=-=-=-=-=-=-=-=-=-= Twisted Evil
Netgear Nighthawk R7000 - DD-WRT Build R46220
Linksys EA8500 - OpenWRT IPQ806x Trunk R16375 5.4 Kernel

TP-Link Archer C7 V3 - OpenWRT Build R16290 5.4 Kernel
Linksys E3000 - FreshTomato Build MIPSR2 2021.2
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum