/freebsd/share/man/man4/ |
H A D | openfirm.4 | 1 .\"- 6 .\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 34 .\"- 64 .Nd "Open Firmware interface" 73 .Tn Open Firmware 80 .Tn Open Firmware 95 .Bd -literal 128 works in a value-result fashion. 141 .Bl -tag -width ".Dv OFIOCGETOPTNODE" 153 .Tn Open Firmware [all …]
|
H A D | fdt.4 | 48 Configuration data, which cannot be self discovered in run-time, has to be 52 The idea is inherited from Open Firmware IEEE 1275 device-tree notion, and has 55 .Bl -bullet 60 self-enumerating information is gathered. 73 particular first-stage bootloader or firmware features. 83 embedded applications (eliminates hard-coded configuration approach, enforces 87 .Bl -tag -width Ar 90 computer system in a human-readable form, with certain hierarchical structure 112 Such reference conventions were provided by the legacy Open Firmware bindings, 124 or command line defined with -D. [all …]
|
H A D | mlx.4 | 2 .\" SPDX-License-Identifier: BSD-2-Clause 33 .Nd Mylex DAC-family Parallel SCSI RAID driver 38 .Bd -ragged -offset indent 46 .Bd -literal -offset indent 52 driver provides support for Mylex DAC-family PCI to SCSI RAID controllers, 59 .Bl -bullet -compact 61 Mylex DAC960P (Wide Fast SCSI-2) 63 Mylex DAC960PD / DEC KZPSC (Wide Fast SCSI-2) 65 Mylex DAC960PDU (Ultra SCSI-3) 67 Mylex DAC960PL (Wide Fast SCSI-2) [all …]
|
H A D | ciss.4 | 9 .Nd Common Interface for SCSI-3 Support driver 14 .Bd -ragged -offset indent 22 .Bd -literal -offset indent 36 .%T "CISS Command Interface for SCSI-3 Support Open Specification, Version 1.04, Valence Number 1" , 43 offloading most of the queueing and being-a-disk chores onto CAM. 70 Non-disk devices (such as internal DATs and devices 72 provided that they are exported by the controller firmware and are not 76 tunable to non-zero at boot time. 81 Hot-insertion and removal of devices is supported and notification messages 86 might be solved by updating the firmware and/or setting the [all …]
|
/freebsd/usr.sbin/mpsutil/ |
H A D | mps_flash.c | 1 /*- 55 warnx("missing argument: expecting 'firmware' or bios'"); in flash_save() 61 } else if (strcmp(argv[1], "firmware") != 0) { in flash_save() 62 warnx("Invalid argument '%s', expecting 'firmware' or 'bios'", in flash_save() 91 fd = open(firmware_file, O_CREAT | O_TRUNC | O_RDWR, 0644); in flash_save() 94 warn("open"); in flash_save() 99 if ((ret = write(fd, firmware_buffer + written, size - written)) <0) { in flash_save() 115 MPS_COMMAND(flash, save, flash_save, "[firmware|bios] [file]", 116 "Save firmware/bios into a file"); 129 warnx("missing argument: expecting 'firmware' or bios'"); in flash_update() [all …]
|
/freebsd/usr.sbin/bluetooth/bcmfw/ |
H A D | bcmfw.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 32 * Based on Linux BlueZ BlueFW-0.9 package 75 while ((x = getopt(argc, argv, "f:hn:m:")) != -1) { in main() 77 case 'f': /* firmware file */ in main() 85 case 'm': /* Mini-driver */ in main() 122 int fd = -1, error = -1; in bcmfw_check_device() 126 if ((fd = open(path, O_WRONLY)) < 0) { in bcmfw_check_device() 127 syslog(LOG_ERR, "Could not open(%s). %s (%d)", in bcmfw_check_device() 144 error = -1; in bcmfw_check_device() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | pci.txt | 3 PCI Bus Binding to: IEEE Std 1275-1994 4 https://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf 8 Open Firmware Recommended Practice: Interrupt Mapping 9 https://www.devicetree.org/open-firmware/practice/imap/imap0_9d.pdf 14 - linux,pci-domain: 21 - max-link-speed: 27 - reset-gpios: 30 - supports-clkreq: 34 not to advertise ASPM L1 Sub-States support if there is no CLKREQ signal. 36 PCI-PCI Bridge properties [all …]
|
/freebsd/usr.sbin/uathload/ |
H A D | uathload.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 33 * Atheros AR5523 USB Station Firmware downloader. 35 * uathload -d ugen-device [firmware-file] 92 return (-1); in getdevname() 97 return (-1); in getdevname() 103 return (-1); in getdevname() 118 errx(-1, "usage: uathload [-v] -d devname [firmware]"); in usage() 134 while ((c = getopt(argc, argv, "d:v")) != -1) { in main() 147 argc -= optind; in main() [all …]
|
/freebsd/share/man/man4/man4.powerpc/ |
H A D | ofw_console.4 | 1 .\"- 33 .Nd "Open Firmware console" 45 using the Open Firmware services for input and output. 46 It will use the Open Firmware console devices set via the 47 .Va input-device 49 .Va output-device 71 .Bl -tag -width ".Pa /dev/keyboard" -compact 77 .It Pa /dev/tty[a-z] 78 terminal device in case both the console input and output device is tty[a-z] 95 Since the Open Firmware will handle BREAK [all …]
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_if.m | 1 #- 32 * @defgroup OFW ofw - KObj methods for Open Firmware RTAS implementations 33 * @brief A set of methods to implement the Open Firmware client side interface. 252 * @brief Open node, returning instance handle. 256 METHOD ihandle_t open { 311 # Open Firmware memory management 339 # Commands for returning control to the firmware 342 * @brief Temporarily return control to firmware. 349 * @brief Halt and return control to firmware.
|
H A D | openfirm.h | 3 /*- 4 * SPDX-License-Identifier: (BSD-4-Clause AND BSD-2-Clause) 67 * Prototypes for Open Firmware Interface Routines 82 * Open Firmware interface initialization. OF_install installs the named 83 * interface as the Open Firmware access mechanism, OF_init initializes it. 90 * Known Open Firmware interface names 94 #define OFW_STD_REAL "ofw_real" /* Real-mode OF interface */ 95 #define OFW_STD_32BIT "ofw_32bit" /* 32-bit OF interface */ 135 * used for device-tree cross-references. Given one of these, returns the
|
H A D | ofwbus.c | 1 /*- 51 * The ofwbus (which is a pseudo-bus actually) iterates over the nodes that 52 * hang from the Open Firmware root node and adds them as devices to this bus 91 panic("ofwbus added with non-zero unit number: %d\n", in ofwbus_probe() 94 device_set_desc(dev, "Open Firmware Device Tree"); in ofwbus_probe() 106 * If no Open Firmware, bail early in ofwbus_attach() 108 if (node == -1) in ofwbus_attach() 123 * Now walk the OFW tree and attach top-level devices. in ofwbus_attach() 126 simplebus_add_device(dev, node, 0, NULL, -1, NULL); in ofwbus_attach() 152 start = rle->start; in ofwbus_alloc_resource() [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | debug.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 12 #include <linux/firmware.h> 24 #include "wmi-ops.h" 41 dev_info(ar->dev, "%pV", &vaf); in ath10k_info() 46 dev_printk(KERN_DEBUG, ar->dev, "%s", str); in ath10k_info() 57 const struct firmware *firmware; in ath10k_debug_print_hwfw_info() local 68 ar->hw_params.name, in ath10k_debug_print_hwfw_info() 69 ar->target_version, in ath10k_debug_print_hwfw_info() [all …]
|
/freebsd/sys/powerpc/ofw/ |
H A D | ofwcall32.S | 1 /*- 2 * Copyright (C) 2009-2011 Nathan Whitehorn 33 #define OFWSTKSZ 4096 /* 4K Open Firmware stack */ 40 .long 0, 0, 0, 0, 0 /* msr/sprg0-3 used in Open Firmware */ 44 .long 0 /* Open Firmware entry point */ 55 * Open Firmware Entry Point. May need to enter real mode. 71 addis %r7,%r7,(_GLOBAL_OFFSET_TABLE_-1b)@ha 72 addi %r7,%r7,(_GLOBAL_OFFSET_TABLE_-1b)@l 96 addi %r1,%r1,(OFWSTKSZ-32) 137 addis %r7,%r7,(_GLOBAL_OFFSET_TABLE_-1b)@ha [all …]
|
/freebsd/sys/powerpc/pseries/ |
H A D | platform_chrp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 85 #include "phyp-hvcall.h" 125 if (OF_finddevice("/memory") != -1 || OF_finddevice("/memory@0") != -1) in chrp_probe() 141 /* XXX: check for /rtas/ibm,hypertas-functions? */ in chrp_attach() 198 /* Some systems (e.g. QEMU) need Open Firmware to stand down */ in chrp_attach() 220 phandle = OF_finddevice("/ibm,dynamic-reconfiguration-memory"); in parse_drconf_memory() 221 if (phandle == -1) in parse_drconf_memory() 225 res = OF_getencprop(phandle, "ibm,lmb-size", lmb_size, in parse_drconf_memory() 227 if (res == -1) in parse_drconf_memory() [all …]
|
/freebsd/sys/powerpc/conf/ |
H A D | GENERIC | 2 # GENERIC -- Generic kernel configuration file for FreeBSD/powerpc 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 32 options PSERIES # PAPR-compliant systems 42 options TCP_RFC7413 # TCP Fast Open 48 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 58 options PSEUDOFS # Pseudo-filesystem framework 74 options SYSVSHM # SYSV-style shared memory 75 options SYSVMSG # SYSV-styl [all...] |
H A D | GENERIC64 | 2 # GENERIC64 -- Generic kernel configuration file for FreeBSD/powerpc64 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 33 options PSERIES # PAPR-compliant systems (e.g. IBM p) 34 options POWERNV # Non-virtualized OpenPOWER systems 38 options NUMA # Non-Uniform Memory Architecture support 48 options TCP_RFC7413 # TCP Fast Open 55 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 66 options PSEUDOFS # Pseudo-filesystem framework 83 options SYSVSHM # SYSV-style shared memory [all …]
|
/freebsd/sbin/nvmecontrol/ |
H A D | firmware.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Copyright (C) 2012-2013 Intel Corporation 53 static cmd_fn_t firmware; variable 71 "Attempt to activate firmware"), 73 "Slot to activate and/or download firmware to"), 74 OPT("firmware", ' 227 firmware(const struct cmd *f, int argc, char *argv[]) firmware() function [all...] |
/freebsd/usr.sbin/mfiutil/ |
H A D | mfi_flash.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 59 printf("%s Pending Firmware Images:\n", mfi_device); in display_pending_firmware() 98 warnx("flash: Firmware file required"); in flash_adapter() 102 flash = open(av[1], O_RDONLY); in flash_adapter() 105 warn("flash: Failed to open %s", av[1]); in flash_adapter() 110 fd = -1; in flash_adapter() 130 /* First, ask the firmware to allocate space for the flash file. */ in flash_adapter() 169 warn("Failed to download firmware"); in flash_adapter() 173 warnx("Failed to download firmware: %s", in flash_adapter() [all …]
|
/freebsd/stand/powerpc/ofw/ |
H A D | Makefile | 14 NEWVERSWHAT= "Open Firmware loader" ${MACHINE_ARCH} 15 INSTALLFLAGS= -b 17 # Architecture-specific loader code 28 CFLAGS+= -DCAS 45 CFLAGS+= -DRELOC=${RELOC} -g 47 LDFLAGS= -nostdlib -static 49 LDFLAGS+= -L ${.CURDIR} -T ${.CURDIR}/${MACHINE_ARCH}.ldscript 51 # Open Firmware standalone support library 53 CFLAGS+= -I${BOOTSRC}/libofw
|
/freebsd/sys/contrib/dev/run/ |
HD | rt2870.fw.uu | 17 # Limited patent license. Ralink Technology Corporation grants a world-wide, 18 # royalty-free, non-exclusive license under patents it now or hereafter 22 # combination with an operating system licensed under an approved Open 23 # Source license as listed by the Open Source Initiative at 41 # This file contains two 4KB firmware, first half is RT2870 and last half 42 # is RT3071. On each 4KB firmware, the last 2 bytes are CRC, 3rd last byte
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | debugfs.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved. 68 dbr_debug = ar->debug.dbr_debug[id]; in ath11k_debugfs_add_dbring_entry() 72 if (!dbr_debug->dbr_debug_enabled) in ath11k_debugfs_add_dbring_entry() 75 dbr_data = &dbr_debug->dbr_dbg_data; in ath11k_debugfs_add_dbring_entry() 77 spin_lock_bh(&dbr_data->lock); in ath11k_debugfs_add_dbring_entry() 79 if (dbr_data->entries) { in ath11k_debugfs_add_dbring_entry() 80 entry = &dbr_data->entries[dbr_data->dbr_debug_idx]; in ath11k_debugfs_add_dbring_entry() 81 entry->hp = srng->u.src_ring.hp; in ath11k_debugfs_add_dbring_entry() 82 entry->tp = *srng->u.src_ring.tp_addr; in ath11k_debugfs_add_dbring_entry() [all …]
|
/freebsd/usr.sbin/ofwdump/ |
H A D | ofwdump.8 | 29 .Nd examine the Open Firmware device tree 39 .Op Fl - 44 utility is used to examine the Open Firmware device tree. 51 .Bl -tag -width ".Fl P Ar property" 78 .Dl "ofwdump -a" 84 .Dl "ofwdump -pr /pci" 92 .Dl "ofwdump -P compatible -S /pci"
|
/freebsd/sys/contrib/device-tree/src/powerpc/ |
H A D | turris1x.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright 2013 - 2022 CZ.NIC z.s.p.o. (http://www.nic.cz/) 7 * Pinout, Schematics and Altium hardware design files are open source 8 * and available at: https://docs.turris.cz/hw/turris-1x/turris-1x/ 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/leds/common.h> 14 /include/ "fsl/p2020si-pre.dtsi" 41 gpio-controller@18 { 45 #gpio-cells = <2>; [all …]
|
/freebsd/sys/dev/isp/ |
H A D | DriverManual.txt | 18 the variant "BSD" Open Source systems are available on. A glossary and 54 PCI and SBus SCSI cards, and now also drove the QLogic 2100 FC-AL HBA. 56 After this, ports to non-NetBSD platforms became interesting as well. 65 mode support has been added, and 2300 support as well as an FC-IP stack 71 Normally you design via top-down methodologies and set an initial goal 76 as I perceive them to be now- not necessarily what they started as. 90 as well as private loop and private loop, direct-attach topologies. 91 FC-IP support is also a goal. 119 The QLogic HBA cards all contain a tiny 16-bit RISC-like processor and 122 to a set of dual-ranked 16 bit incoming and outgoing mailbox registers [all …]
|