编译android kernel,执行:skyeye -e vmlinux 提示no initrd.img
安装了最新版本的skyeye,编译android2.6.36for s3c6410的内核,运行skyeye -e vmlinux
提示:
SkyEye 1.3.2
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should not remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
(skyeye)start
arch: arm
cpu info: armv6, arm11, 7b000, 7f000, 0
In do_mach_option, mach info: name s3c6410x, mach_init addr 0xfc2620
uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
./initrd.img: No such file or directory
bank 1, Couldn't open boot ROM ./initrd.img - execution will commence with the debuger.
In skyeye_exit, Some unknown exception happened.
SKYEYE: use arm11jzf-s mmu ops
exec file "vmlinux"'s format is elf32-i386.
load section .init: addr = 0xc0008000size = 0x00016efc.
skyeye: bus/ram.c:153: mem_write_byte: Assertion `global_mbp != ((void *)0)' failed.
Aborted
请问,initrd.img是必须自己创建吗?如何生成这个文件啊?
[
另:
可以直接拷贝编译android源码时生成的ramdisk.img,改名成initrd.img后直接使用吗?
我试的结果是:
(skyeye)start
arch: arm
cpu info: armv6, arm11, 7b000, 7f000, 0
In do_mach_option, mach info: name s3c6410x, mach_init addr 0xa2f620
uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
Loaded RAM ./initrd.img
SKYEYE: use arm11jzf-s mmu ops
exec file "vmlinux"'s format is elf32-i386.
load section .init: addr = 0xc0008000size = 0x00016efc.
skyeye: bus/ram.c:153: mem_write_byte: Assertion `global_mbp != ((void *)0)' failed.
Aborted
] 将编译生成的ramdisk.img重命名了一下,执行:
$ skyeye -e vmlinux -l0x50000000,0xffffff
SkyEye 1.3.2
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should not remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
(skyeye)start
arch: arm
cpu info: armv6, arm11, 7b000, 7f000, 0
In do_mach_option, mach info: name s3c6410x, mach_init addr 0x30d620
uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
Loaded RAM ./initrd.img
SKYEYE: use arm11jzf-s mmu ops
exec file "vmlinux"'s format is elf32-i386.
load section .init: addr = 0xc0008000size = 0x00016efc.
load section .text: addr = 0xc001f000size = 0x001f3c8c.
load section __ksymtab: addr = 0xc0213000size = 0x00003a00.
load section __ksymtab_gpl: addr = 0xc0216a00size = 0x000018d0.
load section __ksymtab_strings: addr = 0xc02182d0size = 0x0000b1d6.
load section __param: addr = 0xc02234a8size = 0x00000b58.
load section .ARM.unwind_idx: addr = 0xc0224000size = 0x00010e00.
load section .ARM.unwind_tab: addr = 0xc0234e00size = 0x000014b8.
load section .data: addr = 0xc0238000size = 0x0001efa0.
not load section .bss: addr = 0xc0256fa0size = 0x00034230 .
not load section .comment: addr = 0x00000000size = 0x00002a54 .
not load section .ARM.attributes: addr = 0x00000000size = 0x00000028 .
not load section .debug_line: addr = 0x00000000size = 0x0024ff48 .
not load section .debug_info: addr = 0x00000000size = 0x01072d30 .
not load section .debug_abbrev: addr = 0x00000000size = 0x000a3a69 .
not load section .debug_aranges: addr = 0x00000000size = 0x000064c8 .
not load section .debug_pubnames: addr = 0x00000000size = 0x0001d730 .
not load section .debug_str: addr = 0x00000000size = 0x0007ad88 .
not load section .debug_frame: addr = 0x00000000size = 0x000478ac .
not load section .debug_loc: addr = 0x00000000size = 0x0014d24d .
not load section .debug_ranges: addr = 0x00000000size = 0x00061748 .
In SIM_start, Set PC to the address 0x50008000
(skyeye)run
(running)Bus read error, can not find corresponding bank for addr 0x0,pc=0x500083b8
这是什么错误呢? 能否将您的skyeye.conf列出来分享一下,暂时看来有可能是您的skyeye.conf出的问题。
页:
[1]