美文网首页NVIDIA Jetson working
Jetson AGX Xavier PCIe debug

Jetson AGX Xavier PCIe debug

作者: 童年雅趣 | 来源:发表于2019-03-15 14:39 被阅读28次

    1. AGX Xavier PCIe 接口定义

    image.png image.png

    2. AGX Xavier PCIex1 扩展 Ethernet

    Xavier 自定义载板硬件接口定义图


    image.png
    1. AGX Xavier 内核版本Kernel-4.9 配置,已默认添加了RTL8111 driver,系统会自动识别并加载RTL8111 driver
    2. RTL8111 写入MAC Address,采样Realtek工具linuxpg-2.57.08.tar.bz2
      $tar -zxf linuxpg-2.57.08.tar.bz2
      $cd linuxpg-2.57.08
      $make
    nvidia@jetson-0424418058628:~/work/r8111_mac$ make
    make -C /usr/src/linux-headers-4.9.108-tegra/kernel-4.9  M=/home/nvidia/work/r8111_mac modules
    make[1]: Entering directory '/usr/src/linux-headers-4.9.108-tegra/kernel-4.9'
      CC [M]  /home/nvidia/work/r8111_mac/pgdrv.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /home/nvidia/work/r8111_mac/pgdrv.mod.o
      LD [M]  /home/nvidia/work/r8111_mac/pgdrv.ko
    make[1]: Leaving directory '/usr/src/linux-headers-4.9.108-tegra/kernel-4.9'
    nvidia@jetson-0424418058628:~/work/r8111_mac$ file pgdrv.ko 
    pgdrv.ko: ELF 64-bit LSB relocatable, ARM aarch64, version 1 (SYSV), BuildID[sha1]=235d6ef28723d6ccdfeb67de4018bf1d21247cec, with debug_info, not stripped
    
    

    错误1. scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: "(" unexpected.
    解决:
    $cd /usr/src/linux-headers-4.9.108-tegra/kernel-4.9
    执行: sudo make modules_prepare
    再返回linuxpg-2.57.08目录,运行 make 验证是否解决

    3. AGX Xavier PCIe 转 USB (多路)

    相关文章

      网友评论

        本文标题:Jetson AGX Xavier PCIe debug

        本文链接:https://www.haomeiwen.com/subject/ixxlmqtx.html