WAG54GV3 Howto

From ProjectWiki
(Difference between revisions)
Jump to: navigation, search
(How to compile WAG54GV3 Firmware)
(Manual compile)
Line 1: Line 1:
 
comment2, http://forum.svmc.se/member.php?u=9004 kopa cialis online,  6350, http://forum.svmc.se/member.php?u=9005 kopa levitra 20mg receptfritt,  %-(((, http://www.ciklid.org/forum/member.php?u=12934 kopa viagra pa natet,  91880, http://loading.se/user_info.php?user_id=25746 bestall viagra online,  365, http://loading.se/user_info.php?user_id=25740 kop viagra,  exznnb,
 
comment2, http://forum.svmc.se/member.php?u=9004 kopa cialis online,  6350, http://forum.svmc.se/member.php?u=9005 kopa levitra 20mg receptfritt,  %-(((, http://www.ciklid.org/forum/member.php?u=12934 kopa viagra pa natet,  91880, http://loading.se/user_info.php?user_id=25746 bestall viagra online,  365, http://loading.se/user_info.php?user_id=25740 kop viagra,  exznnb,
  
==Manual compile==
+
comment1, http://www.computer.org/portal/web/tse/forum/-/message_boards/message/2734826 buy metronidazole, vjrqtg, http://www.computer.org/portal/web/tse/forum/-/message_boards/message/2734841 buy gabapentin no prescription, >:-D, http://ewh.ieee.org/sb/spain/uned/index.php/foro?func=view&catid=2&id=3 cheap ritalin no prescription, 530, http://clubs.uci.edu/cae/forums/member.php?action=profile&uid=292 order phendimetrazine without a prescription, 707, http://clubs.uci.edu/cae/forums/member.php?action=profile&uid=293 buy contact lenses without prescription, 5076,
Normally you run ./make.sh, but if thats having issues, it may be useful to make each step seperately, helps finding error messages as it'll prolly halt abruptly leaving the error message visable and not buried under a shitton of other crap. To do that first type this once:
+
  cd router
+
 
+
and then type (one line at a time newbs):
+
make linux-clean
+
  make linux-dep
+
  make linux
+
  make clean
+
make
+
make linux-modules
+
make install
+
make rom
+
make upgrade
+
make lang
+
  
 
==onoes! teh fail :/==
 
==onoes! teh fail :/==

Revision as of 09:18, 2 June 2010

comment2, http://forum.svmc.se/member.php?u=9004 kopa cialis online, 6350, http://forum.svmc.se/member.php?u=9005 kopa levitra 20mg receptfritt,  %-(((, http://www.ciklid.org/forum/member.php?u=12934 kopa viagra pa natet, 91880, http://loading.se/user_info.php?user_id=25746 bestall viagra online, 365, http://loading.se/user_info.php?user_id=25740 kop viagra, exznnb,

comment1, http://www.computer.org/portal/web/tse/forum/-/message_boards/message/2734826 buy metronidazole, vjrqtg, http://www.computer.org/portal/web/tse/forum/-/message_boards/message/2734841 buy gabapentin no prescription, >:-D, http://ewh.ieee.org/sb/spain/uned/index.php/foro?func=view&catid=2&id=3 cheap ritalin no prescription, 530, http://clubs.uci.edu/cae/forums/member.php?action=profile&uid=292 order phendimetrazine without a prescription, 707, http://clubs.uci.edu/cae/forums/member.php?action=profile&uid=293 buy contact lenses without prescription, 5076,

onoes! teh fail :/

if you gets:

/home/yourname/WAG54GV3-AU_v1.00.22/src/linux/linux-2.4.17_mvl21/tools/7zip: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory

trys:

sudo apt-get libc6

Or install something with libc6, I THINK!! Okaies, try that first, and if thats not workin or your not on debian/ubuntu/etc and since i may have just forget what i installed to get this file... just do this:

wget http://blea.ch/~eris/wag54g/libstdc++-3-libc6.2-2-2.10.0.so
sudo mv libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/

What no bison?! if you gets:

make[2]: bison: Command not found

trys:

sudo apt-get install bison

if you gets: (btw this is only necessary if your re-building after a previous build, but rly that it generates error messages and fuglys up your terminal should be reason enough to fix this...)

/bin/sh: rcsclean: not found

trys:

sudo apt-get install rcs

What did j00 do to fix0r this?!?!

Tbh, i cannot remember exactly, fixd few things, firstly finding the right toolchains and where to put it was a plus, then finding a few syntax errors in the main Makefile, and umm ummm, oh yah, finding that library file was pita mostly because i didn't get that it was looking for file to run 7zip and not link it or somethign and missing libstdc++blahblah, also installing bison and such...

diff of src/router/Makefile:

249c249,250
<       fi )
---
>       fi 
> #     fi )
294c295,296
<       fi )
---
>       fi 
> #     fi )
367c369,370
<       fi )
---
>       fi
> #     fi )

Also, just rememered, was getting this error:

 make[3]: *** No rule to make target `sangam_atm/tn7atm.o', needed by `tiatm.o'.  Stop.

Seems the nuked the sources for this for some reason, but thankfully DID have a precompiled version laying about in:

WAG54GV3-AU_v1.00.22/src/router/lib/modules/2.4.17_mvl21-malta-mips_fp_le/kernel/drivers/atm/tiatm.o

So, I added rule to the atm Makefile to cp tiatm.o into the /src/linux/linux-2.4.17_mvl21/drivers/atm/

185,186c185,189
< tiatm.o:      $(tiatm-objs)
<       $(LD) -r -o $@ $(tiatm-objs)
---
> #tiatm.o:     $(tiatm-objs)
> #     $(LD) -r -o $@ $(tiatm-objs)
> 
> tiatm.o:
>       cp  ../../../../router/lib/modules/2.4.17_mvl21-malta-mips_fp_le/kernel/drivers/atm/tiatm.o ./

Which causes it to copy the precompiled object file insteads of trying to compile it... (oddly i went thru this whole procedure once without it erroring, was only on the second attempt it bitches, like idk?!)

Ossum, yet useless cause its AU firmware wth?!

Likes zomg this is ossum, yet useless to me as i have EU or capitalist american firmware?! Well sry, i dont even own one of these and just did this for a friend, but the main problems were in the router/Makefile, you can prolly copy/pasta the modified Makefile from this version over and get it to work (it had several syntax errors... SYNTAX?! WTF?!?! i srsly suspect they just fux0rd it to prevent easy compilation).

jaja... sounds easy, but took 4 days :P


Linksys is a registered trademark of Cisco corporation. Linux is a registered trademark of Linus Torvalds. All information presented here without warranty implied or otherwise. The contributers and site owners are not responsible for your actions.

Personal tools
irssi scripts
eggdrop scripts