Lines Matching full:boot

316 # U-Boot does not need modules
536 u-boot.cfg spl/u-boot.cfg tpl/u-boot.cfg: include/config.h FORCE
571 #LDSCRIPT := $(srctree)/board/$(BOARDDIR)/u-boot.lds.debug
581 LDSCRIPT := $(srctree)/board/$(BOARDDIR)/u-boot.lds
584 LDSCRIPT := $(srctree)/$(CPUDIR)/u-boot.lds
587 LDSCRIPT := $(srctree)/arch/$(ARCH)/cpu/u-boot.lds
663 # U-Boot objects....order is important (i.e. start must be first)
730 u-boot-dirs := $(patsubst %/,%,$(filter %/, $(libs-y))) tools examples
732 u-boot-alldirs := $(sort $(u-boot-dirs) $(patsubst %/,%,$(filter %/, $(libs-))))
736 u-boot-init := $(head-y)
737 u-boot-main := $(libs-y)
754 -include $(srctree)/include/u-boot/u-boot.lds.h \
782 # $(1) is u-boot ELF, $(2) is u-boot bin, $(3) is text base
792 ALL-y += u-boot.srec u-boot.bin u-boot.sym System.map binary_size_check
795 ALL-$(CONFIG_ONENAND_U_BOOT) += u-boot-onenand.bin
797 ALL-$(CONFIG_RAMBOOT_PBL) += u-boot-with-spl-pbl.bin
800 # For Secure Boot The Image needs to be signed and Header must also
802 ALL-$(CONFIG_RAMBOOT_PBL) += u-boot.pbl
805 ALL-$(CONFIG_SPL) += spl/u-boot-spl.bin
807 ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot-ivt.img
809 ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.img
811 ALL-$(CONFIG_TPL) += tpl/u-boot-tpl.bin
812 ALL-$(CONFIG_OF_SEPARATE) += u-boot.dtb
814 ALL-$(CONFIG_OF_SEPARATE) += u-boot-dtb.img
816 ALL-$(CONFIG_OF_HOSTFILE) += u-boot.dtb
820 ALL-$(CONFIG_REMAKE_ELF) += u-boot.elf
821 ALL-$(CONFIG_EFI_APP) += u-boot-app.efi
822 ALL-$(CONFIG_EFI_STUB) += u-boot-payload.efi
825 ALL-$(CONFIG_X86_RESET_VECTOR) += u-boot.rom
828 # enable combined SPL/u-boot/dtb rules for tegra
830 ALL-y += u-boot-tegra.bin u-boot-nodtb-tegra.bin
831 ALL-$(CONFIG_OF_SEPARATE) += u-boot-dtb-tegra.bin
839 LDFLAGS_u-boot += $(LDFLAGS_FINAL)
842 LDFLAGS_u-boot += $(call ld-option, --no-dynamic-linker)
845 LDFLAGS_u-boot += -Ttext $(CONFIG_SYS_TEXT_BASE)
878 cfg: u-boot.cfg
895 $(call cmd,cfgcheck,u-boot.cfg)
900 dts/dt.dtb: u-boot
914 MKIMAGEFLAGS_fit-dtb.blob = -f auto -A $(ARCH) -T firmware -C none -O u-boot \
918 u-boot-fit-dtb.bin: u-boot-nodtb.bin fit-dtb.blob
921 u-boot.bin: u-boot-fit-dtb.bin FORCE
925 u-boot-dtb.bin: u-boot-nodtb.bin dts/dt.dtb FORCE
930 u-boot-dtb-kern.bin: u-boot-dtb.bin FORCE
933 u-boot.bin: u-boot-dtb-kern.bin $(EMBED_KERN_DTB) FORCE
936 u-boot.bin: u-boot-dtb.bin FORCE
942 u-boot.bin: u-boot-nodtb.bin FORCE
947 usbplug.bin: u-boot.bin
960 u-boot.dtb: dts/dt.dtb FORCE
963 OBJCOPYFLAGS_u-boot.hex := -O ihex
965 OBJCOPYFLAGS_u-boot.srec := -O srec
967 u-boot.hex u-boot.srec: u-boot FORCE
970 OBJCOPYFLAGS_u-boot-nodtb.bin := -O binary \
973 binary_size_check: u-boot-nodtb.bin FORCE
974 @file_size=$(shell wc -c u-boot-nodtb.bin | awk '{print $$1}') ; \
975 map_size=$(shell cat u-boot.map | \
981 echo "u-boot.map shows a binary size of $$map_size" >&2 ; \
982 echo " but u-boot-nodtb.bin shows $$file_size" >&2 ; \
987 u-boot-nodtb.bin: u-boot FORCE
992 u-boot.ldr: u-boot
1000 cmd_binman = $(srctree)/tools/binman/binman -d u-boot.dtb -O . \
1003 OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex
1005 OBJCOPYFLAGS_u-boot.ldr.srec := -I binary -O srec
1007 u-boot.ldr.hex u-boot.ldr.srec: u-boot.ldr FORCE
1011 # U-Boot entry point, needed for booting of full-blown U-Boot
1012 # from the SPL U-Boot version.
1029 U_BOOT_ITS := u-boot.its
1037 MKIMAGEFLAGS_u-boot.img = -f auto -A $(ARCH) -T firmware -C none -O u-boot \
1039 -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board" -E \
1042 MKIMAGEFLAGS_u-boot.img = -A $(ARCH) -T firmware -C none -O u-boot \
1044 -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board"
1045 MKIMAGEFLAGS_u-boot-ivt.img = -A $(ARCH) -T firmware_ivt -C none -O u-boot \
1047 -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board"
1048 u-boot-ivt.img: MKIMAGEOUTPUT = u-boot-ivt.img.log
1049 CLEAN_FILES += u-boot-ivt.img.log u-boot-dtb.imx.log SPL.log u-boot.imx.log
1052 MKIMAGEFLAGS_u-boot-dtb.img = $(MKIMAGEFLAGS_u-boot.img)
1054 MKIMAGEFLAGS_u-boot.kwb = -n $(srctree)/$(CONFIG_SYS_KWD_CONFIG:"%"=%) \
1057 MKIMAGEFLAGS_u-boot-spl.kwb = -n $(srctree)/$(CONFIG_SYS_KWD_CONFIG:"%"=%) \
1061 MKIMAGEFLAGS_u-boot.pbl = -n $(srctree)/$(CONFIG_SYS_FSL_PBL_RCW:"%"=%) \
1064 u-boot-dtb.img u-boot.img u-boot.kwb u-boot.pbl u-boot-ivt.img: \
1065 $(if $(CONFIG_SPL_LOAD_FIT),u-boot-nodtb.bin dts/dt.dtb,u-boot.bin) FORCE
1068 u-boot.itb: u-boot-nodtb.bin dts/dt.dtb $(U_BOOT_ITS) FORCE
1071 u-boot-spl.kwb: u-boot.img spl/u-boot-spl.bin FORCE
1074 u-boot.sha1: u-boot.bin
1075 tools/ubsha1 u-boot.bin
1077 u-boot.dis: u-boot
1081 SPL_PAYLOAD := tpl/u-boot-with-tpl.bin
1083 SPL_PAYLOAD := u-boot.bin
1086 OBJCOPYFLAGS_u-boot-with-spl.bin = -I binary -O binary \
1088 u-boot-with-spl.bin: spl/u-boot-spl.bin $(SPL_PAYLOAD) FORCE
1093 lpc32xx-spl.img: spl/u-boot-spl.bin FORCE
1096 OBJCOPYFLAGS_lpc32xx-boot-0.bin = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO)
1098 lpc32xx-boot-0.bin: lpc32xx-spl.img FORCE
1101 OBJCOPYFLAGS_lpc32xx-boot-1.bin = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO)
1103 lpc32xx-boot-1.bin: lpc32xx-spl.img FORCE
1106 lpc32xx-full.bin: lpc32xx-boot-0.bin lpc32xx-boot-1.bin u-boot.img FORCE
1111 OBJCOPYFLAGS_u-boot-with-tpl.bin = -I binary -O binary \
1113 tpl/u-boot-with-tpl.bin: tpl/u-boot-tpl.bin u-boot.bin FORCE
1116 SPL: spl/u-boot-spl.bin FORCE
1119 u-boot-with-spl.imx u-boot-with-nand-spl.imx: SPL u-boot.bin FORCE
1122 MKIMAGEFLAGS_u-boot.ubl = -n $(UBL_CONFIG) -T ublimage -e $(CONFIG_SYS_TEXT_BASE)
1124 u-boot.ubl: u-boot-with-spl.bin FORCE
1127 MKIMAGEFLAGS_u-boot-spl.ais = -s -n $(if $(CONFIG_AIS_CONFIG_FILE), \
1130 spl/u-boot-spl.ais: spl/u-boot-spl.bin FORCE
1133 OBJCOPYFLAGS_u-boot.ais = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO)
1134 u-boot.ais: spl/u-boot-spl.ais u-boot.img FORCE
1137 u-boot-signed.sb: u-boot.bin spl/u-boot-spl.bin
1138 $(Q)$(MAKE) $(build)=arch/arm/cpu/arm926ejs/mxs u-boot-signed.sb
1139 u-boot.sb: u-boot.bin spl/u-boot-spl.bin
1140 $(Q)$(MAKE) $(build)=arch/arm/cpu/arm926ejs/mxs u-boot.sb
1142 # On x600 (SPEAr600) U-Boot is appended to U-Boot SPL.
1147 # The resulting image containing both U-Boot images is called u-boot.spr
1148 MKIMAGEFLAGS_u-boot-spl.img = -A $(ARCH) -T firmware -C none \
1150 spl/u-boot-spl.img: spl/u-boot-spl.bin FORCE
1153 OBJCOPYFLAGS_u-boot.spr = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO) \
1155 u-boot.spr: spl/u-boot-spl.img u-boot.img FORCE
1160 cmd_socboot = cat spl/u-boot-spl.sfp spl/u-boot-spl.sfp \
1161 spl/u-boot-spl.sfp spl/u-boot-spl.sfp \
1162 u-boot.img > $@ || rm -f $@
1163 u-boot-with-spl.sfp: spl/u-boot-spl.sfp u-boot.img FORCE
1168 # reset vector) at the top, Intel ME descriptor at the bottom, and U-Boot in
1172 rom: u-boot.rom FORCE
1181 u-boot.rom: u-boot-x86-16bit.bin u-boot.bin \
1182 $(if $(CONFIG_SPL_X86_16BIT_INIT),spl/u-boot-spl.bin) \
1186 OBJCOPYFLAGS_u-boot-x86-16bit.bin := -O binary -j .start16 -j .resetvec
1187 u-boot-x86-16bit.bin: u-boot FORCE
1192 u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.img u-boot.dtb FORCE
1197 OBJCOPYFLAGS_u-boot-nodtb-tegra.bin = -O binary --pad-to=$(CONFIG_SYS_TEXT_BASE)
1198 u-boot-nodtb-tegra.bin: spl/u-boot-spl u-boot-nodtb.bin FORCE
1201 OBJCOPYFLAGS_u-boot-tegra.bin = -O binary --pad-to=$(CONFIG_SYS_TEXT_BASE)
1202 u-boot-tegra.bin: spl/u-boot-spl u-boot.bin FORCE
1205 u-boot-dtb-tegra.bin: u-boot-tegra.bin FORCE
1209 OBJCOPYFLAGS_u-boot-app.efi := $(OBJCOPYFLAGS_EFI)
1210 u-boot-app.efi: u-boot FORCE
1213 u-boot.bin.o: u-boot.bin FORCE
1216 u-boot-payload.lds: $(LDSCRIPT_EFI) FORCE
1219 # Rule to link the EFI payload which contains a stub and a U-Boot binary
1222 -T u-boot-payload.lds arch/x86/cpu/call32.o \
1223 lib/efi/efi.o lib/efi/efi_stub.o u-boot.bin.o \
1226 u-boot-payload: u-boot.bin.o u-boot-payload.lds FORCE
1229 OBJCOPYFLAGS_u-boot-payload.efi := $(OBJCOPYFLAGS_EFI)
1230 u-boot-payload.efi: u-boot-payload FORCE
1233 u-boot-img.bin: spl/u-boot-spl.bin u-boot.img FORCE
1236 #Add a target to create boot binary having SPL binary in PBI format
1237 #concatenated with u-boot binary. It is need by PowerPC SoC having
1239 MKIMAGEFLAGS_u-boot-spl.pbl = -n $(srctree)/$(CONFIG_SYS_FSL_PBL_RCW:"%"=%) \
1243 spl/u-boot-spl.pbl: spl/u-boot-spl.bin FORCE
1247 UBOOT_BINLOAD := u-boot.img
1249 UBOOT_BINLOAD := u-boot.bin
1252 OBJCOPYFLAGS_u-boot-with-spl-pbl.bin = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO) \
1255 u-boot-with-spl-pbl.bin: spl/u-boot-spl.pbl $(UBOOT_BINLOAD) FORCE
1259 # is located at 0xfffffffc. So we can't use the "u-boot-img.bin" target
1260 # and need to introduce a new build target with the full blown U-Boot
1264 OBJCOPYFLAGS_u-boot-img-spl-at-end.bin := -I binary -O binary \
1266 u-boot-img-spl-at-end.bin: u-boot.img spl/u-boot-spl.bin FORCE
1273 quiet_cmd_u-boot-elf ?= LD $@
1274 cmd_u-boot-elf ?= $(LD) u-boot-elf.o -o $@ \
1277 u-boot.elf: u-boot.bin
1278 $(Q)$(OBJCOPY) -I binary $(PLATFORM_ELFFLAGS) $< u-boot-elf.o
1279 $(call if_changed,u-boot-elf)
1283 # Rule to link u-boot
1286 cmd_u-boot__ ?= $(LD) $(LDFLAGS) $(LDFLAGS_u-boot) -o $@ \
1287 -T u-boot.lds $(u-boot-init) \
1288 --start-group $(u-boot-main) --end-group \
1289 $(PLATFORM_LIBS) -Map u-boot.map; \
1294 smap=`$(call SYSTEM_MAP,u-boot) | \
1299 u-boot: $(u-boot-init) $(u-boot-main) u-boot.lds FORCE
1308 u-boot.sym: u-boot FORCE
1313 $(sort $(u-boot-init) $(u-boot-main)): $(u-boot-dirs) ;
1321 PHONY += $(u-boot-dirs)
1322 $(u-boot-dirs): prepare scripts
1327 $(filter-out tools, $(u-boot-dirs)): tools
1328 # The "examples" conditionally depend on U-Boot (say, when USE_PRIVATE_LIBGCC
1329 # is "yes"), so compile examples after U-Boot is compiled.
1330 examples: $(filter-out examples, $(u-boot-dirs))
1355 @$(kecho) ' Using $(srctree) as source for U-Boot'
1387 echo \#define U_BOOT_VERSION \"U-Boot \" PLAIN_VERSION; \
1440 u-boot.lds: $(LDSCRIPT) prepare FORCE
1443 spl/u-boot-spl.bin: spl/u-boot-spl
1445 spl/u-boot-spl: tools prepare \
1450 spl/sunxi-spl.bin: spl/u-boot-spl
1456 spl/u-boot-spl.sfp: spl/u-boot-spl
1459 spl/boot.bin: spl/u-boot-spl
1462 tpl/u-boot-tpl.bin: tools prepare \
1466 TAG_SUBDIRS := $(patsubst %,$(srctree)/%,$(u-boot-dirs) include)
1488 System.map: u-boot
1495 checkarmreloc: u-boot
1518 git log --no-merges U-Boot-1_1_5.. | \
1536 boot* u-boot* MLO* SPL System.map fit-dtb.blob *.bin *.img *.gz .cc
1549 clean-dirs := $(foreach f,$(u-boot-alldirs),$(if $(wildcard $(srctree)/$f/Makefile),$f))
1613 @echo ' tests - Build U-Boot for sandbox and run tests'
1614 @echo '* u-boot - Build the bare u-boot'
1663 $(OBJDUMP) -d u-boot $$(find . -name u-boot-spl) | \
1725 u-boot-initial-env: u-boot.bin