Navigation

    全志在线开发者论坛

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

    F133 tina adb设备现在正常连接,但是进入shell模式报错!!!

    MR Series
    2
    2
    1135
    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.
    • W
      wyljkl LV 7 last edited by

      156231d3-50d7-4cbf-920c-d963d921f2f9-image.png

      7b10af4e-b0c6-45ca-97d2-c0ea43916a1e-image.png

      这可能是什么原因?各位大佬支支招

      1 Reply Last reply Reply Quote Share 0
      • S
        SQL9101 LV 2 last edited by

        问题分析

        adb shell下执行alias可知:

        33d9dec0-67fa-4157-a733-13ee334ef56f-image.png

        ls命令被重定义为ls --color=no,在串口下执行也会报同样的问题。故问题根因应该为ls对color参数的处理异常问题。

        问题解决

        取消重定义

        查看发现该重定义只会在adb中有效,最终定位到为{sdk_root}/target/allwinner/${chips}-${方案名}/busybox-init-base-files/etc/adb_profile

        中定义,可修改此文件中对ls的重定义即可。(但此改法未能从根本解决)

        配置对应支持项

        ce0d6b71-b7eb-47b1-a4cd-245442a2b931-image.png

        经过确认,在make menuconfig中选中上图中配置后,执行ls --color=no 正常。根本上解决此问题

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

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

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