作者jserv (松鼠)
看板Linux
標題Re: [問題] arm_linux_kernel_make
時間Mon Sep 19 02:10:28 2011
※ 引述《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
推 xicer:有看到這段code的到default後就不知道怎麼下手了,晚上回來 09/19 06:27
→ xicer:試試,感謝!!! 09/19 06:28
→ Kerick:有用新環境弄成功 希望兄台把步驟更新 分享一下^^ 09/23 00:10
→ xicer:但是make linux 2.6.18.1跟3.0.4都失敗,都會出現error FPA 09/25 16:18
→ xicer:至於jserv大po的initramfs,我想我還要花時間瞭解跟吸收.... 09/25 16:19
→ xicer:忘記說了,我現在是用gcc 4.5.0 09/25 17:35