Anyone patched the 15-09-2006 version for USB-support

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Thu Oct 12, 2006 13:20    Post subject: Anyone patched the 15-09-2006 version for USB-support Reply with quote
Is there anyone who wants to put his patched DD-WRT firmware into public?

I'm interested in the standard version

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
Sponsor
JohnS@
DD-WRT User


Joined: 10 Jun 2006
Posts: 311

PostPosted: Thu Oct 12, 2006 14:36    Post subject: Re: Anyone patched the 15-09-2006 version for USB-support Reply with quote
frater wrote:
Is there anyone who wants to put his patched DD-WRT firmware into public?

I'm interested in the standard version


just to have USB and to access it under linux you can enable jffs and follow the wiki entry on usb... doing that USB ports will work. The issues that remain for the moment (at least in my case) are getting samba to run (i.e. not smbclient but providing USB storage for windows clients) as well as printer sharing.... I'm pretty much a linux newbie, perhaps somebody that has already setup both can share his/her wisdom in the wiki.... would be cool.

alternatively you can try another firmware that has better usb support: http://oleg.wl500g.info/ ... still I like DD-WRT ... therefore not an option for me at the moment.
zanophol
DD-WRT Novice


Joined: 19 Aug 2006
Posts: 5

PostPosted: Thu Oct 12, 2006 22:53    Post subject: v23 sp2 09/15/06 firmware repacked with usb Reply with quote
I have done this with the firmware modification kit. Msg me and we can determine how to get you the firmware file. I have an ftp you can get it from. It has the following usb modules compiled in:

kmod-ext2_2.4.30
kmod-ext3_2.4.30
kmod-usb2_2.4.30
kmod-usb-core_2.4.30
kmod-usb-ohci_2.4.30
kmod-usb-storage_2.4.30
kmod-vfat_2.4.30
kmod-xfs_2.4.30

I have been running it for some time, and it is quite stable.
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Mon Oct 16, 2006 13:26    Post subject: Reply with quote
Thanks Zanophol

I have flashed my Asus DeLuxe with your patched firmware and enabled this startup script through the webinterface:
Code:

#where to log what is happening
export LOG=/tmp/startup.log

sleep 5

#insmod
insmod /lib/modules/2.4.30/usbcore.o
insmod /lib/modules/2.4.30/ehci-hcd.o
insmod /lib/modules/2.4.30/scsi_mod.o
insmod /lib/modules/2.4.30/usb-storage.o
insmod /lib/modules/2.4.30/sd_mod.o
#insmod /lib/modules/2.4.30/xfs.o
insmod /lib/modules/2.4.30/vfat.o
insmod /lib/modules/2.4.30/ext2.o
insmod /lib/modules/2.4.30/ext3.o
insmod /lib/modules/2.4.30/fat.o

#usb removable
sleep 5
mount /dev/scsi/host0/bus0/target0/lun0/part1 /jffs/opt/
mount -o bind /jffs/opt /opt


Isn't this possible to put in the firmware?
I have no startup.log, but this is my dmesg output:
Code:
~ # dmesg
<0>CPU revision is: 00029007
<0>Linux version 2.4.34-pre2 (root@linux) (gcc version 3.4.6 (OpenWrt-2.0)) #170 Fri Sep 15 20:10:21 CEST 2006
<0>Setting the PFC value as 0x15
<0>Determined physical RAM map:
<0> memory: 02000000 @ 00000000 (usable)
<0>On node 0 totalpages: 8192
<0>zone(0): 8192 pages.
<0>zone(1): 0 pages.
<0>zone(2): 0 pages.
<0>Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
<0>CPU: BCM5365 rev 1 at 200 MHz
<0>Using 100.000 MHz high precision timer.
<0>Calibrating delay loop... 199.47 BogoMIPS
<6>Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
<6>Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
<6>Mount cache hash table entries: 512 (order: 0, 4096 bytes)
<6>Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
<0>Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
<0>Checking for 'wait' instruction...  unavailable.
<0>POSIX conformance testing by UNIFIX
<0>PCI: Fixing up bus 0
<0>PCI: Fixing up bridge
<7>PCI: Setting latency timer of device 01:00.0 to 64
<0>PCI: Fixing up bus 1
<0>Initializing RT netlink socket
<0>Starting kswapd
<6>devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
<6>devfs: boot_options: 0x1
<6>squashfs: version 3.0 (2006/03/15) Phillip Lougher
<0>pty: 256 Unix98 ptys configured
<6>Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
<6>ttyS00 at 0xb8000300 (irq = 3) is a 16550A
<6>ttyS01 at 0xb8000400 (irq = 3) is a 16550A
<6>Software Watchdog Timer: 0.05, timer margin: 60 sec
<7>PCI: Setting latency timer of device 00:01.0 to 64
<6>imq driver loaded.
<6>Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
<7>Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
<7>Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
<7>Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
<7>Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
<7>Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
<7>Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
<7>Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
<5> Amd/Fujitsu Extended Query Table v1.1 at 0x0040
<5>number of CFI chips: 1
<5>cfi_cmdset_0002: Disabling fast programming due to code brokenness.
<5>Flash device: 0x400000 at 0x1c000000
<5>Physically mapped flash: squashfs filesystem found at block 823
<5>Creating 5 MTD partitions on "Physically mapped flash":
<5>0x00000000-0x00040000 : "pmon"
<5>0x00040000-0x003f0000 : "linux"
<5>0x000cde5c-0x003d1ebf : "rootfs"
<0>mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
<5>0x003f0000-0x00400000 : "nvram"
<5>0x003e0000-0x003f0000 : "ddwrt"
<6>Initializing Cryptographic API
<6>IP Protocols: ICMP, UDP, TCP, IGMP
<6>IP: routing cache hash table of 512 buckets, 4Kbytes
<6>TCP: Hash tables configured (established 2048 bind 4096)
<0>ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
<0>ip_tables: (C) 2000-2002 Netfilter core team
<6>IPP2P v0.8.1_rc1 loading
<0>ipt_random match loaded
<0>netfilter PSD loaded - (c) astaro AG
<6>ipt_osf: Startng OS fingerprint matching module.
<0>ipt_IPV4OPTSSTRIP loaded
<0>ip_conntrack_rtsp v0.01 loading
<0>ip_nat_rtsp v0.01 loading
<6>NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
<6>802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
<6>All bugs added by David S. Miller <davem@redhat.com>
<0>VFS: Mounted root (squashfs filesystem) readonly.
<6>Mounted devfs on /dev
<6>diag boardtype: 00000000
<7>PCI: Setting latency timer of device 01:03.0 to 64
<0>PCI: Enabling device 01:03.0 (0004 -> 0006)
<0>eth1: Broadcom BCM4320 802.11 Wireless Controller 3.90.39.0
<5>JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
<7>vlan0: add 01:00:5e:00:00:01 mcast address to master interface
<6>vlan0: dev_set_promiscuity(master, 1)
<6>device eth0 entered promiscuous mode
<6>device vlan0 entered promiscuous mode
<6>device eth1 entered promiscuous mode
<6>device wds0.49153 entered promiscuous mode
<0>vlan1: Setting MAC address to  00 15 f2 3d 68 31.
<6>usb.c: registered new driver usbdevfs
<6>usb.c: registered new driver hub
<0>PCI: Enabling device 01:02.2 (0000 -> 0002)
<6>ehci_hcd 01:02.2: PCI device 1106:3104
<6>ehci_hcd 01:02.2: irq 2, pci mem c0167000
<6>usb.c: new USB bus registered, assigned bus number 1
<6>ehci_hcd 01:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
<6>hub.c: USB hub found
<6>hub.c: 4 ports detected
<6>SCSI subsystem driver Revision: 1.00
<6>Initializing USB Mass Storage driver...
<6>usb.c: registered new driver usb-storage
<6>USB Mass Storage support registered.
<6>hub.c: new USB device 01:02.2-1, assigned address 2
<3>usb.c: USB device not accepting new address=2 (error=-71)
<6>hub.c: new USB device 01:02.2-1, assigned address 3
<3>usb.c: USB device not accepting new address=3 (error=-71)

I have my iPod connected to it, but I guess it has the wrong filesystem.
Can you tell me if thus far everything is working alright?

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
zanophol
DD-WRT Novice


Joined: 19 Aug 2006
Posts: 5

PostPosted: Mon Oct 16, 2006 13:45    Post subject: filesystem Reply with quote
I believe Ipod's have a varient of the HPFS filesystem. The firmware I sent you is good only for fat, vfat, ext2, ext3 and xfs. I don't know if you can make an Ipod work. However, if there is a module out there, it should work.
fualex2
DD-WRT User


