|
编译linux-2.6.8 for lubbock,已经修改了CMDLINE等参数选项,initrd.img和skyeye.conf是拷贝的testsuite中的,
cpu: xscale
mach: pxa_lubbock
mem_bank: map=I, type=RW, addr=0x40000000, size=0x0c000000
mem_bank: map=M, type=RW, addr=0xa0000000, size=0x00200000
mem_bank: map=M, type=RW, addr=0xa0200000, size=0x00100000, file=zImage, boot=yes
mem_bank: map=M, type=RW, addr=0xa0300000, size=0x00d00000
mem_bank: map=M, type=RW, addr=0xa1000000, size=0x00800000, file=./initrd4M.img
mem_bank: map=M, type=RW, addr=0xa1800000, size=0x02800000
使用zImage启动后,系统在出现下列信息后hang:
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 4096 blocks [1 disk] into ram disk... done.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 64K
zImage也没有调试信息,不知道如何单步调试?
如果修改skyeye.conf使用vmlinux启动,
cpu: xscale
mach: pxa_lubbock
mem_bank: map=I, type=RW, addr=0x40000000, size=0x0c000000
mem_bank: map=M, type=RW, addr=0xa0000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0xa1000000, size=0x00800000, file=./initrd4M.img
mem_bank: map=M, type=RW, addr=0xa1800000, size=0x02800000
则在出现下列信息后hang:
(SkyEye) target sim
cpu info: xscale, xscale, 69052100, fffffff0, 2
mach info: name pxa_lubbock, mach_init addr 0x814a3dc
SKYEYE: use xscale mmu ops
Loaded ROM ./initrd4M.img
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0x10000 vma 0xc0008000
Loading section .text, size 0xff99c vma 0xc0018000
Loading section __ex_table, size 0x888 vma 0xc01179a0
Loading section __ksymtab, size 0x2a38 vma 0xc0118228
Loading section __ksymtab_gpl, size 0x108 vma 0xc011ac60
Loading section __ksymtab_strings, size 0x6948 vma 0xc011ad68
Loading section .data, size 0x31870 vma 0xc0122000
Start address 0xc0008000
Transfer rate: 10844384 bits/sec.
(SkyEye) run
Starting program: /mnt/hda2/tmp/test/vmlinux
请各位指教一二,谢谢 |
|