This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM62P-Q1:当 soc 模型从 am62p54更改为 am62p52时、需要对 Processor SDK Linux 进行哪些更改?

Guru**** 2455490 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1486007/am62p-q1-what-changes-need-to-be-made-to-processor-sdk-linux-when-the-soc-model-is-changed-from-am62p54-to-am62p52

器件型号:AM62P-Q1

工具与软件:

我正在开发 带有定制电路板的 Processor SDK Linux (版本:10.00.07.04)。soc 已 从 am62p54更改为 am62p52型号(见下图)。需要对 SDK 进行哪些更改?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我已经从 k3-am62p5.dtsi 中删除了 core2和 core3。

    --- a/arch/arm64/boot/dts/ti/A66_emmc_mem1G/k3-am62p5.dtsi
    +++ b/arch/arm64/boot/dts/ti/A66_emmc_mem1G/k3-am62p5.dtsi
    @@ -24,14 +24,6 @@
     				core1 {
     					cpu = <&cpu1>;
     				};
    -
    -				core2 {
    -					cpu = <&cpu2>;
    -				};
    -
    -				core3 {
    -					cpu = <&cpu3>;
    -				};
     			};
     		};
     
    @@ -66,38 +58,6 @@
     			operating-points-v2 = <&a53_opp_table>;
     			clocks = <&k3_clks 136 0>;
     		};
    -
    -		cpu2: cpu@2 {
    -			compatible = "arm,cortex-a53";
    -			reg = <0x002>;
    -			device_type = "cpu";
    -			enable-method = "psci";
    -			i-cache-size = <0x8000>;
    -			i-cache-line-size = <64>;
    -			i-cache-sets = <256>;
    -			d-cache-size = <0x8000>;
    -			d-cache-line-size = <64>;
    -			d-cache-sets = <128>;
    -			next-level-cache = <&l2_0>;
    -			operating-points-v2 = <&a53_opp_table>;
    -			clocks = <&k3_clks 137 0>;
    -		};
    -
    -		cpu3: cpu@3 {
    -			compatible = "arm,cortex-a53";
    -			reg = <0x003>;
    -			device_type = "cpu";
    -			enable-method = "psci";
    -			i-cache-size = <0x8000>;
    -			i-cache-line-size = <64>;
    -			i-cache-sets = <256>;
    -			d-cache-size = <0x8000>;
    -			d-cache-line-size = <64>;
    -			d-cache-sets = <128>;
    -			next-level-cache = <&l2_0>;
    -			operating-points-v2 = <&a53_opp_table>;
    -			clocks = <&k3_clks 138 0>;
    -		};
     	};

    am62p52打印某些内核错误、而 am62p54未:

    Internal error: synchronous external abort: 0000000096000010 [#1] PREEMPT SMP
    Modules linked in: rti_wdt(+) sa2ul sha256_generic libsha256 authenc wave5 v4l2_mem2mem mcrc64 max96755r max96724
    CPU: 1 PID: 92 Comm: (udev-worker) Not tainted 6.6.32+ #1
    Hardware name: Texas Instruments AM62P5 SK (DT)
    pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    pc : rti_wdt_probe+0x12c/0x5c0 [rti_wdt]
    lr : rti_wdt_probe+0x114/0x5c0 [rti_wdt]
    sp : ffff80008116b810
    x29: ffff80008116b860 x28: 0000000000000000 x27: 0000000000000000
    x26: ffff800080d806a8 x25: ffff0000016435a8 x24: 0000000000000038
    x23: ffff000000147800 x22: ffff00000155e690 x21: ffff000000147810
    x20: ffff80008116d090 x19: ffff00000155e680 x18: 0000000000000000
    x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
    x14: 0000000000000000 x13: 0000000000000000 x12: ffff80008116dfff
    x11: 0000000000002000 x10: ffff00003ffff010 x9 : 0000000000000100
    x8 : ffff80008116d000 x7 : ffff00003ffff018 x6 : 00007fff8ceb3000
    x5 : 000000000e021000 x4 : ffff000000147a10 x3 : ffff000001643e40
    x2 : ffff000001643f00 x1 : ffff00000165f2c0 x0 : ffff80008116d000
    Call trace:
     rti_wdt_probe+0x12c/0x5c0 [rti_wdt]
     platform_probe+0x68/0xc4
     really_probe+0x148/0x2b0
     __driver_probe_device+0x78/0x12c
     driver_probe_device+0xd8/0x15c
     __driver_attach+0x90/0x19c
     bus_for_each_dev+0x7c/0xdc
     driver_attach+0x24/0x30
     bus_add_driver+0xe8/0x1f8
     driver_register+0x5c/0x124
     __platform_driver_register+0x28/0x34
     rti_wdt_driver_init+0x20/0x1000 [rti_wdt]
     do_one_initcall+0x80/0x1c8
     do_init_module+0x58/0x1d8
     load_module+0x1c74/0x1d00
     init_module_from_file+0x88/0xcc
     __arm64_sys_finit_module+0x1dc/0x2e4
     invoke_syscall.constprop.0+0x50/0xec
     do_el0_svc+0xa8/0xc4
     el0_svc+0x2c/0x84
     el0t_64_sync_handler+0x120/0x12c
     el0t_64_sync+0x190/0x194
    Code: b140041f 540010a8 91024014 a9096bf9 (b9400294) 
    ---[ end trace 0000000000000000 ]---

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    林阳、您好!

    您还需要删除与您删除/禁用的 CPU 内核关联的 rtiX 节点(RTI 计时器)。 请参阅此处的详细说明:

    https://dev.ti.com/tirex/explore/node?node=A__AXuxc6fVs.bURueXXG3YCQ__AM62P-ACADEMY__fp5YxRM__LATEST

    此致、Andreas