Linux 3.9.10核心編譯錯誤:multiple (or no) load addresses: This is incompatible with uImages的解決__Linux

來源:互聯網
上載者:User
          今天嘗試編譯了一下Linux 3.9.10,最後提示以下錯誤。  Kernel: arch/arm/boot/Image is ready   Kernel: arch/arm/boot/zImage is ready multiple (or no) load addresses:  This is incompatible with uImages Specify LOADADDR on the commandline to build an uImage make[1]: *** [arch/arm/boot/uImage] 錯誤 1 make: *** [uImage] 錯誤 2
      為了對比,編譯了一下:Linux 3.9.8,是能正常產生uImage的,因此應該不是mkimage工具的錯誤,可能是核心配置或是其他問題。經過認真分析核心的配置,找到如下關於dtb 檔案的問題(裝置樹檔案:針對具體的開發板等)。 在boot選項裡有一個: [ ]Use appended device tree blob to zImage (EXPERIMENTAL) 
把device tree blob檔案附加到:zImage,這個選項預設為開啟的,關閉即可正常的編譯出uImage。



        網上有相似的解決方式,如在編譯時間加入:LOADADDR參數。但是我覺得,去掉這個選項是應該的,因為目前我的開發板檔案dtb,是另外燒寫的。
       編譯成功後,下載到板子上,成功引導了UBI根檔案系統,一切正常。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.