From: Chris Dearman <chris@mips.com>
To: gautam@koperasw.com
Cc: linux-mips@linux-mips.org
Subject: Re: Problem with yamon (2.06) and TLB on Malta
Date: Thu, 16 Sep 2004 17:14:39 +0100 [thread overview]
Message-ID: <4149BBEF.1020800@mips.com> (raw)
In-Reply-To: <1095345079.4149a3b74bd1c@koperasw.com>
gautam@koperasw.com wrote:
> Hi,
> I am trying to write the kernel image to flash / IDE using yamon's disk write,
> load,cp commands . I have a recurring error message that says "Mapped entry not
> found in TLB" (something to that effect,just in case these are not the exact words).
> For e.g. I get the error evenn when I do a memory erase at the flash address
> sucessfully and later use the same starting address for cp .
> Does the TLB need to be edited in any specific way or can I direct these
> commands to execute without them needing to refer to the TLB?
> I know the answer must be pretty apparent, but have already scoured through
> google in vain searching for exact/relevant documentation.(and am pretty
> desperate now!)
Are you trying to use the physical addresses when accessing the
FLASH/memory? You need to use KSEG0/KSEG1 addresses:
YAMON> erase be100000 2e0000 # Erase the FLASH "user" area
The following area will be erased:
Start address = 0x1e100000
Size = 0x002e0000
Confirm ? (y/n) y
Erasing...Done
YAMON>
YAMON> dump be100000 20 # Check that it's erased
BE100000: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
BE100010: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
YAMON> fill 80100000 20 55 # Set up some data in RAM
Filling from 0x80100000 to 0x8010001f with byte data 0x55.
YAMON> copy 80100000 be100000 20 # copy data to FLASH
Copying...Done
YAMON> dump be100000 20 # Check that FLASH contains data
BE100000: 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 UUUUUUUUUUUUUUUU
BE100010: 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 UUUUUUUUUUUUUUUU
Chris
--
Chris Dearman The Fruit Farm, Ely Road voice +44 1223 706206
MIPS Technologies (UK) Chittering, Cambs, CB5 9PH fax +44 1223 706250
prev parent reply other threads:[~2004-09-16 16:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-16 14:31 Problem with yamon (2.06) and TLB on Malta gautam
2004-09-16 16:14 ` Chris Dearman [this message]
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=4149BBEF.1020800@mips.com \
--to=chris@mips.com \
--cc=gautam@koperasw.com \
--cc=linux-mips@linux-mips.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