So I recently acquired Ingenic SoC based RS-97 game, which runs MIPS instruction set. The vendor vaguely provided instruction on how to compile the linux kernel for the target SoC. So based on vendor instructions and online search the following are needed to have an image of the embedded linux for the platform.
- Compile the toolchain (mipsel for mips based architecture)
- Compile the linux kernel with given drivers/BSP using the toolchain
- Compile the root file system - Busybox suggested (dont know why)
- Compile uBoot for target SoC
- Partition the storage such as sd with target specific partition table
- Flash the whole image into sd
So the questions are, why root file system is separate from kernel image? What role does busybox play in generating file system? Also if the linux image is compiled without root file system how to merge the two to have drivers in /sys directory in the root file system?