根据之前的询问了解sdk6.0的版本的pru驱动已经可以支持单emac驱动
我在移植完成新的sdk之后,按照doc/devicetree/binding/net/ti-prueth.txt更改了设备树,但是pru驱动会报访问空指针的错误
使用的设备树是am572x-idk.dtb,pru部分修改如下
pruss2_eth: pruss2_eth { compatible = "ti,am57-prueth"; prus = <&pru2_0>, <&pru2_1>; //firmware-name = "ti-pruss/am57xx-pru0-prueth-fw.elf", firmware-name = "", "ti-pruss/am57xx-pru1-prueth-fw.elf"; sram = <&ocmcram1>; interrupt-parent = <&pruss2_intc>; mii-rt = <&pruss2_mii_rt>; interrupts = <20>, <21>; interrupt-names = "rx_red_hp", "rx_red_lp"; /*pruss2_emac0: ethernet-mii0 { phy-handle = <&pruss2_eth0_phy>; phy-mode = "mii"; interrupts = <20>, <22>, <23>, <26>; interrupt-names = "rx", "tx", "hsrprp_ptp_tx","emac_ptp_tx"; //Filled in by bootloader local-mac-address = [00 00 00 00 00 00]; };*/ pruss2_emac1: ethernet-mii1 { phy-handle = <&pruss2_eth1_phy>; phy-mode = "mii"; interrupts = <21>, <23>, <24>, <27>; interrupt-names = "rx", "tx", "hsrprp_ptp_tx","emac_ptp_tx"; /* Filled in by bootloader */ local-mac-address = [00 00 00 00 00 00]; }; };
user6163268:
报错的打印信息如下
[ 3.581261] mmcblk1rpmb: mmc1:0001 Q2J55L partition 3 4.00 MiB, chardev (244:0)
[ 3.590015] mmcblk1: p1 p2 p3
[ 3.607774] dmm 4e000000.dmm: workaround for errata i878 in use
[ 3.616061] dmm 4e000000.dmm: initialized all PAT entries
[ 3.623249] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.13
[ 3.630881] omapdss_hdmi5 58040000.encoder: Dropping the link to regulator.13
[ 3.640066] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.13
[ 3.647998] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 3.656299] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[ 3.665756] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3.672404] [drm] No driver support for vblank timestamp query.
[ 3.678383] [drm] Cannot find any crtc or sizes
[ 3.684597] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
[ 3.694439] ALSA device list:
[ 3.697423] No soundcards found.
[ 4.339411] EXT4-fs (mmcblk0p2): recovery complete
[ 4.345276] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.353473] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 4.371044] devtmpfs: mounted
[ 4.376974] Freeing unused kernel memory: 2048K
[ 4.381661] Run /sbin/init as init process
[ 4.697895] systemd[1]: System time before build time, advancing clock.
[ 4.719730] [drm] Cannot find any crtc or sizes
[ 4.741507] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[ 4.763548] systemd[1]: Detected architecture arm.Welcome to Arago 2019.05!
[ 4.802438] systemd[1]: Set hostname to <am57xx-evm>.
[ 5.068796] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 5.085929] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 5.373913] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.380614] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 5.451655] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.458713] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 5.499863] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.507190] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 5.545441] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 5.580444] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ OK ] Listening on Journal Socket.
Starting Load Kernel Modules…
[ 5.688719] cmemk: loading out-of-tree module taints kernel.
[ 5.696012] CMEMK module: reference Linux version 4.19.38
[ 5.702233] allocated heap buffer 0x40500000 of size 0x100000
[ 5.708060] cmemk initialized
[ OK ] Started Hardware RNG Entropy Gatherer Daemon.
[ 5.729938] cryptodev: driver 1.9 loaded.
[ 5.731423] random: crng init done
[ 5.731430] random: 5 urandom warning(s) missed due to ratelimiting
[ OK ] Reached target Swap.
[ 5.777745] usbcore: registered new interface driver usbfs
[ 5.783338] usbcore: registered new interface driver hub
[ 5.788811] usbcore: registered new device driver usb
Mounting POSIX Message Queue File System…
[ 5.814087] usbcore: registered new interface driver ftdi_sio
[ 5.820004] usbserial: USB Serial support registered for FTDI USB Serial Device
[ OK ] Listening on udev Kernel Socket.
Starting udev Coldplug all Devices…
[ OK ] Listening on Process Core Dump Socket.
Starting Create list of required st…ce nodes for the current kernel…
Starting Remount Root and Kernel File Systems…
[ OK ] Listening on Journal Socket (/dev/log).
[ 6.089357] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ OK ] Created slice system-serial\x2dgetty.slice.
Starting Journal Service…
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
Mounting Kernel Debug File System…
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
Mounting Temporary Directory (/tmp)…
[ OK ] Listening on initctl Compatibility Named Pipe.
[ OK ] Started Journal Service.
[ OK ] Started Load Kernel Modules.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Create list of required sta…vice nodes for the current kernel.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted Temporary Directory (/tmp).
Starting Create Static Device Nodes in /dev…
Mounting Kernel Configuration File System…
Starting Apply Kernel Variables…
Starting Flush Journal to Persistent Storage…
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Started Apply Kernel Variables.
[ 6.952829] systemd-journald[139]: Received request to flush runtime journal from PID 1
Starting udev Kernel Device Manager…
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile…
Mounting /media/ram…
[ OK ] Reached target Containers.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Mounted /var/volatile.
[ OK ] Mounted /media/ram.
Starting Load/Save Random Seed…
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories…
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Service…
Starting Network Time Synchronization…
Starting Update UTMP about System Boot/Shutdown…
[ OK ] Started Network Service.
[ OK ] Started Update UTMP about System Boot/Shutdown.
Starting Network Name Resolution…
Starting Wait for Network to be Configured…
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ 8.571152] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver
[ 8.579361] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver
[ 8.617400] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
[ 8.694998] remoteproc remoteproc0: 58820000.ipu is available
[ 8.730118] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
[ 8.742630] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
[ 8.773695] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
[ 8.796635] remoteproc remoteproc1: 55020000.ipu is available
[ 8.807399] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
[ 8.818192] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
[ 8.826934] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
[ OK ] Started Network Name Resolution.
[ 8.852118] remoteproc remoteproc2: 40800000.dsp is available
[ OK ] Reached target Network.
[ 8.887184] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
[ OK ] Reached target Host and Network Name Lookups.
[ 8.915912] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
[ 8.924075] omap-rproc 41000000.dsp: assigned reserved memory node dsp2-memory@9f000000
[ 8.944311] remoteproc remoteproc3: 41000000.dsp is available
[ 9.198092] remoteproc remoteproc1: powering up 55020000.ipu
[ 9.231695] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3747220
[ 9.239557] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
[ OK ] Found device /dev/ttyS2.
[ 9.429257] remoteproc remoteproc0: powering up 58820000.ipu
[ 9.434979] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 6704992
[ 9.476389] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
[ 9.628215] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 9.634519] remoteproc remoteproc0: registered virtio0 (type 7)
[ 9.640823] remoteproc remoteproc0: remote processor 58820000.ipu is now up
[ 9.682932] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 9.686083] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
[ 9.727724] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
[ 9.729722] remoteproc remoteproc1: registered virtio1 (type 7)
[ 9.729732] remoteproc remoteproc1: remote processor 55020000.ipu is now up
[ OK ] Started udev Coldplug all Devices.[ 9.814172] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ 10.041559] Driver for 1-wire Dallas network protocol.
[ 10.053286] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659038@58:tps659038_rtc as rtc0
[ OK ] Listening on dropbear.socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ 10.319915] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.:. Driver in Interrupt mode
[ 10.346378] omap_gpio 48057000.gpio: Could not set line 16 debounce to 20000 microseconds (-22)
[ 10.355299] ov2659 0-0030: Sensor detection failed (3030, 0)
[ OK ] Listening on D-Bus System Message Bus Socket.
Starting Reboot and dump vmcore via kexec…
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ 10.459074] omap_rtc 48838000.rtc: registered as rtc1
[ 10.466386] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ 10.479914] omap-des 480a5000.des: will run requests pump with realtime priority
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ 10.550757] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000000000000 crc 3d
Starting rng-tools.service…
[ 10.592044] w1_master_driver w1_bus_master1: Family 1 for 01.000000000000.3d is not registered.
Starting Simple Network Management Protocol (SNMP) Daemon….
Starting TI IPC Daemon…
Starting Print notice about GPLv3 packages…
[ 10.995211] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[ OK ] Started D-Bus System Message Bus.
[ OK ] Started Redis In-Memory Data Store.
[ 11.113384] vpe 489d0000.vpe: Device registered as /dev/video0
[ 11.125750] remoteproc remoteproc2: powering up 40800000.dsp
[ 11.133997] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 20384784
[ 11.152977] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 11.158870] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 11.183057] phy phy-4a084000.phy.3: Linked as a consumer to regulator.21
[ 11.222348] remoteproc remoteproc3: powering up 41000000.dsp
[ 11.230104] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ 11.236091] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 11.240138] phy phy-4a085000.phy.4: Linked as a consumer to regulator.21
[ 11.249891] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 20384784
[ 11.250059] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
[ 11.250099] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
[ 11.280369] CAN device driver interface
[ 11.308287] SCSI subsystem initialized
[ 11.333567] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=3f02162f, irq=89)
[ 11.375653] virtio_rpmsg_bus virtio2: rpmsg host is online
[ 11.375741] remoteproc remoteproc2: registered virtio2 (type 7)
[ 11.375750] remoteproc remoteproc2: remote processor 40800000.dsp is now up
[ 11.377843] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
[ 11.456724] virtio_rpmsg_bus virtio3: rpmsg host is online
[ 11.456812] remoteproc remoteproc3: registered virtio3 (type 7)
[ 11.456821] remoteproc remoteproc3: remote processor 41000000.dsp is now up
[ 11.456968] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
[ 11.496088] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 11.501950] omap-aes 4b500000.aes: will run requests pump with realtime priority
[ 11.591759] net eth0: initializing cpsw version 1.15 (0)
[ 11.596213] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ 11.605768] ahci 4a140000.sata: forcing port_map 0x0 -> 0x1
[ 11.605844] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 11.605856] ahci 4a140000.sata: flags: 64bit ncq sntf pm led clo only pmp pio slum part ccc apst
[ 11.617481] omap-aes 4b700000.aes: will run requests pump with realtime priority
[ 11.617825] vip 48990000.vip: loading firmware vpdma-1b8.bin
[ 11.649793] vip 48990000.vip: VPDMA firmware loaded
[ 11.660406] scsi host0: ahci
[ 11.709903] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 81
[ 11.715910] Micrel KSZ9031 Gigabit PHY 48485000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
[ 11.731175] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 11.852489] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.gpu on minor 1
[ 11.990236] net eth1: initializing cpsw version 1.15 (0)
[ 11.997884] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
[ 11.997895] omap-hdmi-audio omap-hdmi-audio.0.auto: ASoC: no DMI vendor name!
[ 12.042317] ata1: SATA link down (SStatus 0 SControl 300)
[ 12.110660] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=POLL)
[ 12.117846] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 12.529703] davinci_mdio 4b2b2400.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 12.529714] libphy: 4b2b2400.mdio: probed
[ 12.529981] mdio_bus 4b2b2400.mdio: MDIO device at address 0 is missing.
[ 12.620347] davinci_mdio 4b2b2400.mdio: phy[1]: device 4b2b2400.mdio:01, driver TI TLK10X 10/100 Mbps PHY
[ 12.626015] remoteproc remoteproc4: 4b234000.pru is available
[ 12.626193] pru-rproc 4b234000.pru: PRU rproc node pru@4b234000 probed successfully
[ 12.626616] remoteproc remoteproc5: 4b238000.pru is available
[ 12.626780] pru-rproc 4b238000.pru: PRU rproc node pru@4b238000 probed successfully
[ 12.627187] remoteproc remoteproc6: 4b2b4000.pru is available
[ 12.627375] pru-rproc 4b2b4000.pru: PRU rproc node pru@4b2b4000 probed successfully
[ 12.627742] remoteproc remoteproc7: 4b2b8000.pru is available
[ 12.627888] pru-rproc 4b2b8000.pru: PRU rproc node pru@4b2b8000 probed successfully
[ 12.664652] prueth pruss2_eth: port 2: using random MAC addr: 6e:0d:36:4c:19:13
[ 12.781685] prueth pruss2_eth: pruss_fw_drop_untagged_vlan 0
[ 12.781701] prueth pruss2_eth: pruss MC Mask (Port 1) ff:ff:ff:ff:ff:ff
[ 12.781744] prueth pruss2_eth: request for sync latch pins failed: -19
[ 12.783302] prueth pruss2_eth: TI PRU ethernet (type 0) driver initialized
[ OK ] Started Periodic Command Scheduler.
Starting uim-sysfs.service…
Starting RPC Bind Service…
Starting Login Service…
Starting Enable and configure wl18xx bluetooth stack…
[ OK ] Started Job spooling tools.
Starting Avahi mDNS/DNS-SD Stack…
Starting Permit User Sessions…
Starting TI MultiCore Tools Daemon…
[ OK ] Started Daily rotation of log files.
[ OK ] Reached target Timers.
Starting Lightning Fast Webserver With Light System Requirements…
[ OK ] Started Simple Network Management Protocol (SNMP) Daemon..
[ OK ] Started Reboot and dump vmcore via kexec.
[ OK ] Started rng-tools.service.
[ OK ] Started TI IPC Daemon.
[ OK ] Started RPC Bind Service.
[ OK ] Started Enable and configure wl18xx bluetooth stack.
[ OK ] Started Permit User Sessions.
[ OK ] Started TI MultiCore Tools Daemon.
[ OK ] Started Lightning Fast Webserver With Light System Requirements.
[ 16.247484] cpsw 48484000.ethernet eth1: Link is Up – 1Gbps/Full – flow control rx/tx
[ 16.264069] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 18.047338] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
[ 18.065487] NET: Registered protocol family 45
[ 18.088828] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
[ 18.096606] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
[ 18.132672] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
[ 18.348376] dwc3 48890000.usb: Failed to get clk 'ref': -2
[ 18.396048] dwc3 488d0000.usb: Failed to get clk 'ref': -2
[ 19.730488] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 19.741752] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 19.765214] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
[ 19.776196] xhci-hcd xhci-hcd.1.auto: irq 181, io mem 0x48890000
[ 19.785439] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 19.794308] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 19.812454] usb usb1: Product: xHCI Host Controller
[ 19.825032] usb usb1: Manufacturer: Linux 4.19.38-rt19-g1224cd679e xhci-hcd
[ 19.833486] usb usb1: SerialNumber: xhci-hcd.1.auto
[ 19.842175] pruss_intc_irq_set_affinity: event 21 not configured: ch = -1, host = -1
[ 19.842311] pruss_intc_irq_set_affinity: event 23 not configured: ch = -1, host = -1
[ 19.842399] pruss_intc_irq_set_affinity: event 27 not configured: ch = -1, host = -1
[ 19.855133] iep ptp bc clkid -1
[ 19.900904] Unable to handle kernel NULL pointer dereference at virtual address 000000f0
[ 19.909148] pgd = d1b2bca8
[ 19.911913] [000000f0] *pgd=ad125003, *pmd=00000000
[ 19.919185] Internal error: Oops: a06 [#1] PREEMPT SMP ARM
[ 19.919188] Modules linked in: xhci_plat_hcd(+) xhci_hcd dwc3 udc_core rpmsg_proto rpmsg_rpc ti_prueth pru_rproc pruss irq_pruss_intc snd_soc_omap_hdmi pvrsrvkm(O) ahci_platform ti_vip libahci_platform libahci omap_aes_driver libata c_can_platform c_can can_dev scsi_mod pruss_soc_bus omap_sham omap_wdt phy_omap_usb2 ti_vpe ti_sc ti_csc ti_vpdma dwc3_omap omap_des rtc_omap extcon_palmas ov2659 omap_hdq des_generic v4l2_fwnode wire crypto_engine gpio_pisosr gpio_tpic2810 omap_crypto rtc_palmas omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio ftdi_sio usbserial usbcore usb_common gdbserverproxy(O) cryptodev(O) cmemk(O)
[ 19.919325] CPU: 0 PID: 166 Comm: systemd-network Tainted: G O 4.19.38-rt19-g1224cd679e #8
[ 19.919328] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 19.919342] PC is at memcpy+0x270/0x330
[ 19.919345] LR is at (null)
[ 19.919349] pc : [<c099f590>] lr : [<00000000>] psr: 600b0013
[ 19.919353] sp : ed1d7a74 ip : 00000000 fp : ed1d7ae4
[ 19.919357] r10: ec6e09ee r9 : 00000000 r8 : ec6e0aaa
[ 19.919361] r7 : bf379178 r6 : ec6e0840 r5 : ed1ed800 r4 : ec6e0840
[ 19.919365] r3 : 00000000 r2 : ffffffe4 r1 : ec6e0ab0 r0 : 000000f0
[ 19.919371] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 19.919376] Control: 30c5387d Table: adbff480 DAC: fffffffd
[ 19.919382] Process systemd-network (pid: 166, stack limit = 0xc8cc9833)
[ 19.919386] Stack: (0xed1d7a74 to 0xed1d8000)
[ 19.919392] 7a60: 000000f0 ec6e0840 bf3720e4
[ 19.919399] 7a80: 05f10000 00000000 00000000 ed1d7af4 00000000 bf377b40 00001002 00000000
[ 19.919420] 7aa0: ed1ed800 00000000 ec6e0ab8 ec6e0978 40300000 ed1edd80 ed1d7ae4 ed1ed800
[ 19.919441] 7ac0: c1007488 00000000 bf377b40 ed1ed82c ed328010 00000000 ed1d7b24 ed1d7ae8
[ 19.919449] 7ae0: c0863ad8 bf3708c8 c1007488 00001002 ed1d7b0c ed1ed800 00000000 ce640771
[ 19.919455] 7b00: ed1d7b24 ed1ed800 00000001 00001003 c1007488 00001002 ed1d7b64 ed1d7b28
[ 19.919461] 7b20: c0863ed0 c0863a10 00000000 00000000 00000000 00000000 00000000 ce640771
[ 19.919467] 7b40: ed1ed800 00001002 00000000 ed1ed944 ed1d7cfc ed328010 ed1d7b8c ed1d7b68
[ 19.919473] 7b60: c0863f50 c0863d70 ed1ed800 c1007488 ed1d7c2c ed2fc6c0 ed1d7cfc ed328010
[ 19.919478] 7b80: ed1d7c14 ed1d7b90 c0879b70 c0863f3c eed490c0 eda5dac0 ed1d7d9c bf377b40
[ 19.919484] 7ba0: c0255934 c025588c ed1d7c0c eda5dac0 eed490c0 00000000 ed1d7c0c eda5e0bc
[ 19.919490] 7bc0: eed490c0 00000010 00000033 ed328028 ed1d7c2c 0000001a 00000000 ed328000
[ 19.919496] 7be0: ed1d7c14 ce640771 c054b804 c1007488 ed328000 ed1d7d9c ed2fc6c0 c1048240
[ 19.919501] 7c00: ed328010 ed328000 ed1d7d34 ed1d7c18 c087a3ac c0879880 ed1d7c2c ed1d7cfc
[ 19.919507] 7c20: 00000000 edbbf000 ed1d7c5c 00000000 00000000 00000000 00000000 00000000
[ 19.919512] 7c40: 00000000 00000000 00000000 00000000 00000000 ed328020 00000000 00000000
[ 19.919517] 7c60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 19.919522] 7c80: 00000000 00000000 00000000 00000000 00000000 ed328028 00000000 00000000
[ 19.919527] 7ca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 19.919532] 7cc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 19.919538] 7ce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c0236e00
[ 19.919543] 7d00: ed1d7d24 ed1d7d10 c08a0110 ce640771 c087a2b8 c1007488 c109135c ed2fc6c0
[ 19.919549] 7d20: 00000000 00000000 ed1d7d94 ed1d7d38 c08763b0 c087a2c4 ed12b180 c1091344
[ 19.919554] 7d40: c1091344 ed1d7d9c c1007488 c0c3a968 c02542d8 ed1d7d54 ed1d7d54 60000013
[ 19.919560] 7d60: 00000000 ce640771 c1007488 ed2fc6c0 c1007488 c0876274 ed328000 00000038
[ 19.919565] 7d80: c1007488 00000000 ed1d7de4 ed1d7d98 c08a3ec0 c0876280 ed305400 00000000
[ 19.919570] 7da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ce640771
[ 19.919576] 7dc0: eea2b800 eea2b800 ed991400 00000038 ed2fc6c0 00000000 ed1d7df4 ed1d7de8
[ 19.919581] 7de0: c0876270 c08a3e0c ed1d7e24 ed1d7df8 c08a361c c0876264 7fffffff ce640771
[ 19.919587] 7e00: 00000008 ed1d7eb4 c1007488 ed991400 ed2fc6c0 006000c0 ed1d7e84 ed1d7e28
[ 19.919592] 7e20: c08a3918 c08a3494 c09ba85c c0254408 ed1d7e54 ed1d7e40 00000000 00000038
[ 19.919598] 7e40: ee9fb800 00000000 000000a6 000003e1 000003de ce640771 c0253b98 00000000
[ 19.919604] 7e60: c1007488 ee506c00 00000000 bee1f94c ed1d6000 00000122 ed1d7e94 ed1d7e88
[ 19.919609] 7e80: c083e968 c08a376c ed1d7f8c ed1d7e98 c083fa50 c083e958 ed1d7ebc c0254408
[ 19.919615] 7ea0: ed1d7ecc 00000000 00000000 004fc590 00000038 ed1d7ee4 00000010 00000001
[ 19.919621] 7ec0: 00000000 00000000 ed1d7eb4 00000000 ed1d7f0c 00000000 00000000 00000000
[ 19.919628] 7ee0: ed1d7f0c 00000010 00000000 00000000 00000000 ece3e210 ed147910 ecc04b40
[ 19.919634] 7f00: ed1d7f1c ed1d7f10 c0299468 c0299224 ed1d7f54 ed1d7f20 c0357798 c029945c
[ 19.919639] 7f20: 00000020 00000000 ed1b4000 00000000 ed12b74c ed12b180 c1053d70 ed12b77c
[ 19.919645] 7f40: ed1b4000 00000006 ed1d7f64 ed1d7f58 c03578d4 c03576b0 ed1d7f8c ce640771
[ 19.919651] 7f60: c024a4c0 ce640771 c0201204 bee1f94c 00000010 004e65c8 00000122 c0201204
[ 19.919656] 7f80: ed1d7fa4 ed1d7f90 c083fab4 c083f990 bee1f94c 00000010 00000000 ed1d7fa8
[ 19.919662] 7fa0: c0201000 c083fa9c bee1f94c 00000010 00000003 004fc590 00000038 00000000
[ 19.919667] 7fc0: bee1f94c 00000010 004e65c8 00000122 00496215 004f7298 00000000 004fc5d0
[ 19.919673] 7fe0: 00000000 bee1f928 b6efc59d b6e04168 60000010 00000003 00000000 00000000
[ 19.919676] Backtrace:
[ 19.919710] [<bf3708bc>] (emac_ndo_open [ti_prueth]) from [<c0863ad8>] (__dev_open+0xd4/0x158)
[ 19.919718] r10:00000000 r9:ed328010 r8:ed1ed82c r7:bf377b40 r6:00000000 r5:c1007488
[ 19.919721] r4:ed1ed800
[ 19.919732] [<c0863a04>] (__dev_open) from [<c0863ed0>] (__dev_change_flags+0x16c/0x1cc)
[ 19.919739] r8:00001002 r7:c1007488 r6:00001003 r5:00000001 r4:ed1ed800
[ 19.919750] [<c0863d64>] (__dev_change_flags) from [<c0863f50>] (dev_change_flags+0x20/0x50)
[ 19.919756] r9:ed328010 r8:ed1d7cfc r7:ed1ed944 r6:00000000 r5:00001002 r4:ed1ed800
[ 19.919766] [<c0863f30>] (dev_change_flags) from [<c0879b70>] (do_setlink+0x2fc/0xa44)
[ 19.919772] r9:ed328010 r8:ed1d7cfc r7:ed2fc6c0 r6:ed1d7c2c r5:c1007488 r4:ed1ed800
[ 19.919778] [<c0879874>] (do_setlink) from [<c087a3ac>] (rtnl_setlink+0xf4/0x140)
[ 19.919785] r10:ed328000 r9:ed328010 r8:c1048240 r7:ed2fc6c0 r6:ed1d7d9c r5:ed328000
[ 19.919788] r4:c1007488
[ 19.919797] [<c087a2b8>] (rtnl_setlink) from [<c08763b0>] (rtnetlink_rcv_msg+0x13c/0x308)
[ 19.919803] r9:00000000 r8:00000000 r7:ed2fc6c0 r6:c109135c r5:c1007488 r4:c087a2b8
[ 19.919815] [<c0876274>] (rtnetlink_rcv_msg) from [<c08a3ec0>] (netlink_rcv_skb+0xc0/0x118)
[ 19.919821] r10:00000000 r9:c1007488 r8:00000038 r7:ed328000 r6:c0876274 r5:c1007488
[ 19.919824] r4:ed2fc6c0
[ 19.919834] [<c08a3e00>] (netlink_rcv_skb) from [<c0876270>] (rtnetlink_rcv+0x18/0x1c)
[ 19.919839] r8:00000000 r7:ed2fc6c0 r6:00000038 r5:ed991400 r4:eea2b800
[ 19.919848] [<c0876258>] (rtnetlink_rcv) from [<c08a361c>] (netlink_unicast+0x194/0x210)
[ 19.919858] [<c08a3488>] (netlink_unicast) from [<c08a3918>] (netlink_sendmsg+0x1b8/0x3a4)
[ 19.919864] r9:006000c0 r8:ed2fc6c0 r7:ed991400 r6:c1007488 r5:ed1d7eb4 r4:00000008
[ 19.919874] [<c08a3760>] (netlink_sendmsg) from [<c083e968>] (sock_sendmsg+0x1c/0x2c)
[ 19.919880] r10:00000122 r9:ed1d6000 r8:bee1f94c r7:00000000 r6:ee506c00 r5:c1007488
[ 19.919883] r4:00000000
[ 19.919892] [<c083e94c>] (sock_sendmsg) from [<c083fa50>] (__sys_sendto+0xcc/0x10c)
[ 19.919899] [<c083f984>] (__sys_sendto) from [<c083fab4>] (sys_sendto+0x24/0x2c)
[ 19.919905] r8:c0201204 r7:00000122 r6:004e65c8 r5:00000010 r4:bee1f94c
[ 19.919914] [<c083fa90>] (sys_sendto) from [<c0201000>] (ret_fast_syscall+0x0/0x54)
[ 19.919917] Exception stack(0xed1d7fa8 to 0xed1d7ff0)
[ 19.919924] 7fa0: bee1f94c 00000010 00000003 004fc590 00000038 00000000
[ 19.919930] 7fc0: bee1f94c 00000010 004e65c8 00000122 00496215 004f7298 00000000 004fc5d0
[ 19.919934] 7fe0: 00000000 bee1f928 b6efc59d b6e04168
[ 19.919941] Code: e1a0382e e491e004 e25cc004 e183380e (e4803004)
[ 20.285928] hub 1-0:1.0: USB hub found
[ 20.286589] hub 1-0:1.0: 1 port detected
[ 20.306768] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 20.306792] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 20.306812] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 20.306944] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 20.307167] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[ 20.307178] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 20.307186] usb usb2: Product: xHCI Host Controller
[ 20.307194] usb usb2: Manufacturer: Linux 4.19.38-rt19-g1224cd679e xhci-hcd
[ 20.307202] usb usb2: SerialNumber: xhci-hcd.1.auto
[ 20.326386] hub 2-0:1.0: USB hub found
[ 20.326441] hub 2-0:1.0: 1 port detected
[ 20.342912] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 20.343122] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
[ 20.343726] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
[ 20.349765] xhci-hcd xhci-hcd.2.auto: irq 182, io mem 0x488d0000
[ 20.350662] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 20.350673] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 20.350681] usb usb3: Product: xHCI Host Controller
[ 20.350688] usb usb3: Manufacturer: Linux 4.19.38-rt19-g1224cd679e xhci-hcd
[ 20.350696] usb usb3: SerialNumber: xhci-hcd.2.auto
[ 20.358654] hub 3-0:1.0: USB hub found
[ 20.358706] hub 3-0:1.0: 1 port detected
[ 20.359432] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 20.359451] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
[ 20.359469] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[ 20.359593] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 20.359872] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[ 20.359883] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 20.359891] usb usb4: Product: xHCI Host Controller
[ 20.359899] usb usb4: Manufacturer: Linux 4.19.38-rt19-g1224cd679e xhci-hcd
[ 20.359906] usb usb4: SerialNumber: xhci-hcd.2.auto
[ 20.369921] hub 4-0:1.0: USB hub found
[ 20.369980] hub 4-0:1.0: 1 port detected
[ 20.910969] —[ end trace 0000000000000002 ]—
[ 21.072413] ————[ cut here ]————
[ 21.072431] WARNING: CPU: 0 PID: 166 at kernel/locking/rtmutex.h:28 rt_mutex_slowlock_locked+0x23c/0x2d4
[ 21.072433] rtmutex deadlock detected
[ 21.072436] Modules linked in: xhci_plat_hcd xhci_hcd dwc3 udc_core rpmsg_proto rpmsg_rpc ti_prueth pru_rproc pruss irq_pruss_intc snd_soc_omap_hdmi pvrsrvkm(O) ahci_platform ti_vip libahci_platform libahci omap_aes_driver libata c_can_platform c_can can_dev scsi_mod pruss_soc_bus omap_sham omap_wdt phy_omap_usb2 ti_vpe ti_sc ti_csc ti_vpdma dwc3_omap omap_des rtc_omap extcon_palmas ov2659 omap_hdq des_generic v4l2_fwnode wire crypto_engine gpio_pisosr gpio_tpic2810 omap_crypto rtc_palmas omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio ftdi_sio usbserial usbcore usb_common gdbserverproxy(O) cryptodev(O) cmemk(O)
[ 21.072563] CPU: 0 PID: 166 Comm: systemd-network Tainted: G D O 4.19.38-rt19-g1224cd679e #8
[ 21.072566] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 21.072569] Backtrace:
[ 21.072582] [<c020c6a8>] (dump_backtrace) from [<c020c9e0>] (show_stack+0x18/0x1c)
[ 21.072589] r7:c0bbde24 r6:60070193 r5:00000000 r4:c1050664
[ 21.072598] [<c020c9c8>] (show_stack) from [<c09a1084>] (dump_stack+0x90/0xa4)
[ 21.072610] [<c09a0ff4>] (dump_stack) from [<c022cf60>] (__warn+0xdc/0xf8)
[ 21.072615] r7:c0bbde24 r6:00000009 r5:00000000 r4:ed1d766c
[ 21.072625] [<c022ce84>] (__warn) from [<c022cb7c>] (warn_slowpath_fmt+0x50/0x6c)
[ 21.072630] r9:00000002 r8:ed1d76f8 r7:00000000 r6:c1091344 r5:c0bbde08 r4:c1007488
[ 21.072639] [<c022cb30>] (warn_slowpath_fmt) from [<c09b83d0>] (rt_mutex_slowlock_locked+0x23c/0x2d4)
[ 21.072642] r3:ffffffdd r2:c0bbde08
[ 21.072645] r5:c1007488 r4:0000e000
[ 21.072652] [<c09b8194>] (rt_mutex_slowlock_locked) from [<c09b84d8>] (rt_mutex_slowlock.constprop.13+0x70/0xb4)
[ 21.072657] r10:00000000 r9:60070113 r8:ed1d76f8 r7:c1091344 r6:00000000 r5:00000000
[ 21.072660] r4:c1007488
[ 21.072666] [<c09b8468>] (rt_mutex_slowlock.constprop.13) from [<c09b893c>] (__rt_mutex_lock_state+0x94/0xbc)
[ 21.072671] r10:ed1c3d08 r9:00000008 r8:ecc04500 r7:ee805b10 r6:00000000 r5:00000002
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages[ 21.072674] r4:c1091344
[ 21.072681] [<c09b88a8>] (__rt_mutex_lock_state) from [<c09ba91c>] (_mutex_lock+0x14/0x18)
[ 21.072684] r5:ecc31600 r4:ede8d800
[ 21.072694] [<c09ba908>] (_mutex_lock) from [<c0873698>] (rtnl_lock+0x18/0x1c)
[ 21.072703] [<c0873680>] (rtnl_lock) from [<c094f758>] (ipv6_sock_mc_close+0x34/0x44)
[ 21.072712] [<c094f724>] (ipv6_sock_mc_close) from [<c091ce30>] (inet6_release+0x24/0x40)
[ 21.072716] r5:ecc31600 r4:ede8d800
[ 21.072725] [<c091ce0c>] (inet6_release) from [<c083d2bc>] (__sock_release+0x48/0xc0)
[ 21.072728] r5:ecc316b8 r4:ecc31600
[ 21.072734] [<c083d274>] (__sock_release) from [<c083d34c>] (sock_close+0x18/0x20)
[ 21.072738] r7:ee805b10 r6:ecc31620 r5:00000000 r4:ed1c3d00
[ 21.072746] [<c083d334>] (sock_close) from [<c0357734>] (__fput+0x90/0x1d0)
[ 21.072751] [<c03576a4>] (__fput) from [<c03578d4>] (____fput+0x10/0x14)
[ 21.072756] r10:ed12b180 r9:ed1c3d00 r8:ed12b77c r7:c1053d70 r6:ed12b180 r5:ed12b74c
[ 21.072759] r4:ed1c3c00
[ 21.072766] [<c03578c4>] (____fput) from [<c024a4d8>] (task_work_run+0x9c/0xb8)
[ 21.072773] [<c024a43c>] (task_work_run) from [<c0230a2c>] (do_exit+0x3a4/0xb18)
[ 21.072778] r9:00000000 r8:ed1d786c r7:ed1d6000 r6:ed999d90 r5:ed999d40 r4:ed12b180
[ 21.072784] [<c0230688>] (do_exit) from [<c020bd78>] (die+0x34c/0x358)
[ 21.072786] r7:ed1d6000
[ 21.072795] [<c020ba2c>] (die) from [<c0213ec4>] (__do_kernel_fault.part.0+0x6c/0x7c)
[ 21.072801] r10:ed999d90 r9:c107b350 r8:000000f0 r7:ed999d40 r6:00000a06 r5:ed1d7a20
[ 21.072803] r4:000000f0
[ 21.072812] [<c0213e58>] (__do_kernel_fault.part.0) from [<c0214258>] (do_bad_area+0x0/0x84)
[ 21.072816] r7:00000a06 r4:ed1d7a20
[ 21.072825] [<c0213ed4>] (do_page_fault) from [<c02143c8>] (do_translation_fault+0xec/0x118)
[ 21.072831] r10:ec6e09ee r9:ed1d6000 r8:00000a06 r7:c100c084 r6:000000f0 r5:00000a06
[ 21.072833] r4:c1007488
[ 21.072842] [<c02142dc>] (do_translation_fault) from [<c021443c>] (do_DataAbort+0x48/0xe0)
[ 21.072848] r9:ed1d6000 r8:ed1d7a20 r7:c100c084 r6:000000f0 r5:00000a06 r4:c1007488
[ 21.072856] [<c02143f4>] (do_DataAbort) from [<c0201970>] (__dabt_svc+0x50/0x80)
[ 21.072860] Exception stack(0xed1d7a20 to 0xed1d7a68)
[ 21.072866] 7a20: 000000f0 ec6e0ab0 ffffffe4 00000000 ec6e0840 ed1ed800 ec6e0840 bf379178
[ 21.072871] 7a40: ec6e0aaa 00000000 ec6e09ee ed1d7ae4 00000000 ed1d7a74 00000000 c099f590
[ 21.072874] 7a60: 600b0013 ffffffff
[ 21.072880] r9:ed1d6000 r8:ec6e0aaa r7:ed1d7a54 r6:ffffffff r5:600b0013 r4:c099f590
[ 21.072908] [<bf3708bc>] (emac_ndo_open [ti_prueth]) from [<c0863ad8>] (__dev_open+0xd4/0x158)
[ 21.072915] r10:00000000 r9:ed328010 r8:ed1ed82c r7:bf377b40 r6:00000000 r5:c1007488
[ 21.072917] r4:ed1ed800
[ 21.072927] [<c0863a04>] (__dev_open) from [<c0863ed0>] (__dev_change_flags+0x16c/0x1cc)
[ 21.072932] r8:00001002 r7:c1007488 r6:00001003 r5:00000001 r4:ed1ed800
[ 21.072941] [<c0863d64>] (__dev_change_flags) from [<c0863f50>] (dev_change_flags+0x20/0x50)
[ 21.072947] r9:ed328010 r8:ed1d7cfc r7:ed1ed944 r6:00000000 r5:00001002 r4:ed1ed800
[ 21.072955] [<c0863f30>] (dev_change_flags) from [<c0879b70>] (do_setlink+0x2fc/0xa44)
[ 21.072961] r9:ed328010 r8:ed1d7cfc r7:ed2fc6c0 r6:ed1d7c2c r5:c1007488 r4:ed1ed800
[ 21.072966] [<c0879874>] (do_setlink) from [<c087a3ac>] (rtnl_setlink+0xf4/0x140)
[ 21.072972] r10:ed328000 r9:ed328010 r8:c1048240 r7:ed2fc6c0 r6:ed1d7d9c r5:ed328000
[ 21.072974] r4:c1007488
[ 21.072982] [<c087a2b8>] (rtnl_setlink) from [<c08763b0>] (rtnetlink_rcv_msg+0x13c/0x308)
[ 21.072987] r9:00000000 r8:00000000 r7:ed2fc6c0 r6:c109135c r5:c1007488 r4:c087a2b8
[ 21.072998] [<c0876274>] (rtnetlink_rcv_msg) from [<c08a3ec0>] (netlink_rcv_skb+0xc0/0x118)
[ 21.073004] r10:00000000 r9:c1007488 r8:00000038 r7:ed328000 r6:c0876274 r5:c1007488
[ 21.073006] r4:ed2fc6c0
[ 21.073015] [<c08a3e00>] (netlink_rcv_skb) from [<c0876270>] (rtnetlink_rcv+0x18/0x1c)
[ 21.073020] r8:00000000 r7:ed2fc6c0 r6:00000038 r5:ed991400 r4:eea2b800
[ 21.073029] [<c0876258>] (rtnetlink_rcv) from [<c08a361c>] (netlink_unicast+0x194/0x210)
[ 21.073038] [<c08a3488>] (netlink_unicast) from [<c08a3918>] (netlink_sendmsg+0x1b8/0x3a4)
[ 21.073043] r9:006000c0 r8:ed2fc6c0 r7:ed991400 r6:c1007488 r5:ed1d7eb4 r4:00000008
[ 21.073052] [<c08a3760>] (netlink_sendmsg) from [<c083e968>] (sock_sendmsg+0x1c/0x2c)
[ 21.073057] r10:00000122 r9:ed1d6000 r8:bee1f94c r7:00000000 r6:ee506c00 r5:c1007488
[ 21.073059] r4:00000000
[ 21.073067] [<c083e94c>] (sock_sendmsg) from [<c083fa50>] (__sys_sendto+0xcc/0x10c)
[ 21.073075] [<c083f984>] (__sys_sendto) from [<c083fab4>] (sys_sendto+0x24/0x2c)
[ 21.073080] r8:c0201204 r7:00000122 r6:004e65c8 r5:00000010 r4:bee1f94c
[ 21.073087] [<c083fa90>] (sys_sendto) from [<c0201000>] (ret_fast_syscall+0x0/0x54)
[ 21.073090] Exception stack(0xed1d7fa8 to 0xed1d7ff0)
[ 21.073096] 7fa0: bee1f94c 00000010 00000003 004fc590 00000038 00000000
[ 21.073101] 7fc0: bee1f94c 00000010 004e65c8 00000122 00496215 004f7298 00000000 004fc5d0
[ 21.073105] 7fe0: 00000000 bee1f928 b6efc59d b6e04168
[ 21.073109] —[ end trace 0000000000000003 ]—
Shine:
回复 user6163268:
请问您这个问题解决了吗?看您之前的帖子解决了。
e2echina.ti.com/…/181913
user6163268:
回复 Shine:
没有,这个就是移植完成新的内核之后,新版的pru驱动报错
Shine:
回复 user6163268:
请问Dual EMAC 可以运行吗?
user6163268:
回复 Shine:
不可以,因为只连接了一个phy,只使用了pru2 mii1这个,使用的时候会报错
Shine:
回复 user6163268:
请尝试按照下面的几点修改一下 am57xx-idk-common.dtsi
1) comment out the alias ethernet2:
aliases { …
ethernet2 = &pruss2_emac0;
…
}2) modify pruss2_eth node in the same way that they did for am572x-idk.dts
3) comment out the subnode pruss2_eth0_phy:
&pruss2_mdio {…
pruss2_eth0_phy: ethernet-phy@0 {
reg = <0>;
interrupt-parent = <&gpio3>;
interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
};
…
};