| /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 | builderthread.py | 3 # SPDX-License-Identifier: GPL-2.0+ 15 RETURN_CODE_RETRY = -1 38 board: Board object to build 39 commits: List of commit options to build. 50 result thread, and this helps to serialise the build output. 64 We collect the next result job and pass it on to the 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 100 stage: Stage of the build. Valid stages are: [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] 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 54 powerpc-linux-ld: u-boot: section .rodata lma 0xfffef3ec overlaps previous sections 55 powerpc-linux-ld: u-boot: section .reloc lma 0xffffa400 overlaps previous sections 56 powerpc-linux-ld: u-boot: section .data lma 0xffffcd38 overlaps previous sections [all …]
|
| H A D | README | 3 # SPDX-License-Identifier: GPL-2.0+ 8 Quick-start 11 If you just want to quickly set up buildman so you can build something (for 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 26 with your patch series. It can build each individual commit and report 28 to make full use of multi-processor machines. [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/ 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 [all …]
|
| /rk3399_rockchip-uboot/board/hisilicon/hikey/ |
| H A D | build-tf.mak | 1 CROSS_COMPILE := aarch64-linux-gnu- 3 makejobs := $(shell grep '^processor' /proc/cpuinfo | sort -u | wc -l) 4 makethreads := $(shell dc -e "$(makejobs) 1 + p") 6 -j$(makethreads) -l$(makejobs) 9 BL33_HIKEY := $(output_dir)/u-boot-hikey.bin 15 @echo "make -f build-tf.mak build" 17 .PHONY: have-crosscompiler 18 have-crosscompiler: 19 @echo -n "Check that $(CROSS_COMPILE)gcc is available..." 21 if [ ! $$? -eq 0 ] ; then \ [all …]
|
| /rk3399_rockchip-uboot/test/ |
| H A D | run | 3 # Run all tests that the standard sandbox build can support 4 ./test/py/test.py --bd sandbox --build 7 ./test/py/test.py --bd sandbox_spl --build -k test/py/tests/test_ofplatdata.py 10 ./test/py/test.py --bd sandbox_flattree --build
|
| /rk3399_rockchip-uboot/doc/ |
| H A D | README.spear | 7 one-time by a customer at silicon mask level (i.e. not at runtime!). 9 U-Boot supports four SoCs: SPEAr600, SPEAr3xx 15 2. FastEthernet (sp600 has Gbit version, but same controller - GMAC) 26 u-boot is currently not supporting all peripeharls (just a few as listed below). 34 Build options 36 spear320 build with environment variables placed at default 43 spear320 build with environment variables placed in NAND device 45 spear320 build with usbtty terminal as default and environment 48 spear320 build with usbtty terminal as default and environment 51 Build with usbtty terminal as default and environment placed in
|
| H A D | README.marvell | 1 Marvell U-Boot Build Instructions 4 This document describes how to compile the U-Boot and how to change U-Boot configuration 6 Build Procedure 7 ---------------- 10 # sudo apt-get install libssl-dev 11 # sudo apt-get install device-tree-compiler 12 # sudo apt-get install swig libpython-dev 16 # export CROSS_COMPILE=/path/to/toolchain/aarch64-marvell-linux-gnu- 18 3. Clean-up old residuals: 22 4. Configure the U-Boot: [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.fdt-control | 4 # SPDX-License-Identifier: GPL-2.0+ 7 Device Tree Control in U-Boot 10 This feature provides for run-time configuration of U-Boot via a flat 11 device tree (fdt). U-Boot configuration has traditionally been done 13 make it possible for a single U-Boot binary to support multiple boards, 18 The fdt is a convenient vehicle for implementing run-time configuration 25 format, and a library is already available in U-Boot (libfdt) for 29 and embedding it in your U-Boot image. This is useful since it allows 30 U-Boot to configure itself according to what it finds there. If you have 39 --------------------------- [all …]
|
| H A D | README.ag101p | 9 ADP-AG101P 12 ADP-AG101P is the SoC with AG101 hardcore CPU. 18 Doing memory remap is essential for preparing some non-OS or RTOS 22 If you want to boot this system from SPI ROM and bypass e-bios (the 24 in "include/configs/adp-ag101p.h". 26 Build and boot steps 29 build: 31 2. Use `make adp-ag101p_defconfig` in u-boot root to build the image. 33 Burn u-boot to SPI ROM:
|
| /rk3399_rockchip-uboot/common/spl/ |
| H A D | Kconfig | 17 If you want to build SPL as well as the normal image, say Y. 31 Support to build SPL as decomp header. 35 default "arch/$(ARCH)/cpu/u-boot-spl.lds" 38 The SPL stage will usually require a different linker-script 40 U-Boot stage. Set this to the path of the linker-script to 44 bool "Call board-specific initialization in SPL" 46 If this option is enabled, U-Boot will call the function 54 ROM for loading the next boot-stage after performing basic setup 58 BOOT_DEVICE_BOOTROM (or fall-through to the next boot device in the 85 usage as the *_simple malloc functions do not re-use free-ed mem. [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-bcm283x/ |
| H A D | Kconfig | 17 bool "Broadcom BCM2837 SoC 32-bit support" 24 bool "Broadcom BCM2837 SoC 64-bit support" 39 Support for all ARM1176-/BCM2835-based Raspberry Pi variants, such as 41 support BCM2836/BCM2837-based Raspberry Pis such as the RPi 2 and 44 This option creates a build targetting the ARM1176 ISA. 50 Support for all BCM2836-based Raspberry Pi variants, such as 53 This option also supports BCM2837-based variants such as the RPi 3 54 Model B, when run in 32-bit mode, provided you have configured the 56 a) config.txt should contain dtoverlay=pi3-miniuart-bt. 58 booting, and copy u-boot.bin.img (rather than u-boot.bin) to the SD [all …]
|
| /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 37 # unavoidable when linking the built-in.o targets which finally 48 # --------------------------------------------------------------------------- 55 # cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $< [all …]
|
| /rk3399_rockchip-uboot/board/sunxi/ |
| H A D | README.sunxi64 | 1 Allwinner 64-bit boards README 4 Newer Allwinner SoCs feature ARMv8 cores (ARM Cortex-A53) with support for 5 both the 64-bit AArch64 mode and the ARMv7 compatible 32-bit AArch32 mode. 8 These SoCs are wired to start in AArch32 mode on reset and execute 32-bit 9 code from the Boot ROM (BROM). As this has some implications on U-Boot, this 10 file describes how to make full use of the 64-bit capabilities. 14 - Build the ARM Trusted Firmware binary (see "ARM Trusted Firmware (ATF)" below) 15 - Build U-Boot (see "SPL/U-Boot" below) 16 - Transfer to an uSD card (see "microSD card" below) 17 - Boot and enjoy! [all …]
|
| /rk3399_rockchip-uboot/tools/binman/ |
| H A D | README | 3 # SPDX-License-Identifier: GPL-2.0+ 7 ------------ 10 For example, we may have SPL, U-Boot, a device tree and an environment area 14 So far U-Boot has not provided a way to handle creating such images in a 15 general way. Each SoC does what it needs to build an image, often packing or 16 concatenating images in the U-Boot build system. 19 SPL + U-Boot combinations, to more complex arrangements with many parts. 23 ------------ 32 -------- 34 So far binman is pretty simple. It supports binary blobs, such as 'u-boot', [all …]
|
| 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/arch/mips/ |
| H A D | Kconfig | 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 192 Choose this option to build a kernel for release 1 through 5 of the [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 …]
|
| /rk3399_rockchip-uboot/arch/arm/lib/ |
| H A D | stacktrace_64.c | 1 // SPDX-License-Identifier: GPL-2.0 44 return gd->start_addr_sp - (CONFIG_SYS_STACK_SIZE / 2); in read_sp() 49 ulong fp = frame->fp; in walk_stackframe() 51 if (fp > gd->start_addr_sp || in walk_stackframe() 52 fp < gd->start_addr_sp - CONFIG_SYS_STACK_SIZE) in walk_stackframe() 55 frame->sp = fp + 0x10; in walk_stackframe() 56 frame->fp = *(ulong *)(fp); in walk_stackframe() 57 frame->pc = *(ulong *)(fp + 8); in walk_stackframe() 67 char *build = "tpl"; in dump_core_stack() local 69 char *build = "spl"; in dump_core_stack() local [all …]
|
| /rk3399_rockchip-uboot/doc/SPL/ |
| H A D | README.am335x-network | 3 Some boards (like TI AM335x based ones) have quite big on-chip RAM and 12 CONFIG_SPL_LIBCOMMON_SUPPORT in your board configuration file to build 15 board needs some board-specific initialization (TI AM335x EVM does). 28 3. Build U-Boot as usual 30 You will need u-boot.img and spl/u-boot.bin images to perform 31 network boot. Copy them to u-boot-restore.img and 32 u-boot-spl-restore.bin respectively to distinguish this version 37 - Install DHCP server and setup it to listen on the interface you 39 /etc/default/dhcpd or /etc/default/isc-dhcp-server). Make sure there 41 - Edit your dhcpd.conf and subnet declaration matching the address [all …]
|
| /rk3399_rockchip-uboot/board/theobroma-systems/lion_rk3368/ |
| H A D | README | 1 Here is the step-by-step to boot to U-Boot on RK3368-uQ7 3 Get the Source and build ATF 6 > git clone git://git.theobroma-systems.com/arm-trusted-firmware.git 7 > cd arm-trusted-firmware 8 > make CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3368 bl31 9 > cp build/rk3368/release/bl31.bin ../u-boot/bl31-rk3368.bin 11 Configure U-Boot 14 > cd ../u-boot 15 > make lion-rk3368_defconfig 17 Build the TPL/SPL stage [all …]
|
| /rk3399_rockchip-uboot/board/ti/am335x/ |
| H A D | README | 4 This document covers various features of the 'am335x_evm' build, and some of 5 the related build targets (am335x_evm_uartN, etc). 12 - AM335x GP EVM 13 - AM335x EVM SK 14 - Beaglebone White 15 - Beaglebone Black 27 - GPIO is only required if DDR3 power is controlled in a way similar to 29 - SPI is only required for SPI flash, or exposing the SPI bus. 32 - I2C, to talk with the PMIC and ensure that we do not run afoul of 52 Step-1: Building u-boot for NAND boot [all …]
|
| /rk3399_rockchip-uboot/arch/arc/ |
| H A D | Kconfig | 23 ISA for the Next Generation ARC-HS cores 37 Choose this option to build an U-Boot for ARC750D CPU. 44 Choose this option to build an U-Boot for ARC770D CPU. 51 Next Generation ARC Core based on ISA-v2 ISA without MMU. 58 Next Generation ARC Core based on ISA-v2 ISA without MMU. 65 Next Generation ARC Core based on ISA-v2 ISA with MMU. 86 Fixed the deficiency of v1 - possible thrashing in memcpy sceanrio 87 when 2 D-TLB and 1 I-TLB entries index into same 2way set. 94 Variable Page size (1k-16k), var JTLB size 128 x (2 or 4) 109 Build kernel for Big Endian Mode of ARC CPU
|