Linux and the Device Tree The Linux usage model for device tree data Author: Grant Likely grant.likely@secretlab.ca 这篇文章介绍了Linux中使用Device Tree的方法.可以在http://devicetree.org/Device_Tree_Usage获取到Device Tree数据格式. Device Tree是一种描述硬件的语言,它可以让操作系统不硬编码硬件的信息. 结…
//Based on Linux v3.14 source code Linux设备树机制(Device Tree) 一.描述 ARM Device Tree起源于OpenFirmware (OF),在过去的Linux中,arch/arm/plat-xxx和arch/arm/mach-xxx 中充斥着大量的垃圾代码,相当多数的代码只是在描述板级细节,而这些板级细节对于内核来讲,不过是垃圾,如板上的platform设备. resource.i2c_board_info.spi_board_info…
To learn device driver development, like any other new knowledge, the bestapproach for me is to learn first the theory and then to do some practice. If you don't know about operating systems, I recommend "Willam Stalling's OS book" [1]. This boo…