TIwilliam hill官网
直播中

罗玉婧

7年用户 246经验值
私信 关注
[问答]

DM368 u*** 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 80x30 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 u***core: registered new interface driver u***fs u***core: registered new interface driver hub u***core: registered new device driver u*** 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 mu***_hdrc: version 6.0, cppi-dma, peripheral, debug=0 mu***_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 90x36 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... u***core: registered new interface driver u***-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

回帖(3)

乔婧

2018-5-28 09:03:12
你好,
这个log的格式,实在是看不清楚。
你的硬件是基于DM36x的IPNC参考设计做的么?参考设计是支持u*** device的功能的。
你的软件驱动是否有使能u*** device的功能?
举报

罗玉婧

2018-5-28 09:12:47
引用: 物是人非aaa 发表于 2018-5-28 09:03
你好,
这个log的格式,实在是看不清楚。
你的硬件是基于DM36x的IPNC参考设计做的么?参考设计是支持u*** device的功能的。

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 80x30
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
u***core: registered new interface driver u***fs
u***core: registered new interface driver hub
u***core: registered new device driver u***
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
mu***_hdrc: version 6.0, cppi-dma, peripheral, debug=0
mu***_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 90x36
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...
u***core: registered new interface driver u***-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

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

罗玉婧

2018-5-28 09:29:24
引用: 物是人非aaa 发表于 2018-5-28 09:03
你好,
这个log的格式,实在是看不清楚。
你的硬件是基于DM36x的IPNC参考设计做的么?参考设计是支持u*** device的功能的。

已解决,谢谢
举报

更多回帖

发帖
×
20
完善资料,
赚取积分