skyeye运行s3c2410的问题。
我用arm-linux-gcc version 2.95.3 20010315 (release)编译了linux-2.4.18-rmk7-pxa1-mz4.tar.gz包,skyeye.conf取自于testsuite2.1包中testsuite2/s3c2410/2.4.18/skyeye.conf,具体配置如下:
# more skyeye.conf
#skyeye config file sample
cpu:arm920t
mach: s3c2410x
#physical memory
#mem_bank: map=M, type=RW, addr=0x20000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x00600000
mem_bank: map=M, type=RW, addr=0xc1600000, size=0x00a00000
#all peripherals I/O mapping area
#mem_bank: map=I, type=RW, addr=0xfefa0000, size=0x00060000
mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020
net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
#lcd:type=s3c2410x,mod=gtk
#dbct:state=on
运行时候出现下面的问题:
# skyeye vmlinux
***********************************************************************
**** ****
**** SkyEyeSimulator Ver 0.9.8 withGDB/Insight 5.3 Interface ****
**** ****
***********************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...(no debugging symbols found)...
(SkyEye) tar sim
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x8166774
nic info: state=0, ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
SKYEYE: use arm920t mmu ops
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0xb000 vma 0xc0008000
Loading section .text, size 0xe6de4 vma 0xc0013000
Loading section __ex_table, size 0x968 vma 0xc00f9df0
Loading section .data, size 0xc803 vma 0xc00fc000
Start address 0xc0008000
Transfer rate: 8354424 bits/sec.
(SkyEye) r
Starting program: /root/usr/src/kernel/vmlinux
Error: a
应该是读取architecture时出现的问题,现在我的问题是:
我要把linux-2.4.18-rmk7-pxa1-mz4移植到skyeye上需要修改哪些地方?
谢谢! You can modify skyeye source file. in arch / arm / mach / skyeye_mach_s3c2410x.c as the following:
609 state->Reg = 193; //for SMDK2410
610 //state->Reg = 395;//for SMDK2410TK
611 //state->Reg = 241; //ARCH_S3C2440
You need to modify the value of state->Reg to some value. 我更改了state-->Red=193
编译运行后又出现下面的问题:
# skyeye vmlinux
***********************************************************************
**** ****
**** SkyEyeSimulator Ver 0.9.8 withGDB/Insight 5.3 Interface ****
**** ****
***********************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(SkyEye) tar sim
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x8166774
nic info: state=0, ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
SKYEYE: use arm920t mmu ops
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0xb000 vma 0xc0008000
Loading section .text, size 0xe97e4 vma 0xc0013000
Loading section __ex_table, size 0x968 vma 0xc00fc7f0
Loading section .data, size 0xc803 vma 0xc00fe000
Start address 0xc0008000
Transfer rate: 8440440 bits in <1 sec.
(SkyEye) r
Starting program: /root/usr/src/kernel/vmlinux
Program received signal SIGINT, Interrupt.
0x00000000 in ?? ()
(SkyEye)
页:
[1]