2.4 Build Procedure With Optimization
To optimize the boot time,
- Follow the step described in PolarFire SoC GitHub for bringing up Linux on Icicle kit.
- Build HSS by removing the search time of the booting source and by removing the Microchip banner.
- Build the kernel. Update the file system with the newly built kernel image, kernel modules, and device tree files.
- Set the log level to 0. This reduces the boot time by eliminating UART print to bottle the neck.
- Reduce the console message by adding quiet to the cmd line.
Optimized boot time values for Yocto and Buildroot are listed in Table 1 and Table 2, respectively.