主题中讨论的其他器件:SysConfig、 TMDS64EVM
我参考了 thread processor-sdk-AM64X:通过 Linux 加载 R5 FW - SOC 时钟问题-处理器论坛-处理器- TI E2E 支持论坛中的注释
以下是我对 K3-am642-evm.dts 进行的更改
diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts index 2bd50d4bb2..50d707073c 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts @@ -21,11 +21,6 @@ chosen { bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; }; - aliases { - ethernet2 = &icssg1_emac0; - ethernet3 = &icssg1_emac1; - }; - memory@80000000 { device_type = "memory"; /* 2G RAM */ @@ -219,65 +214,7 @@ transceiver2: can-phy1 { }; icssg1_eth: icssg1-eth { - compatible = "ti,am642-icssg-prueth"; - pinctrl-names = "default"; - pinctrl-0 = <&icssg1_rgmii1_pins_default>; - - sram = <&oc_sram>; - ti,prus = <&pru1_0>, <&rtu1_0>, <&tx_pru1_0>, <&pru1_1>, <&rtu1_1>, <&tx_pru1_1>; - firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", - "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", - "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", - "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", - "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", - "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; - - ti,pruss-gp-mux-sel = <2>, /* MII mode */ - <2>, - <2>, - <2>, /* MII mode */ - <2>, - <2>; - - mii-g-rt = <&icssg1_mii_g_rt>; - mii-rt = <&icssg1_mii_rt>; - iep = <&icssg1_iep0>, <&icssg1_iep1>; - - interrupt-parent = <&icssg1_intc>; - interrupts = <24 0 2>, <25 1 3>; - interrupt-names = "tx_ts0", "tx_ts1"; - - dmas = <&main_pktdma 0xc200 15>, /* egress slice 0 */ - <&main_pktdma 0xc201 15>, /* egress slice 0 */ - <&main_pktdma 0xc202 15>, /* egress slice 0 */ - <&main_pktdma 0xc203 15>, /* egress slice 0 */ - <&main_pktdma 0xc204 15>, /* egress slice 1 */ - <&main_pktdma 0xc205 15>, /* egress slice 1 */ - <&main_pktdma 0xc206 15>, /* egress slice 1 */ - <&main_pktdma 0xc207 15>, /* egress slice 1 */ - <&main_pktdma 0x4200 15>, /* ingress slice 0 */ - <&main_pktdma 0x4201 15>, /* ingress slice 1 */ - <&main_pktdma 0x4202 0>, /* mgmnt rsp slice 0 */ - <&main_pktdma 0x4203 0>; /* mgmnt rsp slice 1 */ - dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3", - "tx1-0", "tx1-1", "tx1-2", "tx1-3", - "rx0", "rx1", - "rxmgm0", "rxmgm1"; - - icssg1_emac0: ethernet-mii0 { - phy-handle = <&icssg1_phy1>; - phy-mode = "rgmii-rxid"; - syscon-rgmii-delay = <&main_conf 0x4110>; - /* Filled in by bootloader */ - local-mac-address = [00 00 00 00 00 00]; - }; - - icssg1_emac1: ethernet-mii1 { - syscon-rgmii-delay = <&main_conf 0x4114>; - /* Filled in by bootloader */ - local-mac-address = [00 00 00 00 00 00]; - status = "disabled"; - }; + status = "disabled"; }; }; @@ -285,18 +222,21 @@ &main_r5fss0_core0 { mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>, <&main_r5fss0_core0_memory_region>; + sram = <&main_r5fss0_core0_sram>; }; &main_r5fss0_core1 { mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>; memory-region = <&main_r5fss0_core1_dma_memory_region>, <&main_r5fss0_core1_memory_region>; + sram = <&main_r5fss0_core1_sram>; }; &main_r5fss1_core0 { mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>; memory-region = <&main_r5fss1_core0_dma_memory_region>, <&main_r5fss1_core0_memory_region>; + sram = <&main_r5fss1_core0_sram>; }; &main_r5fss1_core1 { @@ -309,6 +249,7 @@ &mcu_m4fss { mboxes = <&mailbox0_cluster6 &mbox_m4_0>; memory-region = <&mcu_m4fss_dma_memory_region>, <&mcu_m4fss_memory_region>; + sram = <&main_r5fss1_core1_sram>; }; &main_pmx0 { @@ -398,22 +339,6 @@ AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ >; }; - ospi0_pins_default: ospi0-pins-default { - pinctrl-single,pins = < - AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (N20) OSPI0_CLK */ - AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (L19) OSPI0_CSn0 */ - AM64X_IOPAD(0x000c, PIN_INPUT, 0) /* (M19) OSPI0_D0 */ - AM64X_IOPAD(0x0010, PIN_INPUT, 0) /* (M18) OSPI0_D1 */ - AM64X_IOPAD(0x0014, PIN_INPUT, 0) /* (M20) OSPI0_D2 */ - AM64X_IOPAD(0x0018, PIN_INPUT, 0) /* (M21) OSPI0_D3 */ - AM64X_IOPAD(0x001c, PIN_INPUT, 0) /* (P21) OSPI0_D4 */ - AM64X_IOPAD(0x0020, PIN_INPUT, 0) /* (P20) OSPI0_D5 */ - AM64X_IOPAD(0x0024, PIN_INPUT, 0) /* (N18) OSPI0_D6 */ - AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* (M17) OSPI0_D7 */ - AM64X_IOPAD(0x0008, PIN_INPUT, 0) /* (N19) OSPI0_DQS */ - >; - }; - main_mcan0_pins_default: main-mcan0-pins-default { pinctrl-single,pins = < AM64X_IOPAD(0x0254, PIN_INPUT, 0) /* (B17) MCAN0_RX */ @@ -428,13 +353,6 @@ AM64X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (C17) MCAN1_TX */ >; }; - icssg1_mdio1_pins_default: icssg1-mdio1-pins-default { - pinctrl-single,pins = < - AM64X_IOPAD(0x015c, PIN_OUTPUT, 0) /* (Y6) PRG1_MDIO0_MDC */ - AM64X_IOPAD(0x0158, PIN_INPUT, 0) /* (AA6) PRG1_MDIO0_MDIO */ - >; - }; - icssg1_rgmii1_pins_default: icssg1-rgmii1-pins-default { pinctrl-single,pins = < AM64X_IOPAD(0x00b8, PIN_INPUT, 2) /* (Y7) PRG1_PRU0_GPO0.PRG1_RGMII1_RD0 */ @@ -724,28 +642,11 @@ &pcie0_ep { &tscadc0 { /* ADC is reserved for R5 usage */ - status = "reserved"; + status = "disabled"; }; &ospi0 { - pinctrl-names = "default"; - pinctrl-0 = <&ospi0_pins_default>; - - flash@0{ - compatible = "jedec,spi-nor"; - reg = <0x0>; - spi-tx-bus-width = <8>; - spi-rx-bus-width = <8>; - spi-max-frequency = <25000000>; - cdns,tshsl-ns = <60>; - cdns,tsd2d-ns = <60>; - cdns,tchsh-ns = <60>; - cdns,tslch-ns = <60>; - cdns,read-delay = <4>; - cdns,phy-mode; - #address-cells = <1>; - #size-cells = <1>; - }; + status = "disabled"; }; &main_mcan0 { @@ -760,19 +661,39 @@ &main_mcan1 { phys = <&transceiver2>; }; +/* Modify sram label present in k3-am64-main.dtsi */ +&oc_sram { + main_r5fss0_core0_sram: r5f-sram@80000 { + reg = <0x80000 0x40000>; + }; + + main_r5fss0_core1_sram: r5f-sram@c0000 { + reg = <0xc0000 0x40000>; + }; + + main_r5fss1_core0_sram: r5f-sram@100000 { + reg = <0x100000 0x40000>; + }; + + main_r5fss1_core1_sram: r5f-sram@140000 { + reg = <0x140000 0x40000>; + }; +}; + +&icssg0 { + status = "disabled"; +}; + +&icssg1 { + status = "disabled"; +}; + &icssg0_mdio { status = "disabled"; }; &icssg1_mdio { - pinctrl-names = "default"; - pinctrl-0 = <&icssg1_mdio1_pins_default>; - - icssg1_phy1: ethernet-phy@0 { - reg = <0xf>; - tx-internal-delay-ps = <250>; - rx-internal-delay-ps = <2000>; - }; + status = "disabled"; }; &icssg1_iep0 {
当我将它复制到 AM64X-GP-EVM 的/boot 文件夹时、我看到启动会卡住。 以下是日志-
switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 Failed to load 'boot.scr' 1490 bytes read in 5 ms (291 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... 1 bytes read in 3 ms (0 Bytes/s) Already setup. 19147264 bytes read in 811 ms (22.5 MiB/s) 42795 bytes read in 11 ms (3.7 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 000000008fef2000, end 000000008fffffff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.168-g2c23e6c538 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Mon Feb 27 14:16:24 UTC 2023 [ 0.000000] Machine model: Texas Instruments AM642 EVM [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node m4f-dma-memory@a4000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node m4f-memory@a4100000, compatible id shared-dma-pool [ 0.000000] OF: /bus@f4000/pcie@f102000: Missing device_type [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] cma: Reserved 512 MiB at 0x00000000dd000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] /cpus/cpu@1: missing enable-method property [ 0.000000] percpu: Embedded 22 pages/cpu s51288 r8192 d30632 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=fc40000.spi.0:1m(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=47b6d3e0-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 1398696K/2097152K available (11200K kernel code, 1162K rwdata, 4308K rodata, 1920K init, 431K bss, 174168K reserved, 524288K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 256 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001840000 [ 0.000000] ITS [mem 0x01820000-0x0182ffff] [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS [ 0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19 [ 0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns [ 0.000005] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008550] Console: colour dummy device 80x25 [ 0.013145] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023820] pid_max: default: 32768 minimum: 301 [ 0.028641] LSM: Security Framework initializing [ 0.033429] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.041008] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.050142] /cpus/cpu-map/cluster0/core0: Can't get CPU for leaf core [ 0.057521] rcu: Hierarchical SRCU implementation. [ 0.062748] Platform MSI: msi-controller@1820000 domain created [ 0.069117] PCI/MSI: /bus@f4000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.078392] EFI services will not be available. [ 0.083187] smp: Bringing up secondary CPUs ... [ 0.087829] smp: Brought up 1 node, 1 CPU [ 0.091924] SMP: Total of 1 processors activated. [ 0.096740] CPU features: detected: 32-bit EL0 Support [ 0.101994] CPU features: detected: CRC32 instructions [ 0.115529] CPU: All CPU(s) started at EL2 [ 0.119738] alternatives: patching kernel code [ 0.125936] devtmpfs: initialized [ 0.131624] Duplicate name in mmc@fa00000, renamed to "#1" [ 0.137293] Duplicate name in mmc@fa00000, renamed to "#2" [ 0.142910] Duplicate name in mmc@fa00000, renamed to "#3" [ 0.148531] Duplicate name in mmc@fa00000, renamed to "#4" [ 0.154195] Duplicate name in ethernet@8000000, renamed to "#1" [ 0.160302] Duplicate name in port@1, renamed to "#1" [ 0.165474] Duplicate name in port@1, renamed to "#2" [ 0.170644] Duplicate name in port@1, renamed to "#3" [ 0.175816] Duplicate name in port@1, renamed to "#4" [ 0.180988] Duplicate name in port@1, renamed to "#5" [ 0.186162] Duplicate name in port@1, renamed to "#6" [ 0.191347] Duplicate name in port@2, renamed to "#1" [ 0.196514] Duplicate name in port@2, renamed to "#2" [ 0.201683] Duplicate name in port@2, renamed to "#3" [ 0.206856] Duplicate name in port@2, renamed to "#4" [ 0.212028] Duplicate name in port@2, renamed to "#5" [ 0.217239] Duplicate name in ethernet-phy@0, renamed to "#1" [ 0.223144] Duplicate name in cpts@3d000, renamed to "#1" [ 0.228667] Duplicate name in cpts@3d000, renamed to "#2" [ 0.234191] Duplicate name in cpts@3d000, renamed to "#3" [ 0.239742] Duplicate name in cpts@39000000, renamed to "#1" [ 0.245537] Duplicate name in cpts@39000000, renamed to "#2" [ 0.251328] Duplicate name in cpts@39000000, renamed to "#3" [ 0.257202] Duplicate name in mailbox@29020000, renamed to "#1" [ 0.263272] Duplicate name in mbox-main-r5fss0-core0, renamed to "#1" [ 0.269877] Duplicate name in mbox-main-r5fss0-core1, renamed to "#1" [ 0.276491] Duplicate name in mailbox@29030000, renamed to "#1" [ 0.282573] Duplicate name in mailbox@29040000, renamed to "#1" [ 0.288640] Duplicate name in mbox-main-r5fss1-core0, renamed to "#1" [ 0.295242] Duplicate name in mbox-main-r5fss1-core1, renamed to "#1" [ 0.301860] Duplicate name in mailbox@29050000, renamed to "#1" [ 0.307937] Duplicate name in mailbox@29060000, renamed to "#1" [ 0.314007] Duplicate name in mbox-m4-0, renamed to "#1" [ 0.319464] Duplicate name in mailbox@29070000, renamed to "#1" [ 0.325586] Duplicate name in r5f@78000000, renamed to "#1" [ 0.331287] Duplicate name in r5f@78000000, renamed to "#2" [ 0.337026] Duplicate name in r5f@78200000, renamed to "#1" [ 0.342725] Duplicate name in r5f@78200000, renamed to "#2" [ 0.348490] Duplicate name in r5f@78400000, renamed to "#1" [ 0.354191] Duplicate name in r5f@78400000, renamed to "#2" [ 0.359933] Duplicate name in r5f@78600000, renamed to "#1" [ 0.365633] Duplicate name in r5f@78600000, renamed to "#2" [ 0.371378] Duplicate name in wiz@f000000, renamed to "#1" [ 0.376991] Duplicate name in wiz@f000000, renamed to "#2" [ 0.382634] Duplicate name in serdes@f000000, renamed to "#1" [ 0.388512] Duplicate name in serdes@f000000, renamed to "#2" [ 0.394417] Duplicate name in phy@0, renamed to "#1" [ 0.399528] Duplicate name in pcie@f102000, renamed to "#1" [ 0.405229] Duplicate name in pcie@f102000, renamed to "#2" [ 0.410930] Duplicate name in pcie@f102000, renamed to "#3" [ 0.416653] Duplicate name in pcie@f102000, renamed to "#4" [ 0.422358] Duplicate name in pcie@f102000, renamed to "#5" [ 0.428065] Duplicate name in pcie@f102000, renamed to "#6" [ 0.433773] Duplicate name in pcie@f102000, renamed to "#7" [ 0.439489] Duplicate name in pcie@f102000, renamed to "#8" [ 0.445210] Duplicate name in pcie@f102000, renamed to "#9" [ 0.450925] Duplicate name in pcie@f102000, renamed to "#10" [ 0.456732] Duplicate name in pcie@f102000, renamed to "#11" [ 0.462539] Duplicate name in pcie@f102000, renamed to "#12" [ 0.468377] Duplicate name in pcie-ep@f102000, renamed to "#1" [ 0.474344] Duplicate name in pcie-ep@f102000, renamed to "#2" [ 0.480326] Duplicate name in pcie-ep@f102000, renamed to "#3" [ 0.486298] Duplicate name in pcie-ep@f102000, renamed to "#4" [ 0.492271] Duplicate name in pcie-ep@f102000, renamed to "#5" [ 0.498265] Duplicate name in cdns-usb@f900000, renamed to "#1" [ 0.504333] Duplicate name in cdns-usb@f900000, renamed to "#2" [ 0.510391] Duplicate name in cdns-usb@f900000, renamed to "#3" [ 0.516467] Duplicate name in usb@f400000, renamed to "#1" [ 0.522112] Duplicate name in tscadc@28001000, renamed to "#1" [ 0.528079] Duplicate name in tscadc@28001000, renamed to "#2" [ 0.534106] Duplicate name in spi@fc40000, renamed to "#1" [ 0.539719] Duplicate name in spi@fc40000, renamed to "#2" [ 0.545347] Duplicate name in spi@fc40000, renamed to "#3" [ 0.550962] Duplicate name in spi@fc40000, renamed to "#4" [ 0.556580] Duplicate name in spi@fc40000, renamed to "#5" [ 0.562215] Duplicate name in flash@0, renamed to "#1" [ 0.567475] Duplicate name in flash@0, renamed to "#2" [ 0.572731] Duplicate name in flash@0, renamed to "#3" [ 0.577992] Duplicate name in flash@0, renamed to "#4" [ 0.583256] Duplicate name in flash@0, renamed to "#5" [ 0.588521] Duplicate name in flash@0, renamed to "#6" [ 0.593785] Duplicate name in flash@0, renamed to "#7" [ 0.599144] Duplicate name in can@20701000, renamed to "#1" [ 0.604885] Duplicate name in can@20711000, renamed to "#1" [ 0.610612] Duplicate name in watchdog@e000000, renamed to "#1" [ 0.616692] Duplicate name in watchdog@e010000, renamed to "#1" [ 0.622860] Duplicate name in coreclk-mux@3c, renamed to "#1" [ 0.628761] Duplicate name in iepclk-mux@30, renamed to "#1" [ 0.634924] Duplicate name in coreclk-mux@3c, renamed to "#1" [ 0.640830] Duplicate name in iepclk-mux@30, renamed to "#1" [ 0.646946] Duplicate name in ethernet-phy@0, renamed to "#1" [ 0.653197] Duplicate name in memory-controller@3b000000, renamed to "#1" [ 0.660205] Duplicate name in main0-thermal, renamed to "#1" [ 0.665995] Duplicate name in main0-thermal, renamed to "#2" [ 0.671805] Duplicate name in main0-crit, renamed to "#1" [ 0.677345] Duplicate name in main1-thermal, renamed to "#1" [ 0.683134] Duplicate name in main1-thermal, renamed to "#2" [ 0.688939] Duplicate name in main1-crit, renamed to "#1" [ 0.694554] Duplicate name in cpu@0, renamed to "#1" [ 0.699637] Duplicate name in cpu@0, renamed to "#2" [ 0.704720] Duplicate name in cpu@0, renamed to "#3" [ 0.709802] Duplicate name in cpu@0, renamed to "#4" [ 0.714887] Duplicate name in cpu@0, renamed to "#5" [ 0.719973] Duplicate name in cpu@0, renamed to "#6" [ 0.725062] Duplicate name in cpu@0, renamed to "#7" [ 0.730152] Duplicate name in cpu@0, renamed to "#8" [ 0.735247] Duplicate name in cpu@1, renamed to "#1" [ 0.740327] Duplicate name in cpu@1, renamed to "#2" [ 0.745407] Duplicate name in cpu@1, renamed to "#3" [ 0.750490] Duplicate name in cpu@1, renamed to "#4" [ 0.755577] Duplicate name in cpu@1, renamed to "#5" [ 0.760664] Duplicate name in cpu@1, renamed to "#6" [ 0.765751] Duplicate name in cpu@1, renamed to "#7" [ 0.770841] Duplicate name in cpu@1, renamed to "#8" [ 0.775942] Duplicate name in l2-cache0, renamed to "#1" [ 0.781378] Duplicate name in l2-cache0, renamed to "#2" [ 0.786812] Duplicate name in l2-cache0, renamed to "#3" [ 0.792298] Duplicate name in optee@9e800000, renamed to "#1" [ 0.798386] Duplicate name in ipc-memories@a5000000, renamed to "#1" [ 0.804901] Duplicate name in fixedregulator-evm12v0, renamed to "#1" [ 0.811490] Duplicate name in fixedregulator-evm12v0, renamed to "#2" [ 0.818079] Duplicate name in fixedregulator-evm12v0, renamed to "#3" [ 0.824673] Duplicate name in fixedregulator-evm12v0, renamed to "#4" [ 0.831281] Duplicate name in fixedregulator-vsys5v0, renamed to "#1" [ 0.837869] Duplicate name in fixedregulator-vsys5v0, renamed to "#2" [ 0.844461] Duplicate name in fixedregulator-vsys5v0, renamed to "#3" [ 0.851053] Duplicate name in fixedregulator-vsys5v0, renamed to "#4" [ 0.857647] Duplicate name in fixedregulator-vsys5v0, renamed to "#5" [ 0.864244] Duplicate name in fixedregulator-vsys3v3, renamed to "#1" [ 0.870836] Duplicate name in fixedregulator-vsys3v3, renamed to "#2" [ 0.877425] Duplicate name in fixedregulator-vsys3v3, renamed to "#3" [ 0.884015] Duplicate name in fixedregulator-vsys3v3, renamed to "#4" [ 0.890609] Duplicate name in fixedregulator-vsys3v3, renamed to "#5" [ 0.897210] Duplicate name in fixed-regulator-sd, renamed to "#1" [ 0.903444] Duplicate name in fixed-regulator-sd, renamed to "#2" [ 0.909679] Duplicate name in fixed-regulator-sd, renamed to "#3" [ 0.915915] Duplicate name in fixed-regulator-sd, renamed to "#4" [ 0.922152] Duplicate name in fixed-regulator-sd, renamed to "#5" [ 0.928405] Duplicate name in fixedregulator-vddb, renamed to "#1" [ 0.934732] Duplicate name in fixedregulator-vddb, renamed to "#2" [ 0.941055] Duplicate name in fixedregulator-vddb, renamed to "#3" [ 0.947380] Duplicate name in fixedregulator-vddb, renamed to "#4" [ 0.953706] Duplicate name in fixedregulator-vddb, renamed to "#5" [ 0.960057] Duplicate name in led-0, renamed to "#1" [ 0.965137] Duplicate name in led-0, renamed to "#2" [ 0.970218] Duplicate name in led-0, renamed to "#3" [ 0.975326] Duplicate name in mdio-mux-1, renamed to "#1" [ 0.980886] Duplicate name in ethernet-phy@3, renamed to "#1" [ 0.986785] Duplicate name in can-phy0, renamed to "#1" [ 0.992150] Duplicate name in can-phy1, renamed to "#1" [ 0.997519] Duplicate name in icssg1-eth, renamed to "#1" [ 1.003048] Duplicate name in icssg1-eth, renamed to "#2" [ 1.008571] Duplicate name in icssg1-eth, renamed to "#3" [ 1.014096] Duplicate name in icssg1-eth, renamed to "#4" [ 1.019629] Duplicate name in icssg1-eth, renamed to "#5" [ 1.025179] Duplicate name in ethernet-mii0, renamed to "#1" [ 1.030973] Duplicate name in ethernet-mii0, renamed to "#2" [ 1.036764] Duplicate name in ethernet-mii0, renamed to "#3" [ 1.042565] Duplicate name in ethernet-mii1, renamed to "#1" [ 1.049480] KASLR disabled due to lack of seed [ 1.054291] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 1.064263] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 1.086834] pinctrl core: initialized pinctrl subsystem [ 1.092931] DMI not present or invalid. [ 1.097667] NET: Registered protocol family 16 [ 1.103877] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 1.111273] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 1.119360] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 1.128136] thermal_sys: Registered thermal governor 'step_wise' [ 1.128143] thermal_sys: Registered thermal governor 'power_allocator' [ 1.134487] thermal_sys: main0-thermal: missing polling-delay-passive property [ 1.148536] thermal_sys: failed to build thermal zone main0-thermal: -22 [ 1.155385] thermal_sys: main1-thermal: missing polling-delay-passive property [ 1.162767] thermal_sys: failed to build thermal zone main1-thermal: -22 [ 1.169685] cpuidle: using governor menu [ 1.173970] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 1.180948] ASID allocator initialised with 65536 entries [ 1.215090] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 1.222084] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 1.228941] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 1.235788] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 1.244063] cryptd: max_cpu_qlen set to 1000 [ 1.252089] k3-chipinfo 43000014.chipid: Family:AM64X rev:SR2.0 JTAGID[0x1bb3802f] Detected [ 1.261150] reg-fixed-voltage fixedregulator-evm12v0: Failed to allocate supply name [ 1.269373] reg-fixed-voltage: probe of fixedregulator-evm12v0 failed with error -12 [ 1.277389] reg-fixed-voltage fixedregulator-vsys5v0: Failed to allocate supply name [ 1.285325] reg-fixed-voltage: probe of fixedregulator-vsys5v0 failed with error -12 [ 1.293283] reg-fixed-voltage fixedregulator-vsys3v3: Failed to allocate supply name [ 1.301206] reg-fixed-voltage: probe of fixedregulator-vsys3v3 failed with error -12 [ 1.309162] reg-fixed-voltage fixed-regulator-sd: Failed to allocate supply name [ 1.316729] reg-fixed-voltage: probe of fixed-regulator-sd failed with error -12 [ 1.324330] reg-fixed-voltage fixedregulator-vddb: Failed to allocate supply name [ 1.331985] reg-fixed-voltage: probe of fixedregulator-vddb failed with error -12 [ 1.340465] iommu: Default domain type: Translated [ 1.345904] SCSI subsystem initialized [ 1.350411] mc: Linux media interface: v0.10 [ 1.354813] videodev: Linux video capture interface: v2.00 [ 1.360527] pps_core: LinuxPPS API ver. 1 registered [ 1.365602] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.374946] PTP clock support registered [ 1.378985] EDAC MC: Ver: 3.0.0 [ 1.383651] FPGA manager framework [ 1.387271] Advanced Linux Sound Architecture Driver Initialized. [ 1.394643] clocksource: Switched to clocksource arch_sys_counter [ 1.401213] VFS: Disk quotas dquot_6.6.0 [ 1.405293] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.418038] NET: Registered protocol family 2 [ 1.422854] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 1.432019] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 1.440921] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 1.449153] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 1.456900] TCP: Hash tables configured (established 16384 bind 16384) [ 1.463843] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 1.470775] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 1.478295] NET: Registered protocol family 1 [ 1.483296] RPC: Registered named UNIX socket transport module. [ 1.489418] RPC: Registered udp transport module. [ 1.494227] RPC: Registered tcp transport module. [ 1.499034] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.505622] NET: Registered protocol family 44 [ 1.510180] PCI: CLS 0 bytes, default 64 [ 1.515024] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 1.528007] Initialise system trusted keyrings [ 1.532979] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 1.544359] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.551086] NFS: Registering the id_resolver key type [ 1.556343] Key type id_resolver registered [ 1.560620] Key type id_legacy registered [ 1.564787] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.571640] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 1.579418] 9p: Installing v9fs 9p2000 file system support [ 1.628151] Key type asymmetric registered [ 1.632387] Asymmetric key parser 'x509' registered [ 1.637477] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 1.645107] io scheduler mq-deadline registered [ 1.649756] io scheduler kyber registered [ 1.656483] pinctrl-single 4084000.pinctrl: 33 pins, size 132 [ 1.663066] pinctrl-single f4000.pinctrl: 180 pins, size 720 [ 1.670033] pinctrl-single a40000.timesync-router: 512 pins, size 2048 [ 1.686852] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 1.701561] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 1.715863] brd: module loaded [ 1.726583] loop: module loaded [ 1.730932] megasas: 07.714.04.00-rc1 [ 1.739517] mdio-mux-multiplexer mdio-mux-1: /mdio-mux-1: failed to get mux-control (0) [ 1.747767] mdio-mux-multiplexer mdio-mux-1: Failed to get mux: -2 [ 1.754101] mdio-mux-multiplexer: probe of mdio-mux-1 failed with error -2 [ 1.761159] tun: Universal TUN/TAP device driver, 1.6 [ 1.767147] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 1.773576] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 1.779694] sky2: driver version 1.30 [ 1.784797] VFIO - User Level meta-driver version: 0.3 [ 1.791444] i2c /dev entries driver [ 1.796671] sdhci: Secure Digital Host Controller Interface driver [ 1.803081] sdhci: Copyright(c) Pierre Ossman [ 1.808192] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.815268] ledtrig-cpu: registered to indicate activity on CPUs [ 1.821902] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 1.830318] optee: probing for conduit method. I/TC: Reserved shared memory is enabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled [ 1.835021] optee: revision 3.20 (8e74d476) [ 1.851621] optee: dynamic shared memory is enabled [ 1.861342] optee: initialized driver [ 1.865684] gpio-mux: probe of mux-controller failed with error -2 [ 1.874344] NET: Registered protocol family 17 [ 1.879199] 9pnet: Installing 9P2000 support [ 1.883725] Key type dns_resolver registered [ 1.888595] Loading compiled-in X.509 certificates [ 1.911502] ti-sci 44043000.dmsc: lpm region is required for suspend but not provided. [ 1.919726] ti-sci 44043000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [ 1.976188] gpmc_probe_dt: number of chip-selects not defined [ 1.982162] omap-gpmc: probe of 3b000000.memory-controller failed with error -22 [ 1.991268] omap_i2c 20000000.i2c: bus 0 rev0.12 at 100 kHz [ 1.998958] pca953x 1-0022: supply vcc not found, using dummy regulator [ 2.005975] pca953x 1-0022: using AI [ 2.032667] ssd1307fb 1-003c: failed to get VBAT regulator: -517 [ 2.038999] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz [ 2.046181] omap_i2c 20020000.i2c: bus 2 rev0.12 at 100 kHz [ 2.053227] omap_i2c 20030000.i2c: bus 3 rev0.12 at 100 kHz [ 2.059633] ti-sci-intr bus@f4000:bus@4000000:interrupt-controller1: Interrupt Router 5 domain created [ 2.069555] ti-sci-intr bus@f4000:interrupt-controller0: Interrupt Router 3 domain created [ 2.078564] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created [ 2.087997] wiz bus@f4000:wiz@f000000: Failed to read num-lanes property [ 2.094983] wiz: probe of bus@f4000:wiz@f000000 failed with error -22 [ 2.109361] j721e-pcie f102000.pcie: no num-lanes defined, defaulting to 1 [ 2.116537] j721e-pcie f102000.pcie: Unable to get ti,syscon-pcie-ctrl regmap [ 2.123858] j721e-pcie f102000.pcie: pm_runtime_get_sync failed [ 2.130859] ti-udma 485c0100.dma-controller: Number of rings: 68 [ 2.138564] ti-udma 485c0100.dma-controller: Channels: 24 (bchan: 12, tchan: 6, rchan: 6) [ 2.148799] ti-udma 485c0000.dma-controller: Number of rings: 288 [ 2.163480] ti-udma 485c0000.dma-controller: Channels: 44 (tchan: 29, rchan: 15) [ 2.174475] printk: console [ttyS2] disabled [ 2.179008] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 16, base_baud = 3000000) is a 8250 [ 2.187796] printk: console [ttyS2] enabled [ 2.187796] printk: console [ttyS2] enabled [ 2.196247] printk: bootconsole [ns16550a0] disabled [ 2.196247] printk: bootconsole [ns16550a0] disabled [ 2.208381] cadence-qspi fc40000.spi: couldn't determine fifo-depth [ 2.214691] cadence-qspi fc40000.spi: Cannot get mandatory OF data. [ 2.232507] davinci_mdio 8000f00.mdio: Missing bus_freq property in the DT. [ 2.239596] davinci_mdio: probe of 8000f00.mdio failed with error -22 [ 2.246191] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00903, cpsw version 0x6BA80903 Ports: 3 quirks:00000006 [ 2.258896] am65-cpsw-nuss 8000000.ethernet: /bus@f4000/ethernet@8000000/ethernet-ports/port@1 error retrieving port phy: -19 [ 2.272340] am65-cpts 39000000.cpts: CPTS ver 0x4e8a010c, freq:225000000, add_val:3 pps:0 [ 2.281559] k3-j72xx-soc-thermal b00000.temperature-sensor: invalid resource [ 2.288698] k3-j72xx-soc-thermal: probe of b00000.temperature-sensor failed with error -22 [ 2.299929] sdhci-am654: probe of fa10000.mmc failed with error -22 [ 2.308438] mmc0: CQHCI version 5.10 [ 2.312195] sdhci-am654 fa00000.mmc: Couldn't find otap-del-sel [ 2.325764] sdhci-am654: probe of fa00000.mmc failed with error -22 [ 2.336689] ssd1307fb 1-003c: failed to get VBAT regulator: -517 [ 2.343333] ssd1307fb 1-003c: failed to get VBAT regulator: -517 [ 2.350461] debugfs: Directory 'pd:114' with parent 'pm_genpd' already present! [ 2.370706] ALSA device list: [ 2.373685] No soundcards found. [ 2.377616] Waiting for root device PARTUUID=47b6d3e0-02...
您能否谈谈 K3-am642-evm.dts 中的更改有什么问题?
我还想获取您对原始问题的意见-
我尝试从 CCS 加载 hello-world 和 EtherCAT-Beckhoff-demo、这两个应用都可以正常运行。 但是、当我尝试通过 SD 卡引导 AM64X-GP-EVM、并将.out 复制到/lib/firmware 并尝试运行 hello-world.out 时、结果显示22个错误代码。
如何解决此问题?