3.4. Embedded Linux kernel production
?
?
?
We've made the Uboot, and the next step is to make kernel.
First enter the kernel source code, execute make Distclean. Clears the files generated by the previous compilation.
Note that there is a arch=arm condition when configuring the kernel.
Enter the arm's configuration menu after the carriage return:
Just like we configured the Linux kernel in front of us, we will also look for a configured configuration file:
Copy the config-file to our kernel code directory:
Then copy the config-file into. config.
Re-enter the configuration interface and discover that the configuration is in effect.
The next step is to compile the kernel:
?
?
?
This error occurs during the compilation process:
This is because, our executable file, has a file header, is mkimage to help us add to. The system cannot find it now. He is under the Uboot tools file:
We'll copy the tool to the/bin directory. Cp Mkimage/bin Recompile:
Make Uimage arch=arm cross_compile=arm-linux-
As shown above, the compilation is complete and the uimage is born. Next, burn him down to the Development Board to start.
?
?
Then burn him down to the Development Board and run:
?
?
?
?
?
?
?
?
?
?
?
?
3.4. Embedded Linux kernel production