Hi Thai,
Thai Pham Vinh wrote:
Hello everybody out there,
I'm new to the linux programming world and have some problem when
practicing for the first time. I have compiled a uClinux image for an
ARM7 CPU. The compiling has been done successfully. However, when I
loaded it on skyeye, it hung although there was no error messages shown.
I don't know if I did it correctly.
What kernel version are you using?
It can be useful to use gdb/ARMulator for problems like this.
At least you can trace through the start of execution. The
gdb/ARMulator is buggy though if you are using 2.6 kernels.
But you can still debug the startup.
Here is the log:
[EMAIL PROTECTED]:/downloads/uClinux-dist/images# skyeye -e linux -c
skyeye.conf
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80568f0
ethmod num=1, mac addr=0:0:0:0:0:0, hostip=10.0.0.1
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm7100 mmu ops
Loaded ROM ./romfs.img
exec file "linux"'s format is elf32-little.
load section .init: addr = 0x01008000 size = 0x0000f000.
load section .text: addr = 0x01017000 size = 0x000a53ac.
not load section .pci_fixup: addr = 0x010bd000 size = 0x00000000 .
not load section .rio_route: addr = 0x010bd000 size = 0x00000000 .
not load section __ksymtab: addr = 0x010bd000 size = 0x00000000 .
not load section __ksymtab_gpl: addr = 0x010bd000 size = 0x00000000 .
not load section __ksymtab_unused: addr = 0x010bd000 size = 0x00000000 .
not load section __ksymtab_unused_gpl: addr = 0x010bd000 size =
0x00000000 .
not load section __ksymtab_gpl_future: addr = 0x010bd000 size =
0x00000000 .
not load section __kcrctab: addr = 0x010bd000 size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0x010bd000 size = 0x00000000 .
not load section __kcrctab_unused: addr = 0x010bd000 size = 0x00000000 .
not load section __kcrctab_unused_gpl: addr = 0x010bd000 size =
0x00000000 .
not load section __kcrctab_gpl_future: addr = 0x010bd000 size =
0x00000000 .
load section __param: addr = 0x010bd000 size = 0x00000078.
load section .data: addr = 0x010be000 size = 0x00017d60.
not load section .bss: addr = 0x010d5d60 size = 0x0000a218 .
not load section .comment: addr = 0x00000000 size = 0x00001128 .
start addr is set to 0x01008000 by exec file.
Because I don't have a real board to test it therefore I have to use
skyeye. But skyeye seems to have not much support. If any of you know
the syntax of skyeye.conf file please show me as I have no idea about
it. I really appreciate your help.
This is what I use:
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000, file=boot.rom
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
lcd: state=off
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev