• Recent
    • Docs
    • Github
    • 百度网盘
    • Google
    • Official
    • Shop
    • Register
    • Login
    1. Cool Pi For You
    2. george
    3. Posts
    G
    • Profile
    • Following 0
    • Followers 4
    • Topics 73
    • Posts 886
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: After suspend scaling_max_freq set to lowest. and some perfomance tweak

      @plumlis

      Thank you for sharing.

      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      FFmpeg can be changed to a native package. Or using the Chromium browser, the decoding issue of this player has been bothering us for a long time. Take some time later to focus on solving it.

      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      You can change the EMMC label to writable1 or another name.

      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      Follow the steps below to operate:
      1.USB cable for TYPEC interface and X86 computer connection
      2. Run sudo reboot loader on the shell,The machine will enter loader mode, as shown in the following figure
      5e3d1ba5-2459-4105-966b-4570d4140858-image.png
      3. Click on the tool to force entry into maskrom mode
      7271eb57-2764-453b-9d4c-6e8313dcb120-image.png
      f26341ce-ce2a-4558-b97a-9743252d5b71-image.png
      4. Check the option to force writing by address
      5bd48d63-e5e9-406c-a7c1-fab579cac9a4-image.png
      5. Burning, the machine will automatically restart after completion
      71627684-e4fb-46ef-8312-7786a12a575f-image.png

      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      The following is what I have compiled and can be used directly.
      RKDevTool_v3.13_for_window.rar

      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis

      sudo ln -s /usr/bin/python3.12 /usr/bin/python
      
      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      Suggest updating uboot to the latest version and then trying USB BOOT. The latest development branch has been optimized for some USB drives. Of course, you can also write images to EMMC through UMS.

      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      Let me briefly introduce the current situation of the NAND flash industry. The best A-class die is used as a high-capacity and high-value storage device for first tier brands such as SSDs and EMMCs. The worse one is used for second tier brands such as EMMCs and NAND FLASH, and the worse one is used for a large number of bad fast devices. The 8GB capacity can be reduced to 4G or 2G for USB drives or T cards. There is even worse junk die, which will appear on the T card that costs a few yuan on Mouduoduo. So if doing system mirroring, it is recommended to use SSD or SATA portable hard drives, as both performance and reliability are the best.

      posted in PI CM5 Laptop
      G
      george
    • RE: Intel AX200 / 210 working on laptop?

      @plumlis
      The AX200 has been tested before and can be used, but the AX210 is still not working. Waiting for subsequent kernel upgrades. The model shown in the figure has been previously verified.
      f6cc9f10-0a4e-4717-955e-faa5c97f1924-image.png

      posted in PI CM5 Laptop
      G
      george
    • RE: RTC battery on board?

      @plumlis
      The battery of the RTC connector has a spacing of 0.8mm. From the current phenomenon, it is not that the hardware RTC cannot save time, but rather that the hardware RTC time has not been synchronized with the system. So adding this battery won't make any changes.

      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      The kernel version 6.1 will support it and is currently being adapted.

      posted in PI CM5 Laptop
      G
      george
    • RE: 多内核

      @happyday
      以下结果来自大模型:
      在Linux中,可以通过多种方式将应用程序绑定到特定的CPU上执行,这样可以减少上下文切换,提高性能。以下是一些常用的方法:

      使用 taskset 命令:
      taskset 命令可以用来限制一个进程只能使用指定的CPU或CPU集合。使用以下命令启动一个应用程序并将其绑定到特定的CPU:

      taskset -c 0,1,2 my_application
      这将允许 my_application 只在CPU 0、1和2上运行。

      使用 nice 和 renice 命令:
      nice 命令可以在启动时设置一个进程的调度优先级,而 renice 可以更改一个已经运行的进程的优先级。这不是直接绑定CPU,但可以影响进程的调度。

      nice -n 10 --adjustment=+5 my_application
      使用 cgroups:
      cgroups(控制组)是一种Linux内核特性,它可以将进程分组,并为这些组应用特定的系统资源限制。通过 cgroups,你可以将进程绑定到特定的CPU。

      首先,创建一个新的cgroup:

      sudo cgcreate -g cpuset:/my_group
      然后,添加CPU到这个cgroup:

      sudo echo 0-2 > /sys/fs/cgroup/cpuset/my_group/cpuset.cpus
      接下来,将应用程序添加到这个cgroup:

      sudo cgclassify -g cpuset:my_group my_application
      使用 numactl 命令:
      numactl 命令用于控制NUMA(非统一内存访问)系统中的CPU和内存亲和性。它也可以用于将进程绑定到特定的CPU。

      numactl --physcpubind=0,1,2 my_application
      使用 sched_setaffinity 系统调用:
      在编程时,可以使用 sched_setaffinity 系统调用来设置进程的CPU亲和性。这需要在编写应用程序时进行设置。

      使用 top 或 htop 工具:
      在使用 top 或 htop 时,可以通过交互式命令将进程绑定到特定的CPU。在 htop 中,可以使用 ~ 键来切换“CPU绑定”模式,然后选择CPU。

      编辑 /etc/security/limits.conf:
      对于基于System V的进程控制,可以在 limits.conf 文件中设置CPU亲和性。

      请注意,绑定CPU可能会影响系统的调度器性能,并且不是所有的应用程序都会从CPU绑定中受益。在进行CPU绑定之前,应该仔细考虑应用程序的需求和系统的整体性能。

      posted in Pi 4B
      G
      george
    • RE: Main Board Upgrade Availability

      @anernest
      I'm really sorry for not understanding. What do you need to upgrade?

      posted in News
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @mainbord
      Coolpi4b and cm5 evb currently support mainline kernels above 6.8, but laptops do not support mainline kernels due to eDP display drivers. So it will be a little later. Currently undergoing debugging. Looking forward to the next main version being released. Thank you for your support.

      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      Provide a basic image, the system can start normally, WIFI is working properly, and support for GPU and VPU has not been added yet.
      c206eba9-c383-49fa-8c3b-3dc213ff3997-image.png

      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      Firefox defaults to calling ffmpeg decoding, and we have added hardware decoding support for rkmpp to the local ffmpeg. So you just need to update the ffmpeg version to the standard version published on the official website.

      posted in PI CM5 Laptop
      G
      george
    • RE: SPI

      @happyday
      参考如下文档。
      Rockchip_Developer_Guide_Linux_SPI_CN.pdf

      posted in Pi 4B
      G
      george
    • RE: RTC battery on board?

      @plumlis
      Firstly, there is no need to add a separate RTC battery on the motherboard. RTC defaults to using the system's 38WH battery storage time.
      The issue of not being able to save time is a system software issue, not an RTC hardware issue. This can be confirmed by the following command:

      cat  /proc/driver/rtc
      

      Regarding how to synchronize the hardware RTC time to the system, the following command can be used:

      timedatectl set-local-rtc 1 --adjust-system-clock
      

      We will try to modify and add it to the system later. Thank you for your support.

      posted in PI CM5 Laptop
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      This issue was also tested in version 22.04 due to compatibility issues with hardware decoding of RK in firefox in deb format. The use of Snap version cannot call the hardware decoder of RK, but there is no crash issue with video soft decoding, or although the local browser of Chromium cannot call the hardware decoder of RK yet, the software decoder can meet daily use.

      posted in PI CM5 Laptop
      G
      george
    • 1 / 1