This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
redboot startup mode
- From: yrodguez at iuma dot ulpgc dot es
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 24 May 2005 17:41:10 +0100
- Subject: [ECOS] redboot startup mode
hi,
i have a doubt/question?
i'm trying to compile a redboot in romram mode.
At http://sources.redhat.com/ecos/docs-latest/redboot/excaliburarm9.html
say that romram mode runs redboot from ram with redboot in flash. I supossed
that redboot is stored in flash memory and then it is copied from flash to ram.
But when i desassemble the file i get the code is mapped on ram (0x8000):
redboot.elf: file format elf32-littlearm
Disassembly of section .rom_vectors:
00008000 <__exception_handlers>:
8000: ea00000e b 8040 <_stext>
8004: e59ff018 ldr pc, [pc, #24] ; 8024 <.undefined_instruction>
8008: e59ff018 ldr pc, [pc, #24] ; 8028 <.software_interrupt>
800c: e59ff018 ldr pc, [pc, #24] ; 802c <.abort_prefetch>
8010: e59ff018 ldr pc, [pc, #24] ; 8030 <.abort_data>
8014: 00000000 andeq r0, r0, r0
8018: e59ff018 ldr pc, [pc, #24] ; 8038 <.IRQ>
801c: e59ff018 ldr pc, [pc, #24] ; 803c <.FIQ>
00008020 <vectors>:
8020: 00000040 andeq r0, r0, r0, asr #32
00008024 <.undefined_instruction>:
8024: 00008494 muleq r0, r4, r4
00008028 <.software_interrupt>:
8028: 000084b8 streqh r8, [r0], -r8
etc....
Maybe i don`t understand this mode at all.
thanks.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss