|
楼主 |
发表于 2008-5-22 17:28:26
|
显示全部楼层
谢谢大虾热心的回复!:)
按照你的config,我做了一些修改,主要是我希望linux启动的时候地址在0xc0800000上,所以修改了/arm/arch/mach-pxa下的Makefile.boot的zreladdr地址为0xc0800000,同时修改了include/asm-arm/arch-pxa下memory.h:
#define PHYS_OFFSET UL(0xc0000000),
以及/arch/arm/mach-pxa 下mainstone.c
:.boot_params = 0xc0000100,
以下是我的conf文件:
[root@jian linux-2.6.23]# cat skyeye.conf
cpu: pxa27x
mach: pxa_mainstone
mem_bank: map=I, type=RW, addr=0x40000000, size=0x0c000000
#mem_bank: map=M, type=RW, addr=0x00000000, size=0x0c000000
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xc0800000, size=0x00800000,file=./arch/arm/boot/zImage, boot=yes
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xc1800000, size=0x02800000
#mem_bank: map=M, type=RW, addr=0xd0000000, size=0x00100000
#log: logon=1, logfile=/tmp/sk2.log, start=500000, end=1500000
lcd:state=on,type=pxa,mod=gtk
但是解压完后会出现死循环:参照你的输出,也有这句,不知有没有照成死循环?还有,你的booting the kernel.和SKYEYE:cp6_mrc unknown cp6 regs!!!!!!之间有关于内核的信息输出,我的怎么没有呢?请再帮忙看看,再次谢谢!!
[root@jian linux-2.6.23]# skyeye -e vmlinux
big_endian is false.
arch: arm
cpu info: xscale, pxa27x, 69054110, fffffff0, 2
mach info: name pxa_mainstone, mach_init addr 0x806e360
lcd_mod:1
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use xscale mmu ops
Loaded RAM ./arch/arm/boot/zImage
start addr is set to 0xc0800000 by exec file.
Uncompressing Linux............................................................................................... done, booting the kernel.
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrcpcode_2 0x0, CRm 0x0, reg 0x6,reg[15] 0xc0024ab4, instr ee166610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrcpcode_2 0x0, CRm 0x0, reg 0x7,reg[15] 0xc0024ab8, instr ee170610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrcpcode_2 0x0, CRm 0x0, reg 0x6,reg[15] 0xc0024ab4, instr ee166610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrcpcode_2 0x0, CRm 0x0, reg 0x7,reg[15] 0xc0024ab8, instr ee170610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrcpcode_2 0x0, CRm 0x0, reg 0x6,reg[15] 0xc0024ab4, instr ee166610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrcpcode_2 0x0, CRm 0x0, reg 0x7,reg[15] 0xc0024ab8, instr ee170610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrcpcode_2 0x0, CRm 0x0, reg 0x6,reg[15] 0xc0024ab4, instr ee166610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrcpcode_2 0x0, CRm 0x0, reg 0x7,reg[15] 0xc0024ab8, instr ee170610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrcpcode_2 0x0, CRm 0x0, reg 0x6,reg[15] 0xc0024ab4, instr ee166610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrcpcode_2 0x0, CRm 0x0, reg 0x7,reg[15] 0xc0024ab8, instr ee170610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrc:opcode_2 0x0, CRm 0x0, reg 0x6,reg[15] 0xc0024ab4, instr ee166610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrc:opcode_2 0x0, CRm 0x0, reg 0x7,reg[15] 0xc0024ab8, instr ee170610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrc:opcode_2 0x0, CRm 0x0, reg 0x6,reg[15] 0xc0024ab4, instr ee166610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrc:opcode_2 0x0, CRm 0x0, reg 0x7,reg[15] 0xc0024ab8, instr ee170610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrc:opcode_2 0x0, CRm 0x0, reg 0x6,reg[15] 0xc0024ab4, instr ee166610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrc:opcode_2 0x0, CRm 0x0, reg 0x7,reg[15] 0xc0024ab8, instr ee170610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrc:opcode_2 0x0, CRm 0x0, reg 0x6,reg[15] 0xc0024ab4, instr ee166610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrc:opcode_2 0x0, CRm 0x0, reg 0x7,reg[15] 0xc0024ab8, instr ee170610
SKYEYE:cp6_mrc unknown cp6 regs!!!!!!
SKYEYE: xscale_cp6_mrc:opcode_2 0x0, CRm 0x0, reg 0x6,reg[15] 0xc0024ab4, instr ee166610
(以上两句不断循环。。。。。。) |
|