Other Parts Discussed in Thread: OMAP3530
Hello,
Well, I already spent some hours with my Omap3EVM and the beagleboard but I still do not have a complete overview.
I dont know whether this is the right place to post my basic understandings/misunderstandings but I will give it a try anyway.
So, what I am actually worrying about are things like uImage,Kernel,NFS,Ramdisk,JFFS2...
When I turn on my OMAP3EVM a little program which is stored in a boot-rom (thus it can never be deleted) calls the x-loader (which is located in the NAND-FLASH, we have flashed it there using the Download-Utility). Thereafter, the x-loader is copied to RAM and gets executed which then calls the boot-loader (which is also stored in NAND-Flash). So far so, good.
The boot-loader can do a lot of different things and it knows what to do by looking at the boot arguments which we set and modify with commands like setenv and so on. I suppose that these boot-arguments are also stored in NAND Flash.
I guess I'm right when I say that we can tell the bootloader how and from where to boot the linux-kernel?!
By the way: uImage is the compiled and compressed linux-kernel, right?!
I think that there are two possibilities to get the uImage:
Either it is located on a SD-Card and must be copied to RAM or it is stored directly in the NAND-Flash and is copied from there to RAM, right?
Once uncompressed and copied to RAM the kernel starts to boot. When using my OMAP3EVM I prepared a directory on my host to be used as NFS file-system on the target. I'm sorry to ask such a basic question but what actually is a file-system? Simply the structure of all directories and folders(home,dev,usr,lib,...)?
I guess so, but dont hesitate to correct me if I'm wrong. So in my case, the kernel comes from NAND, and the files and folders are located on my host computer (and thus still exist after i restart the whole system). That is what we call a NFS file-system right?
Am I right, when claiming that our whole system consists of the kernel and that file-system?
Next, I dont really have a detailed idea on what the Ramdisk Image is. I would assume that it is the same file-system, but this time it is located in the OMAP3EVM's RAM instead on my host machine, am I right? If so, how does it work. Do we flash the RAMDISK into the NAND and the bootloader copies it to RAM?
Then I would conclude that changes (like new files, folders, etc...) would be discarded when we restart the whole system, because the filesystem is nested in RAM which looses its data on power down. Furthermore, what is the difference between full/minimal ramdisk?
The last thing I'm worrying about is the JFFS2 File System. Does that mean that using JFFS2 File system, the file system itself remains in NAND Flash?!
Then I would assume that I access the NAND-Flash each time I create/delete file/folders ?!
I would really appreciate if you could confirm/correct my statements here.
Regards,
Maik
