| /rk3399_rockchip-uboot/tools/buildman/ |
| 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 28 to make full use of multi-processor machines. 40 where it left off. This should happen cleanly and without side-effects. 44 You may need to press Ctrl-C several times to quit it. Also it will print [all …]
|
| H A D | bsettings.py | 3 # SPDX-License-Identifier: GPL-2.0+ 28 print 'To install tool chains, please use the --fetch-arch option' 78 # e.g. x86 = /opt/gcc-4.6.3-nolibc/x86_64-linux 80 [toolchain-prefix] 82 # e.g. x86 = /opt/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- 84 [toolchain-alias] 92 [make-flags] 95 # snapper-boards=ENABLE_AT91_TEST=1 96 # snapper9260=${snapper-boards} BUILD_TAG=442 97 # snapper9g45=${snapper-boards} BUILD_TAG=443
|
| H A D | test.py | 4 # SPDX-License-Identifier: GPL-2.0+ 33 [toolchain-alias] 34 x86: i386 x86_64 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 [all …]
|
| H A D | toolchain.py | 3 # SPDX-License-Identifier: GPL-2.0+ 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('-') 84 self.arch = self.cross[:pos] if pos != -1 else 'sandbox' [all …]
|
| /rk3399_rockchip-uboot/ |
| 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/doc/uImage.FIT/ |
| H A D | kernel.its | 2 * Simple U-Boot uImage source file containing a single kernel 5 /dts-v1/; 8 description = "Simple image with single Linux kernel"; 9 #address-cells = <1>; 13 description = "Vanilla Linux kernel"; 17 os = "linux"; 33 description = "Boot Linux kernel"; 41 For x86 a setup node is also required: see x86-fit-boot.txt. 43 /dts-v1/; 46 description = "Simple image with single Linux kernel on x86"; [all …]
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | edd.h | 2 * linux/include/linux/edd.h 12 * In a nutshell, arch/{i386,x86_64}/boot/setup.S populates a scratch 13 * table in the boot_params that contains a list of BIOS-enumerated 15 * In arch/{i386,x86_64}/kernel/setup.c, this information is 20 * SPDX-License-Identifier: GPL-2.0 25 #include <linux/types.h> 28 in boot_params - treat this as 1 byte */ 45 in boot_params - treat this as 1 byte */
|
| /rk3399_rockchip-uboot/test/stdint/ |
| H A D | test-includes.sh | 3 # Test script to check uintptr_t and 64-bit types for warnings 13 # ./test/stdint/test-includes.sh 15 out=/tmp/test-includes.tmp 30 rm -rf ${out} 31 mkdir -p ${out} 33 mkdir -p ${out}/generated 34 touch ${out}/generated/generic-asm-offsets.h 35 mkdir -p ${out}/include/asm 36 ln -s $(pwd)/arch/${arch}/include/asm/arch-${soc} \ 39 cmd="${gcc} -c -D__KERNEL__ ${flags} \ [all …]
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | interrupts.c | 11 * (C) Copyright -2003 18 * Josh Huber, Mission Critical Linux, Inc, <huber@mclx.com> 20 * SPDX-License-Identifier: GPL-2.0+ 24 * This file contains the high-level API for the interrupt sub-system 25 * of the x86 port of U-Boot. Most of the functionality has been 26 * shamelessly stolen from the leon2 / leon3 ports of U-Boot. 36 #if !CONFIG_IS_ENABLED(X86_64) 100 int irq = hw_irq - 0x20; in do_irq() 128 #if !CONFIG_IS_ENABLED(X86_64) in do_irqinfo() 134 printf("Interrupt-Information:\n"); in do_irqinfo()
|
| H A D | bootm.c | 3 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 8 * SPDX-License-Identifier: GPL-2.0+ 18 #include <u-boot/zlib.h> 49 * This may be useful for last-stage operations, like cancelling in bootm_announce_and_cleanup() 58 bd_t *bd = gd->bd; in arch_fixup_memory_node() 64 start[bank] = bd->bi_dram[bank].start; in arch_fixup_memory_node() 65 size[bank] = bd->bi_dram[bank].size; in arch_fixup_memory_node() 83 if (images->ft_len) { in boot_prep_linux() 91 if (images->legacy_hdr_valid) { in boot_prep_linux() 92 hdr = images->legacy_hdr_os; in boot_prep_linux() [all …]
|
| /rk3399_rockchip-uboot/scripts/dtc/pylibfdt/ |
| H A D | Makefile | 3 # Fatal error: can't create build/temp.linux-x86_64-2.7/../lib/libfdt/fdt.o: 19 VERSION="u-boot-$(UBOOTVERSION)" \ 20 CPPFLAGS="$(HOSTCFLAGS) -I$(LIBFDT_srcdir)" OBJDIR=$(obj) \ 22 SWIG_OPTS="-I$(LIBFDT_srcdir) -I$(LIBFDT_srcdir)/.." \ 23 $(PYTHON) $< --quiet build_ext --inplace 30 clean-files += libfdt.i _libfdt.so libfdt.py libfdt_wrap.c
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | msr.h | 2 * Taken from the linux kernel file of the same name 7 * SPDX-License-Identifier: GPL-2.0+ 13 #include <asm/msr-index.h> 17 #include <linux/types.h> 18 #include <linux/ioctl.h> 25 #include <linux/errno.h> 58 * both i386 and x86_64 returns 64-bit value in edx:eax, but gcc's "A" 60 * edx:eax, while for x86_64 it doesn't mean rdx:rax or edx:eax. Instead, 108 * Access to machine-specific registers (available on 586 and better only)
|
| H A D | cpu.h | 8 * SPDX-License-Identifier: GPL-2.0+ 164 #if !CONFIG_IS_ENABLED(X86_64) 194 * cpu_enable_paging_pae() - Enable PAE-paging 201 * cpu_disable_paging_pae() - Disable paging and PAE 206 * cpu_has_64bit() - Check if the CPU has 64-bit support 208 * @return 1 if this CPU supports long mode (64-bit), 0 if not 213 * cpu_vendor_name() - Get CPU vendor name 224 * cpu_get_name() - Get the name of the current cpu 234 * cpu_call64() - Jump to a 64-bit Linux kernel (internal function) 236 * The kernel is uncompressed and the 64-bit entry point is expected to be [all …]
|
| /rk3399_rockchip-uboot/common/ |
| H A D | board_f.c | 3 * (C) Copyright 2002-2006 7 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 10 * SPDX-License-Identifier: GPL-2.0+ 35 #include <asm/mach-types.h> 43 #include <linux/errno.h> 87 * global data for all modules, so that post-reloc we can avoid the massive 123 if (gd && gd->serial.baudrate) in init_baud_rate() 124 gd->baudrate = gd->serial.baudrate; in init_baud_rate() 126 gd->baudrate = env_get_ulong("baudrate", 10, CONFIG_BAUDRATE); in init_baud_rate() 145 debug("U-Boot code: %08lX -> %08lX BSS: -> %08lX\n", in display_text_info() [all …]
|
| H A D | image.c | 4 * (C) Copyright 2000-2006 7 * SPDX-License-Identifier: GPL-2.0+ 25 #include <linux/libfdt.h> 31 #include <u-boot/md5.h> 32 #include <u-boot/sha1.h> 33 #include <linux/errno.h> 48 #include <u-boot/md5.h> 57 #include <u-boot/crc.h> 87 { IH_ARCH_X86_64, "x86_64", "AMD x86_64", }, 89 { IH_ARCH_RISCV, "riscv", "RISC-V", }, [all …]
|
| H A D | board_r.c | 3 * (C) Copyright 2002-2006 7 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 10 * SPDX-License-Identifier: GPL-2.0+ 56 #include <linux/compiler.h> 57 #include <linux/err.h> 75 * so provide a way to let U-Boot gracefully ignore write protected in board_flash_wp_on() 88 * after non-volatile devices & environment is setup and cpu code have in initr_secondary_cpu() 91 * from a non-volatile device in initr_secondary_cpu() 102 trace_init(gd->trace_buff, CONFIG_TRACE_BUFFER_SIZE); in initr_trace() 111 gd->flags |= GD_FLG_RELOC | GD_FLG_FULL_MALLOC_INIT; in initr_reloc() [all …]
|
| /rk3399_rockchip-uboot/arch/x86/cpu/ |
| H A D | cpu.c | 2 * (C) Copyright 2008-2011 9 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 13 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 19 * SPDX-License-Identifier: GPL-2.0+ 41 #include <asm/processor-flags.h> 44 #include <linux/compiler.h> 110 /* Define these functions to allow ehch-hcd to function */ 168 name[CPU_MAX_NAME_LEN - 1] = '\0'; in cpu_get_name() 181 cpu_has_64bit() ? "x86_64" : "x86", in default_print_cpuinfo() 182 cpu_vendor_name(gd->arch.x86_vendor), gd->arch.x86_device); in default_print_cpuinfo() [all …]
|
| /rk3399_rockchip-uboot/doc/ |
| H A D | README.efi | 4 # SPDX-License-Identifier: GPL-2.0+ 9 1 U-Boot on EFI 19 1.10 32/64-bit 23 2 EFI on U-Boot 29 U-Boot on EFI 31 This document provides information about U-Boot running on top of EFI, either 32 as an application or just as a means of getting U-Boot onto a new platform. 36 ------------------- 39 - You have EFI running on a board but U-Boot does not natively support it 40 fully yet. You can boot into U-Boot from EFI and use that until U-Boot is [all …]
|
| 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, 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 28 - Bayley Bay CRB [all …]
|
| /rk3399_rockchip-uboot/arch/x86/cpu/i386/ |
| H A D | interrupt.c | 2 * (C) Copyright 2008-2011 8 * Portions of this file are derived from the Linux kernel source 11 * SPDX-License-Identifier: GPL-2.0+ 21 #include <asm/processor-flags.h> 50 "x87 FPU Floating-Point Error", 53 "SIMD Floating-Point Exception", 80 switch (regs->irq_id) { in dump_regs() 88 cs = regs->context.ctx2.xcs; in dump_regs() 89 eip = regs->context.ctx2.eip; in dump_regs() 90 eflags = regs->context.ctx2.eflags; in dump_regs() [all …]
|
| /rk3399_rockchip-uboot/include/ |
| H A D | image.h | 4 * (C) Copyright 2000-2005 7 * SPDX-License-Identifier: GPL-2.0+ 9 * NOTE: This header file defines an interface to U-Boot. Including 11 * use of U-Boot, and does *not* fall under the heading of "derived 44 #include <asm/u-boot.h> 58 #include <linux/libfdt.h> 137 IH_OS_LINUX, /* Linux */ 158 IH_OS_OP_TEE, /* OP-TEE */ 164 * CPU Architecture Codes (supported by Linux) 183 IH_ARCH_NIOS, /* Nios-32 */ [all …]
|