Re: [問題] arm_linux_kernel_make

看板Linux作者 (松鼠)時間14年前 (2011/09/19 02:10), 編輯推噓1(106)
留言7則, 2人參與, 最新討論串2/2 (看更多)
※ 引述《xicer (xicer)》之銘言: : http://opencsl.openfoundry.org/# : 由於距離該網站發文已經有段時間!!! opencsl 內容很好,可惜就是資料過時 如果兄臺有空的話,請不吝分享新的軟體組合 : 參考 : http://raspi.springnote.com/pages/8234994.xhtml : 的步驟,但在最後一步 : Compiling the kernel 失敗,出現 : ---------------------------------------------------- : qemu: hardware error: integratorcm_read : Unimplemented offset 0x1f1018 可參照 qemu/hw/integratorcp.c 原始程式碼: static uint32_t integratorcm_read(void *opaque, target_phys_addr_t offset) { integratorcm_state *s = (integratorcm_state *)opaque; if (offset >= 0x100 && offset < 0x200) { /* CM_SPD */ if (offset >= 0x180) return 0; return integrator_spd[offset >> 2]; } ... default: hw_error("integratorcm_read: Unimplemented offset 0x%x\n", (int)offset); return 0; } } 0x1f1018 這個位址應是 disk (還記得 kernel 的組態吧),可參考以下 QEMU 參數: http://www.linuxquestions.org/questions/linux-mobile-81/qemu-error-871095/ 為了省事,其實也可以用 QEMU 執行 linux kernel image + initramfs: http://blog.linux.org.tw/~jserv/archives/001954.html -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.57.131.211

09/19 06:27, , 1F
有看到這段code的到default後就不知道怎麼下手了,晚上回來
09/19 06:27, 1F

09/19 06:28, , 2F
試試,感謝!!!
09/19 06:28, 2F

09/23 00:10, , 3F
有用新環境弄成功 希望兄台把步驟更新 分享一下^^
09/23 00:10, 3F

09/25 16:16, , 4F
今天又試了,toolchain 參考http://dot-dev.blogspot來做
09/25 16:16, 4F

09/25 16:18, , 5F
但是make linux 2.6.18.1跟3.0.4都失敗,都會出現error FPA
09/25 16:18, 5F

09/25 16:19, , 6F
至於jserv大po的initramfs,我想我還要花時間瞭解跟吸收....
09/25 16:19, 6F

09/25 17:35, , 7F
忘記說了,我現在是用gcc 4.5.0
09/25 17:35, 7F
文章代碼(AID): #1ETZGMzS (Linux)
討論串 (同標題文章)
文章代碼(AID): #1ETZGMzS (Linux)