Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    t113每次重启网卡的mac地址都是随机的

    D1系列-RISC-V
    4
    6
    293
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • livpo
      livpo LV 4 last edited by

      请教下各位大佬,t113每次重启网卡的mac地址都是随机的,跟了内核后发现是这里失败了crypto_alloc_ahash

      QQ图片20220915164531.jpg

      内核打印Failed to alloc md5,错误内容如下

      QQ图片20220915164525.jpg

      有人遇到过这个问题吗

      1 Reply Last reply Reply Quote Share 0
      • D
        dort91011 LV 3 last edited by

        看起来是不是 md5 没编译进去

        livpo 1 Reply Last reply Reply Quote Share 0
        • livpo
          livpo LV 4 @dort91011 last edited by

          @dort91011 是的,需要将md5加到内核里

          另外还有一个问题就是#define sunxi_get_soc_chipid(x) {}这里获取id的函数是空的,
          QQ图片20220915164600.jpg

          然后参考了一下全志其他的代码是用到了sunxi-sid.c里的,然后加了一下这个头文件,就可以获取到chipid了

          QQ图片20220915164605.jpg

          这样就没有上面的报错了

          1 Reply Last reply Reply Quote Share 0
          • A
            abcdef LV 2 last edited by q1215200171

            请问一下内核MD5开的哪个选项,make menuconfig里没有找到

            livpo 1 Reply Last reply Reply Quote Share 0
            • livpo
              livpo LV 4 @abcdef last edited by

              @abcdef 在 kernel menuconfig下面
              QQ图片20220916140833.jpg QQ图片20220916140837.jpg

              C 1 Reply Last reply Reply Quote Share 1
              • C
                chzfmx LV 4 @livpo last edited by

                @livpo 我也遇到类似的问题,还没解决😞

                1b9e4c3b-722c-451e-9883-74aeb545e855-image.png

                1 Reply Last reply Reply Quote Share 0
                • 1 / 1
                • First post
                  Last post

                Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                行为准则 | 用户协议 | 隐私权政策