Last first: brw-rw---- 1 root root 8, 1 Jan 1 00:00 /dev/sda1
/sys/bus/platform/devices # ls FEC.0 isp116x-hcd.0 /sys/bus/platform/drivers # ls FEC isp116x-hcd <- without .0 is different to yours Possibly the way to register plattform-Code with module_init is wrong ? If you look inside /usb/host/ uhci-hcd.c or ohci_hcd.c or sl811-hcd.c you will find the function: usb_hcd_register_root_hub() -> usb_new_device() -> This way delivers the messages what you have around usb: and hub: On what way you will get this on your configuration? Are there any influences from plattform ppc what I have? -----Ursprüngliche Nachricht----- Von: Olav Kongas [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 26. Juli 2005 14:11 An: Fukumoto Akira Cc: [email protected] Betreff: Re: [linux-usb-devel] isp116x On Tue, 26 Jul 2005, Fukumoto Akira wrote: > > > -----Ursprüngliche Nachricht----- > Von: Fukumoto Akira > Gesendet: Dienstag, 26. Juli 2005 13:25 > An: 'Olav Kongas' > Betreff: AW: AW: AW: isp116x > > Everything what you describe in /sys is on board. What do you mean by "is on board". Do you mean that these two directories that I asked about are present on your board? > I changed the settings in the plattform-Code: Can you post please your updated platform code. > remove the plattform functions for delay, clock and reset. Now I can reset > the board without power up. My board is connected with Lauterbach - Debugger > on BDM Interface. I can use it to reset the board and follow some Funktions I am not sure, but maybe you are a bit confused about the reset I was talking about. I was talking about the isp chip reset and not about the board reset. If you don't provide the reset() function with your platform code then the driver will do a software reset to the isp chip for you. > on high level language including the drivers startup. I try to follow > functions in /core/message.c and hub.c like usb_new_device(). I am looking > for the way to create messages like 'usb usb1: default language 0x0409' for > example. So there's still something wrong with the initialization. Could you please post again the dmesg you get with your new platform code. > Also on my PC-Linux I get messages like 'SCSI emulation for USB Mass Storage > devices' which is missing in my case. > Still get error on mount -tvfat /dev/sda1 /opt/mnt :-( What do you get when issuing on your board: ls -l /dev/sda1 Olav > -----Ursprüngliche Nachricht----- > Von: Olav Kongas [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 25. Juli 2005 19:18 > An: Fukumoto Akira > Cc: [email protected] > Betreff: Re: AW: AW: isp116x > > If correctly set up, you should see the following subdirs > appearing. Is any of them missing in your case? > > /sys/bus/platform/devices/isp116x-hcd.0/ > /sys/bus/platform/drivers/isp116x-hcd/isp116x-hcd.0/ >
studiec.c
Description: Binary data
Linux version 2.6.12 ([EMAIL PROTECTED]) (gcc version 3.3.4) #39 Tue Jul 26 13:34: 27 CEST 2005 On node 0 totalpages: 4096 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: console=ttyCPM0, 57600 root=/dev/mtdblock1 rootfstype=cramf s ro PID hash table entries: 128 (order: 7, 2048 bytes) Decrementer Frequency = 187500000/60 m8xx_wdt: wdt disabled (SYPCR: 0xFFFFFF88) Console: colour dummy device 80x25 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 14124k available (1452k kernel code, 536k data, 64k init, 0k highmem) Calibrating delay loop... 48.51 BogoMIPS (lpj=24256) Mount-cache hash table entries: 512 NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub isp_resource added JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. Serial: CPM driver $Revision: 0.01 $ ttyCPM0 at MMIO 0xff000a60 (irq = 43) is a CPM UART io scheduler noop registered loop: loaded (max 8 devices) fec_8xxfec_8xx.c:v0.1 (May 6, 2004) PSTUD: instance: phy_speed = 20 fec_8xx: eth0 Phy @ 0x1f, type AM79C874 (0x0022561b) physmap flash device: 400000 at ffc00000 phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query Table at 0x0040 number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Creating 5 MTD partitions on "phys_mapped_flash": 0x00000000-0x00100000 : "Kernel" mtd: Giving out device 0 to Kernel 0x00100000-0x00200000 : "RootFS" mtd: Giving out device 1 to RootFS 0x00200000-0x00300000 : "ApplFS1" mtd: Giving out device 2 to ApplFS1 0x00300000-0x00330000 : "U-Boot" mtd: Giving out device 3 to U-Boot 0x00330000-0x00400000 : "ApplFS2" mtd: Giving out device 4 to ApplFS2 slram: not enough parameters. usbmon: debugs is not available 116x: driver isp116x-hcd, 08 Apr 2005 ISP116x probe isp116x-hcd isp116x-hcd.0: ISP116x Host Controller isp116x-hcd isp116x-hcd.0: new USB bus registered, assigned bus number 1 isp116x-hcd isp116x-hcd.0: irq 8, io base 0x04000002 116x: HCREVISION [00]: 00000010 116x: HCCONTROL [01]: 00000480 116x: HCCMDSTAT [02]: 00000000 116x: HCINTSTAT [03]: 00000040 116x: HCINTENB [04]: 80000058 116x: HCFMINTVL [0d]: 27782edf 116x: HCFMREM [0e]: 00001421 116x: HCFMNUM [0f]: 00000001 116x: HCLSTHRESH [11]: 00000628 116x: HCRHDESCA [12]: 19000201 116x: HCRHDESCB [13]: 00060000 116x: HCRHSTATUS [14]: 00008000 116x: HCRHPORT1 [15]: 00010101 116x: HCRHPORT2 [16]: 00000100 116x: HCHWCFG [20]: 080b 116x: HCDMACFG [21]: 0000 116x: HCXFERCTR [22]: 0000 116x: HCuPINT [24]: 0011 116x: HCuPINTENB [25]: 0012 116x: HCCHIPID [27]: 6123 116x: HCSCRATCH [28]: 0000 116x: HCITLBUFLEN [2a]: 0000 116x: HCATLBUFLEN [2b]: 1000 116x: HCBUFSTAT [2c]: 0000 116x: HCRDITL0LEN [2d]: 0000 116x: HCRDITL1LEN [2e]: 0000 Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) VFS: Mounted root (cramfs filesystem) readonly. Freeing unused kernel memory: 64k init Eep. Child "loadschutz" (ino #15) of dir ino #1 doesn't exist! /etc/hotplug # ls -l /dev/sda1 brw-rw---- 1 root root 8, 1 Jan 1 00:00 /dev/sda1 /etc/hotplug # dmesg Linux version 2.6.12 ([EMAIL PROTECTED]) (gcc version 3.3.4) #39 Tue Jul 26 13:34: 27 CEST 2005 On node 0 totalpages: 4096 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: console=ttyCPM0, 57600 root=/dev/mtdblock1 rootfstype=cramf s ro PID hash table entries: 128 (order: 7, 2048 bytes) Decrementer Frequency = 187500000/60 m8xx_wdt: wdt disabled (SYPCR: 0xFFFFFF88) Console: colour dummy device 80x25 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 14124k available (1452k kernel code, 536k data, 64k init, 0k highmem) Calibrating delay loop... 48.51 BogoMIPS (lpj=24256) Mount-cache hash table entries: 512 NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub isp_resource added JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. Serial: CPM driver $Revision: 0.01 $ ttyCPM0 at MMIO 0xff000a60 (irq = 43) is a CPM UART io scheduler noop registered loop: loaded (max 8 devices) fec_8xxfec_8xx.c:v0.1 (May 6, 2004) PSTUD: instance: phy_speed = 20 fec_8xx: eth0 Phy @ 0x1f, type AM79C874 (0x0022561b) physmap flash device: 400000 at ffc00000 phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query Table at 0x0040 number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Creating 5 MTD partitions on "phys_mapped_flash": 0x00000000-0x00100000 : "Kernel" mtd: Giving out device 0 to Kernel 0x00100000-0x00200000 : "RootFS" mtd: Giving out device 1 to RootFS 0x00200000-0x00300000 : "ApplFS1" mtd: Giving out device 2 to ApplFS1 0x00300000-0x00330000 : "U-Boot" mtd: Giving out device 3 to U-Boot 0x00330000-0x00400000 : "ApplFS2" mtd: Giving out device 4 to ApplFS2 slram: not enough parameters. usbmon: debugs is not available 116x: driver isp116x-hcd, 08 Apr 2005 ISP116x probe isp116x-hcd isp116x-hcd.0: ISP116x Host Controller isp116x-hcd isp116x-hcd.0: new USB bus registered, assigned bus number 1 isp116x-hcd isp116x-hcd.0: irq 8, io base 0x04000002 116x: HCREVISION [00]: 00000010 116x: HCCONTROL [01]: 00000480 116x: HCCMDSTAT [02]: 00000000 116x: HCINTSTAT [03]: 00000040 116x: HCINTENB [04]: 80000058 116x: HCFMINTVL [0d]: 27782edf 116x: HCFMREM [0e]: 00001421 116x: HCFMNUM [0f]: 00000001 116x: HCLSTHRESH [11]: 00000628 116x: HCRHDESCA [12]: 19000201 116x: HCRHDESCB [13]: 00060000 116x: HCRHSTATUS [14]: 00008000 116x: HCRHPORT1 [15]: 00010101 116x: HCRHPORT2 [16]: 00000100 116x: HCHWCFG [20]: 080b 116x: HCDMACFG [21]: 0000 116x: HCXFERCTR [22]: 0000 116x: HCuPINT [24]: 0011 116x: HCuPINTENB [25]: 0012 116x: HCCHIPID [27]: 6123 116x: HCSCRATCH [28]: 0000 116x: HCITLBUFLEN [2a]: 0000 116x: HCATLBUFLEN [2b]: 1000 116x: HCBUFSTAT [2c]: 0000 116x: HCRDITL0LEN [2d]: 0000 116x: HCRDITL1LEN [2e]: 0000 Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) VFS: Mounted root (cramfs filesystem) readonly. Freeing unused kernel memory: 64k init Eep. Child "loadschutz" (ino #15) of dir ino #1 doesn't exist!
