From: Andrew Lunn <andrew@lunn.ch>
To: Agus Ariffianto <aariffianto@s.ee.itb.ac.id>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] error: no memory region specified for loadable '.ram_vectors'
Date: Tue, 30 May 2006 13:18:00 -0000 [thread overview]
Message-ID: <20060530131759.GB2478@lunn.ch> (raw)
In-Reply-To: <043601c56517$c54d2e30$6c44cda7@aariffianto>
On Mon, May 30, 2005 at 08:02:01PM +0700, Agus Ariffianto wrote:
>
>
> >>My questions are:
> >>
> >>1. Why message: "...hello.bin": not in executable format: File format not
> >>recognized." turn up?
> >
> >
> >gdb wants the elf file, not the binary you produced.
> >
> >>2. How to create 'the executable file'? I was successfully created ecos
> >>bootable disk (run in PC, showing hello ecos). I enter command (in cygwin
> >>environment):
> >>
> >> [cygwin-agus]$ dd conv=sync if=hello.bin of=/dev/fd0
> >>
> >> What should I do to produce the same executable (or bootable <?>)
> >>file?
> >
> >How do you intend to get the image onto the system? Does it have a
> >floppy and a BIOS to boot it? Are you going to burn it into an EEPROM?
> >Do you have a JTAG interface to load the program into RAM?
> >
> > Andrew
>
> Then I use target board (Alter Stratix S40). First of all I load LEON into
> the board (via JTAG), then I load hello.out (via serial). Here is the
> result:
>
> Agus@aariffianto /opt/grmon-eval-1.1.3/win32/ecos/project-ecos
> $ ../../grmon-eval.exe -u -uart COM8
>
> GRMON LEON debug monitor v1.1.3 (evaluation version)
>
> Copyright (C) 2004,2005 Gaisler Research - all rights reserved.
> For latest updates, go to http://www.gaisler.com/
> Comments or bug-reports to support@gaisler.com
>
> This evaluation version will expire on 8/2/2006
> try open device COM8
> ###opened device COM8
>
> GRLIB plug&play not found, switching to LEON2 legacy mode
>
> initialising ..........
> detected frequency: 50 MHz
>
>
>
>
> Component Vendor
> LEON2 Memory Controller European Space Agency
> LEON2 SPARC V8 processor European Space Agency
> LEON2 Configuration register European Space Agency
> LEON2 Timer Unit European Space Agency
> LEON2 UART European Space Agency
> LEON2 UART European Space Agency
> LEON2 Interrupt Ctrl European Space Agency
> LEON2 I/O port European Space Agency
> AHB Debug UART Gaisler Research
> LEON2 Debug Support Unit Gaisler Research
>
> Use command 'info sys' to print a detailed report of attached cores
>
> grmon> load hello.out
> section: .rom_vectors at 0x40000000, size 4864 bytes
> section: .text at 0x40001300, size 63996 bytes
> section: .rodata at 0x40010cfc, size 804 bytes
> section: .data at 0x40011020, size 1168 bytes
> total size: 70832 bytes (30.7 kbit/s)
> read 406 symbols
> entry point: 0x40001300
> grmon> run
> IU in error mode (tt = 0x07)
> 400077bc d0026010 ld [%o1 + 0x10], %o0
> grmon>
>
> 1. Is the error appear because of warning message which turn up when I
> compile the source using ecos-configtool?
> 2. What should I do?
You should go talk to your Mentor/supervisor. Hopefully he can arrange
some basic training on how to use all these tools. Maybe you need to
make contacts with ESA or Gaisler.
My opinion is that you need a professional support contract from
somebody who actually knows this system and can teach you the basics.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next prev parent reply other threads:[~2006-05-30 13:18 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-29 9:20 Agus Ariffianto
2006-05-29 9:44 ` Andrew Lunn
2006-05-29 10:40 ` Agus Ariffianto
2006-05-29 12:20 ` Andrew Lunn
2006-05-30 4:00 ` Agus Ariffianto
2006-05-30 7:28 ` AW: " Ram Sudhir Tadavarthi
2006-05-30 7:38 ` Andrew Lunn
2006-05-30 11:49 ` Agus Ariffianto
2006-05-30 12:02 ` Andrew Lunn
2006-05-30 12:40 ` Agus Ariffianto
2006-05-30 12:59 ` Andrew Lunn
2006-05-30 13:02 ` Agus Ariffianto
2006-05-30 13:18 ` Andrew Lunn [this message]
2006-05-30 13:28 ` Agus Ariffianto
2006-06-13 9:31 ` [ECOS] error: no memory region specified for loadable '.ram_vectors' => Now it works Agus Ariffianto
2006-05-30 4:06 ` [ECOS] error: no memory region specified for loadable '.ram_vectors' Agus Ariffianto
2006-05-30 7:43 ` Andrew Lunn
2006-05-30 9:36 ` Agus Ariffianto
2006-05-30 11:19 ` Andrew Lunn
2006-05-29 9:38 Agus Ariffianto
2006-05-29 11:21 Agus Ariffianto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060530131759.GB2478@lunn.ch \
--to=andrew@lunn.ch \
--cc=aariffianto@s.ee.itb.ac.id \
--cc=ecos-discuss@ecos.sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).