This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: multi-ice with integrator/ARM946
- From: ??? <woohyun dot baek at samsung dot com>
- To: 'Sam Tsaur' <tsaurs at taec dot toshiba dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 24 Jul 2003 10:24:49 +0900
- Subject: RE: [ECOS] multi-ice with integrator/ARM946
- Organization: >i?oAuAU
- Reply-to: woohyun dot baek at samsung dot com
--> Wait (about 1-2 minutes).... and then you will see following prompt
message..
RedBoot>
Using fconfig command, You will set up your network IP and Gateway
address....
-----------------------------------------------------------
RedBoot> fconfig
Run script at boot: false
Use BOOTP for network configuration: false
Local IP address: 165.213.137.215
Default server IP address: 165.213.137.242
DNS server IP address: 165.213.222.191
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
RedBoot>
------------------------------------------------------------
Best regards, Yacc.
2. The redboot I built currently cannot program flash. I tried to build
one with the same template as above and imported
hal/arm/integrator/v2_0/misc/redboot_ROM.ecm, which has the flash
programming
and net boot settings. However, I cannot load it into flash by using
command
'L' in ARM boot Monitor. No error was shown when flash was programmed
but checksum errors were reported when the redboot was used to boot
up.
Are ther any other way to program redboot into flash for integrator
board?
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Sam Tsaur
Sent: Wednesday, July 23, 2003 11:54 AM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] multi-ice with integrator/ARM946
Dear all,
I tried to port eCos onto an ARM926ej-s based platform, which is
still in manufacturing phase. To prepare the porting, I'm doing some
work on the integrator board and ARM946 core module. ARM946 has
I/D cache and proection unit that ARM966 has not. However, the
eCos poring on ARM966 should work on ARM946.
I managed to install the cygwin, downloaded the ecos-2.0 and installed
the multi-ice-gdb-server. However, I couldn't make it work, so would
someone please help me to clarify if my procedure is right?
1. I used the configtool to build redboot with "Integrator/ARM966"
template and redboot package. I changed the "Startup type" to ROM,
and
loaded redboot.srec into flash with ARM boot monitor. Both boot
loaders coexist in the flash now. I reboot the integrator board and
Redboot ran as expected.
2. I built libtarget.a with the same template and default package.
I did change the sram size to 1MB by editing .mlt .ldi and .h files.
The GDB_STUBS and THREAD_SUPPORT are not turned on by default.
3. I used the above libtarget.a to create a hello test program.
4. I followed the detailed instructions in ecos/multi-ice.html and
tried to run both arm-elf-gdb and insight. The connection between
gdb and multi-ice was established and the gdb displayed the correct
settings. I set debug remote to 1 and saw messages sent from gdb
to target and somehow couldn't get any replies back. An error message
"Not a good vector or eCos not running" is displayed.
I saw a message from benny in the mailing list with the same question
but no answer.
My question are:
1. Am I using the right configuration settings for both redboot and
libtarget.a?
If I am wrong, what should be the correct settings to build a gnu
toolchain
to work with multi-ice?
2. The redboot I built currently cannot program flash. I tried to build
one with the same template as above and imported
hal/arm/integrator/v2_0/misc/redboot_ROM.ecm, which has the flash
programming
and net boot settings. However, I cannot load it into flash by using
command
'L' in ARM boot Monitor. No error was shown when flash was programmed
but checksum errors were reported when the redboot was used to boot
up.
Are ther any other way to program redboot into flash for integrator
board?
3. Basically I would like to see serial/ethernet and multi-ice debugging
work.
Am I right to use GDB_stubs for serial/ethernet and
HAL_DEBUG_GDB_INCLUDE_STUBS for multi-ice?
4. I tried to use AXD to debug the hello application I created. The AXD
does
not reconize .elf file, so instead I used the .bin file. Is it right?
I loaded the .bin file into memory and set the pc to 0x0 and trace
it.
I saw the code jumps to 0x20000050 which is virtual vector table. I
tried
to remove CYGPKG_HAL_ROM_MONITOR settings but it didn't work. How
could i
create a self-contained code which I guess can be used for multi-ice?
Thanks in advance,
Best Regards,
Sam Tsaur
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss