| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | builder.py | 3 # Bloat-o-meter code used here Copyright 2004 Matt Mackall <mpm@selenic.com> 5 # SPDX-License-Identifier: GPL-2.0+ 36 commits for different boards on multiple CPUs at once. 41 commit and builds it (typically without re-configuring). When it runs out 45 Clearly the builder threads could work either way - they could check out a 46 commit and then built it for all boards. Using separate directories for each 67 Buildman also create working directories for each thread, in a .bm-work/ 70 As an example, say we are building branch 'us-net' for boards 'sandbox' and 71 'seaboard', and say that us-net has two commits. We will have directories 74 us-net/ base directory [all …]
|
| H A D | cmdline.py | 4 # SPDX-License-Identifier: GPL-2.0+ 18 parser.add_option('-b', '--branch', type='string', 20 parser.add_option('-B', '--bloat', dest='show_bloat', 23 parser.add_option('-c', '--count', dest='count', type='int', 24 default=-1, help='Run build on the top n commits') 25 parser.add_option('-C', '--force-reconfig', dest='force_reconfig', 28 parser.add_option('-d', '--detail', dest='show_detail', 31 parser.add_option('-D', '--config-only', action='store_true', default=False, 33 parser.add_option('-e', '--show_errors', action='store_true', 35 parser.add_option('-f', '--force-build', dest='force_build', [all …]
|
| H A D | control.py | 3 # SPDX-License-Identifier: GPL-2.0+ 34 count = (count + options.step - 1) / options.step 38 str = '%s %s for %d boards' % ( 46 """Display a list of actions that we would take, if not a dry run. 51 provided by the user, and the value is the list of boards 53 in 400 boards, so in this case the key would be 'arm' and 54 the value would be a list of board names. 55 boards_selected: Dict of selected boards, key is target name, 78 print arg, ': %d boards' % len(why_selected[arg]) 81 print ('Total boards to build for each commit: %d\n' % [all …]
|
| H A D | README | 3 # SPDX-License-Identifier: GPL-2.0+ 8 Quick-start 14 cd /path/to/u-boot 16 buildman --fetch-arch arm 17 buildman -k rpi_2 19 # u-boot.bin is the output image 25 This tool handles building U-Boot to check that you have not broken it 27 which boards fail on which commits, and which errors come up. It aims 28 to make full use of multi-processor machines. 40 where it left off. This should happen cleanly and without side-effects. [all …]
|
| H A D | func_test.py | 4 # SPDX-License-Identifier: GPL-2.0+ 27 [toolchain-alias] 29 [make-flags] 32 vboot=USE_STDINT=1 VBOOT_DEBUG=1 MAKEFLAGS_VBOOT=DEBUG=1 CFLAGS_EXTRA_VBOOT=-DUNROLL_LOOPS VBOOT_SO… 38 boards = [ variable 46 39403bb patman: Use --no-pager' to stop git from forking a pager 47 db6e6f2 patman: Remove the -a option 64 Besides, "-b <branch>" is not mandatory since commit fea5858e. 67 Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> 71 Date: Thu Aug 14 16:48:25 2014 -0600 [all …]
|
| H A D | test.py | 4 # SPDX-License-Identifier: GPL-2.0+ 33 [toolchain-alias] 39 main.c:260:6: warning: unused variable 'joe' [-Wunused-variable] 42 main.c:295:2: error: 'fred' undeclared (first use in this function) 44 make[1]: *** [main.o] Error 1 45 make: *** [common/libcommon.o] Error 2 49 main.c:280:6: warning: unused variable 'mary' [-Wunused-variable] 51 '''powerpc-linux-ld: warning: dot moved backwards before `.bss' 52 powerpc-linux-ld: warning: dot moved backwards before `.bss' 53 powerpc-linux-ld: u-boot: section .text lma 0xfffc0000 overlaps previous sections [all …]
|
| H A D | toolchain.py | 3 # SPDX-License-Identifier: GPL-2.0+ 26 After the parser runs, self.links will be set to a list of the links 36 self._match = '_%s-' % arch 54 cross: Cross compile string, e.g. 'arm-linux-' 56 component of the filename. E.g. arm-linux-gcc becomes arm 73 # Find the CROSS_COMPILE prefix to use for U-Boot. For example, 74 # 'arm-linux-gnueabihf-gcc' turns into 'arm-linux-gnueabihf-'. 76 pos = basename.rfind('-') 77 self.cross = basename[:pos + 1] if pos != -1 else '' 80 pos = self.cross.find('-') [all …]
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | moveconfig.py | 5 # SPDX-License-Identifier: GPL-2.0+ 11 Since Kconfig was introduced to U-Boot, we have worked on moving 18 ----- 46 - Move 'CONFIG_... ' 49 - CONFIG_... is not defined in Kconfig. Do nothing. 53 - CONFIG_... is not defined in Kconfig (suspicious). Do nothing. 57 - You forgot to create an entry for the CONFIG before running 59 - The entry was hidden due to unmet 'depends on'. 63 - 'CONFIG_...' is the same as the define in Kconfig. Do nothing. 67 - Compiler is missing. Do nothing. [all …]
|
| H A D | genboardscfg.py | 5 # SPDX-License-Identifier: GPL-2.0+ 13 Run 'tools/genboardscfg.py -h' for available options. 32 OUTPUT_FILE = 'boards.cfg' 36 # List of boards 45 """Remove a file ignoring 'No such file or directory' error.""" 49 # Ignore 'No such file or directory' error 70 # return False on 'No such file or directory' error 164 if colon == -1: 180 # Set '-' if the value is empty. 186 params[key] = '-' [all …]
|
| /rk3399_rockchip-uboot/include/dm/ |
| H A D | root.h | 7 * SPDX-License-Identifier: GPL-2.0+ 16 * dm_root() - Return pointer to the top of the driver tree 26 * dm_fixup_for_gd_move() - Handle global_data moving to a new place 28 * The uclass list is part of global_data. Due to the way lists work, moving 29 * the list will cause it to become invalid. This function fixes that up so 30 * that the uclass list will work correctly. 35 * dm_scan_platdata() - Scan all platform data and bind drivers 41 * @return 0 if OK, -ve on error 46 * dm_scan_fdt() - Scan the device tree and bind drivers 49 * the top-level subnodes are examined. [all …]
|
| /rk3399_rockchip-uboot/board/ti/common/ |
| H A D | board_detect.h | 4 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com 6 * SPDX-License-Identifier: GPL-2.0+ 24 * struct ti_am_eeprom - This structure holds data read in from the 35 * to configure specific TI boards. This allows booting of multiple 36 * TI boards with a single MLO and u-boot. 53 * struct dra7_eeprom - This structure holds data read in from the DRA7 EVM 65 * to configure specific DRA7 boards. This allows booting of multiple 66 * DRA7 boards with a single MLO and u-boot. 79 * struct ti_common_eeprom - Null terminated, usable EEPROM contents. 104 * ti_i2c_eeprom_am_get() - Consolidated eeprom data collection for AM* TI EVMs [all …]
|
| /rk3399_rockchip-uboot/board/cadence/xtfpga/ |
| H A D | README | 1 Tensilica 'xtfpga' Evaluation Boards 4 Tensilica's 'xtfpga' evaluation boards are actually a set of different 5 boards that share configurations. The following is a list of supported 8 - XT-AV60 / LX60 9 - XT-AV110 / LX110 10 - XT-AV200 / LX200 11 - ML605 12 - KC705 14 All boards provide the following common configurations: 16 - An Xtensa or Diamond processor core. [all …]
|
| /rk3399_rockchip-uboot/include/ |
| H A D | fdtdec.h | 3 * SPDX-License-Identifier: GPL-2.0+ 12 * drivers and board-specific code within U-Boot. It aims to reduce the 13 * amount of FDT munging required within U-Boot itself, so that driver code 27 #define FDT_ADDR_T_NONE (-1ULL) 32 #define FDT_ADDR_T_NONE (-1U) 57 * be equal to: end - start + 1. 91 * t: is 1 if the address is aliased (for non-relocatable I/O) below 1MB 94 * bbbbbbbb: is the 8-bit Bus Number 95 * ddddd: is the 5-bit Device Number 96 * fff: is the 3-bit Function Number [all …]
|
| H A D | i2c.h | 3 * Copyright (C) 2009 - 2013 Heiko Schocher <hs@denx.de> 9 * SPDX-License-Identifier: GPL-2.0+ 13 * AIRVENT SAM s.p.a - RIMINI(ITALY) 21 * For now there are essentially two parts to this file - driver model 29 DM_I2C_CHIP_10BIT = 1 << 0, /* Use 10-bit addressing */ 36 * struct dm_i2c_chip - information about an i2c chip 39 * and normally supports 7-bit or 10-bit addressing. 62 * struct dm_i2c_bus- information about an i2c bus 78 * Not all of these flags are implemented in the U-Boot API 81 I2C_M_TEN = 0x0010, /* ten-bit chip address */ [all …]
|
| H A D | efi_loader.h | 6 * SPDX-License-Identifier: GPL-2.0+ 16 #include <linux/list.h> 24 * Enter the u-boot world from UEFI: 33 * Exit the u-boot world back to UEFI: 44 * Callback into UEFI world from u-boot: 87 /* Every UEFI object is part of a global object list */ 127 /* This list contains all UEFI objects we know of */ 150 /* Special case handler for error/abort that just tries to dtrt to get 151 * back to u-boot world */ 226 (((_dp)->type == DEVICE_PATH_TYPE_##_type) && \ [all …]
|
| H A D | common.h | 2 * (C) Copyright 2000-2009 5 * SPDX-License-Identifier: GPL-2.0+ 24 #include <asm-offsets.h> 64 #include <asm/u-boot.h> /* boot information for Linux kernel */ 83 * dram_init_banksize() - Set up DRAM bank sizes 85 * This can be implemented by boards to set up the DRAM bank information in 86 * gd->bd->bi_dram(). It is called just before relocation, after dram_init() 95 * @return 0 if OK, -ve on error 113 * Run a list of commands separated by ; or even \0 115 * Note that if 'len' is not -1, then the command does not need to be nul [all …]
|
| H A D | usb.h | 5 * Adapted for U-Boot driver model 8 * SPDX-License-Identifier: GPL-2.0+ 46 * time for a BULK device to react - some are slow. 93 * struct usb_device - information about a USB device 136 * Child devices - if this is a hub device 150 /* slot_id - for xHCI enabled devices */ 206 * in boards init functions e.g. udc_disconnect() used for 212 * board-specific hardware initialization, called by 213 * usb drivers and u-boot commands 282 /* big endian -> little endian conversion */ [all …]
|
| /rk3399_rockchip-uboot/ |
| H A D | README | 2 # (C) Copyright 2000 - 2013 5 # SPDX-License-Identifier: GPL-2.0+ 11 This directory contains the source code for U-Boot, a boot loader for 12 Embedded boards based on PowerPC, ARM, MIPS and several other 17 The development of U-Boot is closely related to Linux: some parts of 33 In general, all boards for which a configuration option exists in the 39 scattered throughout the U-Boot source identifying the people or 40 companies responsible for various boards and subsystems. 43 actual U-Boot source tree; however, it can be created dynamically 53 U-Boot, you should send a message to the U-Boot mailing list at [all …]
|
| /rk3399_rockchip-uboot/test/py/tests/ |
| H A D | test_dfu.py | 3 # SPDX-License-Identifier: GPL-2.0 5 # Test U-Boot's "dfu" command. The test starts DFU in U-Boot, waits for USB 6 # device enumeration on the host, executes dfu-util multiple times to test 8 # finally aborts the "dfu" command in U-Boot. 26 "host_usb_dev_node": "/dev/usbdev-p2371-2180", 29 "host_usb_port_path": "3-13", 48 # If missing, a default list of sizes will be used, which covers 63 # For boards which require the "test file" alt setting number other than 68 # For boards which require the "dummy file" alt setting number other 78 ACTION=="add", SUBSYSTEM=="block", SUBSYSTEMS=="usb", KERNELS=="3-13", MODE:="666" [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | boot_rkimg.c | 4 * SPDX-License-Identifier: GPL-2.0+ 36 #include <linux/list.h> 37 #include <u-boot/sha1.h> 38 #include <u-boot/sha256.h> 39 #include <linux/usb/phy-rockchip-usb2.h> 52 return run_command_list(devtype_num_set, -1, 0); in rk_board_scan_bootdev() 59 mmc_initialize(gd->bd); in bootdev_init() 65 return -ENODEV; in bootdev_init() 71 return -ENODEV; in bootdev_init() 76 return -ENODEV; in bootdev_init() [all …]
|
| /rk3399_rockchip-uboot/common/ |
| H A D | Kconfig | 25 Enable recording of boot time in SPL. To make this visible to U-Boot 27 information when SPL finishes and load it when U-Boot proper starts 35 This shows how long it took U-Boot to go through each stage of the 62 This is the size of the bootstage record list and is the maximum 126 Enabling this will make a U-Boot binary that is capable of being 135 Enabling this will make a U-Boot binary that is capable of being 143 Enabling this will make a U-Boot binary that is capable of being 151 Enabling this will make a U-Boot binary that is capable of being 159 Enabling this will make a U-Boot binary that is capable of being 167 Enabling this will make a U-Boot binary that is capable of being [all …]
|
| /rk3399_rockchip-uboot/include/power/ |
| H A D | pmic.h | 2 * Copyright (C) 2014-2015 Samsung Electronics 5 * Copyright (C) 2011-2012 Samsung Electronics 8 * SPDX-License-Identifier: GPL-2.0+ 16 #include <linux/list.h> 84 struct list_head list; member 90 * U-Boot PMIC Framework 93 * UCLASS_PMIC - This is designed to provide an I/O interface for PMIC devices. 95 * For the multi-function PMIC devices, this can be used as parent I/O device 101 * |_ BUS 0 device (e.g. I2C0) - UCLASS_I2C/SPI/... 102 * | |_ PMIC device (READ/WRITE ops) - UCLASS_PMIC [all …]
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | fdtdec.c | 3 * SPDX-License-Identifier: GPL-2.0+ 25 * turn this into a sparse list later, and keeps the ID with the name. 27 * NOTE: This list is basically a TODO list for things that need to be 29 * good reason why driver-model conversion is infeasible. Examples include 35 COMPAT(NVIDIA_TEGRA20_EMC, "nvidia,tegra20-emc"), 36 COMPAT(NVIDIA_TEGRA20_EMC_TABLE, "nvidia,tegra20-emc-table"), 37 COMPAT(NVIDIA_TEGRA20_NAND, "nvidia,tegra20-nand"), 38 COMPAT(NVIDIA_TEGRA124_XUSB_PADCTL, "nvidia,tegra124-xusb-padctl"), 39 COMPAT(NVIDIA_TEGRA210_XUSB_PADCTL, "nvidia,tegra210-xusb-padctl"), 41 COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"), [all …]
|
| /rk3399_rockchip-uboot/include/linux/usb/ |
| H A D | gadget.h | 4 * We call the USB code inside a Linux-based peripheral device a "gadget" 5 * driver, except for the hardware-specific bus glue. One USB host can 9 * (C) Copyright 2002-2004 by David Brownell 14 * Ported to U-Boot by: Thomas Smits <ts.smits@gmail.com> and 24 #include <linux/list.h> 29 * struct usb_request - describes one i/o request 45 * its buffer may be re-used. 51 * invalidated by the error may first be dequeued. 53 * @list: For use by the gadget driver. 57 * Code "-ESHUTDOWN" indicates completion caused by device disconnect, [all …]
|
| /rk3399_rockchip-uboot/common/spl/ |
| H A D | spl.c | 7 * SPDX-License-Identifier: GPL-2.0+ 14 #include <asm/u-boot.h> 31 /* Unknown U-Boot size, let's assume it will not be more than 200 KB */ 41 * Board-specific Platform code can reimplement show_boot_progress () if needed 46 * Default function to determine if u-boot or the OS should 52 * 0 to not start u-boot 53 * positive if u-boot should start 81 /* Weak default function for arch/board-specific fixups to the spl_image_info */ 89 spl->next_stage = SPL_NEXT_STAGE_UBOOT; in spl_next_stage() 92 /* Weak default function for arch/board-specific preppare before jumping */ [all …]
|