| To: | Youngduk Goo <ydgoo9@gmail.com> |
|---|---|
| Subject: | Re: using the 36bit physical address on AMD AU1200 |
| From: | Dan Malek <dan@embeddedalley.com> |
| Date: | Tue, 17 Jan 2006 08:04:55 -0500 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <38dc7fce0601162308m4f721bc8l548147643df81f87@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <38dc7fce0601161940s5e4375dci798f66dff58d882@mail.gmail.com> <0879ce9aeb3034e5a7634c72e445fa6b@embeddedalley.com> <38dc7fce0601162308m4f721bc8l548147643df81f87@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Jan 17, 2006, at 2:08 AM, Youngduk Goo wrote: After setting, I could access DM9000 with the Base address 0xD0000000. In here, I have some more questions.1. I set the 1 TLB entry, so others does not affect the address translation. so Whenever I use the 0xD0000000, it always converted to 0xD 0000 0000on the bootloader. Am I right? Yes, looks good. 2. On the linux, If I want to use ioremap for Dm9000, Do I need to set
the TLB
Make sure you have CONFIG_64BIT_PHYS_ADDR configured
and you are using a recent kernel. No changes to any code and ioremap()
will ensure the TLB is set correctly. Just use the virtual address
returned from ioremap().
-- Dan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: gcc -3.4.4 and linux-2.4.32, P. Christeas |
|---|---|
| Next by Date: | RE: Re: atomic_add function on memory allocated with dma_alloc_coherent hangs, Riisisulg |
| Previous by Thread: | Re: using the 36bit physical address on AMD AU1200, Youngduk Goo |
| Next by Thread: | 64-bit Linux kernel, Vadivelan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |