跳到主要內容

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 2019 CfP is now open, submit your proposal before May 6th, 2019.

We are looking for talks in several open-source related areas, please submit your proposal before May 6th, 2019. After the review process from the coordinators, we will publish the full programme in early June.一如往常,在今年的 COSCUP 我們徵求各式各樣不同的 Open Source 相關稿件。請於 5 月 6 日前投稿,或可參考本頁下方各議程軌資訊。Submit your proposalImportant DatesSubmission deadline: May 6th, 2019 (截稿時間)Full programme published: Early June (預定公佈時間)COSCUP 2019: Aug 17-18 (with welcome party at 16th night), at National Taiwan University of Science and TechnologyPartner conferences / 合作研討會特別軌We are gladly welcome HKOSCon (Hong Kong Open Source Conference,) COSCon (China Open Source Conf,) and OSPN OSC (オープンソースカンファレンス) join us with a special track. Please check their CfP form for more information about the track.今年 COSCUP 與 OpenSource HK 的「HKOSCon」、開源社的「COSCon」及 OSPN 的「OSC」合作推出特別軌,以期邀請各地的開源愛好者前來與大家一會。其各自的徵稿資訊,請參考下方連結。opensource.hk "HKOSCon" Special Track開源社 "COSCon" Special TrackOSPN "オープンソースカンファレンス" Spe…

COSCUP 2019 開源貢獻者保留票申請 / Open Source Contributors (OSC) Tickets Application

開源貢獻者資格 由 2018/5/12 到現在,實際針對開源專案提供開發、推廣、或其他有助專案進展之貢獻者,提出貢獻相關證明即可報名。
開源專案意指專案成果以 FSFOSI 認同之公眾授權條款釋出者 所提出之貢獻,必須可以經由公開途徑查證(例如提供 GitHub、Google Code、SourceForge 等公開專案平台上的討論紀錄、網址、commit log、信件文本、公開釋出之演講投影片紀錄等。) 海外參與者 你身在海外,雖想回台參與 COSCUP,但並非貢獻者又害怕搶不到票嗎?COSCUP 歡迎所有的海外人士前來參加!只要你居住在海外、承諾與會,並願意於 SNS 或個人 blog 公佈自己即將與會之訊息,即使非貢獻者或講者,也將優先獲得我們的 VIP 邀請。請在報名表上註明您的出發地,我們將再與您聯絡。

海外參與者請於第四個 Section 告訴我們您從哪裡來,並勾選相關選項。
Key dates5/12 報名截止。5/13 ~ 5/18 審查期間。5/19 第一次審查完畢,開始補件。5/26 前補件完成。6/2 公告開源貢獻者正式名單,通過的開源貢獻者可以在 KKTIX 上報名。 申請表單 申請方法與詳細資訊:https://goo.gl/forms/x7rmsEPsooBSK46T2

Who can apply for OSC tickets? Your participation in an open source project since 2018/5/12 makes you eligible for applying for a Registration Code. The open source project and your participation must meet the following conditions:
The project source code must be released with a license approved by Free Software Foundation or Open Source InitiativeThe project must be hosted on a public repository such as GitHub, Google Code, Sour…

招募社群參與 Call for Participation: Apply for COSCUP `19 Community Room and Booth now! 議程軌與攤位,即日起招募社群參與

Ladies and gentlemen! Application for COSCUP community rooms / booths is started NOW! (快轉到中文版)Community RoomCommunity Rooms are assigned to self-organizing groups to work, share, and discuss issues around an open-source-related topic. The application should be submitted before March 9th.

You can decide the content and format in your Community Room.
You can decide the duration of each section and the whole schedule in your Community Room.
Key datesMarch 9th: Deadline for Community Room applicationMarch 12th: Accepted Community Room announced on blog.coscup.org will be published on April 1st, with CfP.March 26th: Community Room coordinators provide information of Call for ProposalApril 1st: Call for Proposal startsMay 6th: Deadline for Call for ProposalMid-May: Community Room coordinators provide the complete scheduleEarly June: Full schedule published on COSCUP.org (TBC)Augest 17-18 at Taipei: COSCUP 2019Application rulesScheduleWe do not plan for rooms to be empty during the event. By ap…