• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login
    1. Cool Pi For You
    2. AugustRobot_Zou
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 33
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: CoolPi 4B的GPIO问题

      @大法师 谢谢!搞定了
      ubuntu 20没有/etc/rc.local,需要

      1. 新建service
        sudo vim /etc/systemd/system/rc-local.service
      [Unit]
       Description=/etc/rc.local Compatibility
       ConditionPathExists=/etc/rc.local
      [Service]
       Type=forking
       ExecStart=/etc/rc.local start
       TimeoutSec=0
       StandardOutput=tty
       RemainAfterExit=yes
       SysVStartPriority=99
      [Install]
       WantedBy=multi-user.target
      

      2.使能service
      sudo systemctl enable rc-local.service
      3.新建/etc/rc.local
      sudo vim /etc/rc.local
      并需要操作的命令加进去
      4.启动服务
      sudo systemctl start rc-local.service
      sudo systemctl status rc-local.service

      posted in Pi 4B
      A
      AugustRobot_Zou
    • RE: CoolPi 4B的GPIO问题

      @大法师 请问有办法设置上电时的初始GPIO电平吗?
      我切到root用户,echo 115 > /sys/class/gpio/export
      /sys/class/gpio/gpio115 下 使用命令 echo 0 > value。都能操作成功,但是断电重启后,又恢复了。有没办法,修改后,断电再上电还能保持设置的电平

      posted in Pi 4B
      A
      AugustRobot_Zou
    • RE: CoolPi 4B硬件扩展二:Serial port

      @george 目前是刚好够用的,我以为跟其他串口一样改一下内核设备树就能多一个备用串口,如果太麻烦就算了暂时不用,别引出其他bug了。

      posted in Hardware
      A
      AugustRobot_Zou
    • RE: CoolPi 4B硬件扩展二:Serial port

      有办法把console关闭吗?使用uart2-ttyS0作为一路普通串口

      posted in Hardware
      A
      AugustRobot_Zou
    • RE: CoolPi 4B硬件扩展一:40PIN接口介绍

      @george 谢谢!再请教一个问题,coolpi4b的峰值功率是多少?
      我要给coolpi4b选个AC-DC芯片

      posted in Hardware
      A
      AugustRobot_Zou
    • RE: CoolPi 4B硬件扩展一:40PIN接口介绍

      @george @大法师
      请问一下,coolpi4b的40PIN的VCC-5v,能不能作为整块板子的供电输入? 不接Type-C power

      posted in Hardware
      A
      AugustRobot_Zou
    • RE: How to upgrade the boot loader of coolpi 4b?

      @AugustRobot_Zou said in How to upgrade the boot loader of coolpi 4b?:

      Since I upgraded my PC to Win11, the RKDevTool always cannot find the device of coolpi-4b.
      Does the RKDevTool support Win11?
      Or could I upgrade the boot loader of coolpi-4b in ubuntu environment?

      https://www.cool-pi.com/topic/47/coolpi-4b-bootloader命令行升级方法

      用这个办法升级成功,避开RKDevTool 在win11驱动问题

      posted in Pi 4B
      A
      AugustRobot_Zou
    • RE: How to upgrade the boot loader of coolpi 4b?

      Since I upgraded my PC to Win11, the RKDevTool always cannot find the device of coolpi-4b.
      Does the RKDevTool support Win11?
      Or could I upgrade the boot loader of coolpi-4b in ubuntu environment?

      posted in Pi 4B
      A
      AugustRobot_Zou
    • RE: 请教kernel内核编译,修改哪里后再编译可以打开手柄驱动(joystick)

      @大法师 更新情况!
      4646c523-e724-4308-b486-c7e922a8f74a-图片.png

      还是使用不了,会出现 Couldn't open Joystick /dev/input/js0的报错。

      经过google后解决:
      https://forums.developer.nvidia.com/t/couldnt-open-joystick-dev-input-js0-solved/65192

      帖子说需要多编译一个CONFIG_JOYSTICK_XPAD=y
      9f0ecb4e-7a21-4bb0-bc6c-c24118c83340-图片.png

      于是我搜索后,发现rockchip_defconfig里面有三行
      ONFIG_JOYSTICK_XPAD=y
      CONFIG_JOYSTICK_XPAD_FF=y
      CONFIG_JOYSTICK_XPAD_LEDS=y
      8264cd2b-827e-4955-8623-e1ddd545528c-图片.png
      我也不管,全部复制进rk3588s_cp4b_defconfig,重新编译后,更新内核可以成功。

      d82797ea-88e5-4946-83f4-e22646fd6fee-图片.png

      posted in Ubuntu
      A
      AugustRobot_Zou
    • RE: 请教kernel内核编译,修改哪里后再编译可以打开手柄驱动(joystick)

      @大法师 好的
      d26c1748-39f3-406b-882f-86ef9680bd87-图片.png

      莱仕达蓝牙手柄,PXN-9603

      posted in Ubuntu
      A
      AugustRobot_Zou
    • RE: 请教kernel内核编译,修改哪里后再编译可以打开手柄驱动(joystick)

      @大法师 感谢!完美解决我的问题!
      fb4671cc-f10c-4c31-9ad4-a39df90734fc-图片.png
      已找到/dev/input/js0

      更新内核方法在下面,方便其他新手朋友操作
      https://www.cool-pi.com/topic/131/coolpi-4b-linux-kernel开发在线更新说明

      posted in Ubuntu
      A
      AugustRobot_Zou
    • RE: 请教kernel内核编译,修改哪里后再编译可以打开手柄驱动(joystick)

      @george @顾真牛
      谢谢!请问内核修改界面是否有对应config文件可以直接修改?
      因为我的系统是Ubuntu server,需要装上desktop,内核修改界面改好了再删除desktop这么麻烦吗?

      posted in Ubuntu
      A
      AugustRobot_Zou
    • 请教kernel内核编译,修改哪里后再编译可以打开手柄驱动(joystick)

      7b8eb59b-7e7a-42f6-8171-0c449078be44-图片.png

      如上图,coolpi插入手柄后,ls /dev/input ,多出两个文件:by-id,event0,说明usb手柄设备被识别。
      但是我希望是能得到 /dev/input/js0,这样在coolpi上就能使用手柄。下图是我在个人pc上插入手柄,能得到js0。
      5834298b-5df8-4cd6-aa51-f60880d7b939-图片.png

      posted in Ubuntu
      A
      AugustRobot_Zou
    • RE: coolpi4b 在EMMC使用时,40pin 5V是否有功耗限制?

      @george 是5V的,那应该是这个原因了

      posted in Hardware
      A
      AugustRobot_Zou
    • RE: coolpi4b 在EMMC使用时,40pin 5V是否有功耗限制?

      @george
      996d229f-2975-4e5c-8d32-fab8b8fdbf02-image.png

      c0ed3939-1de5-4789-a456-5c544adaf784-image.png

      482bb81b-191b-4d4b-a1ea-484c1a07d305-image.png

      b8830acc-d057-4b73-ac84-28d92dff13c2-image.png

      太多了,截取了一部分。

      posted in Hardware
      A
      AugustRobot_Zou
    • coolpi4b 在EMMC使用时,40pin 5V是否有功耗限制?

      硬件环境:coolpi4b 的40pin 5V给4个ttl转232模块供电。
      系统环境:ubuntu 20.04
      现象:
      使用SD卡时,没有任何问题,带了4个232模块的正常工作;
      当换成EMMC工作时,ubuntu系统无法正常启动,去掉40pin 5V的4个ttl转232模块后,又能正常工作。

      posted in Hardware
      A
      AugustRobot_Zou
    • RE: Cool pi 4B & CM5 探索快速安装系统新方法

      @jack_admin 我有个疑问,我用SD卡部署的系统,做好安装盘。然后能在EMMC卡上自动安装吗?
      我理解应该不行吧?SD和EMMC的block名字不一样,还是说安装脚本会自动识别修改

      posted in Maker
      A
      AugustRobot_Zou
    • RE: Cool pi 4B & CM5 探索快速安装系统新方法

      @jack_admin 可以了,谢谢!确实只能USB3.0下方那个口。我之前切换过usb2.0、3.0上层端口都不行。

      posted in Maker
      A
      AugustRobot_Zou
    • 1 / 1