Adding USB support into firmware

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Author Message
shinji257
DD-WRT User


Joined: 02 May 2007
Posts: 222

PostPosted: Sun Mar 02, 2008 22:40    Post subject: Reply with quote
It is based on BS's 9134 firmware and I think he is using the new driver set. You would want to check with him but it wouldn't be much of an issue if you wanted me to do one based on eko's 9068 NEWD firmware or other known compatible firmware.
Sponsor
soulstace
DD-WRT Guru


Joined: 04 Aug 2007
Posts: 6427

PostPosted: Sun Mar 02, 2008 22:43    Post subject: Reply with quote
BrainSlayer's generic builds include support for the bcm5354. So as long as you are building with the newest driver I would imagine yours would too.
shinji257
DD-WRT User


Joined: 02 May 2007
Posts: 222

PostPosted: Mon Mar 03, 2008 0:02    Post subject: Reply with quote
soulstace wrote:
BrainSlayer's generic builds include support for the bcm5354. So as long as you are building with the newest driver I would imagine yours would too.


It is a direct modification of his. I use the firmware modification kit which just extracts all the files out of the squashfs then rebuilds a new one with all of my new files. Therefore the original kernel and all the drivers should remain.
shinji257
DD-WRT User


Joined: 02 May 2007
Posts: 222

PostPosted: Mon Mar 03, 2008 0:02    Post subject: Reply with quote
kodo wrote:
Hi,
would it also be possible to add UFS support? I would like to use a harddrive, which is currently used with freenas.
Thanks a lot


I'll see what I can do. Do you want one done against the latest mega version?
shinji257
DD-WRT User


Joined: 02 May 2007
Posts: 222

PostPosted: Mon Mar 03, 2008 1:52    Post subject: Reply with quote
Ok. I was getting all of my modules from the openwrt repositories. They don't seem to have a ufs ipkg available. In addition it is likely that it will make the normal packages over my limit. I am actually going to try eko's latest NEWD build which is against the 9181 source. I'll also see about getting a set of compatible kernel modules for that.

BTW, Are you sure you are wanting UFS support? It doesn't seem right. Are you sure you don't mean FFS?
mauzer
DD-WRT Novice


Joined: 23 Feb 2008
Posts: 5

PostPosted: Mon Mar 03, 2008 6:12    Post subject: Reply with quote
@shinji257
tried flashing your b4 firmware. used the asus trx one. failed to upload. keep on getting flash failed. guess, i'll just wait for your NEWD version. thanks and keep up the good work! Very Happy
shinji257
DD-WRT User


Joined: 02 May 2007
Posts: 222

PostPosted: Mon Mar 03, 2008 6:19    Post subject: Reply with quote
Which router are you trying to flash on and how much flash space does it have?

If it has 4MB then that may be why it isn't going on. Go back to the first post and I have placed a new note in bold about routers with 4MB of flash may not be able to use the firmware. I'll try to get a mini one going though. Unfortunately it will have to wait until Thursday since I work the next few days and won't have much time to develop the firmware.
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5772

PostPosted: Mon Mar 03, 2008 6:45    Post subject: Reply with quote
@shinji257, can I use your stuff and integrate it in svn sources?
shinji257
DD-WRT User


Joined: 02 May 2007
Posts: 222

PostPosted: Mon Mar 03, 2008 6:47    Post subject: Reply with quote
Ummm... sure! It would actually be an honor if you could. If you can tell me what I did wrong with the nvramconfig and webconfig files then that would be great as well. BTW, the nvramconfig file attached to the main message would be missing the usb_ohci nvram item now since I added to the 4th build. The webconfig file is missing the toggle. Both will be corrected in a minute.

I'll re-attach the startup file and the other updated items in a few minutes here. Just need to get it off the development site.
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5772

PostPosted: Mon Mar 03, 2008 6:50    Post subject: Reply with quote
OK, np.
Basicaly it will help you develop further, bacause gui should work and all will be in svn.
shinji257
DD-WRT User


Joined: 02 May 2007
Posts: 222

PostPosted: Mon Mar 03, 2008 7:04    Post subject: Reply with quote
Eko wrote:
OK, np.
Basicaly it will help you develop further, bacause gui should work and all will be in svn.


Ok. The required files are posted up at the main post now.

I should really try to get this build environment working correctly. If you know of a really good way of doing this then that would be great. I plan on concentrating my efforts on the linux.v24_v2 branch.

P.S. - Is it normal for me to get a whole bunch of warnings during the build process?
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5772

PostPosted: Mon Mar 03, 2008 8:09    Post subject: Reply with quote
Thanks. Yes, warnings are normal.
extasy
DD-WRT User


Joined: 30 Oct 2007
Posts: 52

PostPosted: Mon Mar 03, 2008 10:15    Post subject: Reply with quote
This project is getting where I was just dreaming about 2 month ago. I’ve been waiting for a usb support for ASUS routers a long time!

I would very much appreciate if you would include 2 modules in your release:

usbserial.o
ftdi_sio.o

This project rocks! Tank you so much for your effort I’m so grateful.
mauzer
DD-WRT Novice


Joined: 23 Feb 2008
Posts: 5

PostPosted: Mon Mar 03, 2008 10:27    Post subject: Reply with quote
Quote:
Which router are you trying to flash on and how much flash space does it have?

If it has 4MB then that may be why it isn't going on. Go back to the first post and I have placed a new note in bold about routers with 4MB of flash may not be able to use the firmware. I'll try to get a mini one going though. Unfortunately it will have to wait until Thursday since I work the next few days and won't have much time to develop the firmware.


am trying to flash an asus wl520gu. yup its has 4mb flash, sorry about that Embarassed

will wait eagerly for your next updates Very Happy
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5772

PostPosted: Mon Mar 03, 2008 11:23    Post subject: Reply with quote
We have now all these modules in my usb-mini
root@DD-WRT:/lib/modules# cd 2.4.35/
Code:
root@DD-WRT:/lib/modules/2.4.35# ls
adma100.o                 ide-cd.o                  ipt_mac.o
aec62xx.o                 ide-core.o                ipt_mark.o
bcm57xxlsys.o             ide-detect.o              ipt_webstr.o
cdrom.o                   ide-disk.o                jbd.o
diag.o                    ide-scsi.o                jffs2.o
ebt_arpnat.o              imq.o                     printer.o
ebt_dnat.o                ip_conntrack_pptp.o       scsi_mod.o
ebt_mark.o                ip_conntrack_proto_gre.o  sd_mod.o
ebt_mark_m.o              ip_gre.o                  sr_mod.o
ebt_redirect.o            ip_nat_pptp.o             switch-adm.o
ebt_snat.o                ip_nat_proto_gre.o        switch-core.o
ebtable_filter.o          ip_wccp.o                 switch-robo.o
ebtable_nat.o             ipip.o                    usb-ohci.o
ebtables.o                ipt_CONNMARK.o            usb-storage.o
ehci-hcd.o                ipt_IMQ.o                 usb-uhci.o
ext2.o                    ipt_ipp2p.o               usbcore.o
ext3.o                    ipt_layer7.o
root@DD-WRT:/lib/modules/2.4.35#


Anybody knows what we really need?
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next Display posts from previous:    Page 3 of 10
Post new topic   Reply to topic    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