compiling DD-WRT for brcm linux.v24_2

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next
Author Message
jrp316
DD-WRT Novice


Joined: 20 Mar 2007
Posts: 8

PostPosted: Thu Dec 17, 2009 14:54    Post subject: Reply with quote
Tornado posted earlier in this thread a trick to get around the radvd problem.

touch /home/dd-wrt/DD-WRT/src/router/radvd/flex/Makefile

After that, try to rebuild.
Sponsor
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Thu Dec 17, 2009 19:17    Post subject: Reply with quote
That didn't work, so I commented it out. I then got errors with Quaga so I tried compiling a micro build instead. I actually got it to fully compile and I flashed it on my gP becuase I don't have a JTAG or serial setup on my GSv6 and i trust my gP more. Anyways, it didn't work and I don't have serial at the moment to see what is going wrong.
_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Thu Dec 17, 2009 19:54    Post subject: Reply with quote
I love you :D

EDIT: Also, I read that tip and it didn't work, so for right now I'm just going to comment everything out that doesn't work, because Mini is all I would need Razz



dd-wrt.png
 Description:
 Filesize:  47.85 KB
 Viewed:  17182 Time(s)

dd-wrt.png



_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Thu Dec 17, 2009 23:03    Post subject: Reply with quote
Alright, got mega compiled by removing Quagga, Asterisk, Pound, and Radvd from the .config file. It works great Very Happy. Also got a question. if I go through the whole make thing with mega, then build the other versions, can I just use the already compiled binaries or do I have to do a full clean of all the directories before I start over?
_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
felix19
DD-WRT User


Joined: 15 Oct 2006
Posts: 52

PostPosted: Mon Dec 28, 2009 14:03    Post subject: Reply with quote
edit:
resolved...
ubuntu got dash sh Question ...changed to bash
modervador
DD-WRT User


Joined: 07 Sep 2009
Posts: 271

PostPosted: Thu Dec 31, 2009 17:27    Post subject: Reply with quote
modervador wrote:
I am currently building a mini.24_2 to svn 13302. I encounter a few errors. In addition to the sputnik problem above, I found a problem involving pptpd.

Solution: in the file

~/DD-WRT/src/router/pptpd/Makefile

replace every instance of /home/seg/DEV/broadcom/src/router/pptpd/ with ./ such that the script points to the correct directory.

Thus for example this line:

AMTAR = ${SHELL} /home/seg/DEV/broadcom/src/router/pptpd/missing --run tar

becomes

AMTAR = ${SHELL} ./missing --run tar
Luniz2k1
DD-WRT Guru


Joined: 04 Oct 2007
Posts: 1250
Location: Ohio USA

PostPosted: Thu Dec 31, 2009 18:55    Post subject: Reply with quote
modervador wrote:
modervador wrote:
I am currently building a mini.24_2 to svn 13302. I encounter a few errors. In addition to the sputnik problem above, I found a problem involving pptpd.

Solution: in the file

~/DD-WRT/src/router/pptpd/Makefile

replace every instance of /home/seg/DEV/broadcom/src/router/pptpd/ with ./ such that the script points to the correct directory.

Thus for example this line:

AMTAR = ${SHELL} /home/seg/DEV/broadcom/src/router/pptpd/missing --run tar

becomes

AMTAR = ${SHELL} ./missing --run tar

The only issue with this would be that the file would need to be edited each time it is replaced with an svn update download.

Another solution is to do the following:
Code:
mkdir /home/seg
mkdir /home/seg/DEV
mkdir /home/seg/DEV/broadcom
sudo ln -s /***path.to***/DD-WRT/src/ /home/seg/DEV/broadcom/src

_________________
(04/15/13) mega - 21286
4x WRT54G-TM

(04/15/13) std - 21286
1x WHR-G300N

(04/15/13) nokaid - 14929
1x WRT54GL v1.1

(04/15/13) micro - 21286
1x WG602v3

