/freebsd-src/sys/contrib/device-tree/Bindings/nvmem/ |
H A D | u-boot,env.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/nvmem/u-boot,env.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: U-Boot environment variables 10 U-Boot uses environment variables to store device parameters and 14 Data is stored using U-Boot specific formats (variant specific header and NUL 15 separated key-value pairs). 30 - Rafał Miłecki <rafal@milecki.pl> 35 - description: A standalone env data block [all …]
|
/freebsd-src/sbin/fsck_msdosfs/ |
H A D | boot.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 __RCSID("$NetBSD: boot.c,v 1.22 2020/01/11 16:29:07 christos Exp $"); 46 readboot(int dosfs, struct bootblock *boot) in readboot() argument 53 perr("could not read boot block"); in readboot() 58 pfatal("Invalid signature in boot block: %02x%02x", in readboot() 63 memset(boot, 0, sizeof *boot); in readboot() 64 boot->ValidFat = -1; in readboot() 69 boot->bpbBytesPerSec = block[11] + (block[12] << 8); in readboot() 70 if (boot->bpbBytesPerSec < DOSBOOTBLOCKSIZE_REAL || in readboot() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/mtd/partitions/ |
H A D | u-boot.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/u-boot.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: U-Boot bootloader partition 10 U-Boot is a bootloader commonly used in embedded devices. It's almost always 17 - Rafał Miłecki <rafal@milecki.pl> 20 - $ref: partition.yaml# 25 - const: brcm,u-boot 27 Broadcom stores environment variables inside a U-Boot partition. They [all …]
|
/freebsd-src/tests/ci/ |
H A D | Makefile.aarch64 | 1 # SPDX-License-Identifier: BSD-2-Clause 11 QEMU_DEVICES=-device virtio-blk,drive=hd0 -device ahci,id=ahci 12 QEMU_EXTRA_PARAM=-bios /usr/local/share/u-boot/u-boot-qemu-arm64/u-boot.bin -cpu cortex-a57 16 portinstall-aarch64: portinstall-pkg .PHONY 17 .if !exists(/usr/local/share/u-boot/u-boot-qemu-arm64/u-boot.bin) 18 env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-arm64 23 ci-buildworld-aarch64: ci-buildworld .PHONY 25 ci-buildkernel-aarch64: ci-buildkernel .PHONY 27 ci-buildimage-aarch64: ci-buildimage .PHONY 29 ci-runtest-aarch64: ci-runtest .PHONY
|
H A D | Makefile.armv7 | 1 # SPDX-License-Identifier: BSD-2-Clause 11 QEMU_DEVICES=-device virtio-blk,drive=hd0 -device ahci,id=ahci 12 QEMU_EXTRA_PARAM=-bios /usr/local/share/u-boot/u-boot-qemu-arm/u-boot.bin 16 portinstall-armv7: portinstall-pkg .PHONY 17 .if !exists(/usr/local/share/u-boot/u-boot-qemu-arm/u-boot.bin) 18 env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-arm 23 ci-buildworld-armv7: ci-buildworld .PHONY 25 ci-buildkernel-armv7: ci-buildkernel .PHONY 27 ci-buildimage-armv7: ci-buildimage .PHONY 29 ci-runtest-armv7: ci-runtest .PHONY
|
H A D | Makefile.riscv64 | 1 # SPDX-License-Identifier: BSD-2-Clause 11 QEMU_DEVICES=-device virtio-blk-device,drive=hd0 12 …MU_EXTRA_PARAM=-bios /usr/local/share/opensbi/lp64/generic/firmware/fw_jump.elf -kernel /usr/local… 16 portinstall-riscv64: portinstall-pkg .PHONY 20 .if !exists(/usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin) 21 env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-riscv64 26 ci-buildworld-riscv64: ci-buildworld .PHONY 28 ci-buildkernel-riscv64: ci-buildkernel .PHONY 30 ci-buildimage-riscv64: ci-buildimage .PHONY 32 ci-runtest-riscv64: ci-runtest .PHONY
|
/freebsd-src/stand/forth/ |
H A D | loader.4th | 2 \ Copyright (c) 2011-2015 Devin Teske <dteske@FreeBSD.org> 29 \ provide u> if needed 30 s" u>" sfind [if] drop [else] 32 : u> 33 2dup u< if 2drop 0 exit then 34 swap u< if -1 exit then 43 dup 0x80 u< if emit exit then 45 begin 2dup u> while 48 begin dup 0x80 u< 0= while emit repeat drop 52 s" arch-i386" environment? [if] [if] [all …]
|
H A D | menu-commands.4th | 1 \ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org> 26 marker task-menu-commands.4th 28 include /boot/menusets.4th 37 also menu-namespace also menu-command-helpers 40 \ Boot 43 : init_boot ( N -- [all...] |
/freebsd-src/release/arm64/ |
H A D | PINEBOOK.conf | 8 EMBEDDEDPORTS="sysutils/u-boot-pinebook" 9 FAT_SIZE="54m -b 1m" 13 MD_ARGS="-x 63 -y 255" 15 FDT_OVERLAYS="sun50i-a64-timer" 19 UBOOT_DIR="/usr/local/share/u-boot/u-boot-pinebook" 20 UBOOT_FILES="u-boot-sunxi-with-spl.bin" 29 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 31 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 33 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 35 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf [all …]
|
H A D | PINE64.conf | 8 EMBEDDEDPORTS="sysutils/u-boot-pine64" 9 FAT_SIZE="54m -b 1m" 13 MD_ARGS="-x 63 -y 255" 15 FDT_OVERLAYS="sun50i-a64-timer" 19 UBOOT_DIR="/usr/local/share/u-boot/u-boot-pine64" 20 UBOOT_FILES="u-boot-sunxi-with-spl.bin"
|
H A D | PINE64-LTS.conf | 8 EMBEDDEDPORTS="sysutils/u-boot-pine64-lts" 9 FAT_SIZE="54m -b 1m" 13 MD_ARGS="-x 63 -y 255" 15 FDT_OVERLAYS="sun50i-a64-timer" 16 export BOARDNAME="PINE64-LTS" 19 UBOOT_DIR="/usr/local/share/u-boot/u-boot-pine64-lts" 20 UBOOT_FILES="u-boot-sunxi-with-spl.bin"
|
/freebsd-src/sbin/bectl/ |
H A D | bectl.8 | 2 .\" SPDX-License-Identifier: BSD-2-Clause 21 .Nd Utility to manage boot environments on ZFS 61 .Oo Bro Fl o Ar key Ns Cm = Ns Ar value | Fl u Ar key Brc Oc Ns ... 93 command is used to setup and interact with ZFS boot environments, which are 96 A boot environment allows the system to be upgraded, while preserving the 97 pre-upgrade system environment. 104 that should be used as the boot environment root, or the dataset whose children 105 are all boot environments. 116 .Bl -tag -width activate 128 as the default boot filesystem. [all …]
|
/freebsd-src/stand/uboot/ |
H A D | help.uboot | 3 # Tubenv DShow or import U-Boot environment variables 7 Display U-Boot environment variables, or import them into the 11 # Tubenv Simport DImport U-Boot env vars 15 If no variable names are specified, all U-Boot environment 20 # Tubenv Sshow DShow U-Boot env vars 24 If no variable names are specified, all U-Boot environment
|
H A D | main.c | 1 /*- 4 * Copyright (c) 2007-2008 Semihalf, Rafal Jaworowski <raj@semihalf.com> 84 printf(" version\t= %d\n", sig->version); in dump_sig() 85 printf(" checksum\t= 0x%08x\n", sig->checksum); in dump_sig() 86 printf(" sc entry\t= 0x%08x\n", sig->syscall); in dump_sig() 112 for (i = 0; i < si->mr_no; i++) in memsize() 113 if (si->mr[i].flags == flags && si->mr[i].size) in memsize() 114 size += (si->mr[i].size); in memsize() 148 namelen = strlen(dt->name); in get_device_type() 149 if (strncmp(dt->name, devstr, namelen) == 0) { in get_device_type() [all …]
|
/freebsd-src/sys/contrib/device-tree/src/powerpc/ |
H A D | eiger.dts | 11 /dts-v1/; 14 #address-cells = <2>; 15 #size-cells = <1>; 18 dcr-parent = <&{/cpus/cpu@0}>; 30 #address-cells = <1>; 31 #size-cells = <0>; 37 clock-frequency = <0>; /* Filled in by U-Boot */ 38 timebase-frequency = <0>; /* Filled in by U-Boot */ 39 i-cache-line-size = <32>; 40 d-cache-line-size = <32>; [all …]
|
H A D | obs600.dts | 8 * Copyright 2007-2009 DENX Software Engineering, Stefan Roese <sr@denx.de> 15 /dts-v1/; 18 #address-cells = <1>; 19 #size-cells = <1>; 22 dcr-parent = <&{/cpus/cpu@0}>; 32 #address-cells = <1>; 33 #size-cells = <0>; 39 clock-frequency = <0>; /* Filled in by U-Boot */ 40 timebase-frequency = <0>; /* Filled in by U-Boot */ 41 i-cache-line-size = <32>; [all …]
|
H A D | bluestone.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 /dts-v1/; 12 #address-cells = <2>; 13 #size-cells = <1>; 16 dcr-parent = <&{/cpus/cpu@0}>; 25 #address-cells = <1>; 26 #size-cells = <0>; 32 clock-frequency = <0>; /* Filled in by U-Boot */ 33 timebase-frequency = <0>; /* Filled in by U-Boot */ 34 i-cache-line-size = <32>; [all …]
|
H A D | glacier.dts | 4 * Copyright 2008-2010 DENX Software Engineering, Stefan Roese <sr@denx.de> 11 /dts-v1/; 14 #address-cells = <2>; 15 #size-cells = <1>; 18 dcr-parent = <&{/cpus/cpu@0}>; 30 #address-cells = <1>; 31 #size-cells = <0>; 37 clock-frequency = <0>; /* Filled in by U-Boot */ 38 timebase-frequency = <0>; /* Filled in by U-Boot */ 39 i-cache-line-size = <32>; [all …]
|
H A D | arches.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 /dts-v1/; 20 #address-cells = <2>; 21 #size-cells = <1>; 24 dcr-parent = <&{/cpus/cpu@0}>; 34 #address-cells = <1>; 35 #size-cells = <0>; 41 clock-frequency = <0>; /* Filled in by U-Boot */ 42 timebase-frequency = <0>; /* Filled in by U-Boot */ 43 i-cache-line-size = <32>; [all …]
|
H A D | haleakala.dts | 11 /dts-v1/; 14 #address-cells = <1>; 15 #size-cells = <1>; 18 dcr-parent = <&{/cpus/cpu@0}>; 27 #address-cells = <1>; 28 #size-cells = <0>; 34 clock-frequency = <0>; /* Filled in by U-Boot */ 35 timebase-frequency = <0>; /* Filled in by U-Boot */ 36 i-cache-line-size = <32>; 37 d-cache-line-size = <32>; [all …]
|
/freebsd-src/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | p1020rdb-pc.dtsi | 2 * P1020 RDB-PC Device Tree Source stub (no addresses or top-level ranges) 37 #address-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 41 bank-width = <2>; 42 device-width = <1>; 48 label = "NOR Vitesse-7385 Firmware"; 49 read-only; 72 /* 512KB for u-boot Bootloader Image */ 73 /* 512KB for u-boot Environment Variables */ [all …]
|
/freebsd-src/stand/uboot/arch/arm/ |
H A D | start.S | 1 /*- 35 * Entry point to the loader that U-Boot passes control to. 49 * Do self-relocation when the weak external symbol _DYNAMIC is non-NULL. 53 * Note that we're still on u-boot's stack here, but the self_reloc 58 sub r0, ip, r0 /* Get its pc-relative address and */ 62 blne _C_LABEL(self_reloc) /* Do reloc if _DYNAMIC is non-NULL. */ 71 /* Save U-Boot's r8 and r9 for syscall trampoline */ 84 /* Restore U-Boot environment */ 91 * Data for self-relocation, in the text segment for pc-rel access. 107 /* Restore U-Boot's r8 and r9 */ [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm/aspeed/ |
H A D | facebook-bmc-flash-layout-128.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 compatible = "fixed-partitions"; 6 #address-cells = <1>; 7 #size-cells = <1>; 10 * u-boot partition: 896KB. 12 u-boot@0 { 14 label = "u-boot"; 18 * u-boot environment variables: 64KB. 20 u-boot-env@e0000 { 29 image-meta@f0000 {
|
/freebsd-src/tools/boot/ |
H A D | lua-test.sh | 12 cd $(make -V SRCTOP)/stand 13 obj=$(make -V .OBJDIR) 16 [ -n "$dir" ] || dir=/tmp/loadertest 17 [ -d "$dir" ] || ${scriptdir}/lua-img.sh ${dir} 20 u=$dir/boot/userboot.so 21 [ -f "$u" ] || u=$obj/userboot/userboot_lua/userboot_lua.so 22 [ -f "$dir/boot/lua/loader.lua" ] || die "No boot/lua/loader.lua found" 23 [ -f "$dir/boot/kernel/kernel" ] || die "No kernel to load" 24 [ -x "$t" ] || die "no userboot test jig found ($t)" 25 [ -f "$u" ] || die "no userboot.so ($u) found" [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/marvell/ |
H A D | armada-3720-turris-mox.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/bus/moxtet.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include "armada-372x.dtsi" 16 compatible = "cznic,turris-mox", "marvell,armada3720", 28 stdout-pat [all...] |