Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

416 Commits

Folders and files

Repository files navigation

Embedded Linux BSP

Structured notes and case studies for Embedded Linux, Android BSP, and kernel subsystems.

Overview

This repository contains:

  • Structured notes for Linux kernel and subsystems
  • BSP bring-up related knowledge
  • Android system notes
  • Driver examples with trace notes
  • Real-world debugging case studies

Contents

Notes

notes/ is organized by topic:

  • linux/ – Linux subsystem overviews (memory, scheduler, networking, VFS, DRM/KMS, tracing, etc.)
  • kernel/ – Kernel concepts (interrupts, synchronization, memory, power management)
  • bsp/ – BSP topics (boot flow, device tree, interfaces, U-Boot, Yocto, debug tools)
  • android/ – Android system components (binder, services, boot flow, graphics, media)
  • firmware/ – Firmware notes (TF-A boot flow and runtime)
  • subsystems/ – Subsystem deep dives:

Case Studies

cases-study/ contains debugging and analysis records, including:

  • Boot and flashing issues
  • Peripheral bring-up problems
  • Kernel / driver debugging
  • System configuration issues

Platforms include:

Code Examples

code/examples/ contains small kernel and userspace examples:

  • kernel/ – module basics, character device, miscdevice
  • memory/ – mmap, DMA allocation, kmalloc vs vmalloc, page fault
  • synchronization/ – spinlock, mutex, completion, waitqueue
  • userspace/ – ioctl
  • bus/ – platform bus
  • drm/ – DRM/KMS flows (dumb buffer, plane/CRTC, atomic commit, vblank/page flip, dma-buf PRIME, fences, GEM shmem, MIPI-DSI panel)
  • security/ – minimal hash chain

Each example includes:

  • source code
  • Makefile (in the example directory, or in its kernel/ / userspace/ subdirectory)
  • trace notes

drm_fence_sync_flow is notes only (no source code).

Driver Notes

  • bcmdhd/ – Broadcom WiFi driver notes
  • bluetooth/ – Bluetooth stack and transport notes
  • mt76/ – MT76 driver analysis

Tools

Purpose

This repository is used to:

  • Organize subsystem knowledge
  • Record debugging experience
  • Keep trace notes for kernel and drivers

Contributing

Formatting rules for all documents are in CONTRIBUTING.md.

Author

LC Wang

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages