https://github.com/librerpi/rpi-tools/b ... boottime.cI think kernel and system was loaded about 5 seconds but something before loading kernel takes 10 seconds. Maybe I should compress it ?
git clone this, run make in boottime to build it, reboot, then run `sudo ./boottime` to run it
it will report 3 numbers
first, is how many seconds the SoC has been out of reset
second is how many seconds since linux gained control of the arm core
third, is the difference, how much time was spent before linux
figuring out what was happening in that 3rd slot, needs a uart adapter on the debug port
but just measuring it like this is easy, and lets you know how big it is and if its worth investigating
and you can try things like compressing the kernel, and get hard numbers to say if it helped
Statistics: Posted by cleverca22 — Mon Feb 12, 2024 12:50 pm