C++ Exceptions for Smaller Firmware
C++ Exceptions for Smaller Firmware By: Khalil Estell (@kammce)@kammce Graduated 2017 from SJSU Ex-Googler (~6y) Volunteer @ SJSU ISO C++ Committee Member 2Motivation 345Microcontroller Constraints: std::inplace_vector: p0843r8 voted into C++26 @ St Louis 2024 ISO C++ meetingTIME SPACE So why do firmware developers avoid C++ exceptions? 14 Requires Dynamic Memory/Heap Increases Binary Size Requires Compiler is silent and removes RTTI, using C++ exceptions becomes UB 7576 TIME SPACE So why do firmware developers avoid C++ exceptions? Requires Dynamic Memory/Heap Increases Binary Size Requires whole0 码力 | 237 页 | 6.74 MB | 5 月前3Debian GNU/Linux 安裝手冊 January 8, 2024
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2 Devices Requiring Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.3 特別為 GNU/Linux 採購硬體 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.6.3 Systems with UEFI firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.6.4 Secure boot . . . . . . network-console . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.4 Loading Missing Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.4.1 Preparing a medium0 码力 | 120 页 | 643.51 KB | 1 年前3This Debian Reference (version 2.109)
Kernel Team recommendation . . . . . . . . . . . . . . . . . . . . 176 9.10.5 Hardware drivers and firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 9.11 Virtualized http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb http://security.debian.org/debian-security org/debian-security bookworm-security main non-free-firmware ←� contrib non-free deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware ←� contrib non-free Alternatively, the0 码力 | 266 页 | 1.25 MB | 1 年前3Referência Debian v2.124
da equipa do kernel de Debian . . . . . . . . . . . . . 185 9.10.5 Controladores de hardware e firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 9.11 Sistema virtualizado http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb http://security.debian.org/debian-security org/debian-security bookworm-security main non-free-firmware ←� contrib non-free deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware ←� contrib non-free Alternatively, the0 码力 | 281 页 | 1.39 MB | 1 年前3Debian Reference v2.124
metodo raccomandato dal Team del Kernel di Debian . . . . . . . . . 184 9.10.5 Driver per hardware e firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185 9.11 Sistema http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb http://security.debian.org/debian-security org/debian-security bookworm-security main non-free-firmware ←� contrib non-free deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware ←� contrib non-free In alternativa l’elenco0 码力 | 283 页 | 1.40 MB | 1 年前3OpenShift Container Platform 4.12 专用硬件和驱动程序启用
container: modprobe: moduleName:1 dirName: /opt 2 firmwarePath: /firmware 3 parameters: 4 - param=1 kernelMappings: 5 - literal: 6.0.15-300 内核模 内核模块 块管理 管理 OPERATOR 31 1 1 1 2 3 4 5 6 7 8 9 10 必需。 可选。 可选:在节点上将 /firmware/* 复制到 /var/lib/firmware/。 可选。 至少需要一个内核项。 对于运行与正则表达式匹配的内核的每个节点,KMM 创建一个 DaemonSet 资源,运行 containerImage 中指定的镜像,使用 在运行 modprobe 命令前,节点上的 .spec.moduleLoader.container.modprobe.firmwarePath 的内容 会被复制到节点上的 /var/lib/firmware 路径中。 在运行 modprobe -r 命令之前,所有文件和空目录都会从该位置中删除,以便在 pod 终止时卸载内核模 块。 moduleLoader: serviceAccountName: 0 码力 | 54 页 | 591.48 KB | 1 年前3Moxa Industrial Linux 3.0 (Debian 11) Manual for Arm-based Computers Version 1.0, January 2023
.............................................................. 51 Upgrading the Cellular Modem Firmware ............................................................................................... .............................................................. 56 Updating Bootloader With the Firmware Binary ................................................................................ 56 Updating Cellular connection diagnosis tool • Cellular modem and network information • Cellular modem firmware upgrade with failback Interface Default Managed by MCM Network Configuration LAN1 Yes0 码力 | 111 页 | 2.94 MB | 1 年前3Debian Referenz v2.124
Empfehlung des Debian-Kernel-Teams . . . . . . . . . . . . . . . 190 9.10.5 Hardware-Treiber und Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 9.11 Virtualisierte http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb http://security.debian.org/debian-security org/debian-security bookworm-security main non-free-firmware ←� contrib non-free deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware ←� contrib non-free Alternatively, the0 码力 | 289 页 | 1.44 MB | 1 年前3Guía de referencia de Debian v2.124
http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free deb http://security.debian.org/debian-security org/debian-security bookworm-security main non-free-firmware ←� contrib non-free deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware ←� contrib non-free Alternativamente Components: main non-free-firmware contrib non-free Types: deb deb-src URIs: http://security.debian.org/debian-security/ Suites: bookworm-security Components: main non-free-firmware contrib non-free Los0 码力 | 285 页 | 1.43 MB | 1 年前3Debian GNU/Linux 安装手册 January 8, 2024
系统以及内核的支持。基本的 framebuffer 由内核提 供,而桌面环境使用 X11。至于高级的显卡功能,比如 3D 硬件加速或硬件视频加速是否可用,由系统所 使用的具体显示硬件和所要安装的额外“固件 (firmware)”决定 (参阅第 2.2 节)。 几乎所有 ARM 机器都内置了图形硬件,而不用额外插卡。有些机器有扩展插槽用于显卡,但这比较 罕见。无头、无图像的硬件设计也很常见。虽然内核提供的基本帧缓冲显示在有图像的设备上应该都能 支持众多的硬件设备,比如:鼠标、打印机、扫描仪、PCMCIA 和 USB 设备。然而,在安装系统的 时候,并不需要其中的大部分设备。 2.2 需要固件的设备 除了需要设备驱动程序,有些硬件还要在使用之前加载 固件 (firmware) 或 微码 (microcode)。这对于网 卡 (特别是无线网卡) 来说很常见,但有些 USB 设备甚至是硬盘控制器也需要加载固件。 对于很多显卡来说,基本的功能不需要安装额外固件就可以使用,但是使用高级功能需要系统中安装 项目的标准,大多数情况下这些固件属于 non-free,不能被包含在主发行版 里面。如果设备驱动程序被包含到发行版里面,并且 Debian GNU/Linux 可以合法地发布固件,它通常被 单独地放置在仓库的 non-free-firmware 区(在 Debian GNU/Linux 12.0 之前为 non-free 区)里面。 不过,这并不意味着在安装过程中不能使用这些硬件。根据 2022 年关于非自由固件的一般性 决议,从 Debian0 码力 | 98 页 | 594.52 KB | 1 年前3
共 243 条
- 1
- 2
- 3
- 4
- 5
- 6
- 25