Re: using the 36bit physical address on AMD AU1200

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jan 16, 2006, at 10:40 PM, Youngduk Goo wrote:

I guess I need to convert this address to virtual address for access it.

You have to map it, yes.

But I don't know exactly how to do it. Do I need to configure the TBL?
I am using the YAMON as a bootloader. and try to access the DM9000.

You will have to modify the YAMON source code to map TLB entries
for the device.  Take a look at the sys_tlb_write() function along with
ensuring you update the CP0 wired register so they don't disappear.
Also, you will have to check what else may be doing this so you don't
mess up other mappings.

In Linux, all you need to do is call ioremap() and use the virtual
address returned to you.

	-- Dan



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux