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

AM5728: 如何关闭PRU模块

Part Number:AM5728Other Parts Discussed in Thread:BEAGLEBOARD-X15, , GRACE

Hi Ti,

    我们移植了beagelbone的ubuntu系统,有以下问题:

(1):上电前若插入无线鼠标不识别,启动后,拔掉无线鼠标,再插入则又识别;

(2):PRU模块通过设备树禁止不了

以下是打印信息,请帮忙分析一下

U-Boot SPL 2019.07-rc4-dirty (Apr 15 2021 – 10:06:07 +0800)
DRA752-GP ES2.0
Trying to boot from MMC2_2
no pinctrl state for default mode
no pinctrl state for default mode

U-Boot 2019.07-rc4-dirty (Apr 15 2021 – 10:06:07 +0800)

CPU : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: AM571x IDK REV B.10
DRAM: 2 GiB
usb dr_mode not found
usb dr_mode not found
usb dr_mode not found
usb dr_mode not found
MMC: no pinctrl state for default mode
no pinctrl state for default mode
no pinctrl state for default mode
omap_hsmmc_init_setup: timedout waiting for cc2!
mmc@480ad000 – probe failed: -110
no pinctrl state for default mode
omap_hsmmc_init_setup: timedout waiting for cc2!
mmc@480d1000 – probe failed: -110
OMAP SD/MMC: 0, OMAP SD/MMC: 1no pinctrl state for default mode
omap_hsmmc_init_setup: timedout waiting for cc2!

Net: error: cpdma_channels not found in dt
eth-1: ethernet@48484000
Press SPACE to abort autoboot in 1 seconds
usb_boot is currently disabled
scsi_boot is currently disabled
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1(part 0) is current device

Partition Map for MMC device 1 — Partition Type: DOS

Part Start Sector Num Sectors UUID Type
1 2048 30775296 fdbf5314-01 83
Scanning mmc device 1
Checking for: /uEnv.txt …
Checking for: /boot/uEnv.txt …
56 bytes read in 2 ms (27.3 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt …
debug: [uname_r=4.14.108-ti-rt-r139] …
loading /boot/vmlinuz-4.14.108-ti-rt-r139 …
9802240 bytes read in 1648 ms (5.7 MiB/s)
loading /boot/dtbs/4.14.108-ti-rt-r139/am572x-idk.dtb …
146865 bytes read in 27 ms (5.2 MiB/s)
uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable…
debug: [console=ttyO2,115200n8 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait] …
debug: [bootz 0x82000000 – 0x88000000] …
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffd9000, end 8ffffdb0 … OK

Starting kernel …

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.108-ti-rt-r139 (liuqf78@liuqf78-virtual-machine) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #1 SMP PREEMPT RT Thu Mar 25 09:18:21 CST 2021
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM5728 IDK
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x95800000, size 56 MiB
[ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9d000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9f000000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 48 MiB at 0xfc800000
[ 0.000000] OMAP4: Map 0xffd00000 to fe600000 for dram barrier
[ 0.000000] Hit pending asynchronous external abort (FSR=0x00001406) during first unmask, this is most likely caused by a firmware/bootloader bug.
[ 0.000000] DRA752 ES2.0
[ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x45c with crng_init=0
[ 0.000000] percpu: Embedded 18 pages/cpu @eed29000 s43040 r8192 d22496 u73728
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 522047
[ 0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1841464K/2095100K available (12288K kernel code, 1023K rwdata, 4124K rodata, 1024K init, 398K bss, 40644K reserved, 212992K cma-reserved, 1259516K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 – 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 – 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 – 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 – 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 – 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 – 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 – 0xc0d00000 (13280 kB)
[ 0.000000] .init : 0xc1200000 – 0xc1300000 (1024 kB)
[ 0.000000] .data : 0xc1300000 – 0xc13fff74 (1024 kB)
[ 0.000000] .bss : 0xc1409a84 – 0xc146d628 ( 399 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] ftrace: allocating 40362 entries in 119 pages
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU priority boosting: priority 1 delay 500 ms.
[ 0.000000] No expedited grace period (rcu_normal_after_boot).
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000012] Switching to timer-based delay loop, resolution 162ns
[ 0.000604] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000607] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.001453] Console: colour dummy device 80×30
[ 0.001583] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[ 0.001585] This ensures that you still see kernel messages. Please
[ 0.001587] update your kernel commandline.
[ 0.001604] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=24590)
[ 0.001613] pid_max: default: 32768 minimum: 301
[ 0.001785] Security Framework initialized
[ 0.001791] Yama: becoming mindful.
[ 0.001844] AppArmor: AppArmor initialized
[ 0.001902] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001913] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002729] CPU: Testing write buffer coherency: ok
[ 0.002764] CPU0: Spectre v2: using ICIALLU workaround
[ 0.003060] /cpus/cpu@0 missing clock-frequency property
[ 0.003112] /cpus/cpu@1 missing clock-frequency property
[ 0.003129] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.015924] Setting up static identity map for 0x80100000 – 0x80100060
[ 0.031916] Hierarchical SRCU implementation.
[ 0.058775] EFI services will not be available.
[ 0.064104] smp: Bringing up secondary CPUs …
[ 0.104597] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.104602] CPU1: Spectre v2: using ICIALLU workaround
[ 0.104770] smp: Brought up 1 node, 2 CPUs
[ 0.104792] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[ 0.104804] CPU: All CPU(s) started in HYP mode.
[ 0.104814] CPU: Virtualization extensions available.
[ 0.106522] devtmpfs: initialized
[ 0.157379] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.157859] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.157886] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.163003] xor: automatically using best checksumming function arm4regs[ 0.163024] pinctrl core: initialized pinctrl subsystem
[ 0.164747] NET: Registered protocol family 16
[ 0.171668] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.172850] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.409077] ————[ cut here ]————
[ 0.409112] WARNING: CPU: 1 PID: 29 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x274/0x3a0
[ 0.409126] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4_PER1_P3 (Read): Data Access in User mode during Functional access
[ 0.409135] Modules linked in:
[ 0.409155] CPU: 1 PID: 29 Comm: irq/23-l3-app-i Not tainted 4.14.108-ti-rt-r139 #1
[ 0.409158] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 0.409183] [<c0112d58>] (unwind_backtrace) from [<c010d67c>] (show_stack+0x20/0x24)
[ 0.409195] [<c010d67c>] (show_stack) from [<c0cca3d4>] (dump_stack+0x80/0x94)
[ 0.409206] [<c0cca3d4>] (dump_stack) from [<c014079c>] (__warn+0xf8/0x110)
[ 0.409215] [<c014079c>] (__warn) from [<c014080c>] (warn_slowpath_fmt+0x58/0x74)
[ 0.409225] [<c014080c>] (warn_slowpath_fmt) from [<c07579e8>] (l3_interrupt_handler+0x274/0x3a0)
[ 0.409239] [<c07579e8>] (l3_interrupt_handler) from [<c01b3b04>] (irq_forced_thread_fn+0x30/0xa8)
[ 0.409248] [<c01b3b04>] (irq_forced_thread_fn) from [<c01b3f20>] (irq_thread+0x168/0x21c)
[ 0.409261] [<c01b3f20>] (irq_thread) from [<c0166770>] (kthread+0x170/0x178)
[ 0.409274] [<c0166770>] (kthread) from [<c0108e10>] (ret_from_fork+0x14/0x24)
[ 0.409278] —[ end trace 0000000000000001 ]—
[ 0.419344] OMAP GPIO hardware version 0.1
[ 0.447586] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpmc_pins_default, deferring probe
[ 0.459602] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.459619] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.461510] OMAP DMA hardware revision 0.0
[ 0.481012] raid6: using algorithm int32x8 gen() 0 MB/s
[ 0.481027] raid6: …. xor() 0 MB/s, rmw enabled
[ 0.481039] raid6: using intx1 recovery algorithm
[ 0.484475] edma 43300000.edma: memcpy is disabled
[ 0.493827] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.513396] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 0.519035] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.519488] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.520098] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.520718] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.521502] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 0.521935] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 0.524191] SCSI subsystem initialized
[ 0.524848] usbcore: registered new interface driver usbfs
[ 0.524944] usbcore: registered new interface driver hub
[ 0.525071] usbcore: registered new device driver usb
[ 0.527545] palmas 0-0058: Irq flag is 0x00000004
[ 0.553599] palmas 0-0058: Muxing GPIO 2b, PWM 0, LED 0
[ 0.561703] SMPS12: supplied by regulator-dummy
[ 0.571129] SMPS3: supplied by VMAIN
[ 0.579696] SMPS45: supplied by regulator-dummy
[ 0.589931] SMPS6: supplied by VMAIN
[ 0.598645] SMPS7: supplied by VMAIN
[ 0.608188] SMPS8: supplied by VMAIN
[ 0.614993] SMPS9: supplied by VMAIN
[ 0.620083] LDO1: supplied by VMAIN
[ 0.631492] LDO2: supplied by VMAIN
[ 0.638022] LDO3: supplied by VMAIN
[ 0.645912] LDO4: supplied by VMAIN
[ 0.653867] LDO5: supplied by regulator-dummy
[ 0.657887] LDO6: supplied by regulator-dummy
[ 0.661210] LDO7: supplied by regulator-dummy
[ 0.664507] LDO8: supplied by regulator-dummy
[ 0.667836] LDO9: supplied by VMAIN
[ 0.679582] LDOLN: supplied by VMAIN
[ 0.686165] LDOUSB: supplied by VMAIN
[ 0.707560] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.708428] pps_core: LinuxPPS API ver. 1 registered
[ 0.708472] pps_core: Software ver. 5.3.6 – Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.708505] PTP clock support registered
[ 0.710047] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.711289] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 0.713185] Advanced Linux Sound Architecture Driver Initialized.
[ 0.715180] NetLabel: Initializing
[ 0.715194] NetLabel: domain hash size = 128
[ 0.715217] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.715462] NetLabel: unlabeled traffic allowed by default
[ 0.716676] clocksource: Switched to clocksource arch_sys_counter
[ 1.256794] VFS: Disk quotas dquot_6.6.0
[ 1.257030] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.260828] AppArmor: AppArmor Filesystem Enabled
[ 1.301965] NET: Registered protocol family 2
[ 1.304756] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.305055] TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
[ 1.305741] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.306157] UDP hash table entries: 512 (order: 3, 32768 bytes)
[ 1.306321] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[ 1.307548] NET: Registered protocol family 1
[ 1.309924] RPC: Registered named UNIX socket transport module.
[ 1.309973] RPC: Registered udp transport module.
[ 1.310056] RPC: Registered tcp transport module.
[ 1.310102] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.314600] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 1.315731] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 1.320584] audit: initializing netlink subsys (disabled)
[ 1.321196] audit: type=2000 audit(1.315:1): state=initialized audit_enabled=0 res=1
[ 1.323749] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 1.350221] zbud: loaded
[ 1.361706] NFS: Registering the id_resolver key type
[ 1.361817] Key type id_resolver registered
[ 1.361833] Key type id_legacy registered
[ 1.361900] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 1.362571] fuse init (API version 7.26)
[ 1.378375] Key type asymmetric registered
[ 1.378395] Asymmetric key parser 'x509' registered
[ 1.378918] bounce: pool size: 64 pages
[ 1.379086] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 1.379426] io scheduler noop registered
[ 1.379531] io scheduler deadline registered
[ 1.380485] io scheduler cfq registered (default)
[ 1.380552] io scheduler mq-deadline registered
[ 1.401665] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 1.428306] V3_3D: supplied by smps9
[ 1.429244] vtt_fixed: supplied by V3_3D
[ 1.439245] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 1.450926] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud = 3000000) is a 8250
[ 2.615882] console [ttyS2] enabled
[ 2.626704] omap_rng 48090000.rng: Random Number Generator ver. 20
[ 2.635404] sdhci: Secure Digital Host Controller Interface driver
[ 2.641661] sdhci: Copyright(c) Pierre Ossman
[ 2.647724] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.655138] sdhci-omap 4809c000.mmc: Got CD GPIO
[ 2.664205] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_1_8v mode
[ 2.671020] sdhci-omap 4809c000.mmc: no pinctrl state for hs200_1_8v mode
[ 2.722623] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
[ 2.772895] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
[ 2.789022] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 0
[ 2.795771] usbcore: registered new interface driver udl
[ 2.804006] DSS: OMAP DSS rev 6.1
[ 2.815724] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 2.826392] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[ 2.843117] mmc1: new DDR MMC card at address 0001
[ 2.849954] mmcblk1: mmc1:0001 016G32 14.7 GiB[ 2.857098] mmcblk1boot0: mmc1:0001 016G32 partition 1 8.00 MiB
[ 2.866323] mmcblk1boot1: mmc1:0001 016G32 partition 2 8.00 MiB
[ 2.874825] etnaviv gpu-subsystem: bound 59000000.bb2d (ops gpu_ops)
[ 2.875187] mmcblk1rpmb: mmc1:0001 016G32 partition 3 4.00 MiB
[ 2.879260] mmcblk1: p1
[ 2.892977] etnaviv-gpu 59000000.bb2d: model: GC320, revision: 5301
[ 3.061633] [drm] Initialized etnaviv 1.1.0 20151214 for gpu-subsystem on minor 1
[ 3.077748] ahci 4a140000.sata: forcing port_map 0x0 -> 0x1
[ 3.083477] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 3.092061] ahci 4a140000.sata: flags: 64bit ncq sntf pm led clo only pmp pio slum part ccc apst[ 3.108476] scsi host0: ahci
[ 3.112347] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 80
[ 3.128598] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
[ 3.137450] libphy: Fixed MDIO Bus: probed
[ 3.144629] CAN device driver interface
[ 3.192739] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 3.200450] davinci_mdio 48485000.mdio: detected phy mask fffffffe
[ 3.214366] libphy: 48485000.mdio: probed
[ 3.218516] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[ 3.231623] cpsw 48484000.ethernet: Detected MACID = a8:e7:7d:56:05:7e
[ 3.238408] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
[ 3.244820] cpsw 48484000.ethernet: ALE Table size 1024
[ 3.250193] cpsw 48484000.ethernet: cpts: overflow check period 1250 (jiffies)
[ 3.260906] cpsw 48484000.ethernet: cpsw: Detected MACID = a8:e7:7d:56:05:7f
[ 3.274185] usbcore: registered new interface driver smsc95xx
[ 3.292896] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.299552] ehci-platform: EHCI generic platform driver
[ 3.305925] ehci-omap: OMAP-EHCI Host Controller driver
[ 3.314130] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 3.319773] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 3.328910] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
[ 3.339018] xhci-hcd xhci-hcd.1.auto: irq 175, io mem 0x48890000
[ 3.345837] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.352699] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.359973] usb usb1: Product: xHCI Host Controller
[ 3.364890] usb usb1: Manufacturer: Linux 4.14.108-ti-rt-r139 xhci-hcd
[ 3.371514] usb usb1: SerialNumber: xhci-hcd.1.auto
[ 3.378620] hub 1-0:1.0: USB hub found
[ 3.382613] hub 1-0:1.0: 1 port detected
[ 3.387993] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 3.393652] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 3.401405] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 3.408316] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.416975] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 3.423807] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.431069] usb usb2: Product: xHCI Host Controller
[ 3.435567] ata1: SATA link down (SStatus 0 SControl 300)
[ 3.441411] usb usb2: Manufacturer: Linux 4.14.108-ti-rt-r139 xhci-hcd
[ 3.448007] usb usb2: SerialNumber: xhci-hcd.1.auto
[ 3.454935] hub 2-0:1.0: USB hub found
[ 3.458825] hub 2-0:1.0: 1 port detected
[ 3.464844] usbcore: registered new interface driver usb-storage
[ 3.477394] palmas_pwrbutton 48070000.i2c:tps659038@58:tps659038_pwr_button: h/w controlled shutdown duration=12 seconds
[ 3.494473] input: palmas_pwron as /devices/platform/44000000.ocp/48070000.i2c/i2c-0/0-0058/48070000.i2c:tps659038@58:tps659038_pwr_button/input/input0
[ 3.518629] omap_rtc 48838000.rtc: registered as rtc1
[ 3.537712] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659038@58:tps659038_rtc as rtc0
[ 3.556930] i2c /dev entries driver
[ 3.577793] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 3.586019] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[ 3.612105] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 3.618200] omap-aes 4b500000.aes: will run requests pump with realtime priority
[ 3.626920] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ 3.632946] omap-aes 4b700000.aes: will run requests pump with realtime priority
[ 3.641385] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ 3.647469] omap-des 480a5000.des: will run requests pump with realtime priority
[ 3.656928] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ 3.669261] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.677292] omap_gpio 48057000.gpio: Could not set line 16 debounce to 20000 microseconds (-22)
[ 3.700061] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
[ 3.710921] Netfilter messages via NETLINK v0.30.
[ 3.716073] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 3.722811] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[ 3.729377] nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
[ 3.737126] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.744313] NET: Registered protocol family 10
[ 3.750956] Segment Routing with IPv6
[ 3.754747] mip6: Mobile IPv6
[ 3.757736] NET: Registered protocol family 17
[ 3.762214] can: controller area network core (rev 20170425 abi 9)
[ 3.768709] NET: Registered protocol family 29
[ 3.773365] 8021q: 802.1Q VLAN Support v1.8
[ 3.777696] Key type dns_resolver registered
[ 3.781991] mpls_gso: MPLS GSO support
[ 3.785915] omap_voltage_late_init: Voltage driver support not added
[ 3.792325] Power Management for TI OMAP4+ devices.
[ 3.797683] ThumbEE CPU extension supported.
[ 3.801987] Registering SWP/SWPB emulation handler
[ 3.808263] registered taskstats version 1
[ 3.812513] zswap: loaded using pool lzo/zbud
[ 3.820209] Btrfs loaded, crc32c=crc32c-generic
[ 3.824884] AppArmor: AppArmor sha1 policy hashing enabled
[ 3.890229] dmm 4e000000.dmm: workaround for errata i878 in use
[ 3.899688] dmm 4e000000.dmm: initialized all PAT entries
[ 3.908278] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3.914960] [drm] No driver support for vblank timestamp query.
[ 4.234566] [drm] Enabling DMM ywrap scrolling
[ 4.268058] Console: switching to colour frame buffer device 180×56
[ 4.284256] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[ 4.291750] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 2
[ 4.299626] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 4.304812] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 4.316828] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 4.322371] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
[ 4.328620] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 4.328627] of_cfs_init
[ 4.328857] of_cfs_init: OK
[ 4.331346] ALSA device list:
[ 4.331364] #0: HDMI 58040000.encoder
[ 4.357484] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
[ 4.367277] xhci-hcd xhci-hcd.2.auto: irq 179, io mem 0x488d0000
[ 4.373688] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 4.380537] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.387793] usb usb3: Product: xHCI Host Controller
[ 4.392719] usb usb3: Manufacturer: Linux 4.14.108-ti-rt-r139 xhci-hcd
[ 4.399287] usb usb3: SerialNumber: xhci-hcd.2.auto
[ 4.405564] hub 3-0:1.0: USB hub found
[ 4.409391] hub 3-0:1.0: 1 port detected
[ 4.414154] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 4.419709] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
[ 4.427433] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[ 4.434284] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 4.442671] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[ 4.449520] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.456776] usb usb4: Product: xHCI Host Controller
[ 4.461694] usb usb4: Manufacturer: Linux 4.14.108-ti-rt-r139 xhci-hcd
[ 4.468252] usb usb4: SerialNumber: xhci-hcd.2.auto
[ 4.474368] hub 4-0:1.0: USB hub found
[ 4.478184] hub 4-0:1.0: 1 port detected
[ 4.486627] EXT4-fs (mmcblk1p1): INFO: recovery required on readonly filesystem
[ 4.494009] EXT4-fs (mmcblk1p1): write access will be enabled during recovery
[ 4.748750] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 4.901066] usb 3-1: New USB device found, idVendor=0409, idProduct=005a
[ 4.907815] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.947115] hub 3-1:1.0: USB hub found
[ 4.951192] hub 3-1:1.0: 4 ports detected
[ 5.137174] EXT4-fs (mmcblk1p1): recovery complete
[ 5.143986] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
[ 5.152257] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[ 5.163096] devtmpfs: mounted
[ 5.169775] Freeing unused kernel memory: 1024K
[ 5.244835] usb 3-1.4: new full-speed USB device number 3 using xhci-hcd
[ 5.375735] usb 3-1.4: New USB device found, idVendor=046d, idProduct=c52f
[ 5.382713] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.390760] usb 3-1.4: Product: USB Receiver
[ 5.395954] usb 3-1.4: Manufacturer: Logitech
[ 5.423405] systemd[1]: System time before build time, advancing clock.
[ 5.459020] systemd[1]: Failed to insert module 'kdbus': Function not implemented
[ 5.524351] systemd[1]: systemd 230 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 5.544559] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 8 (jessie)!

[ 5.570692] systemd[1]: Set hostname to <arm>.
[ 5.965244] systemd-fstab-generator[182]: Failed to create mount unit file /run/systemd/generator/-.mount, as it already exists. Duplicate entry in /etc/fstab?
[ 6.083047] systemd[172]: /lib/systemd/system-generators/systemd-fstab-generator failed with error code 1.
[ 6.344902] systemd[1]: connman.service: Cannot add dependency job, ignoring: Unit connman.service is masked.
[ 6.362164] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 6.389157] systemd[1]: Reached target Encrypted Volumes.
[ OK ] Reached target Encrypted Volumes.
[ 6.409415] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 6.429125] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 6.446090] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ OK ] Set up automount Arbitrary Executab…ats File System Automount Point.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Created slice system-getty.slice.
[ OK ] Listening on Journal Audit Socket.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Journal Socket.
Starting Create list of required st… nodes for the current kernel…
Starting LSB: Set console font and keymap…
Mounting Debug File System…
Starting File System Check on Root Device…
Starting Load Kernel Modules…
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting POSIX Message Queue File System…
[ OK ] Listening on Syslog Socket.
Starting Journal Service…
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Debug File System.
[ OK ] Started Create list of required sta…ce nodes for the current kernel.
[ OK ] Started LSB: Set console font and keymap.
[ OK ] Started File System Check on Root Device.
[ OK ] Started Load Kernel Modules.
[ OK ] Started File System Check Daemon to report status.
Mounting FUSE Control File System…
Starting Apply Kernel Variables…
Mounting Configuration File System…
Starting Create Static Device Nodes in /dev…
[ OK ] Mounted Configuration File System.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager…
[ OK ] Started Journal Service.
[ OK ] Started udev Kernel Device Manager.
Starting LSB: Tune IDE hard disks…
Starting LSB: Set preliminary keymap…
[ OK ] Started LSB: Set preliminary keymap.
Starting Remount Root and Kernel File Systems…
[ 8.301454] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro
[ 8.310569] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro
[ OK ] Started LSB: Tune IDE hard disks.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Reached target Local File Systems (Pre).
Starting udev Coldplug all Devices…
Starting Flush Journal to Persistent Storage…
Starting Load/Save Random Seed…
[ OK ] Reached target Local File Systems.
Starting Raise network interfaces…
[ OK ] Started Load/Save Random Seed.
[ 8.765209] systemd-journald[196]: Received request to flush runtime journal from PID 1
[ OK ] Started Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories…
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown…
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ 10.555047] systemd-fstab-generator[302]: Failed to create mount unit file /run/systemd/generator/-.mount, as it already exists. Duplicate entry in /etc/fstab?
[ OK ] Started udev Coldplug all Devices.
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting LSB: Start djv2.0 at boot time…
Starting Cape Manager Service…
Starting Modem Manager…
Starting Restore /etc/resolv.conf i…e the ppp link was shut down….
Starting Login Service…
Starting Generic Board Startup…
Starting LSB: Starts and stops Wicd…
Starting LSB: Load kernel modules needed to enable cpufreq scaling…
[ OK ] Started Regular background program processing daemon.
[ OK ] Started D-Bus System Message Bus.
Starting System Logging Service…
Starting Avahi mDNS/DNS-SD Stack…
[FAILED] Failed to start Cape Manager Service.
See 'systemctl status capemgr.service' for details.
[ OK ] Started Restore /etc/resolv.conf if…ore the ppp link was shut down..
[FAILED] Failed to start Generic Board Startup.
See 'systemctl status generic-board-startup.service' for details.
[ OK ] Started System Logging Service.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Login Service.
Starting LSB: SANE network scanner server…
Starting Authorization Manager…
[ OK ] Started LSB: SANE network scanner server.
[ 16.891875] systemd-fstab-generator[492]: Failed to create mount unit file /run/systemd/generator/-.mount, as it already exists. Duplicate entry in /etc/fstab?
[ OK ] Started Modem Manager.
[ OK ] Started Authorization Manager.
[ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ] Started LSB: Starts and stops Wicd.
[ OK ] Started Raise network interfaces.
[ OK ] Reached target Network.
Starting Permit User Sessions…
Starting OpenBSD Secure Shell server…
Starting /etc/rc.local Compatibility…
[ OK ] Started Permit User Sessions.
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started Getty on tty1.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Started LSB: Start djv2.0 at boot time.
[ 27.365721] net eth0: initializing cpsw version 1.15 (0)
[ 27.477686] Micrel KSZ9031 Gigabit PHY 48485000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
[ 27.569650] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 27.581650] 8021q: adding VLAN 0 to HW filter on device eth0
[*** ] A start job is running for dev-ttyS2.device (1min 9s / 1min 30s)[ 75.992975] irq 169: nobody cared (try booting with the "irqpoll" option)
[ 75.992986] CPU: 0 PID: 35 Comm: irq/42-4805d000 Tainted: G W 4.14.108-ti-rt-r139 #1
[ 75.992988] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 75.993016] [<c0112d58>] (unwind_backtrace) from [<c010d67c>] (show_stack+0x20/0x24)
[ 75.993028] [<c010d67c>] (show_stack) from [<c0cca3d4>] (dump_stack+0x80/0x94)
[ 75.993042] [<c0cca3d4>] (dump_stack) from [<c01b5778>] (__report_bad_irq+0x38/0xdc)
[ 75.993054] [<c01b5778>] (__report_bad_irq) from [<c01b5bb4>] (note_interrupt+0x26c/0x2b8)
[ 75.993064] [<c01b5bb4>] (note_interrupt) from [<c01b2748>] (handle_irq_event_percpu+0x98/0xb8)
[ 75.993074] [<c01b2748>] (handle_irq_event_percpu) from [<c01b27e0>] (handle_irq_event+0x78/0xbc)
[ 75.993083] [<c01b27e0>] (handle_irq_event) from [<c01b68cc>] (handle_level_irq+0xcc/0x198)
[ 75.993092] [<c01b68cc>] (handle_level_irq) from [<c01b14f8>] (generic_handle_irq+0x34/0x44)
[ 75.993105] [<c01b14f8>] (generic_handle_irq) from [<c0770b08>] (omap_gpio_irq_handler+0x110/0x164)
[ 75.993117] [<c0770b08>] (omap_gpio_irq_handler) from [<c01b3b04>] (irq_forced_thread_fn+0x30/0xa8)
[ 75.993125] [<c01b3b04>] (irq_forced_thread_fn) from [<c01b3f20>] (irq_thread+0x168/0x21c)
[ 75.993136] [<c01b3f20>] (irq_thread) from [<c0166770>] (kthread+0x170/0x178)
[ 75.993147] [<c0166770>] (kthread) from [<c0108e10>] (ret_from_fork+0x14/0x24)
[ 75.993150] handlers:
[ 75.993155] [<c01b2880>] irq_default_primary_handler threaded [<c08db59c>] regmap_irq_thread
[ 75.993167] Disabling IRQ #169
[ TIME ] Timed out waiting for device dev-ttyS2.device.
[DEPEND] Dependency failed for Serial Getty on ttyS2.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes…
[ OK ] Started Update UTMP about System Runlevel Changes.

