TI中文支持网
TI专业的中文技术问题搜集分享网站

DM368 usb slave模式,接上PC无反应

DM36x initialization passed! TI UBL Version: 1.50 Booting Catalog Boot Loader BootMode = NAND Starting NAND Copy… Valid magicnum, 0xA1ACED66, found in block 0x00000019. DONE Jumping to entry point at 0x81080000. U-Boot 2010.12-rc2 (Jun 07 2016 – 22:39:15) Cores: ARM 432 MHz DDR: 216 MHz I2C: ready DRAM: 128 MiB NAND: 256 MiB Net: Ethernet PHY: GENERIC @ 0x01 DaVinci-EMAC Hit any key to stop autoboot: 0 Loading from nand0, offset 0x800000 Image Name: Linux-2.6.32.17-davinci1 Created: 2017-03-21 4:58:01 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2198064 Bytes = 2.1 MiB Load Address: 80008000 Entry Point: 80008000 ## Booting kernel from Legacy Image at 80700000 … Image Name: Linux-2.6.32.17-davinci1 Created: 2017-03-21 4:58:01 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2198064 Bytes = 2.1 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum … OK Loading Kernel Image … OK OK Starting kernel … Uncompressing Linux……………………………………………………………………………………………………………………………. done, booting the kernel. Linux version 2.6.32.17-davinci1 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #255 PREEMPT Tue Mar 21 12:57:53 CST 2017 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: DaVinci DM36x EVM Memory policy: ECC disabled, Data cache writeback DaVinci dm36x_rev1.2 variant 0x8 Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15240 Kernel command line: mem=60M console=ttyS0,115200n8 noinitrd root=/dev/nfs rw ip=192.168.1.100:192.168.1.10:192.168.1.1:255.255.255.0 nfsroot=192.168.1.10:/home/targetfs,nolock vpfe_capture.interface=0 davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal mac=00:33:66:88:00:00 PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 60MB = 60MB total Memory: 56140KB available (4112K code, 386K data, 140K init, 0K highmem) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Hierarchical RCU implementation. NR_IRQS:245 Console: colour dummy device 80×30 Calibrating delay loop… 215.44 BogoMIPS (lpj=1077248) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok DaVinci: 8 gpio irqs NET: Registered protocol family 16 davinci_serial_init:97: failed to get UART2 clock ———dm365_init_spi1———– bio: create slab at 0 DM365 IPIPE initialized in Continuous mode SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb vpss vpss: dm365_vpss vpss probed vpss vpss: dm365_vpss vpss probe success dm365_afew_hw_init ch0 default output "COMPOSITE", mode "PAL" VPBE Encoder Initialized cfg80211: Calling CRDA to update world regulatory domain LogicPD encoder initialized Switching to clocksource timer0_1 musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0 musb_hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 12 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 109 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered (default) Console: switching to colour frame buffer device 90×36 davincifb davincifb.0: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 810KB davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1224KB davincifb davincifb.0: dm_osd1_fb: 720x576x4@0,0 with framebuffer size 810KB davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1224KB DM365 IPIPEIF probed imp serializer initialized davinci_previewer initialized davinci_resizer initialized Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A console [ttyS0] enabled serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A brd: module loaded NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit) 2 NAND chips detected Creating 6 MTD partitions on "davinci_nand.0": 0x000000000000-0x000000780000 : "bootloader" 0x000000780000-0x000000800000 : "params" 0x000000800000-0x000000c00000 : "kernel" 0x000000c00000-0x000002c00000 : "basefs" 0x000002c00000-0x000006c00000 : "userfs" 0x000006c00000-0x000008000000 : "userdata" davinci_nand davinci_nand.0: controller rev. 2.3 spi_davinci spi_davinci.1: Controller at 0xfec66800 console [netcon0] enabled netconsole: network logging started Initializing USB Mass Storage driver… usbcore: registered new interface driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice i2c /dev entries driver Linux video capture interface: v2.00 ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter) ths7303 1-002c: ths7303 write failed ths7303: probe of 1-002c failed with error -121 vpfe_init vpfe-capture: vpss clock vpss_master enabled vpfe-capture vpfe-capture: v4l2 device registered vpfe-capture vpfe-capture: video device registered EVM: switch to tvp5150 SD video input tvp5150:PINMUX4_OFFSET = 5555C555 tvp5150:PINMUX4_OFFSET = 5545C555 tvp5150 1-005d: chip found @ 0xba (DaVinci I2C adapter) vpfe-capture vpfe-capture: v4l2 sub device tvp5150 registered vpfe_register_ccdc_device: DM365 ISIF DM365 ISIF is registered with vpfe. af major#: 252, minor# 0 AF Driver initialized aew major#: 251, minor# 0 AEW Driver initialized Trying to register davinci display video device. layer=c2533000,layer->video_dev=c2533170 Trying to register davinci display video device. layer=c2533400,layer->video_dev=c2533570 davinci_init:DaVinci V4L2 Display Driver V1.0 loaded watchdog watchdog: heartbeat 5 sec davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode Advanced Linux Sound Architecture Driver Version 1.0.21. asoc: CQ93VC <-> davinci-vcif mapping ok ALSA device list: #0: DaVinci DM365 EVM (CQ93VC) TCP cubic registered NET: Registered protocol family 17 lib80211: common routines for IEEE802.11 drivers Clocks: disable unused mmcsd1 Clocks: disable unused spi0 Clocks: disable unused spi2 Clocks: disable unused spi3 Clocks: disable unused spi4 Clocks: disable unused pwm0 Clocks: disable unused pwm1 Clocks: disable unused pwm2 Clocks: disable unused pwm3 Clocks: disable unused timer1 Clocks: disable unused timer3 Clocks: disable unused adc Clocks: disable unused emac Clocks: disable unused asp0 Clocks: disable unused rto Clocks: disable unused mjcp emac-mii: probed mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new high speed SDHC card at address aaaa mmcblk0: mmc0:aaaa ACLCD 29.7 GiB mmcblk0: p1 eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, id=221513) IP-Config: Complete: device=eth0, addr=192.168.1.100, mask=255.255.255.0, gw=192.168.1.1, host=192.168.1.100, domain=, nis-domain=(none), bootserver=192.168.1.10, rootserver=192.168.1.10, rootpath= Looking up port of RPC 100003/2 on 192.168.1.10 PHY: 1:01 – Link is Up – 100/Full Looking up port of RPC 100005/1 on 192.168.1.10 VFS: Mounted root (nfs filesystem) on device 0:13. Freeing init memory: 140K —mount all— —mdev setting— local service ======Run application sctrip file===== =====cd /dm368/===== CMEMK module: built on Mar 24 2011 at 19:34:57 Reference Linux version 2.6.32 File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm365-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c allocated heap buffer 0xc8000000 of size 0x4400000 heap fallback enabled – will try heap if pool buffer is not available CMEM Range Overlaps Kernel Physical – allowing overlap CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83c00000) cmemk initialized IRQK module: built on Mar 24 2011 at 19:35:11 Reference Linux version 2.6.32 File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm365-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c irqk initialized EDMAK module: built on Mar 24 2011 at 19:35:06 Reference Linux version 2.6.32 File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm365-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008 g_file_storage gadget: Number of LUNs=1 g_file_storage gadget-lun0: ro=0, file: /dev/mmcblk0

peng wu7:

回复 Chris Meng:

Loading from nand0, offset 0x800000 Image Name: Linux-2.6.32.17-davinci1 Created: 2017-03-21 4:58:01 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2198064 Bytes = 2.1 MiB Load Address: 80008000 Entry Point: 80008000## Booting kernel from Legacy Image at 80700000 … Image Name: Linux-2.6.32.17-davinci1 Created: 2017-03-21 4:58:01 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2198064 Bytes = 2.1 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum … OK Loading Kernel Image … OKOK

Starting kernel …

Uncompressing Linux……………………………………………………………………………………………………………………………. done, booting the kernel.Linux version 2.6.32.17-davinci1 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #255 PREEMPT Tue Mar 21 12:57:53 CST 2017CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177CPU: VIVT data cache, VIVT instruction cacheMachine: DaVinci DM36x EVMMemory policy: ECC disabled, Data cache writebackDaVinci dm36x_rev1.2 variant 0x8Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15240Kernel command line: mem=60M console=ttyS0,115200n8 noinitrd root=/dev/nfs rw ip=192.168.1.100:192.168.1.10:192.168.1.1:255.255.255.0 nfsroot=192.168.1.10:/home/targetfs,nolock vpfe_capture.interface=0 davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal mac=00:33:66:88:00:00PID hash table entries: 256 (order: -2, 1024 bytes)Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)Memory: 60MB = 60MB totalMemory: 56140KB available (4112K code, 386K data, 140K init, 0K highmem)SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1Hierarchical RCU implementation.NR_IRQS:245Console: colour dummy device 80x30Calibrating delay loop… 215.44 BogoMIPS (lpj=1077248)Mount-cache hash table entries: 512CPU: Testing write buffer coherency: okDaVinci: 8 gpio irqsNET: Registered protocol family 16davinci_serial_init:97: failed to get UART2 clock———dm365_init_spi1———–bio: create slab <bio-0> at 0DM365 IPIPE initialized in Continuous modeSCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbvpss vpss: dm365_vpss vpss probedvpss vpss: dm365_vpss vpss probe successdm365_afew_hw_initch0 default output "COMPOSITE", mode "PAL"VPBE Encoder Initializedcfg80211: Calling CRDA to update world regulatory domainLogicPD encoder initializedSwitching to clocksource timer0_1musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0musb_hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 12NET: Registered protocol family 2IP route cache hash table entries: 1024 (order: 0, 4096 bytes)TCP established hash table entries: 2048 (order: 2, 16384 bytes)TCP bind hash table entries: 2048 (order: 1, 8192 bytes)TCP: Hash tables configured (established 2048 bind 2048)TCP reno registeredNET: Registered protocol family 1RPC: Registered udp transport module.RPC: Registered tcp transport module.RPC: Registered tcp NFSv4.1 backchannel transport module.JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.msgmni has been set to 109alg: No test for stdrng (krng)io scheduler noop registeredio scheduler anticipatory registered (default)Console: switching to colour frame buffer device 90x36davincifb davincifb.0: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 810KBdavincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1224KBdavincifb davincifb.0: dm_osd1_fb: 720x576x4@0,0 with framebuffer size 810KBdavincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1224KBDM365 IPIPEIF probedimp serializer initializeddavinci_previewer initializeddavinci_resizer initializedSerial: 8250/16550 driver, 2 ports, IRQ sharing disabledserial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550Aconsole [ttyS0] enabledserial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550Abrd: module loadedNAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)2 NAND chips detectedCreating 6 MTD partitions on "davinci_nand.0":0x000000000000-0x000000780000 : "bootloader"0x000000780000-0x000000800000 : "params"0x000000800000-0x000000c00000 : "kernel"0x000000c00000-0x000002c00000 : "basefs"0x000002c00000-0x000006c00000 : "userfs"0x000006c00000-0x000008000000 : "userdata"davinci_nand davinci_nand.0: controller rev. 2.3spi_davinci spi_davinci.1: Controller at 0xfec66800console [netcon0] enablednetconsole: network logging startedInitializing USB Mass Storage driver…usbcore: registered new interface driver usb-storageUSB Mass Storage support registered.mice: PS/2 mouse device common for all micei2c /dev entries driverLinux video capture interface: v2.00ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)ths7303 1-002c: ths7303 write failedths7303: probe of 1-002c failed with error -121vpfe_initvpfe-capture: vpss clock vpss_master enabledvpfe-capture vpfe-capture: v4l2 device registeredvpfe-capture vpfe-capture: video device registeredEVM: switch to tvp5150 SD video inputtvp5150:PINMUX4_OFFSET = 5555C555tvp5150:PINMUX4_OFFSET = 5545C555tvp5150 1-005d: chip found @ 0xba (DaVinci I2C adapter)vpfe-capture vpfe-capture: v4l2 sub device tvp5150 registeredvpfe_register_ccdc_device: DM365 ISIFDM365 ISIF is registered with vpfe.af major#: 252, minor# 0AF Driver initializedaew major#: 251, minor# 0AEW Driver initializedTrying to register davinci display video device.layer=c2533000,layer->video_dev=c2533170Trying to register davinci display video device.layer=c2533400,layer->video_dev=c2533570davinci_init:DaVinci V4L2 Display Driver V1.0 loadedwatchdog watchdog: heartbeat 5 secdavinci_mmc davinci_mmc.0: Using DMA, 4-bit modeAdvanced Linux Sound Architecture Driver Version 1.0.21.asoc: CQ93VC <-> davinci-vcif mapping okALSA device list: #0: DaVinci DM365 EVM (CQ93VC)TCP cubic registeredNET: Registered protocol family 17lib80211: common routines for IEEE802.11 driversClocks: disable unused mmcsd1Clocks: disable unused spi0Clocks: disable unused spi2Clocks: disable unused spi3Clocks: disable unused spi4Clocks: disable unused pwm0Clocks: disable unused pwm1Clocks: disable unused pwm2Clocks: disable unused pwm3Clocks: disable unused timer1Clocks: disable unused timer3Clocks: disable unused adcClocks: disable unused emacClocks: disable unused asp0Clocks: disable unused rtoClocks: disable unused mjcpemac-mii: probedmmc0: host does not support reading read-only switch. assuming write-enable.mmc0: new high speed SDHC card at address aaaammcblk0: mmc0:aaaa ACLCD 29.7 GiB mmcblk0: p1eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, id=221513)IP-Config: Complete: device=eth0, addr=192.168.1.100, mask=255.255.255.0, gw=192.168.1.1, host=192.168.1.100, domain=, nis-domain=(none), bootserver=192.168.1.10, rootserver=192.168.1.10, rootpath=Looking up port of RPC 100003/2 on 192.168.1.10PHY: 1:01 – Link is Up – 100/FullLooking up port of RPC 100005/1 on 192.168.1.10VFS: Mounted root (nfs filesystem) on device 0:13.Freeing init memory: 140K—mount all——mdev setting—local service======Run application sctrip file==========cd /dm368/=====CMEMK module: built on Mar 24 2011 at 19:34:57 Reference Linux version 2.6.32 File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm365-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.callocated heap buffer 0xc8000000 of size 0x4400000heap fallback enabled – will try heap if pool buffer is not availableCMEM Range Overlaps Kernel Physical – allowing overlapCMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83c00000)cmemk initializedIRQK module: built on Mar 24 2011 at 19:35:11 Reference Linux version 2.6.32 File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm365-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.cirqk initializedEDMAK module: built on Mar 24 2011 at 19:35:06 Reference Linux version 2.6.32 File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm365-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.cg_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008g_file_storage gadget: Number of LUNs=1g_file_storage gadget-lun0: ro=0, file: /dev/mmcblk0

是参考设计的,这个格式应该比较好看,还请您帮忙看一下问题在哪

peng wu7:

回复 Chris Meng:

已解决,谢谢

赞(0)
未经允许不得转载:TI中文支持网 » DM368 usb slave模式,接上PC无反应
分享到: 更多 (0)