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]
[mailto:[EMAIL PROTECTED]
sp.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.

 



- 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.

TI UBL Version: 1.12, Flash type: NAND
Booting PSP Boot Loader
PSPBootMode = NAND
Starting NAND Copy...
Initializing NAND flash...
Valid MagicNum found.
NAND Boot success.
   DONE

U-Boot 1.2.0 (Dec 12 2007 - 12:52:31)

DRAM:  128 MB
NAND:  64 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 283MHz
DDR Clock : 189MHz
Hit any key to stop autoboot:  5  0 
DVPB # setenv bootargs mem=82M console=ttyS0,115200n8 root=/dev/nfs nfsroot=192.
168.9.204:/home/users/winy/dvpbsupport/DVPB_workdir/filesys/mnt/nand_jffs2 rw no
initrd  ip=192.168.199.113::192.168.6.1:255.255.0.0::eth0:none video=dm64xxfb:ou
tput=pal
DVPB # setenv serverip 192.168.9.72
DVPB # tftpboot 80800000 uImage
TFTP from server 192.168.9.72; our IP address is 192.168.10.101
Filename 'uImage'.
Load address: 0x80800000
Loading: *#################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################
done
Bytes transferred = 1463816 (165608 hex)
DVPB # bootm
## Booting image at 80800000 ...
   Image Name:   Linux-2.6.10_dvpb_mvl401_0.4-DVP
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1463752 Bytes =  1.4 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
.................................. done, booting the.Linux version 2.6.10_dvpb_m
vl401_0.4-DVPB ([EMAIL PROTECTED]) (gcc version 3.4.3 (MontaVista 3.4.3
-25.0.30.0501131 2005-07-23)) #1 Mon Dec 10 15:17:36 IST 2007
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: mem=82M console=ttyS0,115200n8 root=/dev/nfs nfsroot=192.16
8.9.204:/home/users/winy/dvpbsupport/DVPB_workdir/filesys/mnt/nand_jffs2 rw noin
itrd ip=192.168.199.113::192.168.6.1:255.255.0.0::eth0:none video=dm64xxfb:outpu
t=pal
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 82MB = 82MB total
Memory: 79892KB available (2506K code, 512K data, 136K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
NET: Registered protocol family 16
Registering platform device 'nor_davinci.0'. Parent at platform
Registering platform device 'nand_davinci.0'. Parent at platform
Registering platform device 'musb_hdrc'. Parent at platform
DaVinci I2C DEBUG: 15:15:21 Dec 10 2007
Registering platform device 'i2c'. Parent at platform
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Dec 10 2007 15:14:55 Installing. 
Registering platform device 'davincifb.0'. Parent at platform
Console: switching to colour frame buffer device 90x36
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: RAR detected
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
ttyS1 at MMIO 0x1c20400 (irq = 41) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Registering platform device 'ti_davinci_emac'. Parent at platform
Reading MAC from MSP430......................
TI DaVinci EMAC: MAC address is 00:b2:c4:11:00:29
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
netconsole: not configured, aborting
i2c /dev entries driver
Linux video capture interface: v1.00
Registering platform device 'vpfe.1'. Parent at platform
DaVinci v4l2 capture driver V1.0 loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Palm Chip BK3710 IDE Register Fail
st: Version 20041025, fixed bufsize 32768, s/g segs 256
elevator: using anticipatory as default io scheduler
NAND device: Manufacturer ID: 0x20, Chip ID: 0x76 (ST Micro NAND 64MiB 3,3V 8-bi
t)
Scanning device for bad blocks
Creating 4 MTD partitions on "nand_davinci.0":
0x00000000-0x00018000 : "UBL image"
0x00018000-0x00044000 : "U-boot image"
0x00044000-0x00208000 : "Kernel image"
0x00208000-0x03ffc000 : "JFFS2"
nand_davinci: hardware revision: 2.1
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Registering platform device 'hc.0'. Parent at platform
dummy_hcd hc.0: USB Host+Gadget Emulator, driver 29 Oct 2004
dummy_hcd hc.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
musb_hdrc: version 2.2a/db-0.4.8 [pio] [host] [debug=0]
musb_hdrc: USB Host mode controller at c5866000 using PIO, IRQ 12
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Registering platform device 'mmc0.1'. Parent at platform
 : Supporting 4-bit mode
Added DaVinci GPIO to /dev/gpio_dev<6>Registering platform device 'davinci-audio
.0'. Parent at platform
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Complete:
      device=eth0, addr=192.168.199.113, mask=255.255.0.0, gw=192.168.6.1,
     host=192.168.199.113, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=192.168.9.204, rootpath=
Looking up port of RPC 100003/2 on 192.168.9.204
Looking up port of RPC 100005/1 on 192.168.9.204
VFS: Mounted root (nfs filesystem).
Freeing init memory: 136K
INIT: version 2.85 booting
Mounting a tmpfs over /dev...done.
Creating initial device nodes...done.
Activating swap...done. 
Remounting root filesystem...done. 
Starting checking all file systems: fsck
fsck 1.35 (28-Feb-2004)
Starting mounting local filesystems: mount nothing was mounted
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Disable TCP/IP Explicit Congestion Notification: done.
Starting network interfaces: done.
Starting hotplug subsystem:
   pci     
   pci      [success]
   usb     
   usb      [success]
   isapnp  
   isapnp   [success]
   ide     
   ide      [success]
   input   
   input    [success]
   scsi    
   scsi     [success]
done.
Cleaning: /tmp /var/lock /etc/init.d/rcS: line 77: cd: /var/lock: No such file o
r directory
/var/run done.
Setting pseudo-terminal access permissions...done.
Updating /etc/motd...done.
/etc/init.d/rcS: line 119: /var/log/dmesg: No such file or directory
INIT: Entering runlevel: 3
Starting system log daemon: syslogd  syslogd: /var/log/auth.log: No such file or
 directory
  syslogd: /var/log/syslog: No such file or directory
  syslogd: /var/log/daemon.log: No such file or directory
  syslogd: /var/log/kern.log: No such file or directory
  syslogd: /var/log/lpr.log: No such file or directory
  syslogd: /var/log/mail.log: No such file or directory
  syslogd: /var/log/user.log: No such file or directory
  syslogd: /var/log/uucp.log: No such file or directory
  syslogd: /var/log/mail.info: No such file or directory
  syslogd: /var/log/mail.warn: No such file or directory
  syslogd: /var/log/mail.err: No such file or directory
  syslogd: /var/log/debug: No such file or directory
  syslogd: /var/log/messages: No such file or directory
 klogd.

MontaVista(R) Linux(R) Professional Edition 4.0 (0501140)

192.168.199.113 login: root
Password: 
Linux 192.168.199.113 2.6.10_dvpb_mvl401_0.4-DVPB #1 Mon Dec 10 15:17:36 IST 200
7 armv5tejl GNU/Linux

Welcome to MontaVista(R) Linux(R) Professional Edition 4.0 (0501140).

[EMAIL PROTECTED]:~# lsmod
Module                  Size  Used by
[EMAIL PROTECTED]:~# 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to