| /rk3399_rockchip-uboot/ |
| H A D | Makefile | 2 # SPDX-License-Identifier: GPL-2.0+ 15 # expect to learn how to build the kernel reading this file. 17 # o Do not use make's built-in rules and variables 18 # (this increases performance and avoids hard-to-debug behaviour); 20 MAKEFLAGS += -rR --include-dir=$(CURDIR) 31 # We are using a recursive build, so we need to do a little thinking 34 # Most importantly: sub-Makefiles should only ever modify files in 36 # a file in another dir (which doesn't happen often, but it's often 37 # unavoidable when linking the built-in.o targets which finally 38 # turn into vmlinux), we will call a sub make in that other dir, and [all …]
|
| H A D | .travis.yml | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # build U-Boot on Travis CI - https://travis-ci.org/ 14 - cppcheck 15 - sloccount 16 - sparse 17 - bc 18 - build-essential 19 - libsdl1.2-dev 20 - python 21 - python-virtualenv [all …]
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | objdiff | 3 # objdiff - a small script for validating that a commit or series of commits 13 # $ <your fancy build command here> 17 # $ <your fancy build command here> 28 SRCTREE=$(cd $(git rev-parse --show-toplevel 2>/dev/null); pwd) 30 if [ -z "$SRCTREE" ]; then 46 dir=${1%/*} 48 if [ "$dir" = "$1" ]; then 49 dir=. 52 dir=$(cd $dir; pwd) 54 echo $TMPD/$CMT${dir#$SRCTREE} [all …]
|
| H A D | Kbuild.include | 14 dot-target = $(dir $@).$(notdir $@) 17 # The temporary file to save gcc -MD generated dependencies must not 19 depfile = $(subst $(comma),_,$(dot-target).d) 50 # - If no file exist it is created 51 # - If the content differ the new file is used 52 # - If they are equal no change, and no timestamp update 53 # - stdin is piped in from the first prerequisite ($<) so one has 56 $(Q)set -e; \ 58 mkdir -p $(dir $@); \ 60 if [ -r $@ ] && cmp -s $@ $@.tmp; then \ [all …]
|
| H A D | fit-sign.sh | 5 # SPDX-License-Identifier: GPL-2.0 7 set -e 16 TOOL_FIT_UNPACK=${TOOLS}/fit-unpack.sh 27 SIGNATURE_KEY_NODE="/signature/key-dev" 29 SPL_DTB="${UNPACK_LOADER}/u-boot-spl.dtb" 37 declare -A ROLLBACK_PARAMS 38 declare -A VERSION_PARAMS 44 # ├── fit-unpack.sh 51 sed -n "/${1}=/s/${1}=//p" $2 | tr -d '\r' | tr -d '"' 61 echo " --key-dir <dir> | Mandatory" [all …]
|
| H A D | Makefile.clean | 5 # SPDX-License-Identifier: GPL-2.0 16 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) 17 include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile) 19 # Figure out what we need to build from the various variables 22 __subdir-y := $(patsubst %/,%,$(filter %/, $(obj-y))) 23 subdir-y += $(__subdir-y) 24 __subdir-m := $(patsubst %/,%,$(filter %/, $(obj-m))) 25 subdir-m += $(__subdir-m) 26 __subdir- := $(patsubst %/,%,$(filter %/, $(obj-))) 27 subdir- += $(__subdir-) [all …]
|
| H A D | mkmakefile | 4 # The Makefile also allow for more convinient build of external modules 7 # $1 - Kernel src directory 8 # $2 - Output directory 9 # $3 - version 10 # $4 - patchlevel 13 test ! -r $2/Makefile -o -O $2/Makefile || exit 0 16 if test -e $2/Makefile && ! grep -q Automatically $2/Makefile 31 makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST))) 40 MAKEARGS := -C $1 43 MAKEFLAGS += --no-print-directory [all …]
|
| 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 …]
|
| H A D | check-config.sh | 5 # Check that the u-boot.cfg file provided does not introduce any new 6 # ad-hoc CONFIG options 8 # Use scripts/build-whitelist.sh to generate the list of current ad-hoc 12 # check-config.sh <path to u-boot.cfg> <path to whitelist file> <source dir> 15 # scripts/check-config.sh b/chromebook_link/u-boot.cfg kconfig_whitelist.txt . 30 cat ${path} |sed -n 's/^#define \(CONFIG_[A-Za-z0-9_]*\).*/\1/p' |sort |uniq \ 33 comm -23 ${configs} ${whitelist} > ${suspects} 35 cat `find ${srctree} -name "Kconfig*"` |sed -n \ 36 -e 's/^\s*config *\([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ 37 -e 's/^\s*menuconfig \([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ [all …]
|
| H A D | Makefile.lib | 2 # SPDX-License-Identifier: GPL-2.0 5 asflags-y += $(EXTRA_AFLAGS) 6 ccflags-y += $(EXTRA_CFLAGS) 7 cppflags-y += $(EXTRA_CPPFLAGS) 8 ldflags-y += $(EXTRA_LDFLAGS) 12 export KBUILD_SUBDIR_ASFLAGS := $(KBUILD_SUBDIR_ASFLAGS) $(subdir-asflags-y) 13 export KBUILD_SUBDIR_CCFLAGS := $(KBUILD_SUBDIR_CCFLAGS) $(subdir-ccflags-y) 15 # Figure out what we need to build from the various variables 18 # When an object is listed to be built compiled-in and modular, 19 # only build the compiled-in version [all …]
|
| /rk3399_rockchip-uboot/doc/ |
| H A D | README.x86 | 5 # SPDX-License-Identifier: GPL-2.0+ 8 U-Boot on x86 11 This document describes the information about U-Boot running on x86 targets, 12 including supported boards, build instructions, todo list, etc. 15 ------ 16 U-Boot supports running as a coreboot [1] payload on x86. So far only Link 19 most of the low-level details. 21 U-Boot is a main bootloader on Intel Edison board. 23 U-Boot also supports booting directly from x86 reset vector, without coreboot. 25 'bare metal', U-Boot acts like a BIOS replacement. The following platforms [all …]
|
| H A D | README.socfpga | 1 ---------------------------------------- 2 SOCFPGA Documentation for U-Boot and SPL 3 ---------------------------------------- 5 This README is about U-Boot and SPL support for Altera's ARM Cortex-A9MPCore 11 -------------- 17 -> Using smaller max blk cnt to avoid flooding the limited stack in OCRAM 19 -------------------------------------------------- 20 Generating the handoff header files for U-Boot SPL 21 -------------------------------------------------- 25 Updated/working projects should build using either process below. [all …]
|
| H A D | README.nvme | 5 # SPDX-License-Identifier: GPL-2.0+ 12 communicate with a non-volatile memory subsystem. This interface is optimized 22 of some number of logical blocks. A namespace is a quantity of non-volatile 27 ------------ 30 "nvme-blk"). The host controller driver is supposed to probe the hardware and 37 ------ 41 -------------- 45 Usage in U-Boot 46 --------------- 47 To use an NVMe hard disk from U-Boot shell, a 'nvme scan' command needs to [all …]
|
| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | cmdline.py | 4 # SPDX-License-Identifier: GPL-2.0+ 18 parser.add_option('-b', '--branch', type='string', 19 help='Branch name to build, or range of commits to build') 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', 27 help='Reconfigure for every commit (disable incremental build)') 28 parser.add_option('-d', '--detail', dest='show_detail', 31 parser.add_option('-D', '--config-only', action='store_true', default=False, [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 47 commit/board pair they could leave their build product around afterwards 56 When a thread finishes a build, it puts the output files into a result 64 that is one subdirectory for each board. Within that is the build output for 67 Buildman also create working directories for each thread, in a .bm-work/ 68 subdirectory in the base dir. 70 As an example, say we are building branch 'us-net' for boards 'sandbox' and [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… 33 chromeos_coreboot=VBOOT=${chroot}/build/link/usr ${vboot} 34 chromeos_daisy=VBOOT=${chroot}/build/daisy/usr ${vboot} 35 chromeos_peach=VBOOT=${chroot}/build/peach_pit/usr ${vboot} 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. [all …]
|
| /rk3399_rockchip-uboot/tools/binman/ |
| H A D | cmdline.py | 4 # SPDX-License-Identifier: GPL-2.0+ 6 # Command-line parser for binman 12 """Parse the binman command-line arguments 17 Tuple (options, args) with the command-line options and arugments. 22 parser.add_option('-b', '--board', type='string', 23 help='Board name to build') 24 parser.add_option('-B', '--build-dir', type='string', default='b', 25 help='Directory containing the build output') 26 parser.add_option('-d', '--dt', type='string', 28 parser.add_option('-D', '--debug', action='store_true', [all …]
|
| /rk3399_rockchip-uboot/test/py/ |
| H A D | README.md | 1 # U-Boot pytest suite 5 This tool aims to test U-Boot by executing U-Boot shell commands using the 6 console interface. A single top-level script exists to execute or attach to the 7 U-Boot console, run the entire script of tests against it, and summarize the 10 - Testing is performed in the same way a user or script would interact with 11 U-Boot; there can be no disconnect. 12 - There is no need to write or embed test-related code into U-Boot itself. 13 It is asserted that writing test-related code in Python is simpler and more 15 - It is reasonably simple to interact with U-Boot in this way. 19 The test suite is implemented using pytest. Interaction with the U-Boot console [all …]
|
| H A D | conftest.py | 2 # Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. 4 # SPDX-License-Identifier: GPL-2.0 6 # Implementation of pytest run-time hook functions. These are invoked by 9 # - Parsing custom command-line options. 10 # - Pullilng in user-specified board configuration. 11 # - Creating the U-Boot console test fixture. 12 # - Creating the HTML log file. 13 # - Monitoring each test's results. 14 # - Implementing custom pytest markers. 27 # Globals: The HTML log file, and the connection to the U-Boot console. [all …]
|
| /rk3399_rockchip-uboot/board/cobra5272/ |
| H A D | README | 2 Author: Florian Schlote for Sentec elektronik (linux@sentec-elektronik.de) 3 Contents: This is the README of u-boot (Universal bootloader) for our 17 ----------- 30 Please refer to u-boot README (general info, u-boot-x-x-x/README), 31 to u-boot-x-x-x/doc/README.COBRA5272 and 32 to the comments in u-boot-x-x-x/include/configs/cobra5272.h 34 Configuring u-boot is done by commenting/uncommenting preprocessor defines. 50 #----------------------------------- 51 # u-boot FLASH version & RAM version 52 #----------------------------------- [all …]
|
| /rk3399_rockchip-uboot/board/rockchip/gva_rk3229/ |
| H A D | README | 6 > git clone git://git.denx.de/u-boot.git 7 > git clone https://github.com/OP-TEE/optee_os.git 8 > git clone https://github.com/rockchip-linux/rkbin.git 9 > git clone https://github.com/rockchip-linux/rkdeveloptool.git 11 Compile the OP-TEE 18 > make CROSS_COMPILE_ta_arm32=arm-none-eabi- PLATFORM=rockchip-rk322x 19 Get tee.bin in this step, copy it to U-Boot root dir: 20 > cp out/arm-plat-rockchip/core/tee-pager.bin ../u-boot/tee.bin 22 Compile the U-Boot 23 (For Android Things Project, use Android build system.) [all …]
|
| /rk3399_rockchip-uboot/doc/DocBook/ |
| H A D | Makefile | 3 # primarily based on in-line comments in various source files. 4 # See Documentation/kernel-doc-nano-HOWTO.txt for instruction in how 5 # to document the SRC - and how to read it. 9 # SPDX-License-Identifier: GPL-2.0 15 # The build process is as follows (targets): 17 # file.tmpl --> file.xml +--> file.ps (psdocs) [by db2ps or xmlto] 18 # +--> file.pdf (pdfdocs) [by db2pdf or xmlto] 19 # +--> DIR=file (htmldocs) [by xmlto] 20 # +--> man/ (mandocs) [by xmlto] 23 # for PDF and PS output you can choose between xmlto and docbook-utils tools [all …]
|
| /rk3399_rockchip-uboot/tools/patman/ |
| H A D | gitutil.py | 3 # SPDX-License-Identifier: GPL-2.0+ 17 # True to use --no-decorate - we check this in Setup() 27 oneline: True to use --oneline, else False 28 reverse: True to reverse the log (--reverse) 35 cmd += ['--git-dir', git_dir] 36 cmd += ['--no-pager', 'log', '--no-color'] 38 cmd.append('--oneline') 40 cmd.append('--no-decorate') 42 cmd.append('--reverse') 44 cmd.append('-n%d' % count) [all …]
|
| /rk3399_rockchip-uboot/board/rockchip/evb_rk3399/ |
| H A D | README | 4 RK3399 key features we might use in U-Boot: 5 * CPU: ARMv8 64bit Big-Little architecture, 6 * Big: dual-core Cortex-A72 7 * Little: quad-core Cortex-A53 9 * DRAM: 4GB-128MB dual-channel 12 * USB: USB3.0 typc-C port *2 with dwc3 controller 25 * load and verify U-Boot image 27 Here is the step-by-step to boot to U-Boot on rk3399. 34 > git clone https://github.com/ARM-software/arm-trusted-firmware.git 35 > git clone https://github.com/rockchip-linux/rkbin.git [all …]
|
| /rk3399_rockchip-uboot/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 27 BUILD INSTRUCTIONS 33 U-boot has a *strong* dependency with the l-loader and the arm trusted firmware 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 …]
|