From: Victor Tarasov <victor.tarasov@idealx.com>
To: ecos-discuss@sourceware.cygnus.com
Subject: [ECOS] Hello_eCos_World on iPAQ.
Date: Mon, 23 Apr 2001 10:04:00 -0000 [thread overview]
Message-ID: <3AE439A5.581A651C@idealx.com> (raw)
Hi,
It seems that I am not so intelligent to run alone my first RedBoot
application on iPAQ.
Can you help me, please?
Package installation was made by:
>ecosconfig new ipaq redboot
>ecosconfig import redboot_RAM.ecm
>ecosconfig resolve
>ecosconfig tree
>make
Hello_eCos was compiled with:
>arm-elf-gcc -mcpu=strongarm -c -o hello.o -g -Wall
-I/redboot/ecos-ram/install/include -ffunction-sections -fdata-sections
hello.c
>arm-elf-gcc -mcpu=strongarm -nostartfiles
-L/redboot/ecos-ram/install/lib -Wl,--gc-sections -o hello hello.o
-Ttarget.ld -nostdlib /redboot/ecos-ram/install/lib/version.o
Then GDB:
>arm-elf-gdb -nw hello
(gdb) set remotebaud 38400
Remote debugging using /dev/ttyS1
0x50105890 in ?? ()
( After several attempts another version of gdb answer at this
stage:
Remote debugging using /dev/ttyS1
0x25748 in _breakinst () at
/opt/ecos/ecos_massiot/packages/hal/arm/arch/current/src/hal_misc.c:220
220 HAL_BREAKPOINT(_breakinst);
)
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0x20000
Loading section .text, size 0x18adc lma 0x20040
Loading section .rodata, size 0xbacc lma 0x38b1c
Loading section .data, size 0x17e4 lma 0x445e8
Start address 0x20040 , load size 155084
Transfer rate: 26971 bits/sec, 305 bytes/write.
(gdb) break main
Function "main" not defined.
(gdb) continue
Continuing.
Nothing happens after.
Victor.
PS: How can I recompile RedBoot for iPAQ?
"RedBoot" template with the imported configuration
$ECOS_REPOSITORY/packages/hal/arm/sa11x0/ipaq/current/misc/redboot_Compaq.ecm
(also redboot_rom.ecm)
gives the binaries that are not working on the iPAQ.
The templates "all", "default" and "stubs" give the error during
compilation.
next reply other threads:[~2001-04-23 10:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-23 10:04 Victor Tarasov [this message]
2001-04-23 10:21 ` Gary Thomas
2001-04-23 10:42 ` Jonathan Larmour
[not found] <3AE5384E.779252B@idealx.com>
2001-04-24 5:54 ` Gary Thomas
2001-04-24 9:47 ` Jonathan Larmour
2001-04-26 7:30 ` Victor Tarasov
2001-04-26 17:28 ` Gary Thomas
2001-04-30 1:36 ` Victor Tarasov
2001-04-30 5:02 ` Gary Thomas
2001-04-30 8:39 ` Victor Tarasov
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=3AE439A5.581A651C@idealx.com \
--to=victor.tarasov@idealx.com \
--cc=ecos-discuss@sourceware.cygnus.com \
/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).