/openbmc/u-boot/common/spl/ |
H A D | Kconfig | 1 menu "SPL / TPL" 12 config SPL config 15 prompt "Enable SPL" 17 If you want to build SPL as well as the normal image, say Y. 20 bool "Support SPL based upon the common SPL framework" 21 depends on SPL 24 Enable the SPL framework under common/spl/. This framework 29 bool "Pass hand-off information from SPL to U-Boot proper" 32 It is useful to be able to pass information from SPL to U-Boot 33 proper to preserve state that is known in SPL and is needed in U-Boot. [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | fsl-imx8qxp-mek-u-boot.dtsi | 7 u-boot,dm-spl; 11 u-boot,dm-spl; 15 u-boot,dm-spl; 19 u-boot,dm-spl; 23 u-boot,dm-spl; 27 u-boot,dm-spl; 31 u-boot,dm-spl; 35 u-boot,dm-spl; 39 u-boot,dm-spl; 43 u-boot,dm-spl; [all …]
|
H A D | omap5-u-boot.dtsi | 21 u-boot,dm-spl; 32 u-boot,dm-spl; 38 u-boot,dm-spl; 43 u-boot,dm-spl; 48 u-boot,dm-spl; 52 u-boot,dm-spl; 56 u-boot,dm-spl; 60 u-boot,dm-spl; 64 u-boot,dm-spl; 68 u-boot,dm-spl; [all …]
|
H A D | omap3-u-boot.dtsi | 12 u-boot,dm-spl; 15 u-boot,dm-spl; 21 u-boot,dm-spl; 26 u-boot,dm-spl; 31 u-boot,dm-spl; 36 u-boot,dm-spl; 40 u-boot,dm-spl; 44 u-boot,dm-spl; 48 u-boot,dm-spl; 52 u-boot,dm-spl; [all …]
|
H A D | stm32mp157c-ev1-u-boot.dtsi | 32 /* SPL part **************************************/ 34 u-boot,dm-spl; 38 u-boot,dm-spl; 40 u-boot,dm-spl; 45 u-boot,dm-spl; 47 u-boot,dm-spl; 50 u-boot,dm-spl; 55 u-boot,dm-spl; 57 u-boot,dm-spl; 60 u-boot,dm-spl; [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | Makefile | 29 obj-$(CONFIG_SPL_BUILD) += spl.o 110 …pp_flags) -x c -o spl/u-boot-spl.cfgout $(srctree)/$(IMX_CONFIG); if [ -f spl/u-boot-spl.cfgout ];… 115 …pp_flags) -x c -o spl/u-boot-spl.cfgout $(srctree)/$(IMX_CONFIG);if [ -f spl/u-boot-spl.cfgout ]; … 142 SPL: target 144 MKIMAGEFLAGS_flash.bin = -n spl/u-boot-spl.cfgout \ 148 spl/u-boot-spl-ddr.bin: spl/u-boot-spl.bin spl/u-boot-spl.cfgout FORCE 150 $(IMX8M_DEPFILES) spl/u-boot-spl.cfgout 1 153 flash.bin: spl/u-boot-spl-ddr.bin u-boot.itb FORCE 160 SPL: target 162 MKIMAGEFLAGS_flash.bin = -n spl/u-boot-spl.cfgout -T $(IMAGE_TYPE) -e 0x100000 [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.SPL | 1 Generic SPL framework 7 To unify all existing implementations for a secondary program loader (SPL) 8 and to allow simply adding of new implementations this generic SPL framework 16 The object files for SPL are built separately and placed in the "spl" directory. 17 The final binaries which are generated are u-boot-spl, u-boot-spl.bin and 18 u-boot-spl.map. 20 A config option named CONFIG_SPL_BUILD is enabled by Kconfig for SPL. 21 Source files can therefore be compiled for SPL with different settings. 38 The building of SPL images can be enabled by CONFIG_SPL option in Kconfig. 40 Because SPL images normally have a different text base, one has to be [all …]
|
H A D | README.TPL | 9 Due to the SPL on some boards(powerpc mpc85xx) has a size limit and cannot 12 SPL. It loads the final uboot image into DDR, then jump to it to begin 16 Keep consistent with SPL, with this framework almost all source files for a 22 There has been a directory $(srctree)/spl which contains only a Makefile. The 23 Makefile is shared by SPL and TPL. 25 The object files are built separately for SPL/TPL and placed in the 26 directory spl/tpl. The final binaries which are generated are 27 u-boot-{spl|tpl}, u-boot-{spl|tpl}.bin and u-boot-{spl|tpl}.map. 32 The SPL options are shared by SPL and TPL, the board config file should 33 determine which SPL options to choose based on whether CONFIG_TPL_BUILD [all …]
|
H A D | README.falcon | 13 Falcon Mode relies on the SPL framework. In fact, to make booting faster, 14 U-Boot is split into two parts: the SPL (Secondary Program Loader) and U-Boot 15 image. In most implementations, SPL is used to start U-Boot when booting from 16 a mass storage, such as NAND or SD-Card. SPL has now support for other media, 18 required initialization. SPL mainly initializes the RAM controller, and then 22 from SPL. A new command is added to U-Boot to prepare the parameters that SPL 28 With Falcon Mode, this snapshot can be saved into persistent storage and SPL is 35 well, if used), use the "spl export" command to generate the kernel parameters 43 3. Boot the board into Falcon Mode. SPL will load the kernel and copy 48 It is required to implement a custom mechanism to select if SPL loads U-Boot [all …]
|
H A D | README.rockchip | 110 ./firefly-rk3288/spl/u-boot-spl-dtb.bin out && \ 115 U-Boot SPL 2015.07-rc1-00383-ge345740-dirty (Jun 03 2015 - 10:06:49) 117 spl: mmc init failed with error: -17 122 in SPL then we could in principle load U-Boot and boot to a prompt from USB 124 use the existing boot ROM code from SPL. 133 firefly-rk3288/spl/u-boot-spl-dtb.bin out && \ 137 This puts the Rockchip header and SPL image first and then places the U-Boot 161 The rockchip bootrom can load and boot an initial spl, then continue to 171 firefly-rk3288/spl/u-boot-spl-dtb.bin out && \ 178 ./evb-rk3036/tools/mkimage -n rk3036 -T rksd -d evb-rk3036/spl/u-boot-spl.bin out && \ [all …]
|
H A D | README.multi-dtb-fit | 3 The purpose of this feature is to enable U-Boot or the SPL to select its DTB 5 It comes in two flavors: U-Boot (CONFIG_MULTI_DTB_FIT) and SPL 9 Usually the DTB is selected by the SPL and passed down to U-Boot. But some 10 platforms don't use the SPL. In this case MULTI_DTB_FIT can used to provide 16 The selection is done using board_fit_config_name_match() (same as what the SPL 20 SPL flavor: 21 the SPL uses only a small subset of the DTB and it usually depends more 23 SPL that doesn't exactly match the board. There are howerver some cases 25 boards (or board revisions) with the same SPL binary, SPL_MULTI_DTB_FIT 28 at the end of the compilation, compressed and appended to u-boot-spl.bin, so [all …]
|
/openbmc/u-boot/tools/binman/etype/ |
H A D | u_boot_spl.py | 5 # Entry-type module for spl/u-boot-spl.bin 14 """U-Boot SPL binary 17 - filename: Filename of u-boot-spl.bin (default 'spl/u-boot-spl.bin') 19 This is the U-Boot SPL (Secondary Program Loader) binary. This is a small 21 responsible for locating, loading and jumping to U-Boot. Note that SPL is 26 SPL can access binman symbols at runtime. See: 32 The ELF file 'spl/u-boot-spl' must also be available for this to work, since 33 binman uses that to look up symbols to write into the SPL binary. 37 self.elf_fname = 'spl/u-boot-spl' 40 return 'spl/u-boot-spl.bin'
|
H A D | u_boot_spl_bss_pad.py | 5 # Entry-type module for BSS padding for spl/u-boot-spl.bin. This padding 6 # can be added after the SPL binary to ensure that anything concatenated 7 # to it will appear to SPL to be at the end of BSS rather than the start. 17 """U-Boot SPL binary padded with a BSS region 22 This is similar to u_boot_spl except that padding is added after the SPL 24 the various used by SPL. It is set to 0 by SPL when it starts up. If you 25 want to append data to the SPL image (such as a device tree file), you must 30 The ELF file 'spl/u-boot-spl' must also be available for this to work, since 37 fname = tools.GetInputFilename('spl/u-boot-spl') 40 self.Raise('Expected __bss_size symbol in spl/u-boot-spl')
|
H A D | u_boot_spl_nodtb.py | 12 """SPL binary without device tree appended 15 - filename: Filename of spl/u-boot-spl-nodtb.bin (default 16 'spl/u-boot-spl-nodtb.bin') 18 This is the U-Boot SPL binary, It does not include a device tree blob at 19 the end of it so may not be able to work without it, assuming SPL needs 22 both SPL and the device tree). 28 return 'spl/u-boot-spl-nodtb.bin'
|
/openbmc/u-boot/scripts/ |
H A D | Makefile.spl | 33 SPL_BIN := u-boot-spl 48 ifeq ($(obj)$(CONFIG_SUPPORT_SPL),spl) 49 $(error You cannot build SPL without enabling CONFIG_SUPPORT_SPL) 60 # Enable garbage collection of un-used sections for SPL 74 libs-$(CONFIG_SPL_FRAMEWORK) += common/spl/ 77 # Special handling for a few options which support SPL/TPL 98 u-boot-spl-dirs := $(patsubst %/,%,$(filter %/, $(libs-y))) 108 u-boot-spl-init := $(head-y) 109 u-boot-spl-main := $(libs-y) 111 u-boot-spl-platdata := $(obj)/dts/dt-platdata.o [all …]
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A D | Makefile | 9 obj-spl-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o 15 obj-spl-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o 16 obj-spl-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o 17 obj-spl-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board-spl.o 18 obj-spl-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o 19 obj-spl-$(CONFIG_ROCKCHIP_RK3368) += rk3368-board-spl.o spl-boot-order.o 20 obj-spl-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o spl-boot-order.o 59 # Clear out SPL objects, in case this is a TPL build 60 obj-spl-$(CONFIG_TPL_BUILD) = 62 # Now add SPL/TPL objects back into the main build [all …]
|
H A D | Kconfig | 7 select SPL 28 select SPL_BOARD_INIT if SPL 30 select SPL 51 select SPL 63 select SPL_BOARD_INIT if SPL 65 select SPL 100 select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL 134 select SPL 165 bool "SPL returns to bootrom" 168 depends on SPL [all …]
|
/openbmc/u-boot/arch/arm/mach-stm32mp/ |
H A D | config.mk | 6 ALL-$(CONFIG_SPL_BUILD) += u-boot-spl.stm32 8 MKIMAGEFLAGS_u-boot-spl.stm32 = -T stm32image -a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE) 10 spl/u-boot-spl.stm32: MKIMAGEOUTPUT = spl/u-boot-spl.stm32.log 12 spl/u-boot-spl.stm32: spl/u-boot-spl.bin FORCE 15 u-boot-spl.stm32 : spl/u-boot-spl.stm32
|
/openbmc/u-boot/doc/SPL/ |
H A D | README.omap3 | 1 Overview of SPL on OMAP3 devices 7 This document provides an overview of how SPL functions on OMAP3 (and related 14 one has been used successfully to load SPL this information is stored in memory 24 Note that the size of the SPL text rodata and data is enforced with a CONFIG 25 option and growing over that size results in a link error. The SPL stack 28 SPL text, data and rodata is considered the safe stack area. Details on 35 Option 1 (SPL only): 36 0x40200800 - 0x4020BBFF: Area for SPL text, data and rodata 37 0x4020E000 - 0x4020FFFC: Area for the SPL stack. 38 0x80000000 - 0x8007FFFF: Area for the SPL BSS. [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/mx6/ |
H A D | Kconfig | 77 select SPL_DM if SPL 78 select SPL_OF_CONTROL if SPL 79 select SPL_PINCTRL if SPL 80 select SPL_SEPARATE_BSS if SPL 92 depends on SPL 254 select SPL 255 select SPL_DM if SPL 256 select SPL_GPIO_SUPPORT if SPL 257 select SPL_LIBCOMMON_SUPPORT if SPL 258 select SPL_LIBDISK_SUPPORT if SPL [all …]
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
H A D | Makefile | 15 MKIMAGE_TARGET-$(CONFIG_MX23) = mxsimage$(CONFIG_SPL_FRAMEWORK:%=-spl).mx23.cfg 16 MKIMAGE_TARGET-$(CONFIG_MX28) = mxsimage$(CONFIG_SPL_FRAMEWORK:%=-spl).mx28.cfg 56 spl/u-boot-spl.ivt: spl/u-boot-spl.bin 66 spl/u-boot-spl.csf: spl/u-boot-spl.ivt spl/u-boot-spl.bin board/$(VENDOR)/$(BOARD)/sign/u-boot-spl.… 76 u-boot.sb: $(src)/$(MKIMAGE_TARGET-y) u-boot.bin spl/u-boot-spl.bin FORCE 80 …signed.sb: $(src)/mxsimage-signed.cfg u-boot.ivt u-boot.sig spl/u-boot-spl.ivt spl/u-boot-spl.sig …
|
/openbmc/u-boot/include/environment/ti/ |
H A D | dfu.h | 19 "spl-os-args.raw raw 0x1500 0x200;" \ 20 "spl-os-image.raw raw 0x1700 0x6900;" \ 21 "spl-os-args fat 0 1;" \ 22 "spl-os-image fat 0 1;" \ 35 "spl-os-args.raw raw 0x1500 0x200;" \ 36 "spl-os-image.raw raw 0x1700 0x6900;" \ 37 "spl-os-args fat 1 1;" \ 38 "spl-os-image fat 1 1;" \ 45 "SPL part 0 1;" \ 46 "SPL.backup1 part 0 2;" \ [all …]
|
/openbmc/u-boot/disk/ |
H A D | Kconfig | 7 select SPL_SPRINTF if SPL 9 select SPL_STRTO if SPL 34 bool "Enable Apple's MacOS partition table for SPL" 35 depends on SPL && PARTITIONS 47 bool "Enable MS Dos partition table for SPL" 48 depends on SPL && PARTITIONS 58 bool "Enable ISO partition table for SPL" 59 depends on SPL && PARTITIONS 69 bool "Enable AMIGA partition table for SPL" 70 depends on SPL && PARTITIONS [all …]
|
/openbmc/u-boot/board/work-microwave/work_92105/ |
H A D | README | 18 Standard SPL and U-Boot binaries 24 1. spl/u-boot-spl.bin SPL, intended to run from SRAM at address 0. 31 breaking SPL after DDR init), or by a running 36 SPL assumes (even when loaded through JTAG or 43 The board can boot entirely from power-on with only SPL and U-Boot in 45 (in addition to spl/u-boot-spl.bin and u-boot.img if they were not made 48 4. lpc32xx-spl.img spl/u-boot-spl.bin, with a LPC32XX boot header 50 code to load SPL into SRAM and branch into it. 55 5. lpc32xx-boot-0.bin lpc32xx-spl.img, padded with 0xFF bytes to a 80 To update SPL only (note the double nand write) : [all …]
|
/openbmc/u-boot/include/ |
H A D | spl.h | 13 #include <asm/spl.h> 28 * U-Boot has up to three phases: TPL, SPL and U-Boot proper. Depending on the 30 * phase of U-Boot or not. If there is no SPL, then this is U-Boot proper. If 31 * there is SPL but no TPL, the the first phase is SPL. If there is TPL, then 52 /* A string name for SPL or TPL */ 57 # define SPL_TPL_NAME "SPL" 137 /* SPL common functions */ 145 * spl_set_header_raw_uboot() - Set up a standard SPL image structure 177 * jump_to_image_linux() - Jump to a Linux kernel from SPL 186 * spl_start_uboot() - Check if SPL should start the kernel or U-Boot [all …]
|