| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | axm5516-cpus.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * arch/arm/boot/dts/axm5516-cpus.dtsi 10 #address-cells = <1>; 11 #size-cells = <0>; 13 cpu-map { 74 compatible = "arm,cortex-a15"; 76 clock-frequency= <1400000000>; 77 cpu-release-addr = <0>; // Fixed by the boot loader 82 compatible = "arm,cortex-a15"; 84 clock-frequency= <1400000000>; [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/ |
| H A D | config.mk | 2 # Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ 4 # SPDX-License-Identifier: GPL-2.0+ 6 include $(srctree)/arch/arm/mach-omap2/config_secure.mk 9 ifeq ($(CONFIG_TI_SECURE_DEVICE),y) # Refer to README.ti-secure for more info 13 # u-boot-spl_HS_MLO 16 # u-boot-spl_HS_ULO 19 # u-boot-spl_HS_X-LOADER 21 ALL-y += u-boot-spl_HS_MLO 22 ALL-y += u-boot-spl_HS_ULO 23 ALL-y += u-boot-spl_HS_X-LOADER [all …]
|
| H A D | config_secure.mk | 2 # Copyright (C) 2016, Texas Instruments, Incorporated - http://www.ti.com/ 4 # SPDX-License-Identifier: GPL-2.0+ 8 ifneq ($(wildcard $(TI_SECURE_DEV_PKG)/scripts/create-boot-image.sh),) 10 cmd_mkomapsecimg = $(TI_SECURE_DEV_PKG)/scripts/create-boot-image.sh \ 11 $(patsubst u-boot-spl_HS_%,%,$(@F)) $< $@ $(CONFIG_ISW_ENTRY_ADDR) \ 14 cmd_mkomapsecimg = $(TI_SECURE_DEV_PKG)/scripts/create-boot-image.sh \ 15 $(patsubst u-boot_HS_%,%,$(@F)) $< $@ $(CONFIG_ISW_ENTRY_ADDR) \ 20 "$(TI_SECURE_DEV_PKG)/scripts/create-boot-image.sh not found." \ 32 ifneq ($(wildcard $(TI_SECURE_DEV_PKG)/scripts/secure-binary-image.sh),) 33 cmd_omapsecureimg = $(TI_SECURE_DEV_PKG)/scripts/secure-binary-image.sh \ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/arm/ |
| H A D | booting.rst | 9 The following documentation is relevant to 2.4.18-rmk6 and beyond. 11 In order to boot ARM Linux, you require a boot loader, which is a small 12 program that runs before the main kernel. The boot loader is expected 16 Essentially, the boot loader should provide (as a minimum) the 28 --------------------------- 30 Existing boot loaders: 32 New boot loaders: 35 The boot loader is expected to find and initialise all RAM that the 39 the RAM in the machine, or any other method the boot loader designer 44 ----------------------------- [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.ti-secure | 1 README on how boot images are created for secure TI devices 4 Secure TI devices require a boot image that is authenticated by ROM 6 device is essentially useless. In order to create a valid boot image for 10 Information on the details on the complete boot image format can be obtained 11 from Texas Instruments. The tools used to generate boot images for secure 22 Booting of U-Boot SPL 25 When CONFIG_TI_SECURE_DEVICE is set, the U-Boot SPL build process 27 viable boot image. The build process will look for the environment 36 ${TI_SECURE_DEV_PKG}/scripts/create-boot-image.sh 38 This is called as part of the SPL/u-boot build process. As the secure [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/wic/plugins/source/ |
| H A D | bootimg-efi.py | 4 # SPDX-License-Identifier: GPL-2.0-only 7 # This implements the 'bootimg-efi' source plugin class for 'wic' 31 Create EFI boot partition. 32 This plugin supports GRUB 2 and systemd-boot bootloaders. 35 name = 'bootimg-efi' 40 Create loader-specific (grub-efi) config 75 grubefi_conf += "serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1\n" 76 grubefi_conf += "default=boot\n" 78 grubefi_conf += "menuentry '%s'{\n" % (title if title else "boot") 83 kernel = "%s-%s.bin" % \ [all …]
|
| H A D | bootimg-biosplusefi.py | 13 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 # This implements the 'bootimg-biosplusefi' source plugin class for 'wic' 28 Create MBR + EFI boot partition 30 This plugin creates a boot partition that contains both 31 legacy BIOS and EFI content. It will be able to boot from both. 35 Note it is possible to create an image that can boot from both 37 --source bootimg-efi and another one with --source bootimg-pcbios. 42 what to boot. If you have such a BIOS, you need to manually remove the 48 Also, unlike "isoimage-isohybrid" that also does BIOS and EFI, this plugin 52 This plugin is made to put everything into a single /boot partition so it [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/ |
| H A D | systemd-bootconf_1.00.bb | 3 SUMMARY = "Basic systemd-boot configuration files" 5 RPROVIDES:${PN} += "virtual-systemd-bootconf" 8 inherit systemd-boot-cfg 12 LABELS = "boot" 24 install -d ${D}/boot 25 install -d ${D}/boot/loader 26 install -d ${D}/boot/loader/entries 27 install loader.conf ${D}/boot/loader/ 28 rm loader.conf 29 install *.conf ${D}/boot/loader/entries/ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/x86/ |
| H A D | boot.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The Linux/x86 Boot Protocol 7 On the x86 platform, the Linux kernel uses a rather complicated boot 12 real-mode DOS as a mainstream operating system. 14 Currently, the following versions of the Linux/x86 boot protocol exist. 22 boot loader and the kernel. setup.S made relocatable, 28 Protocol 2.02 (Kernel 2.4.0-test3-pre3) New command line protocol. 31 safe for systems which use the EBDA from SMM or 32-bit 35 Protocol 2.03 (Kernel 2.4.18-pre1) Explicitly makes the highest possible 44 the boot command line. [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/ |
| H A D | commands-boot-Add-API-to-pass-context-to-loader.patch | 4 Subject: [PATCH] commands/boot: Add API to pass context to loader 7 in the boot hook and freed in the unload hook. In the case where a loader 9 the unload hook, but in some cases this runs when the loader's global 11 freed and potential use-after-free bugs when the boot hook is subsequently 14 This adds a new API, grub_loader_set_ex(), which allows a loader to specify 15 context that is passed to its boot and unload hooks. This is an alternative 19 Signed-off-by: Chris Coulson <chris.coulson@canonical.com> 20 Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> 22 Upstream-Status: Backport 27 Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/scripts/ |
| H A D | mk-loader.sh | 1 #!/bin/bash -e 7 if [ "$RK_CHIP" != rk3588 -o ! -d uefi ]; then 12 if [ ! -f "$RK_KERNEL_DTB" ]; then 17 UEFI_DIR=uefi/edk2-platforms/Platform/Rockchip/DeviceTree 28 if [ -z "$DRY_RUN" ]; then 29 rm -f u-boot/*.bin u-boot/*.img 35 UARGS="$UARGS_COMMON ${RK_UBOOT_SPL:+--spl-new} \ 36 ${RK_SECURITY_BURN_KEY:+--burn-key-hash}" 39 for IMAGE in ${1:-boot.img ${RK_RECOVERY_CFG:+recovery.img}}; do 41 cp "$RK_FIRMWARE_DIR/$IMAGE" u-boot/ [all …]
|
| H A D | rkflash.sh | 7 LOADER=$ROCKDEV_DIR/MiniLoaderAll.bin 11 BOOT=$ROCKDEV_DIR/boot.img 19 if [ ! -n "$1" ];then 28 $UPGRADETOOL ul -noreset $LOADER 29 $UPGRADETOOL di -p $PARAMETER 30 $UPGRADETOOL di -uboot $UBOOT 31 $UPGRADETOOL di -trust $TRUST 32 $UPGRADETOOL di -b $BOOT 33 $UPGRADETOOL di -r $RECOVERY 34 $UPGRADETOOL di -m $MISC [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/build-hooks/ |
| H A D | 70-loader.sh | 1 #!/bin/bash -e 7 if [ "$RK_CHIP" != rk3588 -o ! -d uefi ]; then 12 if [ ! -f "$RK_KERNEL_DTB" ]; then 17 UEFI_DIR=uefi/edk2-platforms/Platform/Rockchip/DeviceTree 28 if [ -z "$DRY_RUN" ]; then 29 rm -f u-boot/*.bin u-boot/*.img 35 UARGS="$UARGS_COMMON ${RK_UBOOT_SPL:+--spl-new} \ 36 ${RK_SECURITY_BURN_KEY:+--burn-key-hash}" 39 for IMAGE in ${1:-boot.img ${RK_RECOVERY_CFG:+recovery.img}}; do 41 cp "$RK_FIRMWARE_DIR/$IMAGE" u-boot/ [all …]
|
| /OK3568_Linux_fs/ |
| H A D | rkflash.sh | 7 LOADER=$ROCKDEV_DIR/MiniLoaderAll.bin 11 BOOT=$ROCKDEV_DIR/boot.img 19 if [ ! -n "$1" ];then 28 $UPGRADETOOL ul -noreset $LOADER 29 $UPGRADETOOL di -p $PARAMETER 30 $UPGRADETOOL di -uboot $UBOOT 31 $UPGRADETOOL di -trust $TRUST 32 $UPGRADETOOL di -b $BOOT 33 $UPGRADETOOL di -r $RECOVERY 34 $UPGRADETOOL di -m $MISC [all …]
|
| /OK3568_Linux_fs/debian/overlay-firmware/usr/bin/ |
| H A D | npu_upgrade_pcie | 5 /usr/bin/npu_powerctrl -i 6 /usr/bin/npu_powerctrl -o 9 if [ $# -ne 4 ]; then 10 echo 'Usage: '$PROGRAM' loader uboot trust boot' 16 LOADER=$DIR/$1 19 BOOT=$DIR/$4 27 echo 'start to download loader...' >> /tmp/npu.log 28 $UPGRADE_TOOL db $LOADER > /dev/null 29 if [ $? -ne 0 ]; then 30 echo 'failed to download loader!' >> /tmp/npu.log [all …]
|
| H A D | npu_upgrade | 5 /usr/bin/npu_powerctrl -i 6 /usr/bin/npu_powerctrl -o 9 if [ $# -ne 4 ]; then 10 echo 'Usage: '$PROGRAM' loader uboot trust boot' 16 LOADER=$DIR/$1 19 BOOT=$DIR/$4 27 echo 'start to download loader...' >> /tmp/npu.log 28 $UPGRADE_TOOL db $LOADER > /dev/null 29 if [ $? -ne 0 ]; then 30 echo 'failed to download loader!' >> /tmp/npu.log [all …]
|
| H A D | npu_upgrade_pcie_combine | 5 /usr/bin/npu_powerctrl_combine -i 6 /usr/bin/npu_powerctrl_combine -o 9 if [ $# -ne 4 ]; then 10 echo 'Usage: '$PROGRAM' loader uboot trust boot' 16 LOADER=$DIR/$1 19 BOOT=$DIR/$4 27 echo 'start to download loader...' >> /tmp/npu.log 28 $UPGRADE_TOOL db $LOADER > /dev/null 29 if [ $? -ne 0 ]; then 30 echo 'failed to download loader!' >> /tmp/npu.log [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | fit-core.sh | 5 # SPDX-License-Identifier: GPL-2.0 7 set -e 11 IMG_BOOT="boot.img" 14 ITB_BOOT="${FIT_DIR}/boot.itb" 18 SIG_BOOT="${FIT_DIR}/boot.data2sign" 21 if grep -q '^CONFIG_FIT_ENABLE_RSA4096_SUPPORT=y' .config ; then 33 FIT_UNPACK="./scripts/fit-unpack.sh" 40 SIGNATURE_KEY_NODE="/signature/key-dev" 41 SPL_DTB="spl/u-boot-spl.dtb" 42 UBOOT_DTB="u-boot.dtb" [all …]
|
| /OK3568_Linux_fs/u-boot/board/boundary/nitrogen6x/ |
| H A D | README.mx6qsabrelite | 1 U-Boot for the Freescale i.MX6q SabreLite board 3 This file contains information for the port of U-Boot to the Freescale 6 1. Boot source, boot from SD card 7 --------------------------------- 9 The recent mainline U-Boot for the Freescale i.MX6q SabreLite board supports 10 boot from SD card only. However, by default, the SabreLite 11 boards boot from the SPI NOR flash. These boards need to be reflashed with 12 a small SD card loader to support boot from SD card. This small SD card loader 13 will be flashed into the SPI NOR. The board will still boot from SPI NOR, but 14 the loader will in turn request the BootROM to load the U-Boot from SD card. [all …]
|
| /OK3568_Linux_fs/u-boot/board/hisilicon/poplar/ |
| H A D | README | 6 integrated quad-core 64-bit ARM Cortex A53 processor and high 8 set-top solution based on Linux or Android. Its high performance 13 CPU Quad-core ARM Cortex-A53 64 bit 14 DRAM DDR3/3L/4 SDRAM interface, maximum 32-bit data width 2 GB 16 CONSOLE USB-micro port for console support 19 JTAG 8-Pin JTAG 33 U-boot has a *strong* dependency with the l-loader and the arm trusted firmware 36 The boot sequence is: 37 l-loader --> arm_trusted_firmware --> u-boot 39 U-Boot needs to be aware of the BL31 runtime location and size to avoid writing [all …]
|
| /OK3568_Linux_fs/u-boot/doc/uImage.FIT/ |
| H A D | x86-fit-boot.txt | 5 ---------- 10 binary which contains all sorts of parameters and a compressed self-extracting 11 binary for the kernel itself, often with a small built-in serial driver to 15 understanding is that an x86 CPU (even a really new one) starts up in a 16-bit 16 'real' mode where only 1MB of memory is visible, moves to 32-bit 'protected' 18 then to 64-bit 'long' mode if 64-bit execution is required. 20 Partly the self-extracting nature of Linux was introduced to cope with boot 21 loaders that were barely capable of loading anything. Even changing to 32-bit 25 Bit by bit more and more logic has been added to this post-boot pre-Linux 28 - Changing to 32-bit mode [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/classes/ |
| H A D | systemd-boot.bbclass | 5 # systemd-boot.bbclass - The "systemd-boot" is essentially the gummiboot merged into systemd. 9 # Set EFI_PROVIDER = "systemd-boot" to use systemd-boot on your live images instead of grub-efi 10 # (images built by image-live.bbclass) 12 do_bootimg[depends] += "${MLPREFIX}systemd-boot:do_deploy" 14 require conf/image-uefi.conf 16 inherit fs-uuid 21 # systemd-boot requires these paths for configuration files 23 install -d ${DEST}/loader 24 install -d ${DEST}/loader/entries 25 install -m 0644 ${SYSTEMD_BOOT_CFG} ${DEST}/loader/loader.conf [all …]
|
| /OK3568_Linux_fs/u-boot/ |
| H A D | make.sh | 5 # SPDX-License-Identifier: GPL-2.0 8 set -e 9 JOB=`sed -n "N;/processor/p" /proc/cpuinfo|wc -l` 10 SUPPORT_LIST=`ls configs/*[r,p][x,v,k][0-9][0-9]*_defconfig` 15 …MPILE_ARM32=../prebuilts/gcc/linux-x86/arm/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin… 16 …MPILE_ARM64=../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/b… 49 SCRIPT_LOADER="${SRCTREE}/scripts/loader.sh" 51 SCRIPT_CHECKCONFIG="${SRCTREE}/scripts/check-rkconfig.sh" 59 echo " ./make.sh [board|sub-command]" 61 echo " - board: board name of defconfig" [all …]
|
| /OK3568_Linux_fs/u-boot/include/configs/ |
| H A D | evb_rv1126.h | 4 * SPDX-License-Identifier: GPL-2.0+ 24 * We made a deal: Not allow U-Boot to bring up thunder-boot kernel. 26 * Because the thunder-boot feature may require special memory layout 27 * or other appointments, U-Boot can't handle all that. Let's go back 30 * Note: bootcmd is only called in normal boot sequence, that means 31 * we allow user to boot what they want in U-Boot shell mode. 45 "loader raw 0x20000 0xE0000;"\ 47 "boot part 0 2;" \ 54 "loader raw 0x20000 0xE0000;"\ 57 "boot raw 0x700000 0x600000;" \ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/ |
| H A D | efi-stub.rst | 2 The EFI Boot Stub 8 along with the EFI-specific entry point that the firmware loader 9 jumps to are collectively known as the "EFI boot stub", and live in 10 arch/x86/boot/header.S and arch/x86/boot/compressed/eboot.c, 12 arch/arm/boot/compressed/efi-header.S and 13 arch/arm/boot/compressed/efi-stub.c. EFI stub code that is shared 18 kernel. The arm64 EFI stub lives in arch/arm64/kernel/efi-entry.S 19 and drivers/firmware/efi/libstub/arm64-stub.c. 21 By using the EFI boot stub it's possible to boot a Linux kernel 22 without the use of a conventional EFI boot loader, such as grub or [all …]
|