NO IMAGE
1 Star2 Stars3 Stars4 Stars5 Stars 給文章打分!
Loading...

根據dev_tree_get_entry_info函式中的提示,在dts檔案中,將qcom,board-id修改為0x0102000a就可以了-4.png
/* For V3 version of DTBs we have platform version field as part
    * of variant ID, in such case the subtype will be mentioned as 0x0
    * As the qcom, board-id = <0xSSPMPmPH, 0x0>
    * SS — Subtype
    * PM — Platform major version
    * Pm — Platform minor version
    * PH — Platform hardware CDP/MTP
    * In such case to make it compatible with LK algorithm move the subtype
    * fROM variant_id to subtype field

跟了程式碼,還有以下疑問,請大家幫忙解決,十分感謝!
問題一:dev_tree_appended、dev_tree_compatible大概的流程
問題二:board_platform_id、board_soc_version、board_target_id、board_hardware_subtype這幾個值是哪裡來的?重點解析一下函式platform_detect中呼叫的smem_read_alloc_entry_offset

問題三:整體解析一下DTB,也就是dts檔案的載入匹配過程,謝謝!

瞭解答案詳情,可到一牛網論壇

參考資料:http://bbs.16rd.com/topic-XINPIANBAIKE.html   

相關文章

程式語言 最新文章