I'am learning about embedded systems, and i was able to compile and setup a SAM9x35 EK with buildroot, mounting the bootstrap, the U-Boot, the Linux and The rootfs (Buildroot's basic RFS[root file system]skeleton). I have LOTS of questions, but one of the most important is: Pre Question Statements, for context:
- I already have a provided JFFS2 with and app inside that is made of several NetBeans (c++) projects.
- These projects use kernel built in (if selected in buildroot's menu) libraries
How does it work? How the rootfs and the netbeans (makefiles) connect to linux packages? What I mean is, How the kernel manages the makefiles from the netbeans projects? i.e.: If i create a project that shows a picture on the screen i add some needed packages to the rootfs and then this is flashed to the device. How the kernel knows how to read and run this app? What I have read after doing this question is that Kernel start some script in init.d folder. But I would like a more Conceptual explanation of the interaction between Kernel and Rootfs
Any Explanation could help me because i dont understand how exactly works. The application is a standalone application that is loaded at the start of the linux (power on) and is only that, it runs and uses hardware to go through its different functions. Please feel free to use links or examples.
Thank you very Much.