Spaced-Retrieval Study Deck

GL-E00 · Linux Host Workbench, POSIX Shell, Network Boot & Embedded C Style — 90 engineering cards. Reveal the answer with Space or Enter, then rate recall with 1 again to 4 easy.

Mastered 0 / 90 · Due 90

box 1: 90 box 2: 0 box 3: 0 box 4: 0

Active study card

flashcard — 1/90 · Course-wide
1/90 definition Course-wide box 1 · due

? What is BOOT_MODE Straps?

Browse all cards

Show all 90 cards (full Q&A reference table)
# Module Kind Front Back Schedule
1Course-widedefinitionWhat is BOOT_MODE Straps?i.MX6ULL GPIO/switch pins sampled at POR reset to select Internal Boot (10), Serial Downloader USB OTG SDP (01), or Fuse Boot (00).box 1 · due
2M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienedefinitionWhat is Centralized goto Unwind?Single-exit C error-handling idiom jumping forward to ordered err_* labels that release acquired resources in strict LIFO order.box 1 · due
3Course-widedefinitionWhat is Descriptor Duplication (2>&1)?dup2(1, 2) syscall binding stderr (fd 2) to the open file description currently referenced by stdout (fd 1).box 1 · due
4Course-widedefinitionWhat is EPT / Nested Paging?Hardware MMU two-dimensional guest-physical-to-host-physical translation table allowing Linux VMs to run user/kernel code near native speed.box 1 · due
5Course-widedefinitionWhat is Filesystem Hierarchy Standard (FHS)?Linux directory layout specification separating static boot binaries (/bin, /sbin, /usr) from variable runtime state (/var, /run) and pseudo-filesystems (/proc, /sys).box 1 · due
6Course-widedefinitionWhat is Kernel CodingStyle Tab?8-column hard tab indentation rule in Linux kernel C making >3 nesting levels visually prominent so complex functions are refactored.box 1 · due
7Course-widedefinitionWhat is Metric-Priority Default Route?Kernel FIB routing rule selecting the lowest-metric default gateway (Wi-Fi NAT) while keeping a gateway-less static bench NIC local.box 1 · due
8M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonedefinitionWhat is Module vermagic?Embedded .modinfo string recording kernel release, SMP, PREEMPT, and ARM architecture flags checked by finit_module() on load.box 1 · due
9M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsdefinitionWhat is Numeric-Owner Archive?tar --numeric-owner flag storing raw UID/GID integers (0:0) instead of host username strings when packing target root filesystems.box 1 · due
10Course-widedefinitionWhat is PT_INTERP Dynamic Loader?ELF program header naming the exact runtime linker path (/lib/ld-linux-armhf.so.3); missing it causes execve() to return ENOENT.box 1 · due
11Course-widedefinitionWhat is Pseudoterminal (PTY)?Kernel master/replica character pair (/dev/ptmx and /dev/pts/N) implementing line-discipline signal and canonical-input processing for terminal emulators.box 1 · due
12Course-widedefinitionWhat is Raw Boot Offset (1 KiB)?Unpartitioned sector gap (LBA 2, byte 0x400) between the 512-byte MBR and Partition 1 reserved for the i.MX6ULL Boot ROM IVT header.box 1 · due
13Course-widedefinitionWhat is Sticky Bit (S_ISVTX / 01000)?Directory permission bit restricting unlink/rename inside shared directories like /tmp to the file owner, directory owner, or UID 0.box 1 · due
14Course-widedefinitionWhat is TFTP Lockstep Block ACK?RFC 1350 UDP/69 transfer protocol sending 512-byte (or blksize-negotiated) blocks sequentially, awaiting an explicit block-number ACK before advancing.box 1 · due
15Course-widedefinitionWhat is UUU (Universal Update Utility)?Host provisioning tool streaming SPL/U-Boot over USB HID SDP into OCRAM/DDR before flashing eMMC or NAND via Fastboot.box 1 · due
16Course-widedefinitionWhat is do { ... } while (0) Macro?Multi-statement C preprocessor wrapper forming a single compound statement that binds trailing semicolons safely inside unbraced if/else branches.box 1 · due
17M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchdefinitionWhat is no_root_squash?NFS /etc/exports option preserving UID 0 superuser privileges from the embedded target instead of mapping remote root to nobody (65534).box 1 · due
18M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesdefinitionWhat is udev Rule?Declarative /etc/udev/rules.d/ matcher binding USB idVendor/idProduct attributes to deterministic permissions and symlinks on hotplug.box 1 · due
19M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l01_1, con_m01_l01_2, con_m01_l01_3): Hardware virtualization pairs VT-x or AMD-V guest execution modes with…Hardware virtualization pairs VT-x or AMD-V guest execution modes with Extended Page Tables (EPT) so guest virtual-to-host-physical translations resolve in silicon without per-fault hypervisor traps.box 1 · due
20M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l01_1, con_m01_l01_2, con_m01_l01_3): A dual-adapter VM layout uses Adapter 1 in NAT mode for outbound WAN p…A dual-adapter VM layout uses Adapter 1 in NAT mode for outbound WAN package traffic and Adapter 2 bridged exclusively to a wired USB-Ethernet bench NIC for L2 ARP, TFTP, and NFS traffic.box 1 · due
21M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l01_1, con_m01_l01_2, con_m01_l01_3): Declarative /etc/udev/rules.d/ rules match SUBSYSTEM and hexadecimal i…Declarative /etc/udev/rules.d/ rules match SUBSYSTEM and hexadecimal idVendor/idProduct attributes with == to assign 0660 dialout or plugdev group ownership across every USB hotplug cycle.box 1 · due
22M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l01_1, con_m01_l01_2, con_m01_l01_3): USB Boot ROM recovery tools re-enumerate target silicon from SDP HID m…USB Boot ROM recovery tools re-enumerate target silicon from SDP HID mode (15a2:0080) into Fastboot endpoints, requiring persistent udev rules and hypervisor vendor-ID filters instead of one-shot chmod 666 hacks.box 1 · due
23M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l02_1, con_m01_l02_2, con_m01_l02_3): A pseudoterminal pairs a /dev/ptmx master descriptor owned by the term…A pseudoterminal pairs a /dev/ptmx master descriptor owned by the terminal emulator with a /dev/pts/N replica governed by the Linux kernel n_tty line discipline.box 1 · due
24M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l02_1, con_m01_l02_2, con_m01_l02_3): Shell redirections execute strictly left to right via dup2(oldfd, newf…Shell redirections execute strictly left to right via dup2(oldfd, newfd): >build.log 2>&1 sends both streams to build.log, whereas 2>&1 >build.log leaves stderr pointing at the terminal.box 1 · due
25M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l02_1, con_m01_l02_2, con_m01_l02_3): Enabling set -euo pipefail causes a pipeline such as make 2>&1 | tee b…Enabling set -euo pipefail causes a pipeline such as make 2>&1 | tee build.log to return the non-zero exit code of the failing build stage instead of tee's zero exit status.box 1 · due
26M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l02_1, con_m01_l02_2, con_m01_l02_3): Default /etc/sudoers env_reset and secure_path policies replace user P…Default /etc/sudoers env_reset and secure_path policies replace user PATH variables during sudo execution, hiding user-installed ARM cross-toolchains unless builds run unprivileged with DESTDIR or INSTALL_MOD_PATH.box 1 · due
27M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l03_1, con_m01_l03_2, con_m01_l03_3): Vim separates Normal navigation/operator mode, Insert text-entry mode,…Vim separates Normal navigation/operator mode, Insert text-entry mode, and Command-line Ex mode (:w, :q!, :set list) so headless SSH repairs never depend on a graphical desktop.box 1 · due
28M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l03_1, con_m01_l03_2, con_m01_l03_3): In Makefile recipes and Linux kernel Kconfig/C sources, :set list reve…In Makefile recipes and Linux kernel Kconfig/C sources, :set list reveals 8-column hard tab characters (^I) versus spaces, preventing 'missing separator' build failures.box 1 · due
29M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l03_1, con_m01_l03_2, con_m01_l03_3): Pairing find -print0 with xargs -0 delimits file paths with NUL (0x00)…Pairing find -print0 with xargs -0 delimits file paths with NUL (0x00) bytes—the only byte value forbidden alongside '/' inside Linux VFS filenames—preventing whitespace splitting and E2BIG.box 1 · due
30M1 · Host Virtualization Bridges, PTY Streams & Shell PipelinesfactComplete the statement (fact: con_m01_l03_1, con_m01_l03_2, con_m01_l03_3): A secure build PATH contains only absolute ('/...') non-world-writable…A secure build PATH contains only absolute ('/...') non-world-writable directories and zero empty ('::', leading ':', or trailing ':') segments that implicitly search the current working directory.box 1 · due
31M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l01_1, con_m02_l01_2, con_m02_l01_3): FHS 3.0 separates essential boot binaries (/bin, /sbin, /lib) and stat…FHS 3.0 separates essential boot binaries (/bin, /sbin, /lib) and static configuration (/etc) from volatile tmpfs runtime state (/run) and RAM-backed kernel pseudo-filesystems (/proc, /sys).box 1 · due
32M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l01_1, con_m02_l01_2, con_m02_l01_3): A hard link creates an additional directory entry pointing to the exac…A hard link creates an additional directory entry pointing to the exact same inode number (st_ino) within a single mounted filesystem (st_dev) and increments st_nlink without duplicating data blocks.box 1 · due
33M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l01_1, con_m02_l01_2, con_m02_l01_3): A symbolic link allocates a distinct S_IFLNK inode storing a target pa…A symbolic link allocates a distinct S_IFLNK inode storing a target path string, allowing cross-filesystem and directory links that must remain relative inside staged target root filesystems.box 1 · due
34M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l01_1, con_m02_l01_2, con_m02_l01_3): Character (S_IFCHR) and block (S_IFBLK) device inodes store no file pa…Character (S_IFCHR) and block (S_IFBLK) device inodes store no file payload blocks; their st_rdev field encodes major(dev) to select a Linux kernel driver and minor(dev) to select the instance or partition.box 1 · due
35M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l02_1, con_m02_l02_2, con_m02_l02_3): Directory permissions govern namespace operations rather than file con…Directory permissions govern namespace operations rather than file contents: read (04) allows listing names via getdents64, execute (01) allows traversing into known child inodes, and write (02) allows creating or unlinking entries.box 1 · due
36M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l02_1, con_m02_l02_2, con_m02_l02_3): The sticky bit (S_ISVTX, octal 01000) on shared writable directories l…The sticky bit (S_ISVTX, octal 01000) on shared writable directories like /tmp (01777) restricts unlink and rename to UID 0, the directory owner, or the individual file owner.box 1 · due
37M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l02_1, con_m02_l02_2, con_m02_l02_3): Kernel file creation masks effective_mode = base_mode & ~umask (0666 f…Kernel file creation masks effective_mode = base_mode & ~umask (0666 for regular files, 0777 for directories), and recursive chmod -R 777 breaks sudo (/etc/sudoers must remain 0440) and SSH StrictModes.box 1 · due
38M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l02_1, con_m02_l02_2, con_m02_l02_3): Shell startup scripts in /etc/profile and /etc/profile.d/*.sh must pre…Shell startup scripts in /etc/profile and /etc/profile.d/*.sh must preserve existing PATH entries and pass sh -n syntax validation while keeping a rescue root PTY open to prevent login loops.box 1 · due
39M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l03_1, con_m02_l03_2, con_m02_l03_3): Before raw SD card writes, scripts must verify /sys/block/<dev>/remova…Before raw SD card writes, scripts must verify /sys/block/<dev>/removable == 1, zero mounted partitions in /proc/mounts, and sane capacity bounds so dd never targets host /dev/sda or /dev/nvme0n1.box 1 · due
40M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l03_1, con_m02_l03_2, con_m02_l03_3): On i.MX6ULL SD/eMMC boot media, LBA 0 (0x000..0x1FF) holds the 512-byt…On i.MX6ULL SD/eMMC boot media, LBA 0 (0x000..0x1FF) holds the 512-byte MBR, LBA 2 (byte 0x400, 1 KiB) holds the raw Boot ROM IVT + U-Boot image (dd bs=1K seek=1), and Partition 1 starts at LBA 2048 (1 MiB).box 1 · due
41M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l03_1, con_m02_l03_2, con_m02_l03_3): Partition 1 (FAT32, 0x0C) stores zImage and Device Tree .dtb files rea…Partition 1 (FAT32, 0x0C) stores zImage and Device Tree .dtb files read by U-Boot, while Partition 2 (ext4, 0x83) stores the persistent Linux root filesystem.box 1 · due
42M2 · Filesystem Hierarchy, Permissions, Archives & Partition GuardsfactComplete the statement (fact: con_m02_l03_1, con_m02_l03_2, con_m02_l03_3): Packing and extracting target rootfs archives with tar --numeric-owner…Packing and extracting target rootfs archives with tar --numeric-owner --owner=0 --group=0 -cpf preserves raw UID/GID 0:0 integers in POSIX ustar headers without host /etc/passwd name contamination.box 1 · due
43M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l01_1, con_m03_l01_2, con_m03_l01_3): Debian and Ubuntu split package management into dpkg (/var/lib/dpkg/st…Debian and Ubuntu split package management into dpkg (/var/lib/dpkg/status local archive installer and file-ownership ledger) and apt (cryptographically signed InRelease dependency solver).box 1 · due
44M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l01_1, con_m03_l01_2, con_m03_l01_3): APT verifies a three-link trust chain—GPG signed-by keyring on InRelea…APT verifies a three-link trust chain—GPG signed-by keyring on InRelease, SHA-256 of Packages.xz, and SHA-256 of each .deb—while serializing mutations via kernel flock() on /var/lib/dpkg/lock-frontend.box 1 · due
45M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l01_1, con_m03_l01_2, con_m03_l01_3): Cross-compiling against an ARMv7 target sysroot requires setting PKG_C…Cross-compiling against an ARMv7 target sysroot requires setting PKG_CONFIG_DIR='', PKG_CONFIG_LIBDIR to the sysroot pkgconfig directories, and PKG_CONFIG_SYSROOT_DIR so host /usr/include paths never leak.box 1 · due
46M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l01_1, con_m03_l01_2, con_m03_l01_3): When an interrupted dpkg run leaves half-configured packages (state iU…When an interrupted dpkg run leaves half-configured packages (state iU) and zero live apt/dpkg processes hold the flock, dpkg --configure -a replays idempotent postinst scripts safely without deleting lock files.box 1 · due
47M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l02_1, con_m03_l02_2, con_m03_l02_3): On a dual-NIC workstation, the WAN interface (Wi-Fi/LAN DHCP) owns the…On a dual-NIC workstation, the WAN interface (Wi-Fi/LAN DHCP) owns the sole 0.0.0.0/0 default route while the static bench NIC (e.g., 192.168.10.10/24) configures NO default gateway, using on-link ARP only.box 1 · due
48M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l02_1, con_m03_l02_2, con_m03_l02_3): Setting a gateway on an isolated wired bench NIC installs a lower-metr…Setting a gateway on an isolated wired bench NIC installs a lower-metric 0.0.0.0/0 route (metric 100 wired vs 600 Wi-Fi) in the Linux kernel FIB, blackholing internet traffic onto the board cable.box 1 · due
49M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l02_1, con_m03_l02_2, con_m03_l02_3): RFC 1350 TFTP initiates via RRQ (opcode 1) on UDP port 69 and transfer…RFC 1350 TFTP initiates via RRQ (opcode 1) on UDP port 69 and transfers 512-byte DATA blocks (opcode 3) in lockstep with ACK packets (opcode 4), signaling EOF with a final DATA block strictly under 512 bytes (0 bytes if image_size % 512 == 0).box 1 · due
50M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l02_1, con_m03_l02_2, con_m03_l02_3): In i.MX6ULL DDR3 RAM (base 0x80000000), U-Boot loads zImage at 0x80800…In i.MX6ULL DDR3 RAM (base 0x80000000), U-Boot loads zImage at 0x80800000 and the flattened Device Tree (.dtb) at 0x83000000 (~40 MiB higher) so kernel self-decompression never overwrites the Device Tree.box 1 · due
51M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l03_1, con_m03_l03_2, con_m03_l03_3): Exporting a target root filesystem in /etc/exports requires path cidr(…Exporting a target root filesystem in /etc/exports requires path cidr(rw,sync,no_root_squash,no_subtree_check) with ZERO whitespace between the CIDR subnet and '(' so options bind to that subnet rather than '*'.box 1 · due
52M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l03_1, con_m03_l03_2, con_m03_l03_3): Without no_root_squash, the host NFS server maps target UID 0 requests…Without no_root_squash, the host NFS server maps target UID 0 requests to nobody (65534), causing /sbin/init, systemd, and device/module operations on the board to fail with EACCES.box 1 · due
53M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l03_1, con_m03_l03_2, con_m03_l03_3): On Ubuntu 22.04+ and 24.04 LTS hosts, /etc/nfs.conf must enable [nfsd]…On Ubuntu 22.04+ and 24.04 LTS hosts, /etc/nfs.conf must enable [nfsd] vers3=y and tcp=y to match Linux kernel bootargs root=/dev/nfs nfsroot=192.168.10.10:/srv/nfs/rootfs,vers=3,tcp rw ip=...box 1 · due
54M3 · APT Package Graphs, Dual-NIC Routing & TFTP/NFS Boot BenchfactComplete the statement (fact: con_m03_l03_1, con_m03_l03_2, con_m03_l03_3): Embedded workflows use TFTP + NFS root during rapid kernel/driver iter…Embedded workflows use TFTP + NFS root during rapid kernel/driver iteration, rsync/scp over SSH for incremental user-space updates on booted targets, and UUU/SD partition images for standalone release.box 1 · due
55M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l01_1, con_m04_l01_2, con_m04_l01_3): Linux kernel CodingStyle mandates 8-column hard tabs and an 80-to-100 …Linux kernel CodingStyle mandates 8-column hard tabs and an 80-to-100 column line budget so functions exceeding 3 indentation levels force helper extraction.box 1 · due
56M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l01_1, con_m04_l01_2, con_m04_l01_3): Control statements place opening braces on the same K&R line while fun…Control statements place opening braces on the same K&R line while function definitions place opening braces at column 1, and switch/case labels align vertically with explicit fallthrough annotations.box 1 · due
57M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l01_1, con_m04_l01_2, con_m04_l01_3): Pointer asterisks bind to the identifier (char *buf) rather than the…Pointer asterisks bind to the identifier (char *buf) rather than the base type, while function-like operators (sizeof(struct file)) omit space before the opening parenthesis.box 1 · due
58M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l01_1, con_m04_l01_2, con_m04_l01_3): C89/C11 block comments (/* ... */) document hardware timing, lock or…C89/C11 block comments (/* ... */) document hardware timing, lock order, and ownership invariants (why) rather than restating C syntax mechanics (how).box 1 · due
59M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l02_1, con_m04_l02_2, con_m04_l02_3): Kernel C11 uses lowercase snake_case identifiers with symmetric life…Kernel C11 uses lowercase snake_case identifiers with symmetric lifecycle antonyms (alloc/free, register/unregister, enable/disable, lock/unlock) and rejects Hungarian type prefixes.box 1 · due
60M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l02_1, con_m04_l02_2, con_m04_l02_3): Every file-private function and module variable must be declared `stat…Every file-private function and module variable must be declared static so the compiler emits ELF STB_LOCAL linkage, preventing global symbol collisions and enabling dead-code inlining.box 1 · due
61M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l02_1, con_m04_l02_2, con_m04_l02_3): Multi-resource initialization functions unwind partial failures by jum…Multi-resource initialization functions unwind partial failures by jumping forward to centralized err_* labels arranged in strict Last-In, First-Out (LIFO) order.box 1 · due
62M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l02_1, con_m04_l02_2, con_m04_l02_3): Returning directly from the middle of a multi-step probe() after acq…Returning directly from the middle of a multi-step probe() after acquiring clocks, mappings, or IRQs leaks earlier resources and leaves hardware clocks or locks wedged.box 1 · due
63M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l03_1, con_m04_l03_2, con_m04_l03_3): Hardware register layouts and wire headers must use <stdint.h> fixed…Hardware register layouts and wire headers must use <stdint.h> fixed-width types (uint8_t, uint16_t, uint32_t, uint64_t) because unsigned long is 64 bits on x86_64 (LP64) and 32 bits on ARMv7-A (ILP32).box 1 · due
64M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l03_1, con_m04_l03_2, con_m04_l03_3): Typed const values, enum constants, and static inline functions …Typed const values, enum constants, and static inline functions are preferred over #define macros because they enforce parameter types and evaluate side-effecting arguments (i++) exactly once.box 1 · due
65M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l03_1, con_m04_l03_2, con_m04_l03_3): Every expression macro must parenthesize each parameter use and the ou…Every expression macro must parenthesize each parameter use and the outer expression (#define OFF(x) (((x) * 4U) + 8U)), while multi-statement macros wrap their body in do { ... } while (0) without a trailing semicolon.box 1 · due
66M4 · Linux Kernel & Embedded C11 Coding Style & Defensive HygienefactComplete the statement (fact: con_m04_l03_1, con_m04_l03_2, con_m04_l03_3): Macros must never hide control-flow exits (return, goto, break) …Macros must never hide control-flow exits (return, goto, break) because invisible jumps bypass caller spinlocks and centralized goto cleanup spines.box 1 · due
67M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l01_1, con_m05_l01_2, con_m05_l01_3): At 115200 8N1, each asynchronous frame carries 10 bit cells (1 S…At 115200 8N1, each asynchronous frame carries 10 bit cells (1 Start, 8 LSB-first data, 0 parity, 1 Stop) at 8.68 us/bit (86.81 us/frame, 11,520 bytes/s max).box 1 · due
68M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l01_1, con_m05_l01_2, con_m05_l01_3): Leaving hardware flow control (CRTSCTS) enabled in minicom or `pic…Leaving hardware flow control (CRTSCTS) enabled in minicom or picocom on a 3-wire (TX/RX/GND) USB-TTL bridge blocks host keyboard TX waiting on unasserted CTS# while target RX prints normally.box 1 · due
69M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l01_1, con_m05_l01_2, con_m05_l01_3): At POR_B reset release, the i.MX6ULL Boot ROM samples `BOOT_MODE[1…At POR_B reset release, the i.MX6ULL Boot ROM samples BOOT_MODE[1:0] (SRC_SBMR2[25:24]): 10 selects Internal Boot via BOOT_CFG straps, 01 enters USB_OTG1 Serial Downloader (SDP), and 00 boots from eFUSEs.box 1 · due
70M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l01_1, con_m05_l01_2, con_m05_l01_3): Under Internal Boot (BOOT_MODE = 10), BOOT_CFG1[7:4] (`SRC_SBMR1[7…Under Internal Boot (BOOT_MODE = 10), BOOT_CFG1[7:4] (SRC_SBMR1[7:4] sampled from LCD_DATA pins) selects SD (USDHC1), eMMC (USDHC2), or raw NAND (GPMI).box 1 · due
71M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l02_1, con_m05_l02_2, con_m05_l02_3): SD (USDHC1) and eMMC (USDHC2) embed an on-chip Flash Translati…SD (USDHC1) and eMMC (USDHC2) embed an on-chip Flash Translation Layer (FTL) exposing 512-byte LBA sectors, with i.MX6ULL IVT placed at byte 0x400 (LBA 2) and eMMC providing dedicated boot0/boot1 hardware partitions.box 1 · due
72M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l02_1, con_m05_l02_2, con_m05_l02_3): Raw SLC NAND (GPMI + BCH ECC) exposes physical eraseblocks (`128…Raw SLC NAND (GPMI + BCH ECC) exposes physical eraseblocks (128 KiB) and factory/wear bad blocks directly without an FTL, requiring Linux kernel MTD, Bad Block Tables (BBT), and UBI/UBIFS rather than FAT32/ext4.box 1 · due
73M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l02_1, con_m05_l02_2, con_m05_l02_3): With BOOT_MODE[1:0] = 01, UUU Stage 1 (SDP: boot -f u-boot.imx) …With BOOT_MODE[1:0] = 01, UUU Stage 1 (SDP: boot -f u-boot.imx) uses the Boot ROM's USB_OTG1 HID protocol to execute DCD DDR3 init and run U-Boot directly in RAM.box 1 · due
74M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l02_1, con_m05_l02_2, con_m05_l02_3): UUU Stage 2 (FB:) speaks USB Fastboot to the RAM-resident `U-B…UUU Stage 2 (FB:) speaks USB Fastboot to the RAM-resident U-Boot gadget to partition and program eMMC (boot0 + GPT/MBR) or NAND (MTD/UBI) unattended.box 1 · due
75M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l03_1, con_m05_l03_2, con_m05_l03_3): Bare-metal ARMv7-A start.S must explicitly zero `[__bss_start, __b…Bare-metal ARMv7-A start.S must explicitly zero [__bss_start, __bss_end) before branching to main() because DDR3 powers up with random bit states that corrupt uninitialized C globals.box 1 · due
76M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l03_1, con_m05_l03_2, con_m05_l03_3): The ARMv7-A AAPCS32 ABI mandates 8-byte stack alignment (`SP mod…The ARMv7-A AAPCS32 ABI mandates 8-byte stack alignment (SP mod 8 == 0, enforced via bic sp, sp, #7) at public call boundaries so 64-bit LDRD/STRD and printf("%lld") va_arg slots do not fault or misalign.box 1 · due
77M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l03_1, con_m05_l03_2, con_m05_l03_3): U-Boot ENET TFTP failures and bootargs truncations stem from m…U-Boot ENET TFTP failures and bootargs truncations stem from missing RMII PHY reset pulse/settle timing (>= 10 ms) or unescaped multi-line setenv bootargs strings exceeding console buffer limits.box 1 · due
78M5 · Serial Consoles, Boot Straps, UUU Flashing & Bring-Up TriagefactComplete the statement (fact: con_m05_l03_1, con_m05_l03_2, con_m05_l03_3): Kernel panic - not syncing: VFS: Unable to mount root fs encodes the…Kernel panic - not syncing: VFS: Unable to mount root fs encodes the exact failure stage: unknown-block(0,0) indicates missing/truncated root= or CONFIG_ROOT_NFS, whereas mmcblk error -2 without rootwait indicates asynchronous USDHC probe race.box 1 · due
79M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l01_1, con_m06_l01_2, con_m06_l01_3): A valid ARMv7-A Linux user-space binary carries ELF magic `0x7F 'E…A valid ARMv7-A Linux user-space binary carries ELF magic 0x7F 'E' 'L' 'F', EI_CLASS = ELFCLASS32 (1), e_machine = EM_ARM (40), and e_flags bit EF_ARM_ABI_FLOAT_HARD (0x400).box 1 · due
80M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l01_1, con_m06_l01_2, con_m06_l01_3): Executing an EM_ARM (40) binary on an x86_64 host fails `elf_check…Executing an EM_ARM (40) binary on an x86_64 host fails elf_check_arch() with ENOEXEC (Exec format error), whereas executing an armhf binary on an ARM rootfs missing its PT_INTERP (/lib/ld-linux-armhf.so.3) makes execve() return ENOENT (No such file or directory).box 1 · due
81M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l01_1, con_m06_l01_2, con_m06_l01_3): Mixing soft-float (EF_ARM_ABI_FLOAT_SOFT = 0x200, r0..r3 float pas…Mixing soft-float (EF_ARM_ABI_FLOAT_SOFT = 0x200, r0..r3 float passing) with hard-float (0x400, VFPv3 s0..s15 / d0..d7 registers) breaks calling conventions and requests incompatible /lib/ld-linux.so.3 vs /lib/ld-linux-armhf.so.3 loaders.box 1 · due
82M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l01_1, con_m06_l01_2, con_m06_l01_3): DT_NEEDED entries and .gnu.version_r tags (GLIBC_2.xx) bind bina…DT_NEEDED entries and .gnu.version_r tags (GLIBC_2.xx) bind binaries to the sysroot's minimum glibc version; compiling with a newer host cross-toolchain than the target rootfs fails in ld.so at launch.box 1 · due
83M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l02_1, con_m06_l02_2, con_m06_l02_3): During finit_module(), Linux kernel check_modinfo() compares `.m…During finit_module(), Linux kernel check_modinfo() compares .modinfo vermagic=<release> SMP preempt mod_unload ARMv7 p2v8 against utsname()->release and compile-time kernel tokens.box 1 · due
84M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l02_1, con_m06_l02_2, con_m06_l02_3): When insmod fails with -ENOEXEC (Invalid module format), timesta…When insmod fails with -ENOEXEC (Invalid module format), timestamped dmesg (CONFIG_PRINTK_TIME=y) reveals exact version magic release/flag drift (such as -dirty or wrong host KDIR) or CONFIG_MODVERSIONS symbol CRC disagreement.box 1 · due
85M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l02_1, con_m06_l02_2, con_m06_l02_3): When insmod fails with -ENOENT (`Unknown symbol in module, or unkn…When insmod fails with -ENOENT (Unknown symbol in module, or unknown parameter), an exported dependency .ko is unloaded (resolved via depmod -a + modprobe), a CONFIG_* subsystem is disabled, or MODULE_LICENSE("GPL") was omitted for an EXPORT_SYMBOL_GPL symbol.box 1 · due
86M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l02_1, con_m06_l02_2, con_m06_l02_3): Out-of-tree driver Makefiles must point KDIR at the exact configur…Out-of-tree driver Makefiles must point KDIR at the exact configured/built ARMv7-A Linux kernel 6.12 tree (ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-), never /lib/modules/$(uname -r)/build.box 1 · due
87M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l03_1, con_m06_l03_2, con_m06_l03_3): A complete embedded workbench preflight gate validates boot blobs (`AR…A complete embedded workbench preflight gate validates boot blobs (ARM zImage magic 0x016F2818 at 0x24 and big-endian Device Tree .dtb magic 0xD00DFEED at 0x00), user-space ELF32 armhf binaries, and .ko vermagic before target deployment.box 1 · due
88M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l03_1, con_m06_l03_2, con_m06_l03_3): Every staged target executable must satisfy ELFCLASS32, `EM_ARM (40)…Every staged target executable must satisfy ELFCLASS32, EM_ARM (40), EF_ARM_ABI_FLOAT_HARD (0x400), and physical existence of its PT_INTERP loader and DT_NEEDED libraries inside /srv/nfs/rootfs.box 1 · due
89M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l03_1, con_m06_l03_2, con_m06_l03_3): Every staged .ko module under `/srv/nfs/rootfs/lib/modules/<release>…Every staged .ko module under /srv/nfs/rootfs/lib/modules/<release>/ must carry license=GPL* and a vermagic matching <release> on an exact token boundary plus ARMv7 p2v8.box 1 · due
90M6 · Cross-ABI ELF Auditing, Module Vermagic & Workbench CapstonefactComplete the statement (fact: con_m06_l03_1, con_m06_l03_2, con_m06_l03_3): Executing deterministic binary preflight checks on the Linux host turn…Executing deterministic binary preflight checks on the Linux host turns 30-second reboot-and-panic mysteries into sub-millisecond build-time diagnostics with zero target flash wear.box 1 · due

search — fzf

0/0 ───────────────────────────────────────────

keyboard shortcuts — less

/
search
f
focus mode
[
previous
]
next
?
help
Esc
close

figure