QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1659|回复: 4

2410+linux skyeye启动出错

[复制链接]
发表于 2008-11-27 14:41:13 | 显示全部楼层 |阅读模式
skyeye 1.2.4
kernel 2.6.25

启动参数
mem=32M console=ttySAC0 root=/dev/ram initrd=0xc0800000,0x00800000 ramdisk_size=8192 rw

skyeye.conf
cpu: arm920t
mach: s3c2410x

# physical memory
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xc0800000, size=0x00800000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x01000000

运行后:
big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x806b570
ethmod num=1, mac addr=8:0:3e:26:a:5b, hostip=10.0.0.1
sh: ifconfig: command not found
lcd_mod:1
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./initrd.img
exec file "vmlinux"'s format is elf32-little.
load section .note.gnu.build-id: addr = 0x00000000  size = 0x00000024.
load section .text.head: addr = 0xc0008000  size = 0x000003c0.
load section .init: addr = 0xc00083c0  size = 0x00019c40.
load section .text: addr = 0xc0022000  size = 0x0022b0f0.
load section __ksymtab: addr = 0xc024e000  size = 0x00003fc8.
load section __ksymtab_gpl: addr = 0xc0251fc8  size = 0x000014b8.
load section __ksymtab_strings: addr = 0xc0253480  size = 0x0000d6f0.
load section __param: addr = 0xc0260b70  size = 0x00001490.
load section .data: addr = 0xc0262000  size = 0x000196c0.
not load section .bss: addr = 0xc027b6c0  size = 0x00013c74 .
not load section .comment: addr = 0x00000000  size = 0x0000274e .
not load section .ARM.attributes: addr = 0x00000000  size = 0x0000001c .
not load section .debug_line: addr = 0x00000000  size = 0x001083ed .
not load section .debug_info: addr = 0x00000000  size = 0x010824ac .
not load section .debug_abbrev: addr = 0x00000000  size = 0x0009afb7 .
not load section .debug_aranges: addr = 0x00000000  size = 0x00005d58 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0001cccc .
not load section .debug_str: addr = 0x00000000  size = 0x0007bd22 .
not load section .debug_frame: addr = 0x00000000  size = 0x0004f5a8 .
not load section .debug_loc: addr = 0x00000000  size = 0x001b1588 .
not load section .debug_ranges: addr = 0x00000000  size = 0x00052e98 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
SKYEYE:NumInstrs 123, mem_write_byte addr = 40100000 no bank

网上一直没找到这样的问题
最后的出错什么问题?
 楼主| 发表于 2008-11-28 08:54:32 | 显示全部楼层
谁能告诉我最后的报错是什么意思吗?
回复

使用道具 举报

发表于 2008-11-28 10:28:25 | 显示全部楼层
参考 http://skyeye.wiki.sourceforge.net/Linux#tocLinux2

最后一个出错,是说向一个不存在的地址进行了写操作。
回复

使用道具 举报

发表于 2008-11-28 12:05:19 | 显示全部楼层
程序有向物理内存0x40100000 处访问,但0x4010000处没有相应的内存段配置,可以增加下面的配置,暂时跳过这个错误提示,但程序是否执行正常就不知道了。
mem_bank: map=M, type=RW, addr=0x40100000, size=0x00001000
回复

使用道具 举报

 楼主| 发表于 2008-11-28 15:24:42 | 显示全部楼层
加上了mem_bank: map=M, type=RW, addr=0x40100000, size=0x00001000 就正常了
谢谢LS

先在 新问题
...................................
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 390 KHz
ERROR: s3c2410x_io_write_word(0x54000000) = 0x000000a9
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
TCP cubic registered
NET: Registered protocol family 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 2048KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 116K
到这里就一直停止不动这是为什么?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 08:19 , Processed in 0.057942 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表