拔掉再插入无线鼠标后,又能成功识
[ 169.810392] usb 3-1.4: USB disconnect, device number 3
[ 173.592698] usb 1-1: new full-speed USB device number 2 using xhci-hcd
[ 173.746886] usb 1-1: New USB device found, idVendor=046d, idProduct=c52f
[ 173.753631] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 173.760805] usb 1-1: Product: USB Receiver
[ 173.764926] usb 1-1: Manufacturer: Logitech
[ 173.889443] input: Logitech USB Receiver as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1:1.0/0003:046D:C52F.0001/input/input1
[ 173.905580] hid-generic 0003:046D:C52F.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-xhci-hcd.1.auto-1/input0
[ 173.922229] input: Logitech USB Receiver as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1:1.1/0003:046D:C52F.0002/input/input2
[ 174.003733] hid-generic 0003:046D:C52F.0002: input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-xhci-hcd.1.auto-1/input1
[ 174.017178] usbcore: registered new interface driver usbhid
[ 174.023175] usbhid: USB HID core driver

Nancy Wang:

PRU关闭的问题请参考:

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/768543/linux-am5728-do-i-have-to-disable-pruss-from-my-device-tree-if-the-pru-only-interacts-with-dsp

,

liu Qingfu:

Hi Nancy,

     我想把所有的pruss关闭掉,您推荐的网址没有具体说明,能举个例子吗

,

Nancy Wang:

您目前是使用的哪个设备树?上述帖子中说明dra7.dtsi中默认将pru status 设为 "disabled",例如am57xx-beagle-x15-revb1.dts中已经包含dra7.dts,请查看帖子中提到的设备树的具体配置,试一下是否有效。

processor-sdk-linux\Documentation\devicetree\bindings\soc\ti\ti,pruss.txt

赞(0)
未经允许不得转载:TI中文支持网 » AM5728: 如何关闭PRU模块
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1