主题: SysConfig 中讨论的其他器件
工具/软件:
您好:
我们正在设计一个使用 AM625处理器(具有1GIB DDR4)的定制电路板。 我当前的问题是、当内存大小配置为1GiB 时、尝试通过 TFTP 加载 tispl.bin 失败。 如果我将内存大小设置为2GiB (即使板上只有1GiB 器件)、则加载 tispl.bin 将成功。
切换到1GIB DRAM 的唯一更改是在器件树内存节点中(除了包括由 TI SysConfig 为我们的 DDR 器件生成的 DDR dtsi 外):
memory@80000000 { bootph-pre-ram; device_type = "memory"; /* 2G RAM */ reg = <0x00000000 0x80000000 0x00000000 0x80000000>; };
更改为:
memory@80000000 { bootph-pre-ram; device_type = "memory"; /* 1G RAM */ reg = <0x00000000 0x80000000 0x00000000 0x40000000>; };
tiboot3.bin 加载并开始执行、但在上挂起
Trying to boot from eth device eth0: ethernet@8000000port@1
内存大小设置为2GiB (但仅存在1GiB)时、加载工作正常...
Trying to boot from eth device eth0: ethernet@8000000port@1 thernet@8000000port@1 Waiting for PHY auto negotiation to complete.... done link up on port 1, speed 100, full duplex BOOTP broadcast 1 Using ethernet@8000000port@1 device TFTP from server 10.0.0.1; our IP address is 10.0.0.3 Filename 'tispl.bin'. Load address: 0x82000000 Loading: ################################################################# ################################################################# ##################################################### 0 Bytes 1.2 MiB/s done Bytes transferred = 935411 (e45f3 hex)
(请注意、这仍然包括我们自定义的 DDR 配置 dtsi 文件)
我已经追踪了崩溃到 pktdma_tisci_rx_channel_config ()( k3-uvada.c )中对 uma_alloc_rchan_raw ()的调用,特别是行:
int tc_ring = k3_nav_ringacc_get_ring_id(uc->tchan->tc_ring);
我已经浏览了设备树中的 pktdma 配置、但我看不到需要更改的任何内容以适应更小的 DDR 大小。 是否需要进行其他更改?
谢谢、
Ben