Released earlier Article "Favorites: learning to use Skyeye simulation" comes from NLP.
At about half past nine am, I saw this top post. After reading this post, I became interested because I really want to learn about uClinux, but I have no embedded development platform that can run uClinux at hand, the Skyeye open-source project can be used for uClinux Source code Without the support of the hardware environment, you can learn the principle and Program Design. I have installed RedHat Linux 9 on a 10 Gb old hard disk. Start now!
Follow the steps described in this article to complete the process step by step.
Note:
1) The operating system platform I use is RedHat Linux 9, rather than FC1 in the original article;
2. I download the latest skyeye-0.86.tar.bz2and skyeye-binary-testutils-1.1.0.tar.bz2, instead of the old version in the original text;
3) I just completed the first six steps in the original article, that is, until "execute your hello program, the subsequent steps have not been tried yet (please thoroughly read the previous steps first -_-!);
4) my comments to Step 1 in the original text (the red part is taken from the original text and the comments are black ):
6. Execute your hello program
Here, we will use the genromfs tool to complete the test. This tool is generated when you install the cross compiler and you can use it directly.
Go to http://gro.clinux.org/projects/skye..0.4.tar.bz2package:
Tar jxvf skyeye-binary-testutils-1.0.4.tar.bz2 // I downloaded the latest version, version 1.1.0
CD testsuits/at91/uclinux2 (of course you can use another one)
Mkdir romfs (create a directory and use it later) // execute this statement in the uclinux2 directory above.
Mount-o loop boot. Rom/mnt/xxx // still in the uclinux2 directory
The CP-r/mnt/XXX/* romfs // XXX directory is created manually using mkdir XXX in/MNT.
In addition, copy the compiled executable program to the/romfs/bin directory. Here is hello!
Genromfs-F boot. Rom-D romfs // still in the uclinux2 directory
Note: You can use genromf-H for help!
OK! Run the following command:
Skyeye Linux
(Skyeye) Target SIM // (Skyeye) is a command line prompt that appears after running the Skyeye Linux Command
(Skyeye) Load
(Skyeye) Run // start uClinux
Kernel start .....
Familiar with it...
CD/bin
Hello
Can you see the result?
In fact, at this step, you can develop your own program!