Got OpenDNS?
gruenesAlien
DD-WRT Guru


Joined: 27 Nov 2008
Posts: 717

PostPosted: Mon Jan 04, 2010 11:16    Post subject: Reply with quote
Write a script that does the SVN update an put a couple of command with sed at the end of the script that will change everything that is needed. I made this modification for e.g. in the script "01_get_src_svn.sh" I posted here.
modervador
DD-WRT User


Joined: 07 Sep 2009
Posts: 271

PostPosted: Tue Jan 05, 2010 2:08    Post subject: Reply with quote
In my experience, the subversion update won't overwrite your hand-edited files every time you run it, only if there is a newer version in the repository. In that case, it asks how you want to update that file. Options are given to hand-merge, view diff, etc.

The pptpd makefile hasn't changed in more than a year, and before that, it hadn't changed in almost a year, so it's not like it's going to bother you much. The reason for the change might just re-break whatever your script tries to fix, so you should look at it anyway to be sure.
gruenesAlien
DD-WRT Guru


Joined: 27 Nov 2008
Posts: 717

PostPosted: Mon Jan 11, 2010 21:39    Post subject: Reply with quote
has anyone tried kernel 2.6 yet?
hardwarewizard
DD-WRT User


Joined: 15 Apr 2007
Posts: 200
Location: Buffalo, NY

PostPosted: Wed Feb 24, 2010 23:30    Post subject: Reply with quote
gruenesAlien wrote:
has anyone tried kernel 2.6 yet?


anyone??


also gruenesAlien could you post updated scripts as the one you post in an earlier post do not work as-is.

i used yer scripts and there are way to many errors to post when trying to compile.
paperboy
DD-WRT Novice


Joined: 25 Feb 2010
Posts: 15

PostPosted: Wed Mar 03, 2010 22:07    Post subject: Reply with quote
I try with mv Makefile.brcm26 in Makefile (src/router)
and mv configs/.config_mini.v24-K26 in .config

in linux-2.6.23 mv .config_std in .config

with this i can compile all but after flash custom image i have bricked my wrt610nv2

i use toolchain x64 used by tornado with my ubuntu64
gi-minni
DD-WRT User


Joined: 06 Dec 2009
Posts: 128
Location: GMT+1

PostPosted: Fri Mar 05, 2010 8:31    Post subject: Reply with quote
I want to compile the dd-wrt software due to multicast problems on my Asus RT-N16. The first supported version for this router is Eko's build 13297M NEWD-2 K2.6 Eko. I think if I compile a K24 version I definitively brick my router, because it's unsupported.

I guess I need
1) to buy a serial adapter for testing purposes
2) a brief K26 compilation trail advice.

Can someone enlighten me how to accomplish that? Thx in advance.

_________________
Regards,
gi-minni

Router: ASUS RT-N16@532 MHz (active cooling)
Firmware: DD-WRT v24-sp2 mega (02/23/10)
Build: 13972M NEWD-2 K2.6 BS
DD-WRT MyPage: Download | Forum | Wiki | FAQ | Screenshots
vpritiskovic
DD-WRT User


Joined: 28 Aug 2009
Posts: 247
Location: Dalmatia, Croatia

PostPosted: Thu Apr 29, 2010 9:34    Post subject: Reply with quote
Hi there!

Can anybody of you already have build environment copy the disk image or virtual machine an upload it to say rapidshare? Tnx.

_________________
DD-WRT v24-sp2 (01/21/12) std - build 18613 @SX763
DD-WRT v24-sp2 (10/12/12) std - build 20119 @WZR-HP-G300NH (b0 b0)
luis55
DD-WRT User


Joined: 24 Jun 2009
Posts: 74

PostPosted: Sun Jun 06, 2010 23:09    Post subject: Reply with quote
Someone knows how the symlinks are supossed to be created with the new toolchains tarball?
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next Display posts from previous:    Page 11 of 12
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions 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 can attach files in this forum
You can download files in this forum