Re: [U-Boot] [PATCH] FAT on non standard sector size devices

2008-11-17 Thread Remy Bohmer
Hello Igor, 2008/11/17 Igor Luri [EMAIL PROTECTED]: OK, thanks for your help. I have followed the hints found on the document suggested and I think this time is going to work the patch, I have sended myself and it works. For the next time, if you stuck on using Evolution (for example due to

Re: [U-Boot] USB custodianship

2008-11-18 Thread Remy Bohmer
Hello Wolfgang, What does the community think? The most important questions is of course: what does Remy think? Remy, is this OK with you? Yes, of course :-) For me this custiodianship is new and looks interesting, and I have enough time to do this. I also have some more (USB) ideas here

Re: [U-Boot] PPC440EP USB1.1 Host Error

2008-11-18 Thread Remy Bohmer
Hello Steven, I have a ploblem in using usb 1.1 host , in my board(has not CPLD) I wanna using USB1.1 Host , and not using USB2.2 But usb1.1 Host is not working , when usb device is connected Kernel prints -62 err messages How can I Slove it? Sorry for the late reply. Looking at the

Re: [U-Boot] [RFC PATCH 0/1] Add ehci core

2008-11-25 Thread Remy Bohmer
Hello All, 2008/11/25 Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]: +COBJS-$(CONFIG_USB_EHCI) += usb_ehci_core.o +COBJS-$(CONFIG_USB_EHCI_FSL) += usb_ehci_fsl.o I've send a patch to move condition compile to Makefile please base your after this one That is correct. I have put that

Re: [U-Boot] [RFC PATCH] USB style patch

2008-11-26 Thread Remy Bohmer
Hello Michael, Nice work, but I have a few small comments: + case USB_PROT_HID_MOUSE: + printf(Mouse); + break; + default: + printf(reserved);

Re: [U-Boot] weak functions not being over-ridden (location dependent)

2008-11-26 Thread Remy Bohmer
Hello Graeme, I have a very strange problem - I am trying to define a weak function, but whether or not the function is overridden depends on where I put the overriding function. Case in point: You are not the only one, I have seen this also with the LED interface in U-boot. My workaround was

Re: [U-Boot] [PATCH] usbtty/omap: update to current API

2008-11-26 Thread Remy Bohmer
Hello Jean-Christophe, In message [EMAIL PROTECTED] you wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] diff --git a/drivers/serial/usbtty.c b/drivers/serial/usbtty.c What are we going to do with this patch? Kind Regards, Remy

Re: [U-Boot] Getting a message no rule to make target .

2008-11-27 Thread Remy Bohmer
Hello Diptopal, $ make at91rm9200_net_config I get the message make: *** No rule to make target `at91rm9200_net_config'. Stop. Is this an error I might get even if I was using the right environment too . Uuh, it looks like this configuration really does not exist... There is no board name

[U-Boot] [patch 0/2] Cleanup non-ascii characters and cleanup patch FAT on non standard sector size devices

2008-11-27 Thread Remy Bohmer
This patch series contains a cleanup of the use of non-ascii characters in FAT-fs files, and also a cleanup of a patch originally posted by Igor Luri. However, the patch posted by Igor on the mailinglist was still not readable (base64 inlined patch) and thus not mergable or testable. So, I

[U-Boot] [patch 1/2] Remove non-ascii characters from fat code

2008-11-27 Thread Remy Bohmer
and replace them by normal C-style equivalents for which the proper defines were already in the header. Signed-off-by: Remy Bohmer [EMAIL PROTECTED] --- fs/fat/fat.c |4 ++-- include/fat.h |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) Index: u-boot-usb.new/include/fat.h

[U-Boot] [patch 2/2] Cleanup patch Fat on non standard sector size devices

2008-11-27 Thread Remy Bohmer
with a segmentation fault. Attached patches adds FAT support on devices with sector size up to 8192 bytes. Signed-off-by: Igor Luri [EMAIL PROTECTED] Signed-off-by: Remy Bohmer [EMAIL PROTECTED] --- fs/fat/fat.c | 89 -- include/fat.h | 18

Re: [U-Boot] gd_t/bd_t on ARM

2008-11-28 Thread Remy Bohmer
Hello Daniel, I'm hunting weird behaviours with the gd_t global data pointer on my PXA300 board board. The pointer gets set up fine in lib_arm/boot.c and gd-bd is filled in my board specific code. However, after the tftp download is finished, the content of these structures have been

[U-Boot] Pull Request: u-boot-usb.git

2008-12-04 Thread Remy Bohmer
): drivers/usb: Move conditional compilation to Makefile Michael Trimarchi (2): USB style patch, 80 chars strict Remove obsolete command (apply afte USB style patch, 80 chars strict) Remy Bohmer (1): Remove non-ascii characters from fat code common/cmd_usb.c

[U-Boot] [patch] Improve progres bar for booting from USB stick.

2008-12-04 Thread Remy Bohmer
The progress bar that is displayed during booting from USB stick runs out out the screen This change limits the 'dots' to 60 characters at most on a line. Signed-off-by: Remy Bohmer [EMAIL PROTECTED] --- common/usb_storage.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) Index

Re: [U-Boot] [patch] make hello world example work for at91sam9261ek and make readme clearer about this

2008-12-05 Thread Remy Bohmer
Hello Jean-Christophe, @@ -33,9 +33,13 @@ ifeq ($(ARCH),arm) ifeq ($(BOARD),omap2420h4) LOAD_ADDR = 0x8030 else +ifeq ($(BOARD),at91sam9261ek) +LOAD_ADDR = 0x2140 +else LOAD_ADDR = 0xc10 endif endif +endif Honestly I'll prefer to remove all arch and board ifdef and

Re: [U-Boot] [PATCH V2] usbtty/omap: update to current API

2008-12-07 Thread Remy Bohmer
Hello, 2008/12/7 Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- the doc about the CONFIG_USBD is already in the README Best Regards, J. Applied to U-boot-usb tree ('next' branch) Thanks, Remy

Re: [U-Boot] [patch 2/2] Cleanup patch Fat on non standard sector sizedevices

2008-12-07 Thread Remy Bohmer
. Please let me know... Kind Regards, Remy Thanks a lot for your help. El jue, 27-11-2008 a las 22:30 +0100, Remy Bohmer escribió: documento de texto sencillo adjunto (fat-on-non-standard-sector-size-devices.patch) The patch below is a patch originally posted by Igor Luri. However

Re: [U-Boot] [PATCH V2] usbtty/omap: update to current API

2008-12-07 Thread Remy Bohmer
Hello, Applied to U-boot-usb tree ('next' branch) It's a fix not a new features Understood... I moved it to the master branch... remy Best Regards, J. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [Bug Report] USB: descriptor handling

2008-12-08 Thread Remy Bohmer
Hello Stefan, I found a bug when working with the u-boot USB subsystem on IXP425 processor (big endian Xscale aka ARMv5). I recognized that the second usb_endpoint_descriptor of the attached memory stick was corrupted. Nice catch! -- /* Endpoint descriptor */ struct

Re: [U-Boot] [PATCH 1/1] Make FAT code comply to coding rules.

2008-12-09 Thread Remy Bohmer
Hello Wolfgang, ...but your new code has new issues, too. Nothing is perfect... Making this code perfect would require a complete rewrite... ;-) The (original) code is buggy too, because I have discovered a strange bug which is causing me quite some headaches last week... ;-) (I have a usb

[U-Boot] Commit at91: Choose environment variables location within make config target

2008-12-10 Thread Remy Bohmer
Hello Nicholas, The commit mentioned in the subject cause these error messages here during make at91sam9261ek_config: These are my steps: $ export BUILD_DIR=/tmp/build $ rm -rf /tmp/build $ make at91sam9261ek_config /bin/bash: line 7: /tmp/build/include/config.h: No such file or directory ...

Re: [U-Boot] [RFC USB PATCH V2] USB ehci fix (truncate problem)

2008-12-10 Thread Remy Bohmer
Hello Michael, 2008/12/10 Michael Trimarchi [EMAIL PROTECTED]: From 1662c619f3b082f60ed8367ec245f36cb33a7ea7 Mon Sep 17 00:00:00 2001 From: michael [EMAIL PROTECTED] Date: Wed, 10 Dec 2008 17:55:19 +0100 Subject: [PATCH] Fix EHCI usb. I start to test on a IXP465 board and I find some errors

Re: [U-Boot] [RFC USB PATCH] USB ehci I/O function fix

2008-12-11 Thread Remy Bohmer
Hello Michael, 2008/12/11 Michael Trimarchi trimar...@gandalf.sssup.it: From e2f57c5cee96b506d9580cf93d4bd2a0de1c3e3d Mon Sep 17 00:00:00 2001 From: michael mich...@panicking.retis Date: Thu, 11 Dec 2008 13:43:55 +0100 Subject: [PATCH] This patch add varius fix to the ehci. - fix

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-13 Thread Remy Bohmer
Hello Graeme, 2008/12/13 Graeme Russ graeme.r...@gmail.com: This patch makes all definitions, declarations and usages of weak functions consistent. Signed-off-by: Graeme Russ graeme.r...@gmail.com Just curious: What is the relation of this patch to the problem discussed earlier:

Re: [U-Boot] [PATCH] usb_kbd: fix usb_kbd_deregister when DEVICE_DEREGISTER not enable

2008-12-15 Thread Remy Bohmer
Hello, 2008/12/14 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On 21:58 Tue 02 Dec , Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- common/usb_kbd.c |4 include/devices.h |2 ++ 2 files changed,

[U-Boot] Pull request: u-boot-usb

2008-12-16 Thread Remy Bohmer
The following changes since commit 7f202217356f19e519e6ec57a29de9af73067037: Wolfgang Denk (1): Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master are available in the git repository at: git://git.denx.de/u-boot-usb.git master Jean-Christophe PLAGNIOL-VILLARD (1):

Re: [U-Boot] [USB EHCI PATCH 0/2] USB ehci pci initial support

2008-12-17 Thread Remy Bohmer
Hello Michael, 2008/12/17 Michael Trimarchi trimar...@gandalf.sssup.it: Add USB ehci pci support. This patch doesn't include any pci_ids and it is not tested on real hardware. To use it add (for example) the following in the board configuration file: #define CONFIG_CMD_USB 1 #define

Re: [U-Boot] [PATCH 1/6] usb : musb : Add high speed field in usb_device structure

2008-12-18 Thread Remy Bohmer
Hello Michael, For mentor usb controller, it would still be necessary to record the speed of the device when it is found connected to a hub port. So the update of usb-speed would have to be done as below in 'usb_hub_port_connect_change' function. Would this be acceptable? /* Allocate a

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-24 Thread Remy Bohmer
Hello All, All instances have been replaced by empty functions with an alias. e.g. void __do_something (args) {} do_something(args) __atttribute__((weak, alias(__do_something))); Good to know. This doc also helps: http://docs.sun.com/app/docs/doc/817-1984/chapter2-11?l=ena=view

Re: [U-Boot] run_command() / do_run() fails in standalone application

2008-12-27 Thread Remy Bohmer
Hello Wolfgang, In message 3efb10970812260240q4b3c7178nab2e9788a5b7c...@mail.gmail.com you wrote: when i tftp that application to 0x4 to Power PC evaluation board then Is there really RAM located at this address on your board? Address 0x4 is usually only an example address... It

Re: [U-Boot] [USB EHCI V2 PATCH 0/2] Add initial support for USB ehci pci

2008-12-31 Thread Remy Bohmer
Hello Michael, Is this path 1/3, or 0/2 (file number 0 usually only contains some comments on the series to follow, and is thus not part of the patch series itself...) Kind Regards, Remy 2008/12/31 Michael Trimarchi trimar...@gandalf.sssup.it: Add USB ehci pci support. This patch doesn't

Re: [U-Boot] [PATCH] usb.h: use standard __LITTLE_ENDIAN from Linux headers

2009-01-01 Thread Remy Bohmer
Hello Mike, 2009/1/1 Mike Frysinger vap...@gentoo.org: Rather than forcing people to define a custom LITTLEENDIAN, just use the __LITTLE_ENDIAN one from the Linux byteorder headers that every arch is already setting up. common/usb_storage.c |2 -- include/usb.h|4 ++-- 2

Re: [U-Boot] [PATCH v2] usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive

2009-01-01 Thread Remy Bohmer
Hello Mike, + /* SanDisk Corporation U3 Cruzer Micro 1/4GB +* Flash Drive 16244373FFB4 +*/ To end an endless discussion: If you make it like this, everybody should be happy... /* * SanDisk Corporation U3 Cruzer Micro 1/4GB * Flash Drive 16244373FFB4 */

Re: [U-Boot] [PATCH] fat: fix unaligned errors

2009-01-02 Thread Remy Bohmer
Hello Mike, 2009/1/2 Mike Frysinger vap...@gentoo.org: From: Bryan Wu bryan...@analog.com A couple of buffers in the fat code are declared as an array of bytes. But it is then cast up to a structure with 16bit and 32bit members. Since GCC assumes structure alignment here, we have to force

Re: [U-Boot] [PATCH] USB storage cleanup patch

2009-01-02 Thread Remy Bohmer
Hello Michael, 2008/12/10 Michael Trimarchi trimar...@gandalf.sssup.it: Cleanup usb storage Signed-off-by: Michael Trimarchi trimarchimich...@yahoo.it oops... I overlooked this one... Applied to U-boot-usb tree. Thanks! Remy --- diff --git a/common/usb_storage.c b/common/usb_storage.c

Re: [U-Boot] [PATCH] usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive

2009-01-02 Thread Remy Bohmer
Hello Michael, instead of add more and more if else case why not add a fixup function? feel free to ask/take it up with the usb maintainer. we work with what's there rather than being creative. -mike I sent a clean-up patch for the usb_storage few weeks ago ([U-Boot] [PATCH] USB storage

[U-Boot] [RFC] Build errors in u-boot mainline and daily builds

2009-01-03 Thread Remy Bohmer
Hello All, I started a server to do only daily builds of all U-boot board configurations. (currently on a old slow box, but it works, it takes about 2 hours to build all boards for ARM only) The primary goal was to find early compile regressions in the u-boot-USB tree that I maintain, before

Re: [U-Boot] [USB EHCI V2 PATCH 0/2] Add initial support for USB ehci pci

2009-01-04 Thread Remy Bohmer
Hello Michael, 2008/12/31 Michael Trimarchi trimar...@gandalf.sssup.it: Add USB ehci pci support. This patch doesn't include any pci_ids and it is not tested on real hardware. Signed-off-by: Michael Trimarchi trimarchimich...@yahoo.it I applied this series to the u-boot-usb 'testing' branch.

Re: [U-Boot] [USB PATCH] USB change speed

2009-01-04 Thread Remy Bohmer
Hello Michael, 2008/12/18 Michael Trimarchi trimar...@gandalf.sssup.it: USB changes the speed according to the port status Signed-off-by: Michael Trimarchi trimarchimich...@yahoo.it I applied this series to the u-boot-usb 'testing' branch. When it compiles properly and no regressions are

Re: [U-Boot] [PATCH v2] usb.h: use standard __LITTLE_ENDIAN from Linux headers

2009-01-04 Thread Remy Bohmer
Hello Mike, 2009/1/2 Mike Frysinger vap...@gentoo.org: Rather than forcing people to define a custom LITTLEENDIAN, just use the __LITTLE_ENDIAN one from the Linux byteorder headers that every arch is already setting up. Signed-off-by: Mike Frysinger vap...@gentoo.org --- v1 -

Re: [U-Boot] [PATCH] usb : usb_kbd : Populating 'priv' member of USB keyboard device_t structure

2009-01-04 Thread Remy Bohmer
Hello Thomas, 2009/1/4 Thomas Abraham t-abra...@ti.com: This patch populates the 'priv' field of the USB keyboard device_t structure. The 'priv' field is populated with the address of the 'struct usb_device' structure that represents the USB device. The 'priv' field can then be used in the

Re: [U-Boot] [PATCH v3 0/5] usb : musb : Add MUSB contorller driver and enable Davinci MSC support

2009-01-04 Thread Remy Bohmer
Hello Thomas, 2009/1/4 Thomas Abraham t-abra...@ti.com: This patch series adds Mentor Graphics USB OTG host controller driver support and MSC support for DM6446 (TI DaVinci) platform. - [PATCH v3 1/5] usb : musb : Adding host controller driver for Mentor USB controller. - [PATCH v3 2/5]

Re: [U-Boot] [PATCH 2/4] usb : OMAP3 : Enable Mentor USB OTG module interface clock

2009-01-04 Thread Remy Bohmer
Hello Thomas, 2009/1/4 Thomas Abraham t-abra...@ti.com: This patch enables Mentor USB OTG module interface clock. Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com Signed-off-by: Thomas Abraham t-abra...@ti.com Signed-off-by: Ajay Kumar Gupta

Re: [U-Boot] [PATCH 4/4] usb : OMAP3 : Enabling USB MSC and Keyboard support for TI OMAP3530 EVM platform

2009-01-04 Thread Remy Bohmer
Hello Thomas, 2009/1/4 Thomas Abraham t-abra...@ti.com: This patch enables USB MSC and USB Keyboard support for TI OMAP3530 EVM platform. Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com Signed-off-by: Thomas Abraham t-abra...@ti.com Signed-off-by:

Re: [U-Boot] [PATCH] usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive

2009-01-04 Thread Remy Bohmer
Hello Mike, 2009/1/2 Mike Frysinger vap...@gentoo.org: From: Bryan Wu bryan...@analog.com The SanDisk Corporation U3 Cruzer Micro 1/4GB Flash Drive 16244373FFB4 does not like to be reset, so check for it. Signed-off-by: Bryan Wu bryan...@analog.com Signed-off-by: Mike Frysinger

Re: [U-Boot] [PATCH 2/4] usb : OMAP3 : Enable Mentor USB OTG module interface clock

2009-01-05 Thread Remy Bohmer
Hello Thomas, cpu/arm_cortexa8/omap3/clock.c |3 +++ This file does not exist in my u-boot-usb tree yet, so there is a dependency missing here in your list of patch dependencies. I missed to list the dependency of the OMAP3 USB patches on the v6 OMAP3 patches. The OMAP3 USB patches

Re: [U-Boot] [PATCH] make make quiet

2009-01-05 Thread Remy Bohmer
Hello All, My 2 cents: (I am NOT trying to start a flame war, although I understand how sensitive this subject is) I think your appraoch (and that of kbuild, too) is fundamentally broken. Maybe the configure structure, like u-boot has, that is so complex, so hard to customise, so error

Re: [U-Boot] Fw: TFTP fails when using network switch

2009-01-05 Thread Remy Bohmer
Hello Alex, 2009/1/6 Loren A. Linden Levy alex.lindenl...@colorado.edu: Hi Everyone, I am having an interesting problem with am m5282Lite Dev Kit. I had done all of the previous development work by connection the card directly to a spare ethernet card in my PC via a cross-over cable. This

Re: [U-Boot] usb console in u-boot

2009-01-14 Thread Remy Bohmer
Hello, Did anybdy is having idea abt usb console in u-boot i.e development of usb serial emulation(CDC_ACM).I am using smdk2440 development board. There is a driver 'drivers/serial/usbtty.c' in the u-boot tree, in case you mean something like that. And in case someone wants to port the linux

[U-Boot] [RFC] CDC Ethernet support + USB Gadget in U-boot

2009-01-14 Thread Remy Bohmer
Hello All, We (Thomas Smits and I) have been working on CDC Ethernet support in U-boot. We ported the Linux Gadget and CDC Ethernet driver to U-boot and added support for the Atmel AT91SAM9261-EK kit. Support for other cores can be added easily. Although it is still work in progress, it is

Re: [U-Boot] Problems with USB mass storage on at91sam9263

2009-01-14 Thread Remy Bohmer
Hello, 2009/1/14 Paal Bakken pabak...@online.no: I have problems with usb mass storage in u-boot. We have our own at91sam9263 board, but I experience exactly the same problems on the standard at91sam9263ek. And the usb-port AND memory stick works fine in linux. I have tried both FAT and

Re: [U-Boot] Problems with USB mass storage on at91sam9263

2009-01-15 Thread Remy Bohmer
Hello, So - I'm willing to rest my case :-) BUT there is something strange, since the bad stick works fine in Linux and Windows... -Any ideas about possible reasons for the difference? There has been many improvements to the USB stack lately that at least it works nowadays on these cores.

Re: [U-Boot] [PATCH] USB-CDC: Fix coding style issues

2010-09-11 Thread Remy Bohmer
Hi, 2010/9/10 vkuzmic...@mvista.com: From: Vitaly Kuzmichev vkuzmic...@mvista.com Fixed most of checkpatch warnings and errors in USB gadget stack. Signed-off-by: Vitaly Kuzmichev vkuzmic...@mvista.com ---  drivers/usb/gadget/config.c       |    2 +-  drivers/usb/gadget/epautoconf.c   |  

[U-Boot] Pull request: u-boot-usb

2010-09-11 Thread Remy Bohmer
The following changes since commit 2d941de9d5c7ba00dc19787dfa0aac2949fd00fb: Wolfgang Denk (1): Prepare v2010.09-rc1 are available in the git repository at: git://git.denx.de/u-boot-usb.git master Bryan Wu (2): usb: musb: setup TXCOUNT for Blackfin musb usb: musb: set

Re: [U-Boot] [PATCH] ehci-pci: print hccr, hcor and hc_lenght

2010-09-12 Thread Remy Bohmer
Hi Florian, 2010/4/23 Florian Fainelli f.faine...@gmail.com: It is useful to know the EHCI-PCI hccr, hcor and hc_lenght to make sure it was successfully registered, and at the correct location. Signed-off-by: Florian Fainelli f.faine...@gmail.com --- diff --git a/drivers/usb/host/ehci-pci.c

Re: [U-Boot] [PATCH] USB-CDC: Fix coding style issues

2010-09-12 Thread Remy Bohmer
Hi Wolfgang, 2010/9/11 Wolfgang Denk w...@denx.de: Dear Remy Bohmer, In message aanlkti=ptzmysnemx7zsrzowra7zhpaewbj92-2ae...@mail.gmail.com you wrote: Apart from that this patch looks good. Please fix globally. Hm... should we not rather try to keep (or bring) this file in sync

Re: [U-Boot] u-boot USB status

2010-09-20 Thread Remy Bohmer
Hi Marcel, 2010/9/17 Marcel korg...@home.nl: Hi Damien, Thanks for the info. I will check it out. I'm also not sure if the SAM9 USB device support is available. I actually did some work a while ago to make USB work for the SAM9 but had to leave it in non-working condition at the time. If

Re: [U-Boot] [PATCH v3] USB-CDC: Fix coding style issues

2010-09-20 Thread Remy Bohmer
Hi, 2010/9/13 Vitaly Kuzmichev vkuzmic...@mvista.com: Hello Remy, vkuzmic...@mvista.com wrote: [...] -     /* use PKTSIZE (or aligned... from u-boot) and set +     /* +      * use PKTSIZE (or aligned... from u-boot) and set        * wMaxSegmentSize accordingly*/ Could you please fix the

Re: [U-Boot] [PATCH] usb: musb: stub out MUSB_TXCSR_MODE for Blackfin parts

2010-09-20 Thread Remy Bohmer
Hi, 2010/8/11 Mike Frysinger vap...@gentoo.org: The MUSB_TXCSR_MODE register setting isn't supported on Blackfin musb parts, so stub it out to 0.  This matches Linux behavior. Signed-off-by: Mike Frysinger vap...@gentoo.org ---  drivers/usb/musb/musb_core.h |    2 ++  1 files changed, 2

[U-Boot] Pull request: u-boot-usb

2010-09-20 Thread Remy Bohmer
parts Remy Bohmer (1): Integrate USB gadget layer and USB CDC driver layer Stefano Babic (2): USB-CDC: correct wrong alignment in ether.c USB-CDC: called handle_interrupts inside usb_eth_send Vitaly Kuzmichev (9): USB-CDC: Restuct USB gadget Makefile USB-CDC: Add

Re: [U-Boot] u-boot USB status

2010-09-24 Thread Remy Bohmer
Hi Marcel, Please don' t top-post... 2010/9/23 Marcel korg...@home.nl: Hi Remy, At this moment I only need the device support because the host connection is not always available on my designs. Host support is however also very interesting and I certainly will have a need for that as well at

Re: [U-Boot] Sam9g45 USB CDC

2010-10-09 Thread Remy Bohmer
Hi, 2010/10/5 Marcel korg...@home.nl: Hi, It looks like I've got most thing implemented regarding USB CDC for the Sam9g45. I do however have some basic questions. One of the things is that I don't see any descriptors in Windows. I installed some inf file found on the net for Ethernet RNDIS

Re: [U-Boot] [PATCH 1/2] USB: Make non-bulk delay longer in OHCI

2010-10-09 Thread Remy Bohmer
Hi, 2010/9/20 Marek Vasut marek.va...@gmail.com: This fixes TIMEOUT with my Kingston 32GB USB3.0 flashdrive, which I experienced on my PXA270 (USB 1.1) Vpac270 board. Signed-off-by: Marek Vasut marek.va...@gmail.com ---  drivers/usb/host/ohci-hcd.c |    2 +-  1 files changed, 1

Re: [U-Boot] [PATCH 1/2] USB-CDC: Fix tx/rx_req memory leaks

2010-10-09 Thread Remy Bohmer
Hi, 2010/9/22 vkuzmic...@mvista.com: From: Vitaly Kuzmichev vkuzmic...@mvista.com Remove and fix needless and destructive operations with tx/rx_req. 1) 'req' in rx_complete is always not NULL and always equals to rx_req 2) Free allocated tx_req if rx_req allocation has failed 3) Do not

Re: [U-Boot] [PATCH 2/2] USB-CDC: Prevent rx_req being enqueued twice

2010-10-09 Thread Remy Bohmer
Hi, 2010/9/22 vkuzmic...@mvista.com: From: Vitaly Kuzmichev vkuzmic...@mvista.com After gadget reinitializaton (after tftp has been done once) packet_received may become equal to 1 due to nuking OUT_EP while disabling it in eth_reset_config. rx_submit called from usb_eth_init queues

Re: [U-Boot] [PATCH] usb: fix usb start problem with SMSC USB hub and Toshiba USB stick

2010-10-13 Thread Remy Bohmer
Hi, 2010/10/12 Wolfgang Denk w...@denx.de: Dear Remy, In message 1283280314-10700-1-git-send-email-ag...@denx.de Anatolij Gustschin wrote: Checking the status field of the qTD token in the current code do not take into acount cases where endpoint stall (halted) bit is set together with

Re: [U-Boot] [PATCH 3/3] MX31: Add USB Host support to the QONG board

2010-10-13 Thread Remy Bohmer
Hi, 2010/10/11 Wolfgang Denk w...@denx.de: Dear Remy, In message 1286443640-29526-3-git-send-email-sba...@denx.de you wrote: Signed-off-by: Stefano Babic sba...@denx.de ---  board/davedenx/qong/qong.c |   33 +  include/configs/qong.h     |   18

Re: [U-Boot] [PATCH] usb: musb: only write CLRDATATOG when appropriate

2010-10-13 Thread Remy Bohmer
Hi, 2010/10/11 Mike Frysinger vap...@gentoo.org: On Friday, August 13, 2010 06:25:05 Sergei Shtylyov wrote: Remy Bohmer wrote: Sergei, do you agree that I apply this patch?     Well, if it's based on the Linux code... although it still does look wrong... I don't know. :-) do you have

[U-Boot] Pull request: u-boot-usb

2010-10-13 Thread Remy Bohmer
The following changes since commit 076f1be8e1c1a1ea4760fc4ac7cac68bc28fc80d: TSI148: Fix argument parsing (2010-10-12 23:31:10 +0200) are available in the git repository at: git://git.denx.de/u-boot-usb.git master Bryan Wu (1): usb: musb: only write CLRDATATOG when appropriate

Re: [U-Boot] [PATCH v2, PING] usb: Add support for multiple-LUN mass storage devices

2010-10-13 Thread Remy Bohmer
Hi, 2010/10/13 Ludovic Courtès l...@gnu.org: This patch changes `usb_stor_scan' to scan all the LUNs of each mass storage device.  It also fixes the various commands to correctly set the LUN field. Notably, it allows each LUN of GuruPlug's microSD card reader to be accessed.

Re: [U-Boot] [PATCH] MPC5121: Add USB EHCI support

2010-10-16 Thread Remy Bohmer
, and I pull through the MPC5xxx repos? Acked-by: Remy Bohmer li...@bohmer.net Go ahead! Thanks, Remy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] ehci-pci: print hccr, hcor and hc_lenght

2010-10-16 Thread Remy Bohmer
Hi, 2010/10/15 Florian Fainelli f.faine...@gmail.com: It is useful to know the EHCI-PCI hccr, hcor and hc_lenght to make sure it was successfully registered, and at the correct location. Signed-off-by: Florian Fainelli f.faine...@gmail.com --- Changes since v1: - replaced printf by debug

Re: [U-Boot] [PATCH] USB: sync Queue Element Transfer Descriptor against EHCI spec

2010-10-20 Thread Remy Bohmer
-boot/76942 Signed-off-by: Wolfgang Denk w...@denx.de Cc: Remy Bohmer li...@bohmer.net Cc: Dan Lykowski lyko...@gmail.com Cc: Stefano Babic sba...@denx.de Tested-by: Stefano Babic sba...@denx.de Applied directly. Remy, I hope this is OK with you. You seem to be in a hurry... Patch is OK

[U-Boot] Pull request: u-boot-usb

2010-10-21 Thread Remy Bohmer
The following changes since commit c62491d2602b353a815a909e27eec0df9f2c06a2: ppc: Don't initialize write protected NOR flashes (2010-10-20 21:58:16 +0200) are available in the git repository at: git://git.denx.de/u-boot-usb.git master Florian Fainelli (1): ehci-pci: print hccr, hcor

Re: [U-Boot] [PATCH] usb_storage: constify us_direction lookup table

2010-10-21 Thread Remy Bohmer
Hi, 2010/10/20 Mike Frysinger vap...@gentoo.org: Signed-off-by: Mike Frysinger vap...@gentoo.org ---  common/usb_storage.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) Applied to u-boot-usb Thanks. Remy ___ U-Boot mailing list

Re: [U-Boot] [PATCH] USB: fix Queue Element Transfer Descriptor changes

2010-10-21 Thread Remy Bohmer
errors in usb start (like ERROR: NOT USB_CONFIG_DESC 7b and similar). Drop the attribute again. Signed-off-by: Wolfgang Denk w...@denx.de Cc: Dan Lykowski lyko...@gmail.com Cc: Remy Bohmer li...@bohmer.net Cc: Stefano Babic sba...@denx.de --- Applied to u-boot-usb Thanks. Remy

Re: [U-Boot] [PATCH] ehci-hcd.c: fix hanging under higher load

2010-10-22 Thread Remy Bohmer
...@denx.de Cc: Remy Bohmer li...@bohmer.net Cc: Stefano Babic sba...@denx.de ---  drivers/usb/host/ehci-hcd.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) Not nice, but I do not see how this could harm something. Applied to u-boot-usb. Kind regards, Remy

Re: [U-Boot] [PATCH] usb: fix usb start problem with SMSC USB hub and Toshiba USB stick

2010-10-29 Thread Remy Bohmer
Hi, 2010/10/27 Anatolij Gustschin ag...@denx.de: Hi Remy, On Wed, 1 Sep 2010 10:49:22 +0200 Remy Bohmer li...@bohmer.net wrote: ... 2010/8/31 Anatolij Gustschin ag...@denx.de: Checking the status field of the qTD token in the current code do not take into acount cases where endpoint

Re: [U-Boot] [PATCH 1/2] usb: fix for USB_ST_STALLED status reporting in ehci_submit_async()

2010-11-02 Thread Remy Bohmer
Hi, 2010/11/2 Anatolij Gustschin ag...@denx.de: Checking the status field of the qTD token in the current code do not take into acount cases where endpoint stall (halted) bit is set together with XactErr status bit. As a result clearing stall on an endpoint won't be done if this status bit

Re: [U-Boot] [PATCH 2/2] usb: fix usb start problem with SMSC USB hub and Toshiba USB stick

2010-11-02 Thread Remy Bohmer
Hi, 2010/11/2 Anatolij Gustschin ag...@denx.de: 'usb start' command often fails with Toshiba USB stick 0x930/0x6545 connected to the SMSC USB 2.0 hub 0x424/0x2514. Debugging the issue showed that while bulk IN transfers with length of 13 or 18 the status field of the qTD token sometimes

