- 博客(34)
- 资源 (2)
- 收藏
- 关注
翻译 TTY 和 X窗口系统:在Unix上的进化史
以我自己的经验来看,刚刚接触Unix(linux)的人对终端(terminal,伪终端,虚拟终端),控制台(console),tty(电传打字机)这些概念很难一下子完全理解,尤其是这其中大部分的名称都是几十年前的概念,现在只是还使用这个名字而已,更造成理解上的不便。LinuxDevCenter的这篇文章对我理解概念帮助巨大,特地翻译希望能帮到更多人。欢迎指正。
2016-12-08 13:41:31
1284
原创 Another Way To Register I2C devices
In embedded Linux, the “classic” mean of registering a device is to add the device’s info into board within arch/ folder. There is another approach to do this, without interfering the arch/ directory b
2016-07-27 14:39:29
559
原创 The Creation of Process 0 & 1 on ARM Architecture
This post is used to depict how process 0 & 1 were created, based on TCC8900
2015-12-30 15:35:37
757
原创 Device Driver's Probe Routine
Who calls device driver’s probe() routine, and when? Where is probe() parameter from?
2015-12-23 11:07:17
759
翻译 Linux引导:历史和未来
引导Linux:历史和未来译自http://www.almesberger.net/cv/papers/ols2k-9.ps.gz。 作者: Werner Almesberger 本文讲解了linux引导过程。相较于其它同类资料,更好的厘清了译者的疑问。请留意本文成文于2000年,因此有很多新的技术,比如ramfs,initramfs等并未包含其中。但从讲解原理的角度来看,论述已经很充分了。
2015-07-25 19:02:21
992
原创 ARM system call
1. The system call vector numbers are defined in arch/arm/include/asm/unistd.h#define __NR_restart_syscall(__NR_SYSCALL_BASE+ 0)#define __NR_exit (__NR_SYSCALL_BASE+ 1)#define __NR_fork (__N
2015-06-08 09:27:39
1106
原创 Frequently used vi commands
hjkl: move cursorx: delete a chari: enter INSERTA: append at the end of current linea: enter INSERT after cursordw: delete wordd$: delete to EOLde: delete to EOWdd: delete one line
2015-05-28 08:55:09
475
原创 Linux process/thread in practice
This post tries to depict a inside-view about Linux process / thread. In addition to explain the relative theory / idea , you will see examples in real world. specifically, Linux 2.6.28 on ARM 11.
2015-02-06 20:34:05
691
原创 ARM Virtual - Physical memory translation
This post illustrates ARM virtual - physical memory translation. Based on TCC8900.TCC8900 built based on ARM1176JZF-S, ARM’s proprietary RISC CPU core. The ARM1176JZF-S processor incorporates
2015-02-02 16:50:28
1052
原创 oops
*******************************************************************************---Below was printed at arc/arm/mm/fault.c ---> __do_kernel_fault(); ************************************************
2015-01-30 09:58:51
900
原创 TVP5150 driver&application overview
This document is used to record my understanding against camera souce code.PART 1: Hardware connectionTVP5150 TCC8900======= =======SDA | | GPIO_A1CAM_I2C dataSCL | CAM_I2C
2015-01-29 09:21:02
1033
原创 SLAB layer
Anotamy of Linux SLAB layerWhat it for?============The Linux kernel provides the SLAB layer, called the slab allocator, to allocateand free frequently used data structures.Where
2015-01-16 14:13:07
800
原创 Memory related MACROs in ARM linux
TCC8900 BSP (linux 2.6.28)1) TEXT_OFFSET 0x00100000 The Kernel's start address (offset) within RAM../arch/arm/Makefile#Default valuehead-y := arch/arm/kernel/head$(MMU
2014-12-09 10:39:55
990
原创 How Linux Initializes Memory - TCC8900
This post tries to describe how Linux initializes the memory system, based on TCC8900 BSP.First of all, we need to understand the TCC8900's memory address map:(according to official chip spec)
2014-12-03 11:46:33
981
原创 TCC8935 HDMI output
This post describes how to send HDMI signal out on tcc8935.The LCDC's output can be configured to
2014-08-13 18:55:47
2197
原创 8935 CLOCK subsystem
The CLOCK system is an essential/fundamental component of any system
2014-08-08 11:50:35
1420
原创 8935 scaler&wmixer driver
TCC8935 features 4 scalars and 6 wmixers within VIOC:SCALARS:scalar 0:
2014-07-25 16:51:33
1101
原创 How Linux creates device files under /dev
This post is used to describe how Linux creates device files under /dev,
2014-07-18 11:49:42
1234
翻译 Linux驱动模型 - 概览
The Linux Kernel Device Model Patrick Mochel Drafted 26 August 2002Updated 31 January 2006 Overview~~~~~~~~ 新的Linux内核驱动模型对之前内核中各种不同的驱动模型进行了统一化的工作. 目的是对bus相关的驱动做一个增强 --- 通
2014-07-11 17:50:11
614
翻译 Linux驱动模型 - 驱动程序
Device Drivers struct device_driver { char * name; structbus_type * bus; structcompletion unloaded; structkobject
2014-07-11 17:49:38
793
翻译 Linux驱动模型 - 平台设备(unfinished)
PlatformDevices and Drivers~~~~~~~~~~~~~~~~~~~~~~~~~~~~新的驱动模型中有关Platform总线的接口可以参考: platform_device, 和 platform_driver. 这个虚拟总线用于连接那些简单总线上的设备。简单总线可以认为是以前SOC中集成外设的总线,或一些PC上使用的过时的连接器;做为对比,那些庞大的、正式
2014-07-11 17:49:19
682
翻译 linux驱动模型 - 设备
TheBasic Device Structure~~~~~~~~~~~~~~~~~~~~~~~~~~See the kerneldoc for the struct device. ProgrammingInterface~~~~~~~~~~~~~~~~~~~~~检测到设备的总线驱动使用如下函数将设备注册到内核:int device_register(struc
2014-07-11 17:48:38
715
翻译 Linux驱动模型 - 总线
Bus Types Definition~~~~~~~~~~See the kernel doc for the struct bus_type.(include/linux/device.h)struct bus_type { const char *name; structbus_attribute
2014-07-11 17:47:08
501
翻译 Linux驱动模型 - 类
Bus Types Definition~~~~~~~~~~See the kernel doc for the struct bus_type.(include/linux/device.h)struct bus_type { const char *name; structbus_attribute
2014-07-11 17:45:11
643
翻译 Linux 内核编程指南
Linux 内核编程指南 PeterJay SalzmanMichaelBurianOriPomerantzCopyright© 2001 Peter Jay Salzman2007−05−18ver 2.6.4 是免费的,你可以在Open Software License许可证1.1版的约束下修改并重新发布本书; 可以在网站http://opensource.or
2014-07-11 17:43:42
2571
原创 Porting MT6620 driver to EDesk board
NOTE: Build based on Yusurf's release: v1305+patches+MT6620*******************************************************************************PART 1. compile original code: /root/EDeskYusurf/
2014-07-11 17:14:31
2099
原创 Register a panel to kernel
1. Select LCD panel by means of 'make menuconfig': device drivers -> Graphic Support -> Support for LCD panels This step generates a defination like "CONFIG_LCD_PANELNAME=y" in .config f
2014-07-11 17:11:55
939
原创 Display system in bootloader
This document depicts the bootloader's display subsystem:Part 1: related filesa. target/tcc893x_evm/rules.mk 1. (DEFINES += FLD0800 # 1024x600 /* D
2014-07-11 17:08:18
1318
原创 Android 4.2 Shutdown procedure
The shutdown procedure within Linux (based on BSP v13.05): 1. Android call __reboot( LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2,
2014-07-11 17:00:30
660
原创 How Android handles KEY_POWER?
Within axp202 device driver, the driver sends KEY_POWER to Android when user press POWER button on board, no matter that a long OR short press. while, the Android responds respectiv
2014-07-11 16:55:28
1083
原创 m805_893x memory layout
The system memory layout looks like this:Physical/Virtual addressdescriptionsizecomment80000100 - 80007FFF / c0000100 - c0007FFFATAG32KB 80008000 -
2014-07-11 16:40:46
1707
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人