• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login
    1. Cool Pi For You
    2. jack_admin
    3. Posts
    J
    • Profile
    • Following 2
    • Followers 2
    • Topics 17
    • Posts 275
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: 如何关闭小核,只保留大核运行

      @edwardzhou
      一种方法是通过改变cpu亲和性,绑定运行中的线程

      [coolpi@localhost ~]$ taskset -h
      Usage: taskset [options] [mask | cpu-list] [pid|cmd [args...]]
      
      
      Show or change the CPU affinity of a process.
      
      Options:
       -a, --all-tasks         operate on all the tasks (threads) for a given pid
       -p, --pid               operate on existing given pid
       -c, --cpu-list          display and specify cpus in list format
       -h, --help              display this help
       -V, --version           display version
      
      The default behavior is to run a new command:
          taskset 03 sshd -b 1024
      You can retrieve the mask of an existing task:
          taskset -p 700
      Or set it:
          taskset -p 03 700
      List format uses a comma-separated list instead of a mask:
          taskset -pc 0,3,7-11 700
      Ranges in list format can take a stride argument:
          e.g. 0-31:2 is equivalent to mask 0x55555555
      
      For more details see taskset(1).
      [coolpi@localhost ~]$
      
      posted in Ubuntu
      J
      jack_admin
    • RE: 如何关闭小核,只保留大核运行

      @lymnxn

      切换到root权限,参考如下操作,动态关闭4个核

      echo 0 > /sys/devices/system/cpu/cpu0/online
      echo 0 > /sys/devices/system/cpu/cpu5/online
      echo 0 > /sys/devices/system/cpu/cpu6/online
      echo 0 > /sys/devices/system/cpu/cpu7/online
      
      posted in Ubuntu
      J
      jack_admin
    • RE: coolpi 4b无法启动

      @test 你的loader版本看起来比较早,升级loader试下。卡的分区表异常,格式化一次

      posted in Pi 4B
      J
      jack_admin
    • RE: 如何关闭小核,只保留大核运行

      @lymnxn 应该有方法。另一个思路,把你的应用绑定到大核上

      posted in Ubuntu
      J
      jack_admin
    • RE: 官方Github上的代码居然编译通不过?

      @xingzhan2012 你先试下单独编译内核源码有没有问题,确认依赖环境补齐

      posted in Ubuntu
      J
      jack_admin
    • RE: 官方Github上的代码居然编译通不过?

      @xingzhan2012 你在哪个主机环境编译

      posted in Ubuntu
      J
      jack_admin
    • RE: 20230306-ubuntu-22.04-preinstalled 新建的用户无法启动firefox及其他程序,也不能登出.

      @edwardzhou 问题已复现。新建用户在logout之后的t登录界面(输密码窗口)位置,点击屏幕右下角,选择Ubuntu on Xorg,可以正常切换用户,firefox也能运行

      Screenshot from 2023-03-16 20-02-32.png

      posted in Ubuntu
      J
      jack_admin
    • RE: mini DP 诱骗器无效

      @xingzhan2012 论坛上方github linux内核源码可以下载,修改相应名称的dts文件,编译替换

      posted in Peripheral
      J
      jack_admin
    • RE: mini DP 诱骗器无效

      @xingzhan2012

      5寸电容触摸屏切换操作参考,使用ubuntu 22.04 20230306版本

      coolpi@coolpi:~/Desktop$ cat /boot/firmware/
      Image                      cmdline.txt                extlinux/                  modules.tar.gz             rk3588s-cp4.dtb            
      System Volume Information/ config.txt                 initrd.img                 rk3588s-cp4-dsi.dtb        vmlinuz                    
      coolpi@coolpi:~/Desktop$ cat /boot/firmware/extlinux/extlinux.conf 
      default Linux coolpi
      
      label Linux coolpi
      	kernel /Image
      	initrd /initrd.img
      	fdt    /rk3588s-cp4-dsi.dtb
      	append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0
      coolpi@coolpi:~/Desktop$
      
      
      posted in Peripheral
      J
      jack_admin
    • RE: coolpi 4b python3 gpio operation compatable with raspberry pi

      @xingzhan2012 有。在帖子最顶楼

      posted in Pi 4B
      J
      jack_admin
    • RE: Cool Pi 4B 如何使用GPIO啊,树莓派的HQ Camera如何使用呢?

      @xingzhan2012

      参考这个贴子
      https://www.cool-pi.com/topic/136/coolpi-4b-python3-gpio-operation-compatable-with-raspberry-pi/1

      posted in Ubuntu
      J
      jack_admin
    • RE: MIPI 屏

      @tonyone0902 其他系统也支持

      fa26eac2-60e4-4aaf-8f87-4dc78a179983-image.png

      7c443eb5-f24f-4255-b870-cef9dc0ade59-image.png

      267033d9-4bb0-4691-82cb-7e105c0b4181-image.png

      posted in Peripheral
      J
      jack_admin
    • RE: MIPI 屏

      @tonyone0902 微雪电子 5寸电容屏

      posted in Peripheral
      J
      jack_admin
    • RE: 如果同时给emmc和sd卡刷系统,如何指定系统从emmc或sd卡启动

      @xingzhan2012 默认优先从tf卡启动,因为刷的是同一个镜像文件,需要你手动操作区分挂载的分区名称即可实现。

      查看另外贴有描述

      posted in Pi 4B
      J
      jack_admin
    • RE: ubuntu22.04 连接蓝牙音箱,播放网页视频,断断续续卡顿

      @xingzhan2012 断开蓝牙,播放网页视频是否流畅

      posted in Pi 4B
      J
      jack_admin
    • RE: coolpi 4b python3 gpio operation compatable with raspberry pi

      @AugustRobot_Zou CPi.GPIO-1.0.0-cp36-cp36m-linux_aarch64.whl

      posted in Pi 4B
      J
      jack_admin
    • RE: Customize any Linux distro

      @sushruth You can mount the second partition based on the image file we provided, back up the /lib/firmware, /lib/modules directories, and then empty the contents of that partition. Then extract the Fedora Server arm64 base file system to the second partition mount directory and restore the backup contents. Finally, write to the storage disk again, such as tf card, insert coolpi4b to start system verification.

      Please refer to the github link above the forum to read the ubuntu repository shell script.

      posted in Ubuntu
      J
      jack_admin
    • RE: Trying to install pip3

      @MSUMMERS999 You can try boot system from emmc, and then insert tf card. Check it partitions table or format tf card. Please refer to the follow info.

      coolpi@coolpi:~$ sudo wipefs /dev/sda
      [sudo] password for coolpi: 
      DEVICE OFFSET TYPE UUID LABEL
      sda    0x1fe  dos       
      coolpi@coolpi:~$ sudo wipefs /dev/sda1
      DEVICE OFFSET TYPE UUID      LABEL
      sda1   0x52   vfat A73D-13D2 system-boot
      sda1   0x0    vfat A73D-13D2 system-boot
      sda1   0x1fe  vfat A73D-13D2 system-boot
      coolpi@coolpi:~$ sudo wipefs /dev/sda2
      DEVICE OFFSET TYPE UUID                                 LABEL
      sda2   0x438  ext4 460c3e2b-4363-4a7b-b9e2-1e1db123c52d writable
      coolpi@coolpi:~$ 
      

      format command example:

      sudo wipefs -a -f /dev/sda
      
      posted in Ubuntu
      J
      jack_admin
    • RE: 能够通过修改配置文件切换TF和EMMC启动吗

      @allen
      示例操作更改标识
      sudo e2label /dev/mmcblk0p2 emmc-rootfs

      posted in Ubuntu
      J
      jack_admin
    • RE: 能够通过修改配置文件切换TF和EMMC启动吗

      @allen 可以在任意一个系统中在线配置,修改extlinux.conf参数,将label指向对应的rootfs分区即可。默认刷机镜像rootfs分区均为writable,可以自行设定不同标识。

      posted in Ubuntu
      J
      jack_admin
    • 1
    • 2
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 11 / 14