Re: [U-Boot] [PATCH 2/2] usb: fix usb start problem with SMSC USB hub and Toshiba USB stick

2010-11-02 Thread Remy Bohmer
Hi Wolfgang, 2010/11/2 Wolfgang Denk w...@denx.de: Dear Remy Bohmer, In message aanlktikqeftb=xeav1g6xyvoy3hw3imcpifild0kv...@mail.gmail.com you wrote: +       if (dev-descriptor.idVendor == 0x930 +           dev-descriptor.idProduct == 0x6545 +           dev-parent

Re: [U-Boot] [PATCH 2/2] usb: fix usb start problem with SMSC USB hub and Toshiba USB stick

2010-11-02 Thread Remy Bohmer
Hi, 2010/11/2 Wolfgang Denk w...@denx.de: Dear Remy, In message aanlktimtzosbtobm_og304gbrcpcm1wjet0xqo+mg...@mail.gmail.com you wrote: I have no idea what has been done, and has not been done. I have not been debugging this issue. I have no idea if a USB protocol analyser has shown

Re: [U-Boot] [PATCH] Fix console_buffer size conflict error.

2010-06-25 Thread Remy Bohmer
Wolfgang, Please look at this one for the 2010.06 release. Kind regards, Remy 2010/6/17 Remy Bohmer li...@bohmer.net: The console_buffer size is declared in common/main.c as   -- char console_buffer[CONFIG_SYS_CBSIZE + 1]; so this extern definition is wrong. Signed-off-by: Remy Bohmer li

Re: [U-Boot] [PATCH] EHCI: zero out QH transfer overlay in ehci_submit_async()

2010-06-25 Thread Remy Bohmer
-by: Sergei Shtylyov sshtyl...@mvista.com Acked-by: Remy Bohmer li...@bohmer.net Wolfgang, can you please pull this patch in the v2010.06 release? Kind regards, Remy --- This is quite serious error, so would be good to have the patch in v2010.06...  drivers/usb/host/ehci-hcd.c |    4 +---  1 file

[U-Boot] Pull request: u-boot-usb

2010-06-30 Thread Remy Bohmer
The following changes since commit 39ddd10b046fb791f47281ffb2100be01909ad72: Wolfgang Denk (1): Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master are available in the git repository at: git://git.denx.de/u-boot-usb.git master Ajay Kumar Gupta (4): musb: Use name

Re: [U-Boot] USB CDC branch

2010-07-13 Thread Remy Bohmer
Hi Stefano, 2010/7/13 Stefano Babic sba...@denx.de: Hi Remy, I would like to add support for Ethernet over USB (CDC) for the musb (musb_udc) controller, basing on your cdc branch in u-boot-usb. Great! I have seen there are some conflicts and some duplicated structure between the header

Re: [U-Boot] USB CDC branch

2010-07-13 Thread Remy Bohmer
Hi, 2010/7/13 Vitaly Kuzmichev vkuzmic...@mvista.com: FYI I'm doing some work on this branch too. Great! Actually I have ported it to 2010.03 What do you mean with ported to 2010.03? It was already working on latest git, do you mean you backported it to an older version? (I would not expect

Re: [U-Boot] USB CDC branch

2010-07-14 Thread Remy Bohmer
Hi, The device unplug/plug behaviour was a pain for RNDIS, Do you mean that Windows and u-boot do not recognize cable unplug? Device unplug/plug behaviour on Windows is so slow... What I mean with unplug/plug is removing and adding the pullup resistor that makes the devices visible to the

Re: [U-Boot] [PATCH 4/5] usb_storage.c: change progress output in debug() message

2010-08-01 Thread Remy Bohmer
Hi Wolfgang, Turn the progress output into a debug message. Signed-off-by: Wolfgang Denk w...@denx.de Cc: Remy Bohmer li...@bohmer.net ---  common/usb_storage.c |    6 +++---  1 files changed, 3 insertions(+), 3 deletions(-) Applied. Remy, I hope this is OK with you? Fine with me

Re: [U-Boot] [PATCH 1/5] usb_storage.c: initialize device type

2010-08-01 Thread Remy Bohmer
non-existent devices like this: Signed-off-by: Wolfgang Denk w...@denx.de Cc: Remy Bohmer li...@bohmer.net ---  common/usb_storage.c |    3 ++-  1 files changed, 2 insertions(+), 1 deletions(-) Applied. Remy, I hope this is OK with you? OK with me. Thanks. Remy

Re: [U-Boot] [PATCH 22/28] SPEAr : High speed support for designware peripheral

2010-08-01 Thread Remy Bohmer
/designware_udc.h        |    3 +++  2 files changed, 12 insertions(+), 4 deletions(-) Acked-by: Remy Bohmer li...@bohmer.net ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 12/28] SPEAr : USB Device Controller driver support added

2010-08-01 Thread Remy Bohmer
-common.h                     |    4 +-  include/usb/{spr_udc.h = designware_udc.h}        |    6 +-  5 files changed, 37 insertions(+), 36 deletions(-)  rename drivers/usb/gadget/{spr_udc.c = designware_udc.c} (94%)  rename include/usb/{spr_udc.h = designware_udc.h} (98%) Acked-by: Remy Bohmer li

Re: [U-Boot] [PATCH 17/28] SPEAr : USB device controller bugfixes

2010-08-01 Thread Remy Bohmer
/usb/gadget/designware_udc.c |   59 ++  1 files changed, 38 insertions(+), 21 deletions(-) Acked-by: Remy Bohmer li...@bohmer.net ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/4 v2] musb: am35x: Workaround for fifo read issue

2010-08-01 Thread Remy Bohmer
/usb/musb/musb_core.c |    6 ++  2 files changed, 38 insertions(+), 0 deletions(-) Acked-by: Remy Bohmer li...@bohmer.net ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/4 v2] musb: MSC host support for AM35x

2010-08-01 Thread Remy Bohmer
++  drivers/usb/musb/musb_udc.c |    2 +  include/usb.h               |    2 +-  5 files changed, 216 insertions(+), 1 deletions(-)  create mode 100644 drivers/usb/musb/am35x.c  create mode 100644 drivers/usb/musb/am35x.h Acked-by: Remy Bohmer li...@bohmer.net

Re: [U-Boot] [PATCH 0/4 v2] AM35X: Add musb support

2010-08-02 Thread Remy Bohmer
Hi, 2010/7/9 Ajay Kumar Gupta ajay.gu...@ti.com: Remy, These patches add support for musb in AM35x. Changes from v1:        - Moved SCM definitions to am35x specific file am35x_def.h Patches have been created against uboot-ti/master tree (as on 9th July) but they also apply cleanly to

Re: [U-Boot] [PATCH 2/4 v2] musb: MSC host support for AM35x

2010-08-09 Thread Remy Bohmer
Hi Wolfgang, 2010/8/8 Wolfgang Denk w...@denx.de: Dear Remy Bohmer, In message aanlkti=gcqgny4myvvvuauvksemu67zwsnzkpydm7...@mail.gmail.com you wrote: 2010/7/9 Ajay Kumar Gupta ajay.gu...@ti.com: Tested MSC Host on AM3517EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com

Re: [U-Boot] USB-CDC with musb controller

2010-08-09 Thread Remy Bohmer
Hi Stefano, 2010/8/5 Stefano Babic sba...@denx.de: Hi Remy, I would like to add CDC support to a davinci (DM365 Soc) board using the musb controller. As the actual driver (musb_udc) does have gadget support, I decided (even if I get some advises that it is a harder way) The USB gadget layer

Re: [U-Boot] [PATCH 1/1] Fixed clobbered output of the help usb command

2010-08-09 Thread Remy Bohmer
Hi, 2010/8/9 Sergei Poselenov sposele...@emcraft.com: Hello all, I've noticed that the usb help doesn't format the output correctly: = help usb usb - USB sub-system Usage: usb reset - reset (rescan) USB controller usb stop [f]  - stop USB [f]=force stop usb tree  - show USB device

Re: [U-Boot] USB-CDC with musb controller

2010-08-11 Thread Remy Bohmer
Hi, Of course, if you agree with my analyses, I will send patches to fix them. Great! 1. The status_req buffer is static allocated as u8. However, in eth_status_complete is referenced with a 32 bit pointer:  __le32  *data = req-buf In most case the buffer is not 32-bit aligned and causes

<    1   2   3   4   5   6   >