uboot 2016.05編譯uboot.bin和spl

來源:互聯網
上載者:User
1: $(srctree)/Makefile Makefile中的all目標編譯出相應的檔案. 我們來看看這個all目標 all: $(ALL-y)

# Always append ALL so that arch config.mk's can add custom ones
ALL-y += u-boot.srec u-boot.bin System.map u-boot.cfg binary_size_check

ALL-$(CONFIG_SPL) += spl/u-boot-spl.bin

spl/u-boot-spl.bin: spl/u-boot-spl
@:
spl/u-boot-spl: tools prepare
$(Q)$(MAKE) obj=spl -f $(srctree)/scripts/Makefile.spl all
2: s cripts/Makefile.spl,drivers/Makefile 3:編譯過程: Build U-Boot on the /ti-sdk-am57xx-evm-03.00.00.04/scripts/../source/u-boot-2016.05  CHK     include/config/uboot.release  CHK     include/generated/timestamp_autogenerated.h
  HOSTCC  scripts/basic/fixdep
  UPD     include/generated/timestamp_autogenerated.h
  CFG     u-boot.cfg
  CHK     include/generated/version_autogenerated.h
...
  HOSTCC  tools/aisimage.o
  HOSTCC  tools/atmelimage.o
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/mkimage.o
  HOSTCC  tools/proftool ...
  HOSTLD  tools/dumpimage
  HOSTLD  tools/mkimage
  LD      arch/arm/cpu/built-in.o
  CC      board/ti/common/board_detect.o
  CC      board/ti/gf33/board.o
...
  CC      lib/panic.o
  CC      lib/strto.o
  LD      lib/built-in.o
  CC      examples/standalone/stubs.o
  LD      examples/standalone/libstubs.o
  LD      examples/standalone/hello_world
  OBJCOPY examples/standalone/hello_world.srec
  OBJCOPY examples/standalone/hello_world.bin
  LD      u-boot
  OBJCOPY u-boot-nodtb.bin
  OBJCOPY u-boot.srec
  DTC     arch/arm/dts/am57xx-beagle-x15.dtb
  DTC     arch/arm/dts/am572x-idk.dtb
  SYM     u-boot.sym
  DTC     arch/arm/dts/am571x-idk.dtb
  SHIPPED dts/dt.dtb
  COPY    u-boot.dtb
  MKIMAGE u-boot-dtb.img
  MKIMAGE u-boot.img
  CAT     u-boot-dtb.bin
  COPY    u-boot.bin
  LD      spl/arch/arm/cpu/built-in.o
  CC      spl/board/ti/gf33/board.o
 ...
  CC      spl/arch/arm/cpu/armv7/omap5/fdt.o
  CC      spl/arch/arm/cpu/armv7/omap5/dra7xx_iodelay.o
  LD      spl/arch/arm/cpu/armv7/omap5/built-in.o
  LD      spl/arch/arm/cpu/armv7/built-in.o
  LD      spl/fs/fat/built-in.o
  LD      spl/fs/built-in.o
  LD      spl/lib/built-in.o
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  COPY    spl/u-boot-spl.bin
  MKIMAGE MLO  Build U-Boot and drivers Done

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.