Posts

About Posts

Posts are more formal than WiKi, in which I will do some research and try to dive deeper. I will also present the references at the end of posts.

All Posts

Most recent posts in chronological order:

My desktop [hi on] nanzhou@nanzhou2:~$ lspci00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex00:00.2 IOMMU: Advanced Micro Devices, ...
/ / Embedded
1. The Evolutionary Leap: From PCI to PCIe In the 1990s and early 2000s, motherboards relied on PCI and PCI-X ...
/ / Embedded
Bit-banging is a slang term in embedded systems and computer engineering for a technique where software directly controls the state ...
/ / Embedded
Think of select() as a conditional expression that lives inside your build rules. It functions exactly like a switch or ...
/ / Toolchain
Summary Table ConceptWhat it isAnalogyConstraint SettingA property category"Vehicle Type"Constraint ValueA specific option"Car", "Truck", "Motorcycle"PlatformA group of settings"Vehicle configured for highway ...
/ / Toolchain
USB Controller fighternan# ls /sys/bus/usb/devices/ -l lrwxrwxrwx 1 root root 0 Jan 1 00:28 usb1 -> ../../../devices/platform/0.soc/878010000000.pci/pci0001:00/0001:00:0c.0/usb1 lrwxrwxrwx 1 root ...
/ / Linux, Operation Systems
Coroutines Coroutines are special functions that can have their execution suspended and resumed. To define a coroutine, the co_return, co_await, or co_yield keywords must be ...
/ / C++, Programming Language
std::string_view // Regular strings. std::string_view cppstr {"foo"}; // Wide strings. std::wstring_view wcstr_v {L"baz"}; std::optional A common use case for optional ...
/ / C++, Programming Language
VM docker update --restart unless-stopped $container_name Container # start apache2 at boot up update-rc.d apache2 defaults # check init.d config ...
/ / Web, Wordpress
Got a coredump Let's say a daemon got a segmentation fault. $ coredumpctl TIME PID UID GID SIG COREFILE EXE ...
/ / Debug, OpenBMC