Now then I get that setup how do I make my initial compile run? The docs on the wiki are not that great considering they are geared towards v23 and I saw that you were having some issue so I was wondering how you got to where you are.
My recent firmware is
"dd-wrt.v24_std_generic.RC5.usb-webcam-mod-automount-thttpd-samba-swat-xinetd-proftpd-portmap-unfsd-e2fsprogs-busybox-swap.bin" and it's works FINE !
I have changed to this build 's and my PEN DRIVE is not detected !
My nvram set
nvram set usb_enable=1
nvram set usb_uhci=1
nvram set usb_usb2=1
nvram set usb_printer=1
nvram set usb_storage=1
nvram set usb_fs_ext2=1
nvram set usb_fs_ext3=1
nvram set usb_fs_fat=1
nvram set usb_fs_xfs=1
nvram commit
BusyBox v1.4.2 (2007-11-24 17:34:58 CET) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
root@DD-WRT:~# dmesg
CPU revision is: 00029006
Linux version 2.4.35 (root@dd-wrt) (gcc version 3.4.4 (OpenWrt-2.0)) #2715 Sat N
ov 24 17:38:59 CET 2007
Setting the PFC to its default value
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd cons
ole=ttyS0,115200
CPU: BCM4704 rev 8 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 262.96 BogoMIPS
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
Software Watchdog Timer: 0.05, timer margin: 60 sec
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:02.0 to 64
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Physically mapped flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x3af497
Updating TRX offsets and length:
old trx = [0x0000001c, 0x000008e4, 0x000897b0], len=0x0043a000 crc32=0x2a8e21f9
new trx = [0x0000001c, 0x000008e4, 0x000897b0], len=0x00440000 crc32=0x8bc5870e
Done
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000c97b0-0x00480000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-o
nly
0x007f0000-0x00800000 : "nvram"
0x00480000-0x007f0000 : "ddwrt"
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
PCI: Setting latency timer of device 01:01.0 to 64
PCI: Enabling device 01:01.0 (0004 -> 0006)
eth2: Broadcom BCM4320 802.11 Wireless Controller 4.80.56.0
device eth0 entered promiscuous mode
device eth2 entered promiscuous mode
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 13:18:16 Feb 3 2007
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
SCSI subsystem driver Revision: 1.00
usb-uhci.c: $Revision: 1.275 $ time 13:18:16 Feb 3 2007
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Linux video capture interface: v1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 00:03.0-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: BUFFALO Model: ClipDrive Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
pwc Philips webcam module version 9.0.2 loaded.
pwc Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC
830/840.
pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 a
nd MPC-C30,
pwc the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and
VCS-UM100.
usb.c: registered new driver Philips webcam
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
pwc Philips webcam decompressor routines version 9.0-BETA-2
pwc Supports all cameras supported by the main module (pwc).
pwc Adding decompressor for model 645.
pwc Adding decompressor for model 646.
pwc Adding decompressor for model 675.
pwc Adding decompressor for model 680.
pwc Adding decompressor for model 690.
pwc Adding decompressor for model 720.
pwc Adding decompressor for model 730.
pwc Adding decompressor for model 740.
pwc Adding decompressor for model 750.
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: Write Protect is off
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1 p2
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
device eth1 entered promiscuous mode
device br0 entered promiscuous mode
usb.c: registered new driver spca5xx
drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered
usb.c: registered new driver ov51x
ov51x.c: v1.65-1.12-mark : ov51x USB Camera Driver
ov511_decomp.c: v1.6 : OV511 Decompression Module
ov518_decomp.c: v1.3 : OV518 Decompression Module
usb.c: registered new driver quickcam
Journalled Block Device driver loaded
MASQUERADE: Route sent us somewhere else.
MASQUERADE: Route sent us somewhere else.
device br0 left promiscuous mode
device eth1 left promiscuous mode
MASQUERADE: Route sent us somewhere else.
device eth0 left promiscuous mode
device eth2 left promiscuous mode
device eth0 entered promiscuous mode
device eth2 entered promiscuous mode
device eth1 entered promiscuous mode
device br0 entered promiscuous mode
root@DD-WRT:~#
Ahh... I think I see where it is going wrong. I opted to not include the ohci usb modules where CaScAdE has done so. I think OHCI is also USB 1.1 support so I will add the module, rebuild the firmware, test it, then release it as build 4.
BTW, Since typically you probably will only need either uhci or ohci I will leave them seperately configurable.
Ok. I've built and tested a new firmware on my router. I've also uploaded a new public build onto the website. It is Build 4. Make sure you enable usb_ohci and commit it so that it loads the module. I've also updated my readme file and the build log on the first post.
Glad you like it. Maybe I'll see about trying to get the web gui integration to work. I am also setting up a build environment so I may get 2.4.35 native modules into the firmware.
@shinji257
hi, is your firmware compatible with 5354 broadcom chips? like eko's NEWD firmwares? if not, can i bother you to do one? i would really appreciate it. thanks and more power