| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | board.py | 3 # SPDX-License-Identifier: GPL-2.0+ 24 props: List of properties to check 37 """A list of expressions each of which must match with properties. 39 This provides a list of 'AND' expressions, meaning that each must 47 """Add an Expr object to the list to check. 50 expr: New Expr object to add to the list of those that must 65 props: List of properties to check 76 def __init__(self, status, arch, cpu, soc, vendor, board_name, target, options): argument 86 target: Target name (use make <target>_defconfig to configure) 87 options: board-specific options (e.g. integratorcp:CM1136) [all …]
|
| 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+ 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 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 75 01_of_02_g4ed4ebc_net--Add-tftp-speed-/ 77 u-boot.bin [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 …]
|
| H A D | builderthread.py | 3 # SPDX-License-Identifier: GPL-2.0+ 15 RETURN_CODE_RETRY = -1 39 commits: List of commit options to build. 73 """This thread builds U-Boot for a particular board. 75 An input queue provides each new job. We run 'make' to build U-Boot 80 thread_num: Our thread number (0-n-1), used to decide on a 101 mrproper - can be called to clean source 102 config - called to configure for a board 103 build - the main make invocation - it does the build 104 args: A list of arguments to pass to 'make' [all …]
|
| H A D | kconfiglib.py | 2 # SPDX-License-Identifier: ISC 8 # information from Kconfig-based configuration systems. To view the 15 # $ pydoc -w kconfiglib 25 Kconfig-based configuration systems. Features include the following: 27 - Symbol values and properties can be looked up and values assigned 29 - .config files can be read and written. 30 - Expressions can be evaluated in the context of a Kconfig configuration. 31 - Relations between symbols can be quickly determined, such as finding all 33 - Highly compatible with the scripts/kconfig/*conf utilities. The test suite 41 Using the 'scriptconfig' target ensures that required environment variables [all …]
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | genboardscfg.py | 5 # SPDX-License-Identifier: GPL-2.0+ 13 Run 'tools/genboardscfg.py -h' for available options. 36 # List of boards 39 # Status, Arch, CPU, SoC, Vendor, Board, Target, Options, Maintainers 154 'target': <target_name>, 164 if colon == -1: 180 # Set '-' if the value is empty. 186 params[key] = '-' 189 params['target'], match, rear = defconfig.partition('_defconfig') 192 # fix-up for aarch64 [all …]
|
| 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 …]
|
| /rk3399_rockchip-uboot/tools/dtoc/ |
| H A D | dtb_platdata.py | 6 # SPDX-License-Identifier: GPL-2.0+ 22 # When we see these properties we ignore them - i.e. do not create a structure member 24 '#address-cells', 25 '#gpio-cells', 26 '#size-cells', 31 'u-boot,dm-pre-reloc', 32 'u-boot,dm-tpl', 33 'u-boot,dm-spl', 52 # phandles is len(args). This is a list of integers. 57 """Convert a device-tree name to a C identifier [all …]
|
| /rk3399_rockchip-uboot/scripts/basic/ |
| H A D | fixdep.c | 2 * "Optimize" a list of dependencies as spit out by gcc -MD 15 * gcc produces a very nice and correct list of dependencies which 18 * To use this list as-is however has the drawback that virtually 21 * If the user re-runs make *config, autoconf.h will be 38 * so most likely only his driver ;-) 47 * The former is handled by using the -MD output, the later by saving 52 * kbuild-devel a long time ago. I don't have a sensibly working 65 * fixdep <depfile> <target> <cmdline> 73 * cmd_<target> = <cmdline> 75 * and then basically copies the .<target>.d file to stdout, in the [all …]
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | Makefile.build | 5 # SPDX-License-Identifier: GPL-2.0 8 # Modified for U-Boot 25 obj-y := 26 obj-m := 27 lib-y := 28 lib-m := 31 subdir-y := 32 subdir-m := 37 asflags-y := 38 ccflags-y := [all …]
|
| /rk3399_rockchip-uboot/lib/libfdt/ |
| H A D | fdt_region.c | 2 * libfdt - Flat Device Tree manipulation 5 * SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause 21 static int str_in_list(const char *str, char * const list[], int count) in str_in_list() argument 26 if (!strcmp(list[i], str)) in str_in_list() 42 int start = -1; in fdt_find_regions() 43 int depth = -1; in fdt_find_regions() 67 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_find_regions() 80 return -FDT_ERR_BADSTRUCTURE; in fdt_find_regions() 82 if (end - path + 2 + len >= path_len) in fdt_find_regions() 83 return -FDT_ERR_NOSPACE; in fdt_find_regions() [all …]
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/pinctrl/ |
| H A D | pinctrl-bindings.txt | 4 such as pull-up/down, tri-state, drive-strength etc are designated as pin 15 need to reconfigure pins at run-time, for example to tri-state pins when the 47 pinctrl-0: List of phandles, each pointing at a pin configuration 50 entries may exist in this list so that multiple pin 65 pinctrl-1: List of phandles, each pointing at a pin configuration 68 pinctrl-n: List of phandles, each pointing at a pin configuration 70 pinctrl-names: The list of names to assign states. List entry 0 defines the 71 name for integer state ID 0, list entry 1 for state ID 1, and 78 pinctrl-names = "active", "idle"; 79 pinctrl-0 = <&state_0_node_a>; [all …]
|
| /rk3399_rockchip-uboot/doc/uImage.FIT/ |
| H A D | howto.txt | 8 -------- 18 important that the dtc used has support for binary includes -- refer to 31 needed by U-Boot to handle the uImage properly. The uImage file is then 32 transferred to the target (e.g., via tftp) and booted using the bootm command. 35 - mkimage 36 - dtc (with support for binary includes) 37 - image source file (*.its) 38 - image data file(s) 43 image source file mkimage + dtc transfer to target 44 + ---------------> image file --------------------> bootm [all …]
|
| /rk3399_rockchip-uboot/board/freescale/ls2080a/ |
| H A D | README | 3 This is a emulator target with limited peripherals. 15 Other addresses are either reserved, or not used directly by U-Boot. 16 This list should be updated when more addresses are used. 18 Booting Linux flavors which do not support 48-bit VA (< Linux 3.18) 19 ------------------------------------------------------------------- 21 not support 48-bit VA (for e.g. < Linux 3.18) by appending mem=2048M, as shown
|
| /rk3399_rockchip-uboot/doc/ |
| H A D | README.distro | 3 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. 6 * SPDX-License-Identifier: GPL-2.0+ 13 environments or bootloaders (PC BIOS, EFI, U-Boot, Barebox, ...). This makes 14 life complicated. Worse, bootloaders such as U-Boot have a configurable set 16 Hence, distros typically need to have board-specific knowledge in order to 19 This document defines a common set of U-Boot features that are required for 21 allow distros to install and boot in an out-of-the-box fashion should enable 24 to install on many boards without the need for board-specific logic. 33 board-specific installer/boot-configuration support in a distro. 36 that contains U-Boot, and that the user has somehow installed U-Boot to this [all …]
|
| H A D | mkimage.1 | 1 .TH MKIMAGE 1 "2010-05-16" 4 mkimage \- Generate image for U-Boot 7 .RB "\-l [" "uimage file name" "]" 10 .RB [\fIoptions\fP] " \-f [" "image tree source file" "]" " [" "uimage file name" "]" 13 .RB [\fIoptions\fP] " \-F [" "uimage file name" "]" 21 command is used to create images for use with the U-Boot boot loader. 32 containing information about target architecture, operating system, 44 .B List image information: 47 .BI "\-l [" "uimage file name" "]" 48 mkimage lists the information contained in the header of an existing U-Boot image. [all …]
|
| H A D | README.hwconfig | 9 some "hwconfig <enable|disable|list>" commands, ncurses 10 interface for Award BIOS-like interface, and frame-buffer 11 interface for AMI GUI[1] BIOS-like interface with mouse 17 We can implement this by integrating apt-get[3] into Das 18 U-Boot. But I haven't bothered yet. 24 target after modifying the hwconfig variable. 31 1. dr_usb - enable Dual-Role USB controller; 32 2. dr_usb_mode:peripheral - USB in Function mode; 33 3. dr_usb_phy_type:ulpi - USB should work with ULPI PHYs. 42 [2] Regarding ncurses and GUI with mouse support -- I'm just [all …]
|
| H A D | README.boston | 3 --------- 5 --------- 13 -------- 15 -------- 17 U-Boot can be run on a currently out-of-tree branch of QEMU with support for 19 branch of git://git.linux-mips.org/pub/scm/paul/qemu.git and used like so: 21 $ git clone git://git.linux-mips.org/pub/scm/paul/qemu.git -b boston 23 $ ./configure --target-list=mips64el-softmmu 25 $ ./mips64el-softmmu/qemu-system-mips64el -M boston -m 2G \ 26 -bios u-boot.bin -serial stdio [all …]
|
| H A D | README.android-fastboot | 7 README.android-fastboot-protocol in same directory. 19 http://dl.google.com/android/installer_r12-windows.exe) installed. You 42 the fastboot client. The list of vendor IDs supported can be found in the 54 limitations prevent user-friendly partition names such as "boot", "system" 64 The Fastboot implementation in U-boot allows to write images into disk 65 partitions (currently on eMMC). Target partitions are referred on the host 93 done by writing the respective partition table image to a special target 102 Enter into fastboot by executing the fastboot command in u-boot and you 107 |>fastboot getvar bootloader-version 108 |bootloader-version: U-Boot 2014.04-00005-gd24cabc [all …]
|
| /rk3399_rockchip-uboot/test/py/tests/ |
| H A D | test_ums.py | 1 # Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. 3 # SPDX-License-Identifier: GPL-2.0 5 # Test U-Boot's "ums" command. The test starts UMS in U-Boot, waits for USB 7 # block device, optionally mounts a partition and performs filesystem-based 8 # read/write tests, and finally aborts the "ums" command in U-Boot. 24 # Leave this list empty if you have no block_devs below with writable 27 "/mnt/ubtest-mnt-p2371-2180-na", 34 "host_ums_dev_node": "/dev/disk/by-path/pci-0000:00:14.0-usb-0:13:1.0-scsi-0:0:0:0", 45 # If present, the partition will be mounted and a file written-to and 46 # read-from it. If missing, only a simple block read test will be [all …]
|
| /rk3399_rockchip-uboot/drivers/net/phy/ |
| H A D | phy.c | 4 * SPDX-License-Identifier: GPL-2.0+ 30 * genphy_config_advert - sanitize and advertise auto-negotation parameters 31 * @phydev: target phy_device struct 45 phydev->advertising &= phydev->supported; in genphy_config_advert() 46 advertise = phydev->advertising; in genphy_config_advert() 86 /* Per 802.3-2008, Section 22.2.4.2.16 Extended status all in genphy_config_advert() 102 if (phydev->supported & (SUPPORTED_1000baseT_Half | in genphy_config_advert() 122 * genphy_setup_forced - configures/forces speed/duplex from @phydev 123 * @phydev: target phy_device struct 133 phydev->pause = phydev->asym_pause = 0; in genphy_setup_forced() [all …]
|
| /rk3399_rockchip-uboot/tools/binman/ |
| H A D | func_test.py | 5 # SPDX-License-Identifier: GPL-2.0+ 9 # python -m unittest func_test.TestFunctional.testHelp 53 In some cases a 'real' file must be used - these are also supplied in 66 TestFunctional._MakeInputFile('u-boot.bin', U_BOOT_DATA) 67 TestFunctional._MakeInputFile('u-boot.img', U_BOOT_IMG_DATA) 68 TestFunctional._MakeInputFile('spl/u-boot-spl.bin', U_BOOT_SPL_DATA) 72 TestFunctional._MakeInputFile('u-boot.dtb', U_BOOT_DTB_DATA) 73 TestFunctional._MakeInputFile('u-boot-x86-16bit.bin', X86_START16_DATA) 74 TestFunctional._MakeInputFile('u-boot-nodtb.bin', U_BOOT_NODTB_DATA) 81 TestFunctional._MakeInputFile('u-boot', fd.read()) [all …]
|
| /rk3399_rockchip-uboot/scripts/dtc/libfdt/ |
| H A D | fdt_overlay.c | 9 * overlay_get_target_phandle - retrieves the target phandle of a fragment 13 * overlay_get_target_phandle() retrieves the target phandle of an 14 * overlay fragment when that fragment uses a phandle (target 15 * property) instead of a path (target-path property). 18 * the phandle pointed by the target property 20 * -1, if the phandle was malformed 27 val = fdt_getprop(fdto, fragment, "target", &len); in overlay_get_target_phandle() 31 if ((len != sizeof(*val)) || (fdt32_to_cpu(*val) == (uint32_t)-1)) in overlay_get_target_phandle() 32 return (uint32_t)-1; in overlay_get_target_phandle() 38 * overlay_get_target - retrieves the offset of a fragment's target [all …]
|
| /rk3399_rockchip-uboot/board/samsung/common/bootscripts/ |
| H A D | autoboot.cmd | 1 # This is an example file to generate boot.scr - a boot script for U-Boot 3 # ./tools/mkimage -c none -A arm -T script -d autoboot.cmd boot.scr 5 # It requires a list of environment variables to be defined before load: 17 #### Routine: check_dtb - check that target.dtb exists on boot partition 19 if test -e mmc '${mmcbootdev}':'${mmcbootpart}' '${fdtfile}'; then 27 #### Routine: check_ramdisk - check that uInitrd exists on boot partition 29 if test -e mmc '${mmcbootdev}':'${mmcbootpart}' '${initrdname}'; then 35 setenv initrd_addr -; 38 #### Routine: boot_fit - check that env $boardname is set and boot proper config of ITB image 40 if test -e '${boardname}'; then [all …]
|
| /rk3399_rockchip-uboot/arch/mips/ |
| H A D | Kconfig | 12 prompt "Target select" 16 bool "Support qemu-mips" 134 source "board/qemu-mips/Kconfig" 135 source "arch/mips/mach-ath79/Kconfig" 136 source "arch/mips/mach-bmips/Kconfig" 137 source "arch/mips/mach-pic32/Kconfig" 145 byte order. These modes require different U-Boot images. In general there 168 Choose this option to build an U-Boot for release 1 through 5 of the 176 Choose this option to build an U-Boot for release 2 through 5 of the 184 Choose this option to build an U-Boot for release 6 or later of the [all …]
|