Joined: 17 Jun 2006
Posts: 82

PostPosted: Mon Oct 16, 2006 18:11    Post subject: Re: v23 sp2 09/15/06 firmware repacked with usb Reply with quote
zanophol wrote:
I have done this with the firmware modification kit. Msg me and we can determine how to get you the firmware file. I have an ftp you can get it from. It has the following usb modules compiled in:

kmod-ext2_2.4.30
kmod-ext3_2.4.30
kmod-usb2_2.4.30
kmod-usb-core_2.4.30
kmod-usb-ohci_2.4.30
kmod-usb-storage_2.4.30
kmod-vfat_2.4.30
kmod-xfs_2.4.30

I have been running it for some time, and it is quite stable.


Can you post your ftp? I can´t found it.
peramus
DD-WRT Novice


Joined: 12 Dec 2006
Posts: 3

PostPosted: Sun Dec 17, 2006 11:20    Post subject: Reply with quote
I'd really be interested in some info on how to use the firmware mod kit to add USB support, and if someone could send me a copy of the firmware I'd like to see how they did it. Has anyone looked at adding support into the GUI? Is that even possible?

Also on the IPOD issue. If you have a Mac your SOL, but if you have a windows machine that you use to access your IPOD you can do a reload to factory defaults and I beleive it should convert it to Fat32 which would in turn be readable by DD-WRT with the patches. I beleive that's how people used to get them to work under linux when they came out since HPFS support was a bit lacking.




Joined: 01 Jan 1970
Posts:

PostPosted: Sun Dec 17, 2006 13:33    Post subject: Re: v23 sp2 09/15/06 firmware repacked with usb Reply with quote
fualex2 wrote:
zanophol wrote:
I have done this with the firmware modification kit. Msg me and we can determine how to get you the firmware file. I have an ftp you can get it from. It has the following usb modules compiled in:

kmod-ext2_2.4.30
kmod-ext3_2.4.30
kmod-usb2_2.4.30
kmod-usb-core_2.4.30
kmod-usb-ohci_2.4.30
kmod-usb-storage_2.4.30
kmod-vfat_2.4.30
kmod-xfs_2.4.30

I have been running it for some time, and it is quite stable.


Can you post your ftp? I can´t found it.
This are simply original OpenWrt WhiteRussian packages. I recommend using OpenWrt WhiteRussian and webif^2.
cyberde
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1488
Location: the Netherlands

PostPosted: Sun Dec 17, 2006 13:37    Post subject: Re: v23 sp2 09/15/06 firmware repacked with usb Reply with quote
Timbuktu wrote:
This are simply original OpenWrt WhiteRussian packages. I recommend using OpenWrt WhiteRussian and webif^2.

Forum2006, If they want to use openwrt they wouldn't be asking support for DD-WRT, now do they?

_________________
Firmware: DD-WRT v24-sp2 (latest available) mega
WRT320N

Donater




Joined: 01 Jan 1970
Posts:

PostPosted: Sun Dec 17, 2006 13:40    Post subject: Re: v23 sp2 09/15/06 firmware repacked with usb Reply with quote
cyberde wrote:
Timbuktu wrote:
This are simply original OpenWrt WhiteRussian packages. I recommend using OpenWrt WhiteRussian and webif^2.

Forum2006, If they want to use openwrt they wouldn't be asking support for DD-WRT, now do they?
Most people do not know that there exist an excellent GUI (webif^2) for OpenWrt. See the other thread how happy the user is now.
cyberde
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1488
Location: the Netherlands

PostPosted: Sun Dec 17, 2006 13:46    Post subject: Reply with quote
First of all, what other thread? [edit you made a link Wink, but it's a different user]
Second, It's your choice that you chose OpenWRT, I'm not the one to argue about that. But answering the same "solution" in every single post is a bit annoying. We know your a big OpenWRT fanboy ;)

But badmouthing DD-WRT (which is exactly what you're doing, either intended or unintended) is a bad thing. Which was also the reason for getting banned if I remember correctly?

Anyway, let's stop this nonsense. Because most users know OpenWRT exists, and even though, they have chosen for DD-WRT.

Just my 2c

_________________
Firmware: DD-WRT v24-sp2 (latest available) mega
WRT320N

Donater
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT 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