Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5091

Advanced users • Re: Custom Linux, custom file system in RAM

$
0
0
You might get a speed increase with "init_turbo=30" in config.txt.
I always use "force_turbo=1". When I added "init_turbo=30" there was no speed gain
The loading of the initramfs is done by the VPU, which is clocked much slower than the ARMs. You may find it quicker to use U-boot as an intermediate loader to load initramfs. Also, ask yourself if initramfs is necessary or is there another way to achieve the same effect.
Maybe if I want to speed up the boot, I'll try UBoot, thanks for the idea.

Still, one of the main questions remains unresolved, how does the kernel know where to look for the .cpio archive. I have tried three options
of initramfs initramf.gz 0x00800000
and
initramfs initramf.gz follow kernel
and
initramfs initramf.gz

The first one doesn't work, the second one works, the third one works.

Thus, I come to the conclusion that the kernel, by default, searches for the file system after itself in RAM.

Statistics: Posted by Hurin — Mon Mar 11, 2024 3:29 pm



Viewing all articles
Browse latest Browse all 5091

Trending Articles