* Loading srec imagine problem.
@ 2001-01-07 22:12 Nicu Popovici
2001-01-08 9:09 ` Florian Lohoff
0 siblings, 1 reply; 3+ messages in thread
From: Nicu Popovici @ 2001-01-07 22:12 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]
Hello ,
I have now the following cross toolchain
binutils 2.10.1 - egcs.1.0.3a - glibc-2.0.6.
I manage to cross compile the kernel for mips and when I try to load the
srec imagine on the mips I get the following error.
For this srec imagine I used mips-linux-objcopy -O srec vmlinux
srecimagine.
**************************** Exception occurred
****************************
TLB exception (store)
CAUSE = 0x8080000c
STATUS = 0x00000403 EPC = 0x80024a0c
BADVADDR = 0x000036e0 ERROREPC = 0x800131f0
$ 0(zr):0x00000000 $ 8(t0):0x00000081 $16(s0):0x80060000
$24(t8):0x80030f68
$ 1(at):0x00000000 $ 9(t1):0x80026178 $17(s1):0x80060f80
$25(t9):0x00000009
$ 2(v0):0x000036e0 $10(t2):0x00000000 $18(s2):0x0000003a
$26(k0):0x00000000
$ 3(v1):0x00000000 $11(t3):0x80108390 $19(s3):0x80032bd8
$27(k1):0x00000000
$ 4(a0):0x000036e4 $12(t4):0x80020000 $20(s4):0x0000d004
$28(gp):0x80037b98
$ 5(a1):0x80060ec4 $13(t5):0x00000081 $21(s5):0x00000002
$29(sp):0x80060e50
$ 6(a2):0x00000010 $14(t6):0x00000080 $22(s6):0x00000002
$30(s8):0x80030000
$ 7(a3):0x80060ed0 $15(t7):0x80026178 $23(s7):0x80030f68
$31(ra):0x8001f57c
***************************************************************************
What am I doing wrong here ?
Regards,
Nicu
[-- Attachment #2: Card for Nicu Popovici --]
[-- Type: text/x-vcard, Size: 259 bytes --]
begin:vcard
n:POPOVICI;Nicolae Octavian
tel;cell:+40 93 605020
x-mozilla-html:FALSE
org:SC Silicon Service SRL;Software
adr:;;;;;;
version:2.1
email;internet:octavp@isratech.ro
title:Software engineer
x-mozilla-cpt:;0
fn:Nicolae Octavian POPOVICI
end:vcard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Loading srec imagine problem.
2001-01-07 22:12 Loading srec imagine problem Nicu Popovici
@ 2001-01-08 9:09 ` Florian Lohoff
2001-01-08 19:44 ` Nicu Popovici
0 siblings, 1 reply; 3+ messages in thread
From: Florian Lohoff @ 2001-01-08 9:09 UTC (permalink / raw)
To: Nicu Popovici; +Cc: linux-mips
On Sun, Jan 07, 2001 at 05:12:02PM -0500, Nicu Popovici wrote:
> Hello ,
>
> I have now the following cross toolchain
> binutils 2.10.1 - egcs.1.0.3a - glibc-2.0.6.
>
> I manage to cross compile the kernel for mips and when I try to load the
> srec imagine on the mips I get the following error.
>
> For this srec imagine I used mips-linux-objcopy -O srec vmlinux
> srecimagine.
Wouldnt this use the original load address of the vmlinux as the srec
address ? Wouldnt this mean you are probably overwriting your monitor
while loading the srec ? Ususally you would load the image via srec to
a different location with a small copy and run type code in front.
Without a memory map etc one cant help here ...
Flo
--
Florian Lohoff flo@rfc822.org +49-5201-669912
Why is it called "common sense" when nobody seems to have any?
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Loading srec imagine problem.
2001-01-08 9:09 ` Florian Lohoff
@ 2001-01-08 19:44 ` Nicu Popovici
0 siblings, 0 replies; 3+ messages in thread
From: Nicu Popovici @ 2001-01-08 19:44 UTC (permalink / raw)
To: Florian Lohoff; +Cc: linux-mips
Hello ,
Florian Lohoff wrote:
> On Sun, Jan 07, 2001 at 05:12:02PM -0500, Nicu Popovici wrote:
> > Hello ,
> >
> > I have now the following cross toolchain
> > binutils 2.10.1 - egcs.1.0.3a - glibc-2.0.6.
> >
> > I manage to cross compile the kernel for mips and when I try to load the
> > srec imagine on the mips I get the following error.
> >
> > For this srec imagine I used mips-linux-objcopy -O srec vmlinux
> > srecimagine.
>
> Wouldnt this use the original load address of the vmlinux as the srec
> address ? Wouldnt this mean you are probably overwriting your monitor
> while loading the srec ? Ususally you would load the image via srec to
> a different location with a small copy and run type code in front.
I do not know if this is the problem. I made objdump on this srec imagine and
it looks like the sections begin somewhere below 0x80100000 address and for
the srec imagine ( the one that I can load on ) the sections begin after
0x8010000 address. So the problem is here , something with setting the write
address for this srec imagine. Maybe from objcopy ( but I do not think so )
or from linker.
Nicu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-01-08 11:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-07 22:12 Loading srec imagine problem Nicu Popovici
2001-01-08 9:09 ` Florian Lohoff
2001-01-08 19:44 ` Nicu Popovici
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox