Compiling Uboot Analysis
1/Configuration
Configuration
1/configuration command make
arch=arm cross_compile=arm-hisiv300-linux-hi3531a_config
2/Fetch process make
arch=arm Cross_compile=arm-hisiv300-linux-hi3531a_config- n >. /log_config
1 rm-f include/config.h include/config.mk \
2 board/*/config.tmp board/*/*/config.tmp \
3 include/autoconf.mk include/autoconf.mk.dep
4/home/xxx/sdk_root/hi3531a_sdk_v1.0.4.0/osdrv/ Opensource/uboot/u-boot/mkconfig hi3531a arm hi3531a hi3531a NULL hi3531a
3/Fetch result
Diff-ur u-boot_before_ Config u-boot_after_config > diff_config
1 only exist in U-boot_after_config/arch/arm/include/asm: Arch
2 is only U-boot_after_config/arch/arm/include/asm exists: Proc
3 exists only in U-boot_after_config/include: ASM
4 only in U-boot_after _config/include exists: Config.h
5 exists only in U-boot_after_config/include: config.mk
2/Compiling
Compile 1/compile command make Arch=arm cross_compile=arm-hisiv300-linux-//The above statement reads the configured information and then compiles uboot, configuration information in Config.h 2/fetch process makes arch= Arm cross_compile=arm-hisiv300-linux--n >. /log_make crawl process too much, annex 3 in Appendix 1/Fetch results Diff-ur u-boot_before_make u-boot_after_make > Diff_make only in U-boot_after_make/api In: LIBAPI.A exists only in u-boot_after_make/arch/arm/cpu/hi3531a: CHIP.O exists only in u-boot_after_make/arch/arm/cpu/hi3531a: CPU.O only in U-BOOT_AFTER_MAKE/ARCH/ARM/CPU/HI3531A exists:. Depend exists only in u-boot_after_make/arch/arm/cpu/hi3531a/hi3531a:. Depend only in U-BOOT_AFTER_MAKE/ARCH/ARM/CPU/HI3531A/HI3531A exists: LIBHI3531A.A only in u-boot_after_make/arch/arm/cpu/hi3531a/hi3531a Existence: RESET.O exists only in u-boot_after_make/arch/arm/cpu/hi3531a/hi3531a: TIMER.O only in u-boot_after_make/arch/arm/cpu/hi3531a Existence: LIBHI3531A.A exists only in u-boot_after_make/arch/arm/cpu/hi3531a: LOWLEVEL_INIT_V300.O only in U-boot_after_make/arch/arm/cpu /HI3531A exists: START.O only exists in u-boot_after_make/arch/arm/cpu/hi3531a: UART.O only in U-boot_after_make/arch/arm/include/asm Presence: Arch only in U-boot_after_mAke/arch/arm/include/asm exists: proc only exists in U-boot_after_make/arch/arm/lib: BOARD.O only in U-boot_after_make/arch/arm/lib Existence: BOOTM.O exists only in U-boot_after_make/arch/arm/lib: CACHE-CP15.O only exists in U-boot_after_make/arch/arm/lib: CACHE.O only in U-boot_ After_make/arch/arm/lib exists: CPU_INFO.O only exists in U-boot_after_make/arch/arm/lib: DDR_LAYOUT.O only in u-boot_after_make/arch/
Arm/lib exists: DDR_SIZE.O exists only in U-boot_after_make/arch/arm/lib:. Depend exists only in U-boot_after_make/arch/arm/lib: EABI_COMPAT.O Only exists in U-boot_after_make/arch/arm/lib: INTERRUPTS.O only exists in U-boot_after_make/arch/arm/lib: LIBARM.A only in u-boot_after_make/ Arch/arm/lib exists: MMU.O exists only in U-boot_after_make/arch/arm/lib: PROCESS.O exists only in U-boot_after_make/arch/arm/lib: RESET.O only in U-BOOT_AFTER_MAKE/BOARD/HI3531A exists: BOARD.O exists only in u-boot_after_make/board/hi3531a:. Depend only in u-boot_after_make/board/ HI3531A exists: LIBHI3531A.A exists only in U-boot_after_make/common: CMD_BOOTM.O exists only in U-boot_after_make/common: CMD_BOOT.O only in U-boot_ After_make/common exists: CMD_DDR_TRAINING_V2.O only in U-boot_after_make/commonExistence: CMD_DEC.O exists only in U-boot_after_make/common: CMD_FAT.O only exists in U-boot_after_make/common: CMD_GETINFO.O only in U-boot_after_ Make/common exists: CMD_HELP.O exists only in U-boot_after_make/common: CMD_LOAD.O exists only in U-boot_after_make/common: CMD_MEM.O only in U-boot_ After_make/common exists: CMD_MII.O exists only in U-boot_after_make/common: CMD_NAND.O exists only in U-boot_after_make/common: CMD_NET.O only in U-boot_after_make/common exists: CMD_NVEDIT.O only exists in U-boot_after_make/common: CMD_PCMCIA.O only in U-boot_after_make/common Existence: CMD_SF.O exists only in U-boot_after_make/common: CMD_USB.O only exists in U-boot_after_make/common: CMD_VERSION.O only in U-boot_after_make /common exists: CMD_VO_HI3531A.O exists only in U-boot_after_make/common: COMMAND.O exists only in U-boot_after_make/common: CONSOLE.O only in U-boot _after_make/common exists:. Depend exists only in U-boot_after_make/common: DLMALLOC.O exists only in U-boot_after_make/common: Download_ PROCESS.O only exists in U-boot_after_make/common: ENV_COMMON_FUNC.O only exists in U-boot_after_make/common: ENV_COMMON.O only in U-boot_after _make/common exists: ENV_NAND.O only exists in U-boot_after_make/common: ENV_SF.O only in U-boot_after_make/common exists: EXPORTS.O exists only in U-boot_after_make/common: FLASH.O exists only in U-boot_after_make/common: Flash_ PART.O only exists in U-boot_after_make/common: IMAGE.O only exists in U-boot_after_make/common: Libcommon.a only in U-boot_after_make/common Existence: MAIN.O exists only in U-boot_after_make/common: MEMSIZE.O only exists in U-boot_after_make/common: MIIPHYUTIL.O only in u-boot_after_make/ Common exists: NAND_LOGIF.O exists only in U-boot_after_make/common: SPIFLASH_LOGIF.O exists only in U-boot_after_make/common: S_RECORD.O only in
U-boot_after_make/common exists: STDIO.O exists only in U-boot_after_make/common: USB.O exists only in U-boot_after_make/common: USB_STORAGE.O
Only exists in U-boot_after_make/common: XYZMODEM.O exists only in U-boot_after_make/disk:. Depend exists only in U-boot_after_make/disk: libdisk.a Only exists in U-boot_after_make/disk: PART_DOS.O only exists in U-boot_after_make/disk: PART.O only in U-boot_after_make/drivers/bios_ Emulator exists: LIBATIBIOSEMU.A only exists in U-boot_after_make/drivers/block: libblock.a only in U-boot_after_make/drivers/ddr/cmd_ Bin exists: Ddr_cmd.bin only exists in U-BOOT_AFTER_MAKE/DRIVERS/DDR: DDR_CMD_CTL.O only in U-boOT_AFTER_MAKE/DRIVERS/DDR exists: DDR_CMD_LOC.O only exists in U-BOOT_AFTER_MAKE/DRIVERS/DDR: DDR_TRAINING_BOOT.O only in U-boot_after_ MAKE/DRIVERS/DDR exists: DDR_TRAINING_CTL.O only exists in U-BOOT_AFTER_MAKE/DRIVERS/DDR: DDR_TRAINING_CUSTOM.O only in U-boot_after_ MAKE/DRIVERS/DDR exists: DDR_TRAINING_IMPL.O only exists in U-BOOT_AFTER_MAKE/DRIVERS/DDR: Libddr.a only in u-boot_after_make/drivers/ DMA exists: LIBDMA.A only exists in U-BOOT_AFTER_MAKE/DRIVERS/FPGA: LIBFPGA.A only exists in U-boot_after_make/drivers/gpio: LIBGPIO.A only in U-boot _after_make/drivers/hwmon exists: Libhwmon.a only exists in U-BOOT_AFTER_MAKE/DRIVERS/I2C: LIBI2C.A only in u-boot_after_make/drivers/ Input exists: LIBINPUT.A exists only in U-boot_after_make/drivers/misc: LIBMISC.A only exists in U-BOOT_AFTER_MAKE/DRIVERS/MMC: LIBMMC.A only in U-BOOT_AFTER_MAKE/DRIVERS/MTD exists:. Depend exists only in U-BOOT_AFTER_MAKE/DRIVERS/MTD: HIFMC_COMMON.O only in u-boot_after_make/ DRIVERS/MTD exists: HIFMC_HI3531A.O only exists in U-BOOT_AFTER_MAKE/DRIVERS/MTD: Libmtd.a only in U-boot_after_make/drivers/mtd/nand Existence:. Depend only exists in u-boot_after_make/drivers/mtd/nand/hifmc100: libhifmcv100.a only in U-boOt_after_make/drivers/mtd/nand/hifmc100_nand exists: Libhifmc100_nand.a only in u-boot_after_make/drivers/mtd/nand/hinfc301 Existence:. Depend only exists in u-boot_after_make/drivers/mtd/nand/hinfc301: HINFC301_SPL_IDS.O only in u-boot_after_make/drivers/mtd/ nand/hinfc301 exists: libhinfcv301.a only exists in u-boot_after_make/drivers/mtd/nand/hinfc504: libhinfcv504.a only in U-boot_after_ MAKE/DRIVERS/MTD/NAND/HINFC610 exists:. Depend exists only in u-boot_after_make/drivers/mtd/nand/hinfc610: HINFC610_GEN.O only in U-boot _AFTER_MAKE/DRIVERS/MTD/NAND/HINFC610 exists: HINFC610.O exists only in u-boot_after_make/drivers/mtd/nand/hinfc610: hinfc610_
READ_RETRY_HYNIX_BG_BDIE.O only exists in u-boot_after_make/drivers/mtd/nand/hinfc610: HINFC610_READ_RETRY_HYNIX_BG_CDIE.O exist only in u-boot_after_make/drivers/mtd/nand/hinfc610: HINFC610_READ_RETRY_HYNIX_CG_ADIE.O only in U-boot_after_make/drivers /MTD/NAND/HINFC610 exists: HINFC610_READ_RETRY_MICRON.O exists only in u-boot_after_make/drivers/mtd/nand/hinfc610: Hinfc610_read _RETRY_SAMSUNG.O only exists in u-boot_after_make/drivers/mtd/nand/hinfc610: Hinfc610_read_retry_toshiBA.O only exists in u-boot_after_make/drivers/mtd/nand/hinfc610: HINFC610_SPL_IDS.O only in u-boot_after_make/drivers/mtd/nand/ hinfc610 exists: HINFC620_GEN.O only exists in u-boot_after_make/drivers/mtd/nand/hinfc610: libhinfcv610.a only in u-boot_after_make/ Drivers/mtd/nand exists: HINFC_COMMON.O only exists in u-boot_after_make/drivers/mtd/nand/hisnfc100: libhisnfcv100.a only in U-boot_ After_make/drivers/mtd/nand exists: Libnand.a only exists in U-boot_after_make/drivers/mtd/nand: NAND_BASE.O only in u-boot_after_make/ Drivers/mtd/nand exists: NAND_BBT.O only exists in U-boot_after_make/drivers/mtd/nand: NAND_ECC.O only in u-boot_after_make/drivers/mtd/ NAND exists: NAND_IDS.O exists only in U-boot_after_make/drivers/mtd/nand: NAND.O exists only in U-boot_after_make/drivers/mtd/nand: Nand_ UTIL.O exists only in U-boot_after_make/drivers/mtd/onenand: LIBONENAND.A exists only in U-BOOT_AFTER_MAKE/DRIVERS/MTD/SPI:. Depend only in
U-BOOT_AFTER_MAKE/DRIVERS/MTD/SPI/HIFMC100 exists:. Depend exists only in u-boot_after_make/drivers/mtd/spi/hifmc100: HIFMC100.O exist only in u-boot_after_make/drivers/mtd/spi/hifmc100: HIFMC100_OS.O only in U-boot_after_make/driverS/MTD/SPI/HIFMC100 exists: HIFMC_SPI_NOR_IDS.O only exists in u-boot_after_make/drivers/mtd/spi/hifmc100: libhifmcv100.a only in U-boot_ After_make/drivers/mtd/spi/hisfc300new exists: LIBHISFCV300NEW.A only in u-boot_after_make/drivers/mtd/spi/hisfc350 Existence: LIBHISFCV350.A exists only in U-BOOT_AFTER_MAKE/DRIVERS/MTD/SPI: LIBSPI_FLASH.A exists only in U-BOOT_AFTER_MAKE/DRIVERS/MTD/SPI: SPI _COMPATIBLE.O only exists in U-BOOT_AFTER_MAKE/DRIVERS/MTD/SPI: SPI_IDS.O only exists in U-boot_after_make/drivers/mtd/ubi: LIBUBI.A only in U-boot_after_make/drivers/net/higmac exists: LIBHIGMAC.A only exists in u-boot_after_make/drivers/net/higmacv300: CTRL.O only in U-boot_ AFTER_MAKE/DRIVERS/NET/HIGMACV300 exists:. Depend exists only in u-boot_after_make/drivers/net/higmacv300: HIGMAC.O only in U-boot_after _MAKE/DRIVERS/NET/HIGMACV300 exists: libhigmacv300.a only exists in u-boot_after_make/drivers/net/higmacv300: MDIO.O only in U-boot_ AFTER_MAKE/DRIVERS/NET/HISFV300 exists: libhisfv300.a only exists in U-boot_after_make/drivers/net: Libnet.a only in u-boot_after_make/ Drivers/net/phy exists: Libphy.a only exists in U-boot_after_make/drivers/net/stmmac: LIBSTMMAC.A only in U-BOOT_AFTER_MAKE/DRIVERS/PCI exists: LIBPCI.A exists only in U-boot_after_make/drivers/pcmcia:. Depend only in U-boot_after_make/drivers /pcmcia exists: LIBPCMCIA.A only exists in U-boot_after_make/drivers/pcmcia: RPX_PCMCIA.O only in U-boot_after_make/drivers/pcmcia Existence: TQM8XX_PCMCIA.O exists only in U-boot_after_make/drivers/power: Libpower.a exists only in U-BOOT_AFTER_MAKE/DRIVERS/RTC: DATE.O only in U-BOOT_AFTER_MAKE/DRIVERS/RTC exists:. Depend exists only in U-BOOT_AFTER_MAKE/DRIVERS/RTC: LIBRTC.A only in u-boot_after_make/drivers/ Serial exists:. Depend exists only in u-boot_after_make/drivers/serial: LIBSERIAL.A exists only in u-boot_after_make/drivers/serial: Serial_ PL01X.O only exists in U-BOOT_AFTER_MAKE/DRIVERS/SPI: LIBSPI.A only exists in u-boot_after_make/drivers/twserial: LIBTWS.A only in U-boot_after _MAKE/DRIVERS/USB/GADGET/HIUDC exists: LIBHIUDC.A only exists in U-boot_after_make/drivers/usb/gadget: Libusb_gadget.a only in U-boot_ AFTER_MAKE/DRIVERS/USB/HOST/HIUSB exists:. Depend exists only in U-BOOT_AFTER_MAKE/DRIVERS/USB/HOST/HIUSB: HIUSB-OHCI.O only in U-boot_ AFTER_MAKE/DRIVERS/USB/HOST/HIUSB exists: LIBHIUSB.A only in u-boot_after_make/drivers/usb/hOST/HIUSB exists: XHCI-MEM.O only exists in U-BOOT_AFTER_MAKE/DRIVERS/USB/HOST/HIUSB: XHCI.O only in u-boot_after_make/drivers/usb/host/ HIUSB exists: XHCI-RING.O only exists in U-boot_after_make/drivers/usb/host: Libusb_host.a only in U-boot_after_make/drivers/usb/musb Existence: LIBUSB_MUSB.A exists only in u-boot_after_make/drivers/usb/phy: Libusb_phy.a only in U-boot_after_make/drivers/video Existence: LIBVIDEO.A exists only in U-boot_after_make/drivers/watchdog: Libwatchdog.a only in U-boot_after_make/examples/standalone exists:. Depend exists only in U-boot_after_make/examples/standalone: Hello_world only exists in U-boot_after_make/examples/standalone: Hello _world.bin only exists in U-boot_after_make/examples/standalone: HELLO_WORLD.O only in U-boot_after_make/examples/standalone Existence: Hello_world.srec exists only in U-boot_after_make/examples/standalone: LIBSTUBS.A only in U-boot_after_make/examples/standalone Existence: STUBS.O exists only in U-boot_after_make/fs/cramfs: LIBCRAMFS.A only exists in U-BOOT_AFTER_MAKE/FS/EXT2: LIBEXT2FS.A only in U-boot_after_ Make/fs/fat exists:. Depend exists only in U-boot_after_make/fs/fat: FAT.O exists only in U-boot_after_make/fs/fat: file.o exists only in U-boot_after_make/fs/fat: Libfat.a only exists in U-boot_after_make/fs/fdos: LIBFDOS.A only in U-BOOT_AFTER_MAKE/FS/JFFS2 Existence: libjffs2.a exists only in U-boot_after_make/fs/reiserfs: LIBREISERFS.A only exists in U-boot_after_make/fs/ubifs: LIBUBIFS.A only in U-boot_ AFTER_MAKE/FS/YAFFS2 exists: libyaffs2.a exists only in U-boot_after_make/include: ASM exists only in U-boot_after_make/include: Autoconf.mk only in U-boot_after_make/include exists: AUTOCONF.MK.DEP only exists in U-boot_after_make/include: Config.h only in U-boot_after_make/include Existence: Config.mk exists only in U-boot_after_make/include: Timestamp_autogenerated.h exists only in U-boot_after_make/include: Version_ Autogenerated.h only exists in U-boot_after_make/lib: CRC16.O only exists in U-boot_after_make/lib: CRC32.O only in U-boot_after_make/lib Existence: CTYPE.O only exists in U-boot_after_make/lib:. Depend only in U-boot_after_make/lib: DISPLAY_OPTIONS.O only in U-boot_after_make/lib Existence: DIV64.O exists only in U-boot_after_make/lib: GUNZIP.O only exists in U-boot_after_make/lib/hw_dec: LIBHW_DEC.A only in u-boot_after_make/ LIB exists: LDIV.O only exists in U-BOOT_AFTER_MAKE/LIB/LIBFDT: Libfdt.a only in U-boot_after_maKe/lib exists: LIBGENERIC.A exists only in U-boot_after_make/lib/lzma: LIBLZMA.A exists only in U-boot_after_make/lib/lzo: Liblzo.a only in U-boot_ After_make/lib exists: MATCH_TABLE.O exists only in U-boot_after_make/lib: NET_UTILS.O exists only in U-boot_after_make/lib: STRING.O only in U-boot_ After_make/lib exists: STRMHZ.O exists only in U-boot_after_make/lib: TIME.O exists only in U-boot_after_make/lib: VSNPRINTF.O only in U-boot_after_ Make/lib exists: VSPRINTF.O exists only in U-boot_after_make/lib: ZLIB.O exists only in u-boot_after_make/net: BOOTP.O only in U-boot_after_make/net Existence:. Depend exists only in u-boot_after_make/net: ETH.O only exists in U-boot_after_make/net: LIBNET.A exists only in u-boot_after_make/net: NET.O only in U- Boot_after_make/net exists: RARP.O exists only in u-boot_after_make/net: TFTP.O exists only in U-boot_after_make/post: Libpost.a only in U-boot_after _make/product exists:. Depend exists only in u-boot_after_make/product/hiddrtv200: libhiddrtv200.a only in u-boot_after_make/product/ Hiosd/dec exists:. Depend exists only in U-boot_after_make/product/hiosd/dec: HI_JPEGDECODE.O only in u-boot_after_make/product/hiosd/ Dec exists: JPEGD.O exists only in U-boot_after_make/product/hiosd/dec: JPEG_HDEC_RWREG.O only exists in U-boot_after_make/product/hiosd/dec: JPEG_HDEC_SETPARA.O only in U-boot_after_make/product/hiosd/dec Existence: JPEG_HDEC_TABLE.O exists only in U-boot_after_make/product/hiosd/dec: Libjpegd.a only in u-boot_after_make/product/hiosd/hdmi/ HI3531A exists: DE.O exists only in u-boot_after_make/product/hiosd/hdmi/hi3531a:. Depend only in u-boot_after_make/product/hiosd/hdmi/ HI3531A exists: DRV_HLVIIC.O only exists in u-boot_after_make/product/hiosd/hdmi/hi3531a: EEPROM.O only in u-boot_after_make/product/ HIOSD/HDMI/HI3531A exists: HDMI.O only exists in u-boot_after_make/product/hiosd/hdmi/hi3531a: HDMITX.O only in u-boot_after_make/ PRODUCT/HIOSD/HDMI/HI3531A exists: INFOFRM.O only exists in u-boot_after_make/product/hiosd/hdmi/hi3531a: LIBHDMI.A only in U-boot_after _MAKE/PRODUCT/HIOSD/HDMI/HI3531A exists: TXVIDP.O only exists in u-boot_after_make/product/hiosd/hdmi/hi3531a: TXVPTBL.O only in U-boot_ AFTER_MAKE/PRODUCT/HIOSD/HDMI/HI3531A exists: VMTABLES.O exists only in u-boot_after_make/product/hiosd/vo/hi3531a:. Depend only in U-BOOT_AFTER_MAKE/PRODUCT/HIOSD/VO/HI3531A exists: Libvo.a only in U-boot_after_make/product/hiosd/VO/HI3531A exists: VOU_COEF_ORG.O only exists in u-boot_after_make/product/hiosd/vo/hi3531a: VOU_DRV.O only in u-boot_after_make/ PRODUCT/HIOSD/VO/HI3531A exists: VOU_HAL.O only exists in u-boot_after_make/product/hiosd/vo/hi3531a: VOU.O only in u-boot_after_make/ Product/hiupdate exists: AUTO_UPDATE.O exists only in u-boot_after_make/product/hiupdate:. Depend only in u-boot_after_make/product/ Hiupdate exists: Libhiupdate.a exists only in u-boot_after_make/product: Libproduct.a exists only in u-boot_after_make/product: SAMPLE.O only in U-boot_after_make exists: System.map exists only in U-boot_after_make/tools: CRC32.O exists only in U-boot_after_make/tools: DEFAULT_IMAGE.O only in U-boot_after_make/tools exists:. Depend exists only in U-boot_after_make/tools: ENVCRC exists only in U-boot_after_make/tools: ENVCRC.O only in
U-boot_after_make/tools exists: ENV_EMBEDDED.O exists only in U-boot_after_make/tools: FDT.O exists only in U-boot_after_make/tools: FDT_RO.O exists only in U-boot_after_make/tools: FDT_RW.O exists only in U-boot_after_make/tools: FDT_STRERROR.O exists only in U-boot_after_make/tools: Fdt_ WIP.O only exists in U-boot_after_make/tools: FIT_IMAGE.O only exists in U-boot_after_make/tools: gen_eth_addr only exists in U-boot_after_make/tools: GEN_ETH_ADDR.O only exists in U-boot_after_make/tools: IMAGE.O only in u-boot_after_make/ Tools exist: IMXIMAGE.O exists only in U-boot_after_make/tools: KWBIMAGE.O only exists in U-boot_after_make/tools: MD5.O only in u-boot_after_make/ Tools exist: Mkimage exists only in U-boot_after_make/tools: MKIMAGE.O only exists in U-boot_after_make/tools: OS_SUPPORT.O only in U-boot_after_ Make/tools exists: SHA1.O exists only in U-boot_after_make: U-boot exists only in U-boot_after_make: U-boot.bin only in U-boot_after_make Existence: U-boot.lds exists only in U-boot_after_make: U-boot.map exists only in U-boot_after_make: U-boot.srec
Appendix 1:Make crawl Results