Linux Host Workbench, POSIX Shell, Network Boot & Embedded C Style

For: Engineers transitioning from bare-metal MCUs or desktop software to Linux host toolchains, embedded board bring-up, and kernel C development

Provision, audit, and troubleshoot a deterministic Linux embedded engineering host, multi-NIC TFTP/NFS boot bench, kernel-style C11 codebase, and ARMv7-A cross-ABI deployment pipeline.

18 lessons6 labs~12h 25mLinux 6.12C11glibc 2.39Course 0 of 8 · Free Onboarding Foundation

What you'll build

lab m0160 min

Linux Workbench udev, dup2 Redirection & PATH Security Auditor

Provision hardware-virtualized Linux network bridges, deterministic udev USB device permissions, POSIX file-descriptor redirection pipelines, sudo-safe cross-compiler PATH environments, and modal tree-search workflows verified by an ISO C11 workbench auditor.

learner@ksa: ~/gl-e00/lab-m01
learner@ksa:~/gl-e00/lab-m01./files/lab_cliudev_ch340: rc=0 mode=0660redir_order: gt_log_2gt1=(1,1) 2gt1_gt_log=(1,0)path_audit: clean_rc=0(segs=3) double_colon_rc=-2(empty_idx=1)learner@ksa:~/gl-e00/lab-m01
lab m0260 min

SD/eMMC Partition-Offset, Sticky Unlink & ustar Rootfs Verifier

Master FHS 3.0 directory roles, VFS hard vs symbolic link semantics, character and block device major:minor nodes, octal permission/umask/sticky invariants, MBR 1 KiB raw IVT boot offsets, removable-disk safety guards, and numeric-owner rootfs tar archives.

learner@ksa: ~/gl-e00/lab-m02
learner@ksa:~/gl-e00/lab-m02./files/lab_clisdcard_guard: sda_fixed=-2 sdb_ok=0 sdb_1200k_overlap=-7sticky_unlink: stranger=0 file_owner=1ustar_verify: numeric_root=0 leaked_uid1000=-4learner@ksa:~/gl-e00/lab-m02
lab m0360 min

Dual-NIC FIB Router, RFC 1350 TFTP Framing & NFSv3 Bootargs Verifier

Operate signed APT/dpkg package state machines, isolate ARMv7 cross-compilation pkg-config sysroots from host x86_64 headers, route multi-homed WAN + static bench Ethernet subnets without dual-gateway blackholes, and verify RFC 1350 TFTP plus NFSv3 rootfs network boot.

learner@ksa: ~/gl-e00/lab-m03
learner@ksa:~/gl-e00/lab-m03./files/lab_clidual_nic_fib: rc=0tftp_1024B_3blk_eof: rc=0nfs_exports_bootargs: rc=0learner@ksa:~/gl-e00/lab-m03
lab m0460 min

Kernel C11 Macro Safety, Static Linkage & LIFO Unwind Auditor

Enforce Linux kernel C11 formatting, internal static symbol hygiene, centralized LIFO goto error unwinding, and single-evaluation macro safety verified by a host static-rule and unwind auditor.

learner@ksa: ~/gl-e00/lab-m04
learner@ksa:~/gl-e00/lab-m04./files/lab_cliMACRO clean_flags=0x0 hazard_flags=0xfSYMBOLS global_leaks=1 naming_violations=1UNWIND lifo_valid=1 fifo_rejected=1learner@ksa:~/gl-e00/lab-m04
lab m0560 min

i.MX6ULL Boot-Strap Decoder, AAPCS32/.bss Guard & VFS Panic Triage Engine

Calculate 115200 8N1 UART bit timing, eliminate RTS/CTS flow-control console deadlocks, decode i.MX6ULL BOOT_MODE/BOOT_CFG straps and UUU SDP-to-Fastboot provisioning, and triage bare-metal AAPCS32/.bss, U-Boot PHY/bootargs, and kernel VFS rootfs faults.

learner@ksa: ~/gl-e00/lab-m05
learner@ksa:~/gl-e00/lab-m05./files/lab_cliSTRAPS emmc_target=3 tx_deadlocked=1 sdp_override_target=1CRT0_ABI clean_flags=0x0 broken_flags=0xdVFS_PANIC mmc_no_rootwait_kind=3learner@ksa:~/gl-e00/lab-m05
lab m0675 min

GL-E00 Capstone: Cross-ABI ELF32, PT_INTERP, Vermagic & Boot-Blob Preflight Gate

Audit 32-bit ARMv7-A hard-float ELF binaries (EM_ARM, EF_ARM_ABI_FLOAT_HARD, PT_INTERP, DT_NEEDED), diagnose Linux 6.12 .modinfo vermagic/CRC module rejections, and unify host pre-deployment verification in the GL-E00 Workbench Preflight Capstone.

learner@ksa: ~/gl-e00/lab-m06
learner@ksa:~/gl-e00/lab-m06./files/lab_cliCAPSTONE_BLOBS status=0CAPSTONE_ELF armhf_ok=0 softfloat_err=4 missing_interp_err=5CAPSTONE_KO clean_ok=0 dirty_err=6learner@ksa:~/gl-e00/lab-m06

