Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How is the Linux kernel compiled on itop4412 development board

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Itop4412 development board Linux kernel is how to compile, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

Based on itop4412 development board

5.3.2.1 Source directory

The Linux kernel source code is located in the directory "06 _ source _ uboot and kernel" of the CD, as shown in the following figure.

5.3.2.2 compiler

The kernel compiler is the same as the uboot compiler, refer to the 5.3.1.2 compiler.

5.3.2.3 Parameter configuration

Kernel compilation is a combined configuration file, and the basic configuration file name is "config_for_android_YY_elite"

YY means to replace with the parameters shown in the following table.

5.3.2.4 example of compiling and generating kernel image

Here, take the SCP 1G core board as an example to compile the zImage kernel image, then the configuration file is

"config_for_android_scp_elite".

Change the compressed package under the CD "06 _ source code _ uboot and kernel" directory

Copy "iTop4412_Kernel_3.0_xxx.tar.gz" to Ubuntu, then extract it to get the folder

"iTop4412_Kernel_3.0", as shown in the following figure.

Enter the folder "iTop4412_Kernel_3.0" and use the command

"cp config_for_android_scp_elite .config" overrides the configuration file that comes with it, as shown in the following figure.

If you want to use a 5-inch screen, you should first refer to the user's manual "5.5 kernel patch file that supports 5-inch screen".

Patch the kernel, and then use the command "vim .config" to search for keywords in the file.

"CONFIG_TOUCHSCREEN_GT9XX=y", in the "CONFIG_TOUCHSCREEN_GT9XX=y"

Add a line of "CONFIG_TOPEET_LCD5X0=y" after that, and after adding it, as shown in the following figure. If the user does not use

You can skip this step with a 5-inch screen.

Then use the compile command "make zImage", as shown in the following figure

Compiling, as shown in the following figure.

The compilation is complete, as shown in the following figure.

The "arch"-- > "arm"-- > "boot" under the folder "iTop4412_Kernel_3.0" generates a mirror text.

ZImage, this zImage image can be used by the core boards of SCP 1G and SCP 2G, as shown in the following figure.

Since the wifi driver in the kernel is required in the Android code, after the kernel has been compiled, it is also needed in the kernel directory

Execute the command "make modules" of the compilation module, and then execute the script that compiles the subsequent Android4.0.3 file system

Only the Android4.0.3 source code can pass.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 247

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report