跳到主要內容

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 Participation, 議程軌與攤位即日起開放申請

Jump to English   COSCUP 2025的社群議程/攤位即日起開始接受申請,社群議程於3月22日截止申請,社群攤位於6月10號截止。請有興趣在今年與我們共襄盛舉的社群把握機會! 👉  申請加入 以下介紹如何在 COSCUP 籌辦議程軌或攤位的流程及注意事項。

Early Guide to Joining COSCUP 2025 

(Updated: Feb 13) Many people in the community are excited to find out how to participate in COSCUP 2025. We’ll share more updates soon, but here’s what we can share so far! You can join as a speaker, host a booth, organize a track, or become a sponsor. If you’re new to COSCUP, take a look at the article " COSCUP Unveiled " to learn more. Date and Location The event will take place at NTUST in Taipei, Taiwan, on a weekend in late July to early August, as usual. The planned dates for this year are August 9-10. Be a Speaker Our early bird Call for Proposals (CfP) is now opened!  If you have a presentation about open culture or open-source technology, we want to hear from you. Submitting early means you’ll hear back sooner about your proposal. Host a Booth Open-source communities can set up booths to display their work and interact with attendees. This is a great way to share your community’s projects and connect with others. Businesses that support open-source can also host a ...

COSCUP 2025 Early Bird Call for Proposals

  If you are passionate about open culture and open-source technology, no matter where you are, we welcome you to join COSCUP 2025! We designed the Early Bird Program to give you more time to prepare your talk after acceptance and to help international speakers plan their trip to Taiwan. If you prefer to organize things early, this program is just for you. We look forward to welcoming you back to COSCUP, reconnecting with the community, and sharing your valuable experiences. About COSCUP COSCUP is an annual conference organized by the Taiwanese open-source community since 2006. COSCUP aims to provide a platform to connect Open Source coders, users, and promoters while promoting FLOSS within the annual conference. The conference is free to attend and all the staff are volunteers. We had more than 3000 attendees last year, and there will be more this year. It is the biggest open-source gathering in Taiwan, and the attendees are mostly developers, some power users, and FLOSS promote...