Syllabus

gl-e00/

Prerequisites

  • requiredBasic familiarity with C syntax (variables, loops, functions, pointers) on any platform
  • requiredAccess to a 64-bit Linux host or virtual machine (Ubuntu 22.04/24.04 LTS or Debian 12)
  • Bridged in M1Demystifies Linux host virtualization bridges, udev USB rules, PTY redirection, and sudo PATH isolation (Module 1)
  • Bridged in M2–M3Builds fluency with FHS permissions, numeric-owner rootfs tarballs, MBR sector offsets, and multi-NIC TFTP/NFS boot servers (Modules 2–3)
  • Bridged in M4–M6Enforces Linux kernel C11 coding style, goto LIFO cleanup, defensive macros, UART/UUU flashing, and ELF/vermagic fault triage (Modules 4–6)

Series map

  1. GL-E00Linux Host Workbench, POSIX Shell, Network Boot & Embedded C Style — Host VM/udev bridges, PTY/shell streams, FHS/permissions/MBR alignment, APT/TFTP/NFS boot, kernel C style & bring-up fault triage this course
  2. GL-E01ARMv7-A Cortex-A7 Architecture, Boot ROM & Bare-Metal BSP — Cross-workbench, Cortex-A7 modes/CP15, ARMv7 assembly, IOMUXC pad muxing, IVT/DCD Boot ROM, linker scripts & modular BSP
  3. GL-E02Bare-Metal Clocks, GIC Interrupts, DDR3, LCD & Sensor Buses — CCM PLL/PFD clock tree, GICv2 interrupts, EPIT/GPT timers, UART printf, MMDC DDR3 calibration, eLCDIF/FT5426/PWM & RTC/I2C/SPI
  4. GL-E03U-Boot 2025.x, Linux 6.12 Porting, Root Filesystems & Target Debugging — U-Boot Kbuild/SPL/relocation/porting, Linux 6.12 arch/arm boot/DTS/ENET port, BusyBox/Buildroot/Yocto rootfs, UUU & gdbserver
  5. GL-E04Linux 6.12 Character Drivers, Device Tree, gpiod, Concurrency & IRQ/Wait I/O — Loadable modules, cdev/udev, Flattened Device Tree, pinctrl/gpiod, atomic/spinlock/mutex/cleanup.h, timers, IRQs, wait queues & poll
  6. GL-E05Linux 6.12 Driver Model, Input, DRM/Framebuffer, Touch, PWM & ALSA SoC — platform/misc/sysfs driver model, input_dev, DRM/KMS & fbdev display, SiI9022A HDMI, MT Type-B touch, pwm-backlight & WM8960 ASoC
  7. GL-E06Linux 6.12 Bus, Sensor (regmap/IIO), Serial/CAN/USB, blk-mq & Network Drivers — RTC/I2C/SPI client drivers, regmap, IIO & SAR ADC, UART/RS-485/GPS, FlexCAN SocketCAN, USB Host/OTG/Gadget, blk-mq & FEC NAPI/Wi-Fi/4G
  8. GL-E07Linux 6.12 ASoC Audio Drivers, Early Boot Splash, Debian Rootfs & Systemd Daemons — SAI2/WM8960 ASoC & DAPM, U-Boot/CLUT224/psplash boot graphics, debootstrap Debian armhf, systemd watchdogs, SysV/POSIX IPC & vsftpd/sftp

Related live cohorts: EMB-100 · Embedded Linux: Toolchain to Product (live cohort) KRN-101 · Linux Systems & Kernel Foundations (live cohort)

Companion formats

Slide deck

16:9 review slides with terminal listings, diagrams, and speaker notes.

Reference handbook

Printable HTML and PDF engineering reference covering every module and UAPI.

Flashcards

Leitner spaced-repetition terminal cards and TSV deck for syscalls, flags, and pitfalls.

Kernel Systems Academy engineering studio

Every Kernel Systems Academy course follows our 35% principles / 20% guided investigation / 45% engineering studio pedagogy. Listings are compiled against Linux 6.12 · C11 · glibc 2.39 under strict compiler flags (-Wall -Wextra -Werror), and each module culminates in an evidence-checked lab graded locally by ./check.sh.

Frequently asked questions

Can I study this course offline from disk?

Yes. All fonts, stylesheets, diagrams, search indexes, and progress trackers use relative paths and local browser storage, so the bundle works identically over HTTP and file://.

How are the hands-on labs graded?

Each lab directory includes starter source files and an executable ./check.sh runner emitting TAP version 13 diagnostics (ok / not ok) and exiting 0 when every check passes.

What is included in the free preview?

Preview lessons and the opening module lab are unlocked in full so you can inspect our C11 listings, strace transcripts, and ./check.sh workflow before subscribing.

search — fzf

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

keyboard shortcuts — less

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

figure