How to using bootchart tool to test rootfs start time

  • Hello,

    Unfortunately, bootchat relies on glibc, and as rv1106 currently does not support glibc, the use of bootchat is not possible at the moment. I hope you can find alternative methods for implementation and look forward to any insights you might share in the future.
    企业微信截图_17090316964537.png
    企业微信截图_17090275358937.png

    To configure Buildroot and add software packages, please refer to:
    https://wiki.luckfox.com/Luckfox-Pico/L ... Buildroot/
  • Thank you very much for your timely reply. The reason why I want to use this tool is mainly because I want to optimize the loading time of kernel and rootfs and speed up the app startup time. Do you have any good suggestions?
  • Hello, it is recommended to optimize the loading time of the kernel and rootfs through the following two points:

    1. Streamline the kernel configuration to remove unnecessary features and drivers. Use make menuconfig to select only the components you truly need. This helps reduce the kernel size and improve loading speed.
    2. Configure LF_TARGET_ROOTFS to use BusyBox, enhancing the system startup speed.
    企业微信截图_17091054959872.png
  • Thank you very much, I will try it later.
  • Hello,
    At present, from power on to the RKIPC start, the totally time has reduce to 5s, Is it possible to make it within 3s?
  • mrlb wrote: 2024-03-12 7:36 Hello,
    At present, from power on to the RKIPC start, the totally time has reduce to 5s, Is it possible to make it within 3s?
    Hello,
    The main thing is the speed-up method mentioned above, eliminating unnecessary functions and only keeping the ones you actually need. The Linux kernel takes time to load, and it is difficult to reach within three seconds.