现代计算机(专业版)
現代計算機(專業版)
현대계산궤(전업판)
MODERN COMPUTER
2009年
3期
115-118
,共4页
U-Boot%扁平设备树%Dtc
U-Boot%扁平設備樹%Dtc
U-Boot%편평설비수%Dtc
Linux系统启动过程中,需要由u-boot(boodoader)向内核传递一些必要的参数,例如kernel地址、injtrd地址、cmd_line、内存大小、外围设备信息等内容.以前的传递方式是通过struct bd_info这个结构体来实现,但这种方式缺乏灵活性,于是在最新PowerPC的启动过程中采用了基于扁平设备树(fiacted device tree)的参数传递方式,这种方式比较灵活,而且是未来的发展趋势.
Linux繫統啟動過程中,需要由u-boot(boodoader)嚮內覈傳遞一些必要的參數,例如kernel地阯、injtrd地阯、cmd_line、內存大小、外圍設備信息等內容.以前的傳遞方式是通過struct bd_info這箇結構體來實現,但這種方式缺乏靈活性,于是在最新PowerPC的啟動過程中採用瞭基于扁平設備樹(fiacted device tree)的參數傳遞方式,這種方式比較靈活,而且是未來的髮展趨勢.
Linux계통계동과정중,수요유u-boot(boodoader)향내핵전체일사필요적삼수,례여kernel지지、injtrd지지、cmd_line、내존대소、외위설비신식등내용.이전적전체방식시통과struct bd_info저개결구체래실현,단저충방식결핍령활성,우시재최신PowerPC적계동과정중채용료기우편평설비수(fiacted device tree)적삼수전체방식,저충방식비교령활,이차시미래적발전추세.