| /OK3568_Linux_fs/u-boot/include/ |
| H A D | android_bootloader.h | 4 * SPDX-License-Identifier: BSD-2-Clause 15 /* "recovery" mode is triggered by the "reboot recovery" command or 17 * "boot-recovery" in the BCB message. This mode should boot the 22 /* "bootloader" mode is triggered by the "reboot bootloader" command or 24 * "bootonce-bootloader" in the BCB message. This mode should boot into 30 /** android_bootloader_boot_flow - Execute the Android Bootloader Flow. 31 * Performs the Android Bootloader boot flow, loading the appropriate Android 32 * image (normal kernel, recovery kernel or "bootloader" mode) and booting it. 33 * The boot mode is determined by the contents of the Android Bootloader 44 /** android_avb_boot_flow - Execute the Android Bootloader Flow. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/reset/ |
| H A D | reboot-mode.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic reboot mode core map 10 - Andy Yan <andy.yan@rock-chips.com> 13 This driver get reboot mode arguments and call the write 15 or ram. Then the bootloader can read it and take different 18 All mode properties are vendor specific, it is a indication to tell 19 the bootloader what to do when the system reboots, and should be named [all …]
|
| H A D | nvmem-reboot-mode.txt | 1 NVMEM reboot mode driver 3 This driver gets reboot mode magic value from reboot-mode driver 4 and stores it in a NVMEM cell named "reboot-mode". Then the bootloader 9 - compatible: should be "nvmem-reboot-mode". 10 - nvmem-cells: A phandle to the reboot mode provided by a nvmem device. 11 - nvmem-cell-names: Should be "reboot-mode". 13 The rest of the properties should follow the generic reboot-mode description 14 found in reboot-mode.txt 17 reboot-mode { 18 compatible = "nvmem-reboot-mode"; [all …]
|
| H A D | syscon-reboot-mode.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic SYSCON reboot mode driver 10 - Sebastian Reichel <sre@kernel.org> 13 This driver gets reboot mode magic value from reboot-mode driver 14 and stores it in a SYSCON mapped register. Then the bootloader 17 parental dt-node plus the offset. So the SYSCON reboot-mode node 18 should be represented as a sub-node of a "syscon", "simple-mfd" node. [all …]
|
| /OK3568_Linux_fs/u-boot/board/buffalo/lsxl/ |
| H A D | README | 2 ----- 3 The Buffalo Linkstation Pro/Live, codename LS-XHL and LS-CHLv2, is a single 4 disk NAS server. The PCBs of the LS-XHL and LS-CHLv2 are almost the same. 5 The LS-XHL has a faster CPU and more RAM with a wider data bus, therefore 6 the LS-XHL PCB has two SDRAM chips. Both have a Kirkwood CPU (Marvell 7 88F6281). The only on-board storage is a 4 Mbit SPI flash which stores the 8 bootloader and its environment. The linux kernel and the initial ramdisk 12 Rescue Mode 13 ----------- 19 Therefore, on entering the resuce mode, a random ethernet address is [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | cyttsp.txt | 4 - compatible : must be "cypress,cyttsp-i2c" or "cypress,cyttsp-spi" 5 - reg : Device I2C address or SPI chip select number 6 - spi-max-frequency : Maximum SPI clocking speed of the device (for cyttsp-spi) 7 - interrupts : (gpio) interrupt to which the chip is connected 9 - bootloader-key : the 8-byte bootloader key that is required to switch 10 the chip from bootloader mode (default mode) to 11 application mode. 16 - reset-gpios : the reset gpio the chip is connected to 18 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels) 19 - touchscreen-size-y : vertical resolution of touchscreen (in pixels) [all …]
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | ublimage.h | 9 * SPDX-License-Identifier: GPL-2.0+ 26 CFG_INVALID = -1, 36 /* Safe boot mode */ 38 /* DMA boot mode */ 40 /* I Cache boot mode */ 42 /* Fast EMIF boot mode */ 44 /* DMA + ICache boot mode */ 46 /* DMA + ICache + Fast EMIF boot mode */ 58 uint32_t entry; /* entry point address for bootloader */ 59 uint32_t pages; /* number of pages (size of bootloader) */ [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.ramboot-ppc85xx | 5 pre-mechanism is required to load the DDR with the bootloader binary. 6 - In case of SD and SPI boot this is done by BootROM code inside the chip 8 - In case of NAND boot FCM supports loading initial 4K code from NAND flash 9 which can initialize the DDR and get the complete bootloader copied to DDR. 15 1. Load the RAM based bootloader onto DDR via JTAG/BDI interface. And then 16 execute the bootloader from DDR. 18 - In very early stage of platform bringup where other boot options are not 20 - In case the support to program the flashes on the board is not available. 22 2. Load the RAM based bootloader onto DDR using already existing bootloader on 23 the board.And then execute the bootloader from DDR. [all …]
|
| H A D | README.ublimage | 1 --------------------------------------------- 3 --------------------------------------------- 5 This document describes how to set up an U-Boot image that can be directly 6 booted by a DaVinci processor via NAND boot mode, using an UBL header, 13 -------------- 14 ./tools/mkimage -l <u-boot_file> 17 ./tools/mkimage -T ublimage \ 18 -n <board specific configuration file> \ 19 -d <u-boot binary> <output image file> 22 ./tools/mkimage -n ./board/davinci/dm365evm/ublimage.cfg \ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | at91-sama5d27_wlsom1.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d27_wlsom1.dtsi - Device Tree file for SAMA5D27 WLSOM1 11 #include "sama5d2-pinfunc.h" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/mfd/atmel-flexcom.h> 14 #include <dt-bindings/pinctrl/at91.h> 18 compatible = "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; 26 clock-frequency = <32768>; 30 clock-frequency = <24000000>; 36 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>; [all …]
|
| H A D | armada-xp-gp.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * (DB-MV784MP-GP) 6 * Copyright (C) 2013-2014 Marvell 9 * Gregory CLEMENT <gregory.clement@free-electrons.com> 10 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 * Note: this Device Tree assumes that the bootloader has remapped the 15 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 16 * boards were delivered with an older version of the bootloader that 18 * situation, you should either update your bootloader (preferred 22 /dts-v1/; [all …]
|
| H A D | sama5d3xcm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module 14 stdout-path = "serial0:115200n8"; 23 clock-frequency = <32768>; 27 clock-frequency = <12000000>; 34 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; 39 compatible = "atmel,tcb-timer"; 44 compatible = "atmel,tcb-timer"; 51 pinctrl-0 = <&pinctrl_ebi_addr &pinctrl_ebi_cs0>; 52 pinctr-name = "default"; [all …]
|
| /OK3568_Linux_fs/buildroot/board/chromebook/elm/ |
| H A D | readme.txt | 5 Buildroot kernel and rootfs, using the original bootloader. This is 9 The bootloader will only boot a kernel from a GPT partition marked 10 bootable with cgpt tool from vboot-utils package. 20 --------------------- 35 and double-check the device name! 40 Switching to developer mode and booting from SD 41 ----------------------------------------------- 43 BEWARE: switching to developer mode deletes all user data. 46 While in developer mode, Chromebook will boot into a white screen saying 49 Press Ctrl-D at this screen to boot Chromium OS from eMMC. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/mouse/ |
| H A D | cyapa_gen3.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 60 * Used in register 0x00, bit1-0, DeviceStatus field. 88 * bit 7 - 4: high 4 bits of x position value 89 * bit 3 - 0: high 4 bits of y position value 95 /* id range is 1 - 15. It is incremented with every new touch. */ 101 * bit 0 - 1: device status 102 * bit 3 - 2: power mode 103 * bit 6 - 4: reserved 108 * bit 7 - 4: number of fingers currently touching pad [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | melfas_mip4.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 185 .addr = ts->client->addr, in mip4_i2c_xfer() 190 .addr = ts->client->addr, in mip4_i2c_xfer() 201 res = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg)); in mip4_i2c_xfer() 205 error = res < 0 ? res : -EIO; in mip4_i2c_xfer() 206 dev_err(&ts->client->dev, in mip4_i2c_xfer() 207 "%s - i2c_transfer failed: %d (%d)\n", in mip4_i2c_xfer() 209 } while (--retry); in mip4_i2c_xfer() 216 v->boot = get_unaligned_le16(buf + 0); in mip4_parse_fw_version() 217 v->core = get_unaligned_le16(buf + 2); in mip4_parse_fw_version() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/netlogic/common/ |
| H A D | smpboot.S | 2 * Copyright 2003-2011 NetLogic Microsystems, Inc. (NetLogic). All rights 37 #include <asm/asm-offsets.h> 46 #include <asm/netlogic/xlp-hal/iomap.h> 47 #include <asm/netlogic/xlp-hal/xlp.h> 48 #include <asm/netlogic/xlp-hal/sys.h> 49 #include <asm/netlogic/xlp-hal/cpucontrol.h> 88 andi a0, 0x3ff /* a0 <- node/core */ 99 * In case of RMIboot bootloader which is used on XLR boards, the CPUs 100 * be already woken up and waiting in bootloader code. 101 * This will get them out of the bootloader code and into linux. Needed [all …]
|
| /OK3568_Linux_fs/buildroot/board/chromebook/snow/ |
| H A D | readme.txt | 5 Buildroot kernel and rootfs, using the original bootloader. This is 9 The bootloader will only boot a kernel from a GPT partition marked 10 bootable with cgpt tool from vboot-utils package. 20 --------------------- 35 and double-check the device name! 40 Switching to developer mode and booting from SD 41 ----------------------------------------------- 43 BEWARE: switching to developer mode deletes all user data. 46 While in developer mode, Chromebook will boot into a white screen saying 49 Press Ctrl-D at this screen to boot Chromium OS from eMMC. [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A D | virt.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 * The hypercall is allowed to clobber any of the caller-saved 17 * registers (x0-x18), so it is advisable to use it through the 18 * indirection of a function call (as implemented in hyp-stub.S). 22 * HVC_SET_VECTORS - Set the value of the vbar_el2 register. 29 * HVC_SOFT_RESTART - CPU soft reset, used by the cpu_soft_restart routine. 34 * HVC_RESET_VECTORS - Restore the vectors to the original HYP stubs 39 * HVC_VHE_RESTART - Upgrade the CPU from EL1 to EL2, if possible 60 * __boot_cpu_mode records what mode CPUs were booted in. 61 * A correctly-implemented bootloader must start all CPUs in the same mode: [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/ |
| H A D | mpc5200b.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 /dts-v1/; 15 #address-cells = <1>; 16 #size-cells = <1>; 17 interrupt-parent = <&mpc5200_pic>; 20 #address-cells = <1>; 21 #size-cells = <0>; 26 d-cache-line-size = <32>; 27 i-cache-line-size = <32>; 28 d-cache-size = <0x4000>; // L1, 16K [all …]
|
| H A D | lite5200.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2006-2007 Secret Lab Technologies Ltd. 9 /dts-v1/; 14 #address-cells = <1>; 15 #size-cells = <1>; 16 interrupt-parent = <&mpc5200_pic>; 19 #address-cells = <1>; 20 #size-cells = <0>; 25 d-cache-line-size = <32>; 26 i-cache-line-size = <32>; [all …]
|
| /OK3568_Linux_fs/u-boot/board/gateworks/gw_ventana/ |
| H A D | README | 1 U-Boot for the Gateworks Ventana Product Family boards 3 This file contains information for the port of U-Boot to the Gateworks 7 is supported by a single bootloader build by using a common SPL and U-Boot 13 --------------------------------- 19 will build the following artifacts from U-Boot source: 20 - SPL - Secondary Program Loader that the i.MX6 BOOT ROM (Primary Program 22 The DRAM controller, loads u-boot.img from the detected boot device, 25 - u-boot.img - The main U-Boot core which is u-boot.bin with a image header. 29 -------- 31 To build U-Boot for the Gateworks Ventana product family: [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/x86/ |
| H A D | boot.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 real-mode DOS as a mainstream operating system. 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 36 initrd address available to the bootloader. 40 Protocol 2.05 (Kernel 2.6.20) Make protected mode kernel relocatable. 54 Protocol 2.09 (Kernel 2.6.26) Added a field of 64-bit physical 68 Protocol 2.13 (Kernel 3.14) Support 32- and 64-bit flags being set in 69 xloadflags to support booting a 64-bit kernel from 32-bit [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-exynos/ |
| H A D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <linux/platform_data/cpuidle-exynos.h> 105 /* CPU BOOT mode flag for Exynos3250 SoC bootloader */ 108 * Magic values for bootloader indicating chosen low power mode. 109 * See also Documentation/arm/samsung/bootloader-interface.rst 115 void exynos_set_boot_flag(unsigned int cpu, unsigned int mode); 116 void exynos_clear_boot_flag(unsigned int cpu, unsigned int mode);
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| H A D | nfp_nsp.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 121 * struct nfp_eth_table - ETH table information 127 * @ports.index: chip-wide first channel index 134 * @ports.fec: forward error correction mode 135 * @ports.aneg: auto negotiation mode 197 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode); 201 return !!eth_port->fec_modes_supported; in nfp_eth_can_support_fec() 207 return eth_port->fec_modes_supported; in nfp_eth_supported_fec_modes() 214 int __nfp_eth_set_aneg(struct nfp_nsp *nsp, enum nfp_eth_aneg mode); [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | spl_boot_mode.c | 4 * SPDX-License-Identifier: GPL-2.0+ 27 cnt = DIV_ROUND_UP(sizeof(struct bootloader_message), dev_desc->blksz); in misc_require_recovery() 28 bmsg = memalign(ARCH_DMA_MINALIGN, cnt * dev_desc->blksz); in misc_require_recovery() 35 recovery = !strcmp(bmsg->command, "boot-recovery"); in misc_require_recovery() 47 * Boot mode priority in rockchip_get_boot_mode() 49 * Anyway, we should set download boot mode as the highest priority, so: in rockchip_get_boot_mode() 50 * reboot loader/bootloader/fastboot > misc partition "recovery" > reboot xxx. in rockchip_get_boot_mode() 54 printf("boot mode: loader\n"); in rockchip_get_boot_mode() 57 printf("boot mode: dfu\n"); in rockchip_get_boot_mode() 60 printf("boot mode: bootloader\n"); in rockchip_get_boot_mode() [all …]
|