跳到主要內容

Linux Firmware Debug Kit (LFDK)

講題:Linux Firmware Debug Kit (LFDK)

講者:洪豪謙 (Merck Hung)

網站:http://merckhung.blogspot.com/

自介:一位喜愛研究電腦硬體操作及作業系統的工程師,目前任職於華碩電腦,從事 Android Phone 之開發。

摘要:
因曾經從事過一陣子 Legacy BIOS 工作,體驗過 BIOS 豐富的 debug 工具。例如一些 BIOS Engineer 所熟悉的 AMI RU,Award ADU 等兩個通用 Debug 程式。以及各家公司內部自行開發的 debug tools,如 e820,Super I/O,I2C tools 等等。但很奇怪的,Linux 上怎麼老是沒什麼可以用來 Debug 的工具程式。尤其對一位 BIOS Engineer (尤其是 Server BIOS) 而言,Linux 也是其很重要的目標平台。如果在 DOS 上出了問題,那有 RU/ADU。 如果在 Windows 上出了問題,那有 Windows 版的 RU。那如果在 Linux 上出了問題呢?另一方面對 Embedded Linux Engineer 來說,不斷的重複燒 FlashROM,或是不斷 rmmod/insmod,以及 Remote NFS,雖然可以加速整個 Registers Debug 的流程,但都還是不及有一個通用工具來的方便,可以達到即時修改即時反應的便利。所以就在那樣的時空背景下,也就動手寫了與 AMI RU 介面很相似的 LFDK 這套工具。在這幾年來,帶給了我不少方便,更甚至是飛到大陸客戶端處理問題。然而事過境遷,它已經許久不再改版,故將之釋出為 GPL Open Source Software,與有緣人分享之。

這個網誌中的熱門文章

COSCUP 2025 Call for Proposals / 徵稿辦法

COSCUP 常規徵稿已於 2025-05-10 截止,接下來進入加碼徵稿階段。加碼徵稿是為了提升大會的稿件品質,依據投稿狀況(數量、品質)部分徵稿主題可能提前喊停。最遲請於 05 月 24 日(AoE) 前投稿,徵稿主題可參考下方列表。 The regular call for proposals (CFP) for COSCUP closed on May 10, 2025. We are now entering the bonus CFP phase to improve the quality of submissions. Some topics may close earlier than expected, depending on the current status of submissions (in terms of quantity and quality). Please submit by May 24 (AoE) at the latest. You may refer to the topic list below for inspiration. 開始投稿 Submit Your Proposal 提案須知 Things you may need to know 演講形式:預設為現場30分鐘演講包含QA,若有其他需求可於提案系統註明,由各主題主辦單位決定如何安排。 Talk Format : The default format is a 30-minute on-site talk, including Q&A. If you have other requirements, please indicate them while submitting your proposal. The final arrangement will be decided independently by the organizers of each topic. 語言:COSCUP 受眾包含海內外與會者,大會不限制發表語言但鼓勵以英語發表。大會將公布雙語議程表,請提供中英文版議程介紹。 L...

Lead the Trend — COSCUP 2026 Early Bird CfP

COSCUP 2026 Early Bird CfP Lead the Trend — COSCUP 2026 Early Bird CfP Embracing the open-source spirit of release early, the Early Bird program allows the community to discover your ideas sooner and helps COSCUP build a stronger, more coherent program. As the conference continues to grow each year while volunteer capacity becomes leaner, Early Bird submissions this year will be reviewed and announced together with the regular CfP. If you already have something you’re eager to share, make the most of the timeline by preparing and submitting early. We look forward to seeing your discoveries and adventures in open-source spark conversations at COSCUP 2026. Event Information Dates: August 8–9, 2026 Venue: National Taiwan University of Science and Technology (No. 43, Sec. 4, Keelung Rd., Da-an Dist., Taipei) Topics & Format Proposals should relate to open culture or open source technology. ...

你的程式碼,你的硬體,你的 AI。掌握你的晶片未來。Your code, your hardware, your AI. Own your silicon future.

在 Tenstorrent,我們從晶片設計的最底層開始打造一切。我們不只採用 RISC-V,更將我們的擴充指令集規格全數公開。指令集架構 (ISA) 與硬體架構也完全開源。整個軟體堆疊,從韌體 (firmware)、運算核心 (compute kernels) 到編譯器,全都放在 GitHub 上,並採用你真正能用的授權條款 (Apache 2.0 / GPL)。我們的下一代晶片 Blackhole,旨在掃除傳統設計的低效率,讓你直接掌控資料流 (dataflow),實現更高的速度與電源效率。 Blackhole p150 (單晶片,次世代架構): 32G 記憶體,512GB/s 頻寬 387 TFLOPS (BFP8) / 774 TFLOPS (FP8) 大規模可程式化 RISC-V 核心陣列 算子函式庫、編譯器,整個軟體堆疊 — 全部開源 (OSS) 以原生 CCL 達成真正的多卡擴充,拒絕使用 PCIe workaround $1399 Wormhole n300 (雙晶片,經市場驗證的成熟架構): 24G 記憶體,576GB/s 頻寬 262 TFLOPS (BFP8) / 466 TFLOPS (FP8) 大規模可程式化 RISC-V 核心陣列 算子函式庫、編譯器,整個軟體堆疊 — 全部開源 (OSS) 以原生 CCL 達成真正的多卡擴充,拒絕使用 PCIe 土炮 $1499 現已上市。 立即在官網購買運算卡,或在我們的雲端平台上體驗。 如果你受夠了嚴苛的 EULA (使用者授權合約) 或處處受限的記憶體;又或者,你一直想親自動手,深入探索驅動你類神經網路的 C++ 程式碼;甚至想挑戰組合語言,親眼見證它...