From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Wed, 10 Jan 2007 18:13:45 +0100 Subject: [U-Boot-Users] reg ISP 1561 integration with u-boot1.1.6 In-Reply-To: <4ac2955e0701042143w51a8067u80297938c7f4997d@mail.gmail.com> References: <4ac2955e0701040358u5699f021o163696f8cf70ba4a@mail.gmail.com> <200701041845.26424.matthias.fuchs@esd-electronics.com> <4ac2955e0701042143w51a8067u80297938c7f4997d@mail.gmail.com> Message-ID: <200701101813.45863.matthias.fuchs@esd-electronics.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, it's working. I modified the testing-USB branch to run against a PCI OHCI controller (Philips ISP1561) on the APC405 board (PowerPC PPC405GPr). Enumeration and USB storage is working. I do not dare to say 'working well'. The main changes concern endianess fixes. The former code only supports OHCI controller with the same endianess as the CPU. The other fix allows a offset to access the system RAM by the busmastering OHCI controller. I called this constant CFG_PCIRAM_BASE. But the name is a little bit confusion, isn't it? Here are my (first) questions: 1) What do I have to do in usb_board_stop() and usb_board_init_fail()? My current code can only initialize the OHCI controller once. A 2nd 'usb start' does not find any devices. 2) I had to disable the 'return -1' statement for an unfinished urb in sohci_submit_job(). Why isn't it finished? Please do not blame me for the board dependent code still in the usb_ohci.c file. I will move it later. The modified code is not tested on any other board (e.g. with on-chip OHCI controllers). I might break other boards. Matthias On Friday 05 January 2007 06:43, mahendra varman wrote: > Hi, > > Have u successfully enumerated the usb devices thru ISP1561 ? > Iam facing problem even in enumeration .... -- ----------------------------------------------------------------------- Dipl.-Ing. Matthias Fuchs esd electronic system design gmbh http://www.esd-electronics.com Vahrenwalder Str. 207 phone: +49-511-37298-0, fax: -68 30165 Hannover, Germany ----------------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: u-boot_testing-USB_ISP1561-on-APC405-20070110.patch Type: text/x-diff Size: 11589 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20070110/587bcb49/attachment.patch