All of lore.kernel.org
 help / color / mirror / Atom feed
* Error :Nomatch found in TLB ?????
@ 2004-07-21 12:55 ` Srinivas JT.
  0 siblings, 0 replies; 4+ messages in thread
From: Srinivas JT. @ 2004-07-21 12:55 UTC (permalink / raw)
  To: linux-mips

Dear All,
I am very new to this group.
I tried to load my .serc file into my Db1500 SDB. The steps that I followed are,

1) I wrote a filein C(Linux).
2) I generated an object file using gcc.
3) By using objcopy I converted my obj file into srec file.
4) Then I tried to download my srec file into Db1500 SDB in Yamon using tftp.

then I got error as,

Error: No match in TLB for mapped address  : Address = 0x00000000

Why I am getting this error ?. Is any error there in my procedure..?

Thanks in Advance.

Regards,
Srinivas JT

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Error :Nomatch found in TLB ?????
@ 2004-07-21 12:55 ` Srinivas JT.
  0 siblings, 0 replies; 4+ messages in thread
From: Srinivas JT. @ 2004-07-21 12:55 UTC (permalink / raw)
  To: linux-mips

Dear All,
I am very new to this group.
I tried to load my .serc file into my Db1500 SDB. The steps that I followed are,

1) I wrote a filein C(Linux).
2) I generated an object file using gcc.
3) By using objcopy I converted my obj file into srec file.
4) Then I tried to download my srec file into Db1500 SDB in Yamon using tftp.

then I got error as,

Error: No match in TLB for mapped address  : Address = 0x00000000

Why I am getting this error ?. Is any error there in my procedure..?

Thanks in Advance.

Regards,
Srinivas JT

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error :Nomatch found in TLB ?????
  2004-07-21 12:55 ` Srinivas JT.
  (?)
@ 2004-07-21 14:44 ` Geert Uytterhoeven
  -1 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2004-07-21 14:44 UTC (permalink / raw)
  To: Srinivas JT.; +Cc: Linux/MIPS Development

On Wed, 21 Jul 2004, Srinivas JT. wrote:
> I tried to load my .serc file into my Db1500 SDB. The steps that I followed are,
>
> 1) I wrote a filein C(Linux).
> 2) I generated an object file using gcc.

Using the plain `gcc' command, I guess?

> 3) By using objcopy I converted my obj file into srec file.
> 4) Then I tried to download my srec file into Db1500 SDB in Yamon using tftp.
>
> then I got error as,
>
> Error: No match in TLB for mapped address  : Address = 0x00000000
>
> Why I am getting this error ?. Is any error there in my procedure..?

By default gcc creates ELF files for a virtual memory OS. Hence the load
address (0x00000000) is virtual as well.

You have to explicitly tell the linker to create an image to be loaded at a
specific address, cfr. arch/mips/kernel/vmlinux.lds.S.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error :Nomatch found in TLB ?????
  2004-07-21 12:55 ` Srinivas JT.
  (?)
  (?)
@ 2004-07-21 16:53 ` Pete Popov
  -1 siblings, 0 replies; 4+ messages in thread
From: Pete Popov @ 2004-07-21 16:53 UTC (permalink / raw)
  To: Srinivas JT.; +Cc: linux-mips

Srinivas JT. wrote:

>Dear All,
>I am very new to this group.
>I tried to load my .serc file into my Db1500 SDB. The steps that I followed are,
>
>1) I wrote a filein C(Linux).
>2) I generated an object file using gcc.
>3) By using objcopy I converted my obj file into srec file.
>4) Then I tried to download my srec file into Db1500 SDB in Yamon using tftp.
>
>then I got error as,
>
>Error: No match in TLB for mapped address  : Address = 0x00000000
>
>Why I am getting this error ?. Is any error there in my procedure..?
>  
>

Link your image to kseg0, not a virtual addresses like 0. The kernel, 
for example, is linked at kseg0 so the srec addresses are at 0x80100000. 
Since not tlbs are required for kseg0, yamon does not have problems 
loading into that region.

Pete

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-21 16:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-21 12:55 Error :Nomatch found in TLB ????? Srinivas JT.
2004-07-21 12:55 ` Srinivas JT.
2004-07-21 14:44 ` Geert Uytterhoeven
2004-07-21 16:53 ` Pete Popov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.