/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | go.py | 4 # SPDX-License-Identifier: MIT 7 import re 10 if re.match('i.86', a): 14 elif re.match('arm.*', a): 15 return 'arm' 16 elif re.match('aarch64.*', a): 18 elif re.match('mips64el.*', a): 20 elif re.match('mips64.*', a): 26 elif re.match('p(pc|owerpc)(64le)', a): 28 elif re.match('p(pc|owerpc)(64)', a):
|
/openbmc/openbmc/poky/meta/recipes-devtools/llvm/ |
H A D | llvm_19.1.6.bb | 6 LICENSE = "Apache-2.0-with-LLVM-exception" 11 DEPENDS = "libffi libxml2 zlib zstd libedit ninja-native llvm-native" 13 RDEPENDS:${PN}:append:class-target = " ncurses-terminfo" 25 SRC_URI = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.… 26 file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ 27 file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ 28 file://llvm-config \ 31 UPSTREAM_CHECK_URI = "https://github.com/llvm/llvm-project" 32 UPSTREAM_CHECK_REGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)" 34 S = "${WORKDIR}/llvm-project-${PV}.src/llvm" [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/musl/ |
H A D | libucontext_1.2.bb | 4 SUMMARY = "ucontext implementation featuring glibc-compatible ABI" 17 COMPATIBLE_HOST = ".*-musl.*" 23 arm aarch64 \ 28 import re 33 elif re.match('(i.86|athlon)$', a): return 'x86' 34 elif re.match('x86.64$', a): return 'x86_64' 35 elif re.match('armeb$', a): return 'arm' 36 elif re.match('aarch64$', a): return 'aarch64' 37 elif re.match('aarch64_be$', a): return 'aarch64' 38 elif re.match('aarch64_ilp32$', a): return 'aarch64' [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | goarch.bbclass | 4 # SPDX-License-Identifier: MIT 15 HOST_GOARM:class-native = "7" 16 HOST_GO386:class-native = "sse2" 17 HOST_GOMIPS:class-native = "hardfloat" 24 TARGET_GOARM:class-native = "7" 25 TARGET_GO386:class-native = "sse2" 26 TARGET_GOMIPS:class-native = "hardfloat" 30 # Use the MACHINEOVERRIDES to map ARM CPU architecture passed to GO via GOARM. 41 GO_DYNLINK:arm ?= "1" 44 GO_DYNLINK:x86-64 ?= "1" [all …]
|
H A D | kernel-arch.bbclass | 4 # SPDX-License-Identifier: MIT 17 arm aarch64 \ 27 import re 31 if re.match('(i.86|athlon|x86.64)$', a): return 'x86' 32 elif re.match('arceb$', a): return 'arc' 33 elif re.match('armeb$', a): return 'arm' 34 elif re.match('aarch64$', a): return 'arm64' 35 elif re.match('aarch64_be$', a): return 'arm64' 36 elif re.match('aarch64_ilp32$', a): return 'arm64' 37 elif re.match('aarch64_be_ilp32$', a): return 'arm64' [all …]
|
H A D | linuxloader.bbclass | 4 # SPDX-License-Identifier: MIT 8 import re 15 …ABIEXTENSION}${MIPSPKGSFX_BYTE}${MIPSPKGSFX_R6}${MIPSPKGSFX_ENDIAN}${@['', '-sf'][d.getVar('TARGET… 17 ldso_arch = "powerpc${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}" 22 elif re.search("i.86", targetarch): 24 elif targetarch.startswith("arm"): 25 ldso_arch = "arm${ARMPKGSFX_ENDIAN}${ARMPKGSFX_EABI}" 29 ldso_arch = "riscv64${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}" 31 ldso_arch = "riscv32${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}" 35 import re [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uftrace/ |
H A D | uftrace_0.17.bb | 5 LICENSE = "GPL-2.0-only" 9 DEPENDS:append:libc-musl = " argp-standalone" 15 file://0001-include-libgen.h-for-basename.patch" 18 LDFLAGS:append:libc-musl = " -largp" 21 import re 23 if re.match(r'i.86', arch, re.I): 25 elif re.match('armeb', arch, re.I): 26 return 'arm' 40 COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|riscv64)"
|
/openbmc/openbmc/meta-arm/scripts/ |
H A D | machine-summary.py | 7 import re 23 # strip +git and see if this is a post-release snapshot 33 def layer_path(layername: str, d) -> pathlib.Path: 47 if re.match(pattern, path + "/"): 52 def get_url_for_patch(layer: str, localpath: pathlib.Path, d) -> str: 58 return f"https://git.openembedded.org/openembedded-core/tree/meta/{relative}" 59 elif layer in ("meta-arm", "meta-arm-bsp", "arm-toolchain"): 60 return f"https://git.yoctoproject.org/meta-arm/tree/{layer}/{relative}" 79 … m = re.search(r"^[\t ]*Upstream[-_ ]Status:?[\t ]*(\w*)", f.read(), re.IGNORECASE | re.MULTILINE) 95 # Queue of recipes that we're still looking for upstream releases for [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/ |
H A D | nodejs_22.13.1.bb | 3 LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0 & Apache-2.0" 8 DEPENDS = "openssl openssl-native file-replacement-native python3-packaging-native" 9 DEPENDS:append:class-target = " qemu-native" 10 DEPENDS:append:class-native = " c-ares-native" 22 SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ 23 file://0001-Do-not-use-glob-in-deps.patch \ 24 file://0001-Disable-running-gyp-files-for-bundled-deps.patch \ 25 file://0004-v8-don-t-override-ARM-CFLAGS.patch \ 26 file://system-c-ares.patch \ 27 file://0001-liftoff-Correct-function-signatures.patch \ [all …]
|
/openbmc/linux/scripts/ |
H A D | checkstack.pl | 2 # SPDX-License-Identifier: GPL-2.0 9 # s390 port and big speedup by Arnd Bergmann <arnd@bergmann-dalldorf.de> 12 # Arm port by Holger Schurig 21 # objdump -d vmlinux | scripts/checkstack.pl [arch] 29 # $re is used for two matches: 30 # $& (whole re) matches the complete objdump line with the stack growth 34 # $& (whole re) matches the complete objdump line with the stack growth 40 my (@stack, $re, $dre, $sub, $x, $xs, $funcre, $min_stack); 44 $arch = `uname -m`; 53 $x = "[0-9a-f]"; # hex character [all …]
|
/openbmc/openbmc/poky/meta/recipes-bsp/gnu-efi/ |
H A D | gnu-efi_4.0.0.bb | 2 HOMEPAGE = "http://sourceforge.net/projects/gnu-efi/" 3 DESCRIPTION = "GNU-EFI aims to Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 (IPF), IA… 5 LICENSE = "GPL-2.0-or-later & BSD-2-Clause" 6 LIC_FILES_CHKSUM = "file://gnuefi/crt0-efi-arm.S;beginline=4;endline=16;md5=8b0a86085b86eda7a3c7e8a… 7 … file://gnuefi/crt0-efi-aarch64.S;beginline=4;endline=16;md5=8b0a86085b86eda7a3c7e8a1eb7ec753 \ 9 … file://lib/arm/math.c;beginline=2;endline=15;md5=ccb5c6b51053d1ee7277539ec38513d7 \ 10 … file://lib/arm/initplat.c;beginline=2;endline=15;md5=ccb5c6b51053d1ee7277539ec38513d7 \ 15 COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*|riscv64.*)-linux" 18 SRC_URI = "git://github.com/ncroxon/gnu-efi;protocol=https;branch=master \ 19 file://0002-Do-not-treat-warnings-as-errors.patch \ [all …]
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A D | Kconfig | 11 The Rockchip RK3036 is a ARM-based SoC with a dual-core Cortex-A7 12 including NEON and GPU, Mali-400 graphics, several DDR3 options 20 The Rockchip RK3128 is a ARM-based SoC with a quad-core Cortex-A7 21 including NEON and GPU, Mali-400 graphics, several DDR3 options 41 The Rockchip RK3188 is a ARM-based SoC with a quad-core Cortex-A9 42 including NEON and GPU, 512KB L2 cache, Mali-400 graphics, two 55 The Rockchip RK3229 is a ARM-based SoC with a dual-core Cortex-A7 56 including NEON and GPU, Mali-400 graphics, several DDR3 options 69 The Rockchip RK3288 is a ARM-based SoC with a quad-core Cortex-A17 70 including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two [all …]
|
/openbmc/openbmc/poky/meta/recipes-bsp/grub/ |
H A D | grub-efi_2.12.bb | 3 require conf/image-uefi.conf 7 DEPENDS:append = " grub-native" 8 RDEPENDS:${PN} = "grub-common virtual-grub-bootconf" 14 S = "${WORKDIR}/grub-${PV}" 18 import re 20 prefix = "" if d.getVar('EFI_PROVIDER') == "grub-efi" else "grub-efi-" 23 elif re.match('i.86', target): 25 elif re.match('aarch64', target): 27 elif re.match('arm', target): 28 grubtarget = 'arm' [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | outercache.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/include/asm/outercache.h 5 * Copyright (C) 2010 ARM Ltd. 6 * Written by Catalin Marinas <catalin.marinas@arm.com> 27 /* This is an ARM L2C thing */ 36 * outer_inv_range - invalidate range of outer cache lines 47 * outer_clean_range - clean dirty outer cache lines 58 * outer_flush_range - clean and invalidate outer cache lines 69 * outer_flush_all - clean and invalidate all cache lines in the outer cache 71 * Note: depending on implementation, this may not be atomic - it must [all …]
|
/openbmc/linux/arch/arm/mach-spear/ |
H A D | hotplug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-spear13xx/hotplug.c 8 * based upon linux/arch/arm/mach-realview/hotplug.c 61 * OK, proper wakeup, we're done in spear13xx_do_lowpower() 68 * having been woken up - this shouldn't happen in spear13xx_do_lowpower() 70 * Just note it happening - when we're woken, we can report in spear13xx_do_lowpower() 78 * platform-specific code to shutdown a CPU 87 * we're ready for shutdown now, so do it in spear13xx_cpu_die()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | omap-hotplug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OMAP4 SMP cpu-hotplug support 9 * Platform file needed for the OMAP4 SMP. This file is based on arm 11 * Copyright (c) 2002 ARM Limited. 19 #include "omap-wakeupgen.h" 24 * platform-specific code to shutdown a CPU 33 * we're ready for shutdown now, so do it in omap4_cpu_die() 57 * OK, proper wakeup, we're done in omap4_cpu_die()
|
/openbmc/linux/arch/arm/mach-versatile/ |
H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2002 ARM Ltd. 6 * This code is specific to the hardware found on ARM Realview and 8 * woken, and where there is no way to hot-unplug CPUs. Real platforms 29 volatile int versatile_cpu_release = -1; 33 * all observers, irrespective of whether they're taking part in coherency 46 * the limited-bandwidth bus - which affects the calibration value. 54 * let the primary processor know we're out of the in versatile_secondary_init() 57 versatile_write_cpu_release(-1); in versatile_secondary_init() 78 * CPUs in the holding pen until we're ready for them. However, in versatile_boot_secondary() [all …]
|
/openbmc/openbmc/meta-arm/ci/ |
H A D | listmachines.py | 8 List all of the machines available under the listed sub-layers of meta-arm. 10 def list_machines(layers: typing.Sequence[str]) -> typing.Set[str]: 13 # We know we're in meta-arm/scripts, so find the top-level directory 15 if metaarm.name != "meta-arm": 16 raise Exception("Not running inside meta-arm")
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | fitimage.py | 4 # SPDX-License-Identifier: MIT 10 import re 15 """build u-boot-tools-native and return RECIPE_SYSROOT_NATIVE""" 16 bitbake("u-boot-tools-native -c addto_recipe_sysroot") 17 return get_bb_var('RECIPE_SYSROOT_NATIVE', 'u-boot-tools-native') 22 The fit_check_sign utility from u-boot-tools-native is called. 23 uboot-fit_check_sign -f fitImage -k $dtb_name -c conf-$dtb_name 25 …fit_check_sign_path = os.path.join(uboot_tools_sysroot_native, 'usr', 'bin', 'uboot-fit_check_sign… 26 cmd = '%s -f %s -k %s' % (fit_check_sign_path, fitimage_path, dtb_path) 28 cmd += ' -c %s' % conf_name [all …]
|
/openbmc/qemu/bsd-user/arm/ |
H A D | signal.c | 2 * arm signal functions 24 * Compare to arm/arm/machdep.c sendsig() 43 env->regs[0] = sig; in set_sigtramp_args() 44 env->regs[1] = frame_addr + in set_sigtramp_args() 46 env->regs[2] = frame_addr + in set_sigtramp_args() 50 env->regs[5] = frame_addr + in set_sigtramp_args() 52 env->regs[TARGET_REG_PC] = ka->_sa_handler & ~1; in set_sigtramp_args() 53 env->regs[TARGET_REG_SP] = frame_addr; in set_sigtramp_args() 54 env->regs[TARGET_REG_LR] = TARGET_PS_STRINGS - TARGET_SZSIGCODE; in set_sigtramp_args() 56 * Low bit indicates whether or not we're entering thumb mode. in set_sigtramp_args() [all …]
|
/openbmc/linux/tools/include/nolibc/ |
H A D | arch-arm.h | 1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */ 3 * ARM specific definitions for NOLIBC 4 * Copyright (C) 2017-2022 Willy Tarreau <w@1wt.eu> 13 /* Syscalls for ARM in ARM or Thumb modes : 14 * - registers are 32-bit 15 * - stack is 8-byte aligned 16 * ( http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka4127.html) 17 * - syscall number is passed in r7 18 * - arguments are in r0, r1, r2, r3, r4, r5 19 * - the system call is performed by calling svc #0 [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.ARM-memory-map | 1 Subject: Re: [PATCH][CFT] bring ARM memory layout in line with the documented behaviour 8 >_armboot_end - which role do these play now? Can we get rid of them? 14 different parts of the (ARM) code. 15 Furthermore, the startup code (cpu/<arm>/start.S) internally uses
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | arm-cs-trace-disasm.py | 1 # SPDX-License-Identifier: GPL-2.0 2 # arm-cs-trace-disasm.py: ARM CoreSight Trace Dump With Disassember 7 # Al Grant <Al.Grant@arm.com> 12 import re 22 # perf script -s scripts/python/arm-cs-trace-disasm.py \ 23 # -- -d objdump -k path/to/vmlinux 24 # Output disassembly with llvm-objdump: 25 # perf script -s scripts/python/arm-cs-trace-disasm.py \ 26 # -- -d llvm-objdump-11 -k path/to/vmlinux 28 # perf script -s scripts/python/arm-cs-trace-disasm.py [all …]
|
/openbmc/linux/arch/arm64/kvm/hyp/vhe/ |
H A D | switch.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 - ARM Ltd 4 * Author: Marc Zyngier <marc.zyngier@arm.com> 9 #include <linux/arm-smccc.h> 26 #include <asm/debug-monitors.h> 48 * We're entrering the guest. Reload the correct in __activate_traps() 107 * We're exiting the guest. Save the latest CVAL value in __deactivate_traps() 125 * ARM errata 1165522 and 1530923 require the actual execution of the in __deactivate_traps() 210 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __kvm_vcpu_run_vhe() 211 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run_vhe() [all …]
|
/openbmc/u-boot/scripts/ |
H A D | checkstack.pl | 8 # s390 port and big speedup by Arnd Bergmann <arnd@bergmann-dalldorf.de> 11 # Arm port by Holger Schurig 19 # objdump -d vmlinux | scripts/checkstack.pl [arch] 27 # $re is used for two matches: 28 # $& (whole re) matches the complete objdump line with the stack growth 32 # $& (whole re) matches the complete objdump line with the stack growth 36 my (@stack, $re, $dre, $x, $xs, $funcre); 40 $arch = `uname -m`; 44 $x = "[0-9a-f]"; # hex character 45 $xs = "[0-9a-f ]"; # hex character or space [all …]
|