设备树加载过程
Linux 内核启动流程
设备树的识别
ARM Linux 内核在Linux-3.x 内核有了很大的变化 ,对一些新的平台的支持取消了传统的
设备文件而用设备树取代 ,这里以FS4412 设备树识别为例说明Linux 是如何识别设备树的。
1、设备树文件
/*
*Insignal'sExynos4412basedOrigenboarddevicetreesource
**
Copyright (c)2012-2013Samsung Electronics Co.,Ltd.
*
**
DevicetreesourcefileforInsignal'sOrigenboardwhichisbasedon
*Samsung'sExynos4412SoC.
**
Thisprogramisfreesoftware;youcanredistributeitand/ormodify
*itunderthetermsoftheGNUGeneralPublicLicenseversion2as
*publishedbytheFreeSoftwareFoundation.
*/
/dts-v1/;
#include"exynos4412.dtsi"
/{
model "InsignalOrigenevaluationboardbasedonExynos4412";
compatible "insignal,origen4412","samsung,exynos4412";
memory{
reg <0x400000000;
};
chosen{
bootargs "root /dev/nfsn