DD-WRT support for verizon 7501 bulit by westell

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5 ... 53, 54, 55  Next
Author Message
link626
DD-WRT Novice


Joined: 19 Feb 2010
Posts: 42

PostPosted: Sun Feb 21, 2010 21:44    Post subject: Reply with quote
hard_where wrote:
I have successfully compiled the firmware and it is very similar to openwrt.


"very similar to openwrt" - meaning the features are similar?

hard_where wrote:
It is the same firmware, but it has comments and options to enable different features/packages.


do you have this router, and did you load your compiled firmware into it?


there is a config.linux file in one of the folders of the source code.
is that where you turn on the usb and other features?

can you try turning on the usb printer and storage and any other nifty-sounding features there?

Quote:
CONFIG_BCM_USB=m
CONFIG_BCM_USB_IMPL=2
# USB support
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y

# CONFIG_USB_PRINTER is not set
CONFIG_USB_STORAGE=m

# USB Gadget Support
# CONFIG_USB_GADGET is not set


it seems that default linux configs have CONFIG_USB_PRINTER=y
Sponsor
alainpp
DD-WRT Novice


Joined: 22 Feb 2010
Posts: 4

PostPosted: Mon Feb 22, 2010 0:24    Post subject: Reply with quote
hard_where wrote:
If you want to compile the source from westell extract the linux tools (toolchain) to /opt/toolchains, not /opt as the readme specifies. After this change it will compile without issue. I have successfully compiled the firmware and it is very similar to openwrt.


Hey hard_where,

i tried to do that using ubuntu but i can't get it to work. I get the same error when i try to compile.

Can you upload the firmware somewhere?

Thank you in advance.


Last edited by alainpp on Mon Feb 22, 2010 1:06; edited 1 time in total
hard_where
DD-WRT User


Joined: 13 Feb 2007
Posts: 141

PostPosted: Mon Feb 22, 2010 0:34    Post subject: Reply with quote
I have not installed the compiled firmware yet as I need to get serial or jtag going first. Manufactures sometimes "forget" to include everything that is needed and without serial or jtag there is no way to debug.

I used a Fedora 10 box with a lot of development tools to compile the firmware. I read somewhere on another forum that Westell/Verizon used FC5 to originally build the firmware.
link626
DD-WRT Novice


Joined: 19 Feb 2010
Posts: 42

PostPosted: Mon Feb 22, 2010 2:05    Post subject: Reply with quote
alainpp wrote:
hard_where wrote:
If you want to compile the source from westell extract the linux tools (toolchain) to /opt/toolchains, not /opt as the readme specifies. After this change it will compile without issue. I have successfully compiled the firmware and it is very similar to openwrt.


Hey hard_where,

i tried to do that using ubuntu but i can't get it to work. I get the same error when i try to compile.

Can you upload the firmware somewhere?

Thank you in advance.




maybe the folder is supposed to be /opt/toolchain

not opt/toolchains ?



hard_where wrote:
I have not installed the compiled firmware yet as I need to get serial or jtag going first. Manufactures sometimes "forget" to include everything that is needed and without serial or jtag there is no way to debug.



keep us posted
hard_where
DD-WRT User


Joined: 13 Feb 2007
Posts: 141

PostPosted: Mon Feb 22, 2010 3:10    Post subject: Reply with quote
commands:
cd /opt
mkdir toolchains
cd toolchains
tar -xvjf A90-750115_toolchain.tar.bz2

** the directory 'westell_msw2' will be created containing the toolchain files **

the path will look like:
cd /opt/toolchains/westell_msw2
[@kernelpanic westell_msw2]$ ls
bfd fakeroot.env info libexec mips-linux rootfs.mips_nofpu.tar
bin include lib man mips-linux-uclibc usr

You may need other tools besides the toolchain installed. Please check and post the error you received.
alainpp
DD-WRT Novice


Joined: 22 Feb 2010
Posts: 4

PostPosted: Mon Feb 22, 2010 4:24    Post subject: Error Reply with quote
I did follow all your steps and this is the error i get:

I did try using "toolchains" and "toolchain" for the folder name containing the "westell_msw2" folder

Code:
root@ubuntu:~/Downloads/SW# make PROFILE=A90-750115
cat: /root/Downloads/SW/.PROFILE: No such file or directory
making all for A90-750115
make -C /root/Downloads/SW/targets/A90-750115 all
make[1]: Entering directory `/root/Downloads/SW/targets/A90-750115'
echo "A90-750115" > /root/Downloads/SW/.PROFILE
rm -rf /root/Downloads/SW/targets/A90-750115/objects && mkdir /root/Downloads/SW/targets/A90-750115/objects
***** Configuring Linux kernel *****
cp -f /root/Downloads/SW/targets/A90-750115/config.linux /root/Downloads/SW/targets/A90-750115/objects/.config
yes "" | make -C /root/Downloads/SW/linux/linux-2.6.8.1 O=/root/Downloads/SW/targets/A90-750115/objects oldconfig > /dev/null
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/basic/fixdep.c: In function ‘traps’:
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/basic/fixdep.c:359: warning: dereferencing type-punned pointer will break strict-aliasing rules
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/basic/fixdep.c:361: warning: dereferencing type-punned pointer will break strict-aliasing rules
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/basic/split-include.c: In function ‘main’:
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/basic/split-include.c:133: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/kconfig/conf.c: In function ‘conf_askvalue’:
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/kconfig/conf.c:94: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/kconfig/conf.c: In function ‘conf_choice’:
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/kconfig/conf.c:350: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/kconfig/mconf.c: In function ‘exec_conf’:
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/kconfig/mconf.c:224: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/kconfig/mconf.c: In function ‘show_textbox’:
/root/Downloads/SW/linux/linux-2.6.8.1/scripts/kconfig/mconf.c:552: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
lex.zconf.c:2969: warning: ‘input’ defined but not used
***** Building Linux kernel *****
make -C /root/Downloads/SW/linux/linux-2.6.8.1 O=/root/Downloads/SW/targets/A90-750115/objects
make[2]: Entering directory `/root/Downloads/SW/linux/linux-2.6.8.1'
find . -lname "*" -name "bcm96358" -print -exec rm -f "{}" ";"
/bin/bash -c " ln -sn impl1 opensource/char/board/bcm963xx/bcm96358; ln -sn impl1 opensource/char/serial/bcm96358; ln -sn impl2 broadcom/net/enet/bcm96358; ln -sn impl2 broadcom/net/usb/bcm96358; ln -sn impl2 broadcom/net/wl/bcm96358;"
  Using /root/Downloads/SW/linux/linux-2.6.8.1 as source for kernel
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-mips
scripts/kconfig/conf -s arch/mips/Kconfig
#
# using defaults found in .config
#
  SPLIT   include/linux/autoconf.h -> include/config/*
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.c
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  HOSTCC  scripts/genksyms/lex.o
scripts/genksyms/lex.c:1228: warning: ‘input’ defined but not used
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
  CC      scripts/mod/empty.o
/opt/toolchains/westell_msw2/bin/mips-linux-gcc: 1: ELF####: not found
/opt/toolchains/westell_msw2/bin/mips-linux-gcc: 2: �####�E#�EQ�EQ�#�######@##@: not found
/opt/toolchains/westell_msw2/bin/mips-linux-gcc: 2: 4: not found
/opt/toolchains/westell_msw2/bin/mips-linux-gcc: 2: 86?##: not found
/opt/toolchains/westell_msw2/bin/mips-linux-gcc: 1: Syntax error: word unexpected (expecting ")")
make[5]: *** [scripts/mod/empty.o] Error 2
make[4]: *** [scripts/mod] Error 2
make[3]: *** [scripts] Error 2
make[2]: *** [_all] Error 2
make[2]: Leaving directory `/root/Downloads/SW/linux/linux-2.6.8.1'
make[1]: *** [/root/Downloads/SW/targets/A90-750115/objects/vmlinux] Error 2
make[1]: Leaving directory `/root/Downloads/SW/targets/A90-750115'
make: *** [all] Error 2
kevinqian
DD-WRT Novice


Joined: 07 Feb 2010
Posts: 13

PostPosted: Mon Feb 22, 2010 7:03    Post subject: Reply with quote
looks like you guys are making some solid progress. What's the latest?
link626
DD-WRT Novice


Joined: 19 Feb 2010
Posts: 42

PostPosted: Mon Feb 22, 2010 9:26    Post subject: Reply with quote
i'm gonna try to install fedora and compile this crap.

i haven't used linux in 10 years.
baba2s
DD-WRT Novice


Joined: 23 Sep 2006
Posts: 43

PostPosted: Mon Feb 22, 2010 18:50    Post subject: Re: Error Reply with quote
I too getting same error...

SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
make[5]: warning: Clock skew detected. Your build may be incomplete.

CC scripts/mod/empty.o
/bin/sh: /opt/toolchains/westell_msw2/bin/mips-linux-gcc: cannot execute binaryfile
make[5]: *** [scripts/mod/empty.o] Error 126
make[4]: *** [scripts/mod] Error 2
make[3]: *** [scripts] Error 2
make[2]: *** [_all] Error 2
make[2]: Leaving directory `/home/ubuntu/router/SW/linux/linux-2.6.8.1'
make[1]: *** [/home/ubuntu/router/SW/targets/A90-750115/objects/vmlinux] Error 2make[1]: Leaving directory `/home/ubuntu/router/SW/targets/A90-750115'
make: *** [all] Error 2
root@ubuntu:/home/ubuntu/router/SW#

Any help for error :
/bin/sh: /opt/toolchains/westell_msw2/bin/mips-linux-gcc: cannot execute binaryfile

I am using my openwrt setup.. ( VMware player and Ubuntu)
Thanks
x1n
DD-WRT Novice


Joined: 22 Feb 2010
Posts: 5

PostPosted: Mon Feb 22, 2010 19:07    Post subject: Re: Error Reply with quote
Your problem is that you're compiling under a 32-bit architecture when the binaries are compiled for 64-bit. I have successfully compiled this as well and if anyone would be interested in the binaries, I can post them. let me know.

baba2s wrote:
I too getting same error...

SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
make[5]: warning: Clock skew detected. Your build may be incomplete.

CC scripts/mod/empty.o
/bin/sh: /opt/toolchains/westell_msw2/bin/mips-linux-gcc: cannot execute binaryfile
make[5]: *** [scripts/mod/empty.o] Error 126
make[4]: *** [scripts/mod] Error 2
make[3]: *** [scripts] Error 2
make[2]: *** [_all] Error 2
make[2]: Leaving directory `/home/ubuntu/router/SW/linux/linux-2.6.8.1'
make[1]: *** [/home/ubuntu/router/SW/targets/A90-750115/objects/vmlinux] Error 2make[1]: Leaving directory `/home/ubuntu/router/SW/targets/A90-750115'
make: *** [all] Error 2
root@ubuntu:/home/ubuntu/router/SW#

Any help for error :
/bin/sh: /opt/toolchains/westell_msw2/bin/mips-linux-gcc: cannot execute binaryfile

I am using my openwrt setup.. ( VMware player and Ubuntu)
Thanks
FSUNolez
DD-WRT Novice


Joined: 19 Feb 2010
Posts: 4

PostPosted: Mon Feb 22, 2010 22:01    Post subject: Reply with quote
Wow. Lots of progress. Thanks, guys!
alainpp
DD-WRT Novice


Joined: 22 Feb 2010
Posts: 4

PostPosted: Mon Feb 22, 2010 23:27    Post subject: Re: Error Reply with quote
Please post the bin file.

Thanks.

x1n wrote:
Your problem is that you're compiling under a 32-bit architecture when the binaries are compiled for 64-bit. I have successfully compiled this as well and if anyone would be interested in the binaries, I can post them. let me know.

baba2s wrote:
I too getting same error...

SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
make[5]: warning: Clock skew detected. Your build may be incomplete.

CC scripts/mod/empty.o
/bin/sh: /opt/toolchains/westell_msw2/bin/mips-linux-gcc: cannot execute binaryfile
make[5]: *** [scripts/mod/empty.o] Error 126
make[4]: *** [scripts/mod] Error 2
make[3]: *** [scripts] Error 2
make[2]: *** [_all] Error 2
make[2]: Leaving directory `/home/ubuntu/router/SW/linux/linux-2.6.8.1'
make[1]: *** [/home/ubuntu/router/SW/targets/A90-750115/objects/vmlinux] Error 2make[1]: Leaving directory `/home/ubuntu/router/SW/targets/A90-750115'
make: *** [all] Error 2
root@ubuntu:/home/ubuntu/router/SW#

Any help for error :
/bin/sh: /opt/toolchains/westell_msw2/bin/mips-linux-gcc: cannot execute binaryfile

I am using my openwrt setup.. ( VMware player and Ubuntu)
Thanks
idmitriy
DD-WRT Novice


Joined: 30 Jul 2008
Posts: 40

PostPosted: Mon Feb 22, 2010 23:40    Post subject: http://www.westell.com/upgrades/model7501/A99-750115-00.xml Reply with quote
I have two of these, would like to see them working with DD-WRT.

http://www.westell.com/index.php?option=com_content&task=view&id=923&arcsection=support

_________________

My DD-WRT Routers:
Netgear WNDR3300, Linksys WRT54G2, Asus WL-520GU, Dell TrueMobile 2300, Belkin F5D7230-4 v1444
hard_where
DD-WRT User


Joined: 13 Feb 2007
Posts: 141

PostPosted: Tue Feb 23, 2010 0:10    Post subject: Re: Error Reply with quote
x1n wrote:
Your problem is that you're compiling under a 32-bit architecture when the binaries are compiled for 64-bit. I have successfully compiled this as well and if anyone would be interested in the binaries, I can post them. let me know.



I am using my openwrt setup.. ( VMware player and Ubuntu)
Thanks


Yup, my box is 64bit
alainpp
DD-WRT Novice


Joined: 22 Feb 2010
Posts: 4

PostPosted: Tue Feb 23, 2010 0:29    Post subject: Re: Error Reply with quote
I tried using ubuntu 64 bit and the compiler took a lot longer and it looks like it was working. I though i was getting there, but at the end (like 6 minutes later) i got the same error i posted early and no firmware file.

hard_where wrote:
x1n wrote:
Your problem is that you're compiling under a 32-bit architecture when the binaries are compiled for 64-bit. I have successfully compiled this as well and if anyone would be interested in the binaries, I can post them. let me know.



I am using my openwrt setup.. ( VMware player and Ubuntu)
Thanks


Yup, my box is 64bit
Goto page Previous  1, 2, 3, 4, 5 ... 53, 54, 55  Next Display posts from previous:    Page 4 of 55
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Forum Index -> Broadcom 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 can attach files in this forum
You can download files in this forum