Device Tree for Picasso seems broken
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- android, linux
研究方向
從 issue 中連結的 fork 核心原始碼和 device-tree 檔案開始,接著將其串接後的 DTB 輸出與官方 boot.img 以及預先建置的 DTB/DTBO 進行比較。檢查封裝差異以及開機期間的 ramoops 輸出。完成的標準是找出原因,並產生一個能夠封裝進 boot.img 且可成功啟動 Picasso 的 DTB/DTBO。
由索引模型根據 Issue 內容生成。
描述
I don't know if it's my mess-up, but I was not able to build the exact same dtb image as found in the official boot.img. My built dtb image is 4.4M when concatenated while the official one is only ~800K, and most importantly, when packaged into boot.img, the one built by me does not work and fails straight into bootloader. In console-ramoops I can't even see kernel messages during such a crash, which probably means the kernel isn't even booted enough to output anything to ramoops. I tried to unpack the concatenated dtb images and compare them one-by-one, but it seemed to me that even the same dtb in the two images do not really match up and differs quite significantly.
In my current effort to port LineageOS 17.1 to this device, I resorted to using OSS kernel + prebuilt DTB / DTBO for now. I hope that this can be sorted out soon as some of my kernel changes had to be dirty hacks without functional OSS DTB / DTBO.
Of course, since I'm not aware of anyone else that is currently trying to build kernel + dt for this device, it could be totally my fault instead of Xiaomi's. But for now since I do not know, I'm keeping this open until someone fixed it or could help figure out why mine does not work. My forked kernel source code (with dt included) is at https://github.com/PeterCxy/android_kernel_xiaomi_sm7250
- 主要語言
- 沒有語言資料
- 星號
- 138
- 分支
- 64
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
MiCode/kernel_devicetree 的其他 Issue
-
[Source Request] Kernel Source, Device Tree, and Vendor Blobs for Xiaomi 17 Ultra Series (nezha)未關閉
難度 5/5 一週以上 新手友好度 20/100
MiCode/kernel_devicetree#71 ·
-
難度 5/5 一週以上 新手友好度 25/100
MiCode/kernel_devicetree#70 ·
-
難度 5/5 一週以上 新手友好度 15/100
MiCode/kernel_devicetree#69 ·
-
難度 5/5 一週以上 新手友好度 15/100
MiCode/kernel_devicetree#68 ·
-
難度 5/5 一週以上 新手友好度 20/100
MiCode/kernel_devicetree#67 ·
查看 MiCode/kernel_devicetree 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 67/100
tenstorrent/tt-umd#3605 ·
維護者通常 4 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 75/100
oresat/oresat-linux#90 ·
-
question
難度 2/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 78/100
espressif/esp-iot-solution#794 ·
-
Type conversion warning in TI INA237 driver可能已有人在做 @PatrickJosephTI 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 85/100
zephyrproject-rtos/zephyr#121366 · 1 則留言 ·
維護者通常 1 天內回覆