- 博客(0)
- 资源 (12)
- 收藏
- 关注
LINUX平台下命令行访问ethernet phy 的寄存器工具
个人写的LINUX平台下,命令行访问ethernet phy 的寄存器工具,驱动和硬件调试非常实用。具体使用如下:
打印寄存器:./mdio eth0 dump
修改寄存器:./mdio eth0 0x00 0x1200,修改0x00寄存器的值为0x1200
2020-06-09
h265/hevc spec
High Efficiency Video Coding (HEVC) text specification draft 10 (for FDIS & Consent)
2013-03-23
IEEE Standard for Floating-Point Arithmetic
This standard specifies interchange and arithmetic formats and methods for binary and
decimal floating-point arithmetic in computer programming environments. This standard specifies
exception conditions and their default handling. An implementation of a floating-point system
conforming to this standard may be realized entirely in software, entirely in hardware, or in any
combination of software and hardware. For operations specified in the normative part of this
standard, numerical results and exceptions are uniquely determined by the values of the input
data, sequence of operations, and destination formats, all under user control.
2012-08-23
Unreliable Guide To Hacking The Linux Kernel
Welcome, gentle reader, to Rusty’s Remarkably Unreliable Guide to Linux Kernel
Hacking. This document describes the common routines and general requirements
for kernel code: its goal is to serve as a primer for Linux kernel development for
experienced C programmers. I avoid implementation details: that’s what the code is
for, and I ignore whole tracts of useful routines.
Before you read this, please understand that I never wanted to write this document,
being grossly under-qualified, but I always wanted to read it, and this was the only
way. I hope it will grow into a compendium of best practice, common starting points
and random information.
2012-08-23
Using kgdb, kdb and the kernel debugger internals
The kernel has two different debugger front ends (kdb and kgdb) which interface to
the debug core. It is possible to use either of the debugger front ends and dynamically
transition between them if you configure the kernel properly at compile and runtime.
Kdb is simplistic shell-style interface which you can use on a system console with a
keyboard or serial console. You can use it to inspect memory, registers, process lists,
dmesg, and even set breakpoints to stop in a certain location. Kdb is not a source
level debugger, although you can set breakpoints and execute some basic kernel run
control. Kdb is mainly aimed at doing some analysis to aid in development or diagnosing
kernel problems. You can access some symbols by name in kernel built-ins or
in kernel modules if the code was built with CONFIG_KALLSYMS.
Kgdb is intended to be used as a source level debugger for the Linux kernel. It is
used along with gdb to debug a Linux kernel. The expectation is that gdb can be used
to "break in" to the kernel to inspect memory, variables and look through call stack
information similar to the way an application developer would use gdb to debug
an application. It is possible to place breakpoints in kernel code and perform some
limited execution stepping.
Two machines are required for using kgdb. One of these machines is a development
machine and the other is the target machine. The kernel to be debugged runs on
the target machine. The development machine runs an instance of gdb against the
vmlinux file which contains the symbols (not boot image such as bzImage, zImage,
uImage...). In gdb the developer specifies the connection parameters and connects to
kgdb. The type of connection a developer makes with gdb depends on the availability
of kgdb I/O modules compiled as built-ins or loadable kernel modules in the test
machine’s kernel.
2012-08-23
Understanding the Linux Virtual Memory Manager
<<Understanding the Linux Virtual Memory Manager>>linux系统内存管理以及实现算法
2010-01-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人