Winy,

 

Can you please send me your .config file from the kernel you compiled?

 

Sincerely,

Chase Maupin

Software Applications

Catalog DSP Products

e-mail: [EMAIL PROTECTED]

phone: (281) 274-3285

________________________________

From: winy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 13, 2007 7:59 AM
To: Maupin, Chase; 'davinci-linux-open-source'
Subject: RE: Unable to detect USB(pen drive) while booting with u-boot
1.2.0

 

Pls find the answers inline.

 

Regards,

Winy Verma

Embedded Engineer - Embedded Division

eInfochips Limited

Ext no. 215

________________________________

From: Maupin, Chase [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 13, 2007 7:16 PM
To: winy
Subject: RE: Unable to detect USB(pen drive) while booting with u-boot
1.2.0

 

Winy,

 

Can you please clarify/check the following:

 

1.      What EVM board are you using or is this a custom board?

              I am using customized board "Davinci Prototype Board" -
DVPB, which is derivative of DVEVM board.

              

2.      What kernel are you using?  Which LSP did you install to obtain
the kernel?

              I am using LSP 1.20 to obtain the kernel.

 

3.      Do you have "SCSI disk support" enabled under the "SCSI device
support" section?

              Yes. I did it during configuration of the kernel.

 

4.      If you unplug the pen drive after boot and re-insert it is the
USB pen drive detected?

              No pen drive is not detected, even after re-inserting USB
pen drive after boot up.

 

5.      From you output it appears that you are using a USB hub, does
that hub require a separate power supply?

              I am using only USB pen drive.

 

6.      Lastly, if you do not use the HUB and instead plug the pen drive
in directly is it recognized?

              I am using pen-drive by directly inserting in the board,
no HUB is used for this purpose.

 

Thanx a lot, for your prompt reply

 

Sincerely,

Chase Maupin

Software Applications

Catalog DSP Products

e-mail: [EMAIL PROTECTED]

phone: (281) 274-3285

________________________________

From: winy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 13, 2007 12:16 AM
To: Maupin, Chase; 'davinci-linux-open-source'
Subject: RE: Unable to detect USB(pen drive) while booting with u-boot
1.2.0

 

Hello Maupin,

 

              Thanks for the reply. The log of the output of lsmod when
board has booted up is attached. It shows that no module is loaded at
that instance. But with this configuration, I am able to detect sd card,
hard disk etc.

 

              I previously worked with u-boot 1.1.3, in that case with
the same kernel and ubl code , I was able to detect usb, sd card & other
peripherals, on board boot up.

By comparing the logs of kernel booting when u-boot 1.1.3 was flashed
and in another case when u-boot 1.20 was flashed, the first line where I
can see difference related to usb is

"usb 2-1: new high speed USB device using musb_hdrc and address 2

scsi0 : SCSI emulation for USB Mass Storage devices"

 

Hence, I can derive that while board boots up, usb is not able to draw
power from it.

 

Please have a look at the provided log and provide me with your inputs.

 

Regards,

Winy Verma

Embedded Engineer - Embedded Division

eInfochips Limited

Ext no. 215

________________________________

From: Maupin, Chase [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 7:14 PM
To: winy; davinci-linux-open-source
Subject: RE: Unable to detect USB(pen drive) while booting with u-boot
1.2.0

 

Winy,

 

Are the USB modules loaded on your system. i.e. usb_storage.  Can you
please provide the output of lsmod on the board when it has booted up?

 

Sincerely,

Chase Maupin

Software Applications

Catalog DSP Products

e-mail: [EMAIL PROTECTED]

phone: (281) 274-3285

________________________________

From:
[EMAIL PROTECTED]
om
[mailto:[EMAIL PROTECTED]
ncidsp.com] On Behalf Of winy
Sent: Wednesday, December 12, 2007 6:45 AM
To: 'davinci-linux-open-source'
Subject: Re: Unable to detect USB(pen drive) while booting with u-boot
1.2.0

 

 

Hello all,

              

              I am unable to detect USB mass storage device ( pen drive)
which is inserted in the davinci board, when board boots up. This board
is flashed with u-boot 1.2.0

In the u-boot1.2.0 source code, in .doc/ README.usb document, it is
mentioned that 

 

 "The USB (at least the USB UHCI) needs a frame list (4k), transfer
descriptor and queue headers which are all located in the main memory.
The UHCI allocates every millisecond the PCI bus and reads the current
frame pointer. This may cause to crash the OS during boot. So the
USB_MUST_ be stopped during OS boot. This is the reason, why the USB is
NOT automatically started during start-up. If someone needs the USB he
has to start it and should therefore be aware that he had to stop it
before booting the OS."

 

Also, the configuration parameters to be used are,

CONFIG_CMD_USB      enables basic USB support and the usb command

CONFIG_USB_UHCI     defines the low level part .A low level part must be
defined  if using CONFIG_CMD_USB

CONFIG_USB_KEYBOARD enables the USB Keyboard

CONFIG_USB_STORAGE   enables the USB storage devices

                                                      

I have tried enabling above parameters, but the code was still unable to
detect the usb storage device.

 

It would be really very helpful, if someone could give me hint to the
solution, as to which files and parameters should I manipulate.

 

Thanx in advance for the help !!

              

 

Regards,

Winy Verma

 

-- 
eInfochips Business Disclaimer:
 
This message may contain confidential, proprietary or legally Privileged
information. In case you are not the original intended Recipient of the
message, you must not, directly or indirectly, use, Disclose,distribute,
print, or copy any part of this message and you are requested to delete
it and inform the sender. Any views expressed in this message are those
of the individual sender unless otherwise stated.Nothing contained in
this message shall be construed as an offer or acceptance of any offer
by eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent
with that express intent and with due authority of eInfochips.EInfochips
has taken enough precautions to prevent the spread of viruses. However
the company accepts no liability for any damage caused by any virus
transmitted by this email.

 

 

-- 
eInfochips Business Disclaimer:
 
This message may contain confidential, proprietary or legally Privileged
information. In case you are not the original intended Recipient of the
message, you must not, directly or indirectly, use, Disclose,distribute,
print, or copy any part of this message and you are requested to delete
it and inform the sender. Any views expressed in this message are those
of the individual sender unless otherwise stated.Nothing contained in
this message shall be construed as an offer or acceptance of any offer
by eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent
with that express intent and with due authority of eInfochips.EInfochips
has taken enough precautions to prevent the spread of viruses. However
the company accepts no liability for any damage caused by any virus
transmitted by this email.

 


- This message has been scanned for viruses, spam and dangerous content
and is believed to be clean.


- This message has been scanned for viruses, spam and dangerous content
and is believed to be clean.


- This message has been scanned for viruses, spam and dangerous content
and is believed to be clean.

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to