[Split] Compiling DD-WRT

Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions
Goto page Previous  1, 2, 3, 4 ... 23, 24, 25  Next
Author Message
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sat Feb 19, 2011 18:05    Post subject: Reply with quote
fggs wrote:
Well, during compiling it says it can't find defconfig-bcm947xx and the only similar file I found is defconfig-bcm947xx-slimrtr, so I renamed and it compiled, but I don't know if it's the right one anyway..

I did that too.

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Sponsor
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sat Feb 19, 2011 18:18    Post subject: Reply with quote
Then we are hopeless.. sadly
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Sat Feb 19, 2011 23:06    Post subject: Reply with quote
See:

http://svn.dd-wrt.com:8000/ticket/1775#comment:3

You can judge for yourself it it is a feature or bug;-)

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sat Feb 19, 2011 23:18    Post subject: Reply with quote
Devs can care less about Broadcom. I was having a quick talk with nbd, one of the openwrt dev team and he was saying that Broadcom is hard to deal when it comes to bugs or drivers problems, the opposite of Atheros, that gives all the info they need and actually pays sometimes for bugfixes.

I can't blame BS or Eko if that's the case and I bet Atheros builds are easier to build.
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sun Feb 20, 2011 1:15    Post subject: Reply with quote
<Kong> wrote:
See:

http://svn.dd-wrt.com:8000/ticket/1775#comment:3

You can judge for yourself it it is a feature or bug;-)

I'll try rolling back the kernel, but your switch driver crash seems different from my crash from it trying to use instructions that BCM4785 doesn't know.

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Sun Feb 20, 2011 15:23    Post subject: Reply with quote
phuzi0n, this is because you are not using the same toolchain I use:-)

If I use the same toolchain you guys use I get exactly the same error about reserved instruction. That is why you cannot really trust the crash information, there is some memory corruption happening which basically makes this crash info useless.
As I said, I can use for example portions of the asus et sources/headers and it works without the crash. Since eko, BS don't suffer from this they must be using different sources to compile, this also explains all the other problems, like missing symlinks, configures that are not beeing called etc.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sun Feb 20, 2011 15:40    Post subject: Reply with quote
Out of curiosity, where did you got your toolchain?

Thanks!
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Sun Feb 20, 2011 18:40    Post subject: Reply with quote
I created it myself. It includes patches that are needed for dd-wrt, for example modified if.h.
_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sun Feb 20, 2011 18:43    Post subject: Reply with quote
Would you care to share it with us?
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sun Mar 06, 2011 20:46    Post subject: Reply with quote
So after a lot of putzing around trying to roll back to r15000 and still not being able to build, I finally deleted the kernel sources, cleaned up the SVN mess it caused, and checked out r15000 of the kernel again. The resulting image finally boots!
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sun Mar 06, 2011 21:10    Post subject: Reply with quote
Great news phuz~! I've abandoned this project a bit, but with this workaround I might go back to it..

It's nice to have the ability of customizing dd-wrt..
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sat Mar 12, 2011 3:41    Post subject: Reply with quote
Kong do you know how to clean the kernel without it deleting the wireless drivers? I keep having to redownload them every time I clean the kernel to try to get the new kernel to compile a working ethernet driver.
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Tue Mar 15, 2011 10:12    Post subject: Reply with quote
Hi phuzi0n,

comment line:

clean-files += $(SRCBASE)/wl/sys/*.o $(SRCBASE)/wl/sys/.*.*.cmd $(WLCONF_H) $(WLCONF_O)

in drivers/net/wl/wl_generic.mk

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Tue Mar 15, 2011 21:11    Post subject: Reply with quote
They still get wiped out when cleaning the kernel.
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Wed Mar 16, 2011 20:02    Post subject: Reply with quote
It works here and does not remove the drivers, if I run make clean inside kernel src dir.
_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
Goto page Previous  1, 2, 3, 4 ... 23, 24, 25  Next Display posts from previous:    Page 3 of 25
Post new topic   Reply to topic    DD-WRT 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