1 Copy the code A8 to the virtual machine/home/a/a8_orig
2/home/a/a8_orig/toolchain/bin This path is added to the environment variable path= $PATH:/home/a/a8_orig/toolchain/bin make Uboot
1 Cd/home/a/a8_orig/uboot 2 make Distclean/make devkit8600_config
Generate the. config file
1. If the. config does not exist, the default settings when running make Config/menuconfig are determined by the default values for each of the various kconfig files that are cured.
2. If the. config exists, the default setting when running make Config/menuconfig is the current. config setting, and if the settings are modified,. config will be updated.
3. Arch/arm/defconfig is a default configuration file, and make Defconfig generates the current. config based on this file.
4. The Arch/arm/configs folder has many configuration files named Xxx_defconfig, and if you run make xxx_defconfig, the current. config file is generated by the Xxx_defconfig file.
5. The role of make Oldconfig is to back up the current. config file to. config.old, and if make Config/menuconfig is improperly set, it can be used to restore the previous. config.
3 make
Generate Mlo and U-boot.img
Make kernel Make Distclean Configure config file
Make devkit8600_defconfig Make menuconfig Make uimage
"Mkimage" command not found-u-boot images won't be built
Problem Solving-Process
1, found in Arch/arm/boot is the production uimage directory makefile found Mkimage: = $ (Srctree)/scripts/mkuboot.sh made uimage using/scripts/mkuboot . SH command
2, go to/scripts/mkuboot.sh directory to see this file, found mkimage=$ (type-path "${cross_compile}mkimage")
3, go to root directory find makefile file found Cross_compile =/usr/local/arm/3.4.1/bin/arm-linux-
4, this is the path of the Mkimage file, found the path in the/usr/local/arm/3.4.1/bin/under the Mkimage file Ah, but the front of this arm-linux-what meaning it.
5. Compile the Uboot and the Mkimage tool will be generated under Uboot/tools
File System