用QEMU試玩u-boot

Submitted by saladlam on

話說有人在開發給Raspberry Pi用的u-boot。二話不說,下載回來試試看。設定好後,開機,只見那個"色板"開機畫面,又不見SD燈在閃。再把文章內容看清楚一些,才發現現在的版本只支援UART I/O。我沒有UART轉USB轉接器,所以不能試。

為了了解u-boot的運作,所以試下可否用Emulator來跑u-boot。我參考這篇文章(http://balau82.wordpress.com/2010/03/10/u-boot-for-arm-on-qemu/),在CentOS 5安裝QEMU,compile2012年7月的程式碼(u-boot-2012.07.tar.bz2),結果是跑不動。

不知道那裏出現問題,就唯有按照文章,OS、Toolchain、Source Code,全部一模一樣地照做一次。結果發現用2010年3月的程式碼(u-boot-2010.03.tar.bz2)就OK。

沒有時間研究為何2012年7月的程式碼為何用不到。

Add new comment

The content of this field is kept private and will not be shown publicly.

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
Enter the characters shown in the image.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.