Navigation

    全志在线开发者论坛

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

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

    MR Series
    5
    8
    5503
    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 6 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 5 last edited by

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

        livpo 1 Reply Last reply Reply Quote Share 0
        • livpo
          livpo LV 6 @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 5 last edited by q1215200171

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

            livpo 1 Reply Last reply Reply Quote Share 0
            • livpo
              livpo LV 6 @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

                I 1 Reply Last reply Reply Quote Share 0
                • I
                  ideal LV 2 last edited by

                  这个问题现在解决了吗?

                  1 Reply Last reply Reply Quote Share 0
                  • I
                    ideal LV 2 @chzfmx last edited by

                    @chzfmx 我按照上面的说法,修改了一下,MAC地址固定了,但不知道合理不

                    66885b28-bea2-4631-8aeb-a19fae2e29f0-image.png
                    649cc96d-d8c7-417c-be52-5a9895e5dd9e-image.png

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

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

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