怎么关掉开机的服务、应用,还我一个干净的启动系统
GPIO_DSP1的程序,运行没有问题。我修改了GPIO_DSP1的程序,添加了另外一个GPIO的控制,比如载板上引出的GPIO5_1,GPIO5_4等,运行的时候就出问题了,如下图root@ok5718-idk:/mnt/nfs/OK5718-SDK-V1.0# ./dsp_gpio.sh
cp: can't stat '/lib/firmware/cp': No such file or directory
omap_hwmod: mmu0_dsp1: _wait_target_disable failed
omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
omap_hwmod: mmu1_dsp1: _wait_target_disable failed
omap_hwmod: mmu0_dsp1: _wait_target_disable failed
remoteproc remoteproc2: stopped remote processor 40800000.dsp
remoteproc remoteproc2: releasing 40800000.dsp
omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
remoteproc remoteproc2: 40800000.dsp is available
remoteproc remoteproc2: powering up 40800000.dsp
remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 4364400
omap_hwmod: mmu0_dsp1: _wait_target_disable failed
omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1187 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x36c
44000000.ocp:L3 Custom Error: MASTER DSP1_MDMA TARGET L4_PER1_P3 (Read): Data Access in User mode during Functional access
Modules linked in: bc_example(O) sha512_generic sha512_arm sha256_generic sha1_generic sha1_arm_neon sha1_arm md5 cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo rfcomm pru_rproc pruss_intc wlan btusb btrtl btbcm btintel xhci_plat_hcd xhci_hcd pruss rpmsg_proto dwc3 udc_core rpmsg_rpc bluetooth snd_soc_**_card snd_soc_**_card_utils pwm_fan snd_soc_omap_hdmi_audio pvrsrvkm(O) omap_aes_driver pruss_soc_bus omap_sham c_can_platform c_can can_dev omap_wdt ahci_platform libahci_platform libahci libata scsi_mod ti_vip ti_vpe ti_sc ti_csc ti_vpdma dwc3_omap extcon_core w1_therm gpio_pisosr ti_cal spidev gt911 rtc_rx8010 ov5640_mipi omap_des snd_soc_wm8960 ov5640 omap_hdq des_generic wire crypto_engine omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel xr_usb_serial_common usbcore usb_common uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)
CPU: 0 PID: 1187 Comm: kworker/0:1 Tainted: G WO 4.9.41 #4
Hardware name: Generic DRA72X (Flattened Device Tree)
Workqueue: events request_firmware_work_func
Backtrace:
[<c020b2d8>] (dump_backtrace) from [<c020b594>] (show_stack+0x18/0x1c)
r7:00000009 r6:600f0193 r5:00000000 r4:c10229d0
[<c020b57c>] (show_stack) from [<c04ace60>] (dump_stack+0x8c/0xa0)
[<c04acdd4>] (dump_stack) from [<c022e4b8>] (__warn+0xec/0x104)
r7:00000009 r6:c0bcd950 r5:00000000 r4:ee1cd898
[<c022e3cc>] (__warn) from [<c022e510>] (warn_slowpath_fmt+0x40/0x48)
r9:00000006 r8:ef1da510 r7:c0bcdc44 r6:00000002 r5:c0bcd87c r4:c0bcd920
[<c022e4d4>] (warn_slowpath_fmt) from [<c04dcd10>] (l3_interrupt_handler+0x25c/0x36c)
r3:ef1da380 r2:c0bcd920
r4:80080003
[<c04dcab4>] (l3_interrupt_handler) from [<c027fd20>] (__handle_irq_event_percpu+0xb4/0x138)
r10:c101a4af r9:ef1cf200 r8:00000017 r7:ee1cd9bc r6:00000000 r5:ef1cf200
r4:ef1da880
[<c027fc6c>] (__handle_irq_event_percpu) from [<c027fdc8>] (handle_irq_event_percpu+0x24/0x60)
r10:ef25fa10 r9:ee1cc000 r8:ef006000 r7:00000000 r6:c1008c34 r5:ef1cf200
r4:ef1cf200
[<c027fda4>] (handle_irq_event_percpu) from [<c027fe44>] (handle_irq_event+0x40/0x64)
r5:ef1cf260 r4:ef1cf200
[<c027fe04>] (handle_irq_event) from [<c02834f0>] (handle_fasteoi_irq+0xc0/0x190)
r7:00000000 r6:c1008c34 r5:ef1cf260 r4:ef1cf200
[<c0283430>] (handle_fasteoi_irq) from [<c027ef48>] (generic_handle_irq+0x2c/0x3c)
我判断可能是系统占用了这些资源,怎么能把系统开机的哪些应用关闭呢,包括qt的?
服务自启动相关目录/lib/systemd/system
服务应用:/etc/init.d
qt桌面:将/etc/init.d/matrix-gui-2.0 文件删除或着重命名
但是我觉得您的问题是内核使用的引脚冲突了,和服务以及应用没有关系;您最后对比一下芯片手册,查看设备树的配置,对应的引脚是否复用为gpio的功能。
页:
[1]