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

mmu setup for custom board


We need your help in determining the proper mmu configuration for a custom 
board we have developed.

Our board utilizes two Etrax LX100 v2's which communicate with each other 
via dual port ram. Each Etrax also has an fpga on it's bus. We want to use 
  the uncached memory regions for all accesses to our peripherals, except 
of course ,to the DRAM.

OS version		: 2.4.19 (patched)

CPU 			: Etrax LX100 v2

DRAM  			: 64MB at 0xC0000000 of course.

DPRAM 			: 128kB in CSR0: SRAM bank 0 ( 0x88000000 )

FPGA map'd addrs	: 512 words in CSP4 ( 0xA0000000 )
			: 1 word in CSP5    ( 0xA4000000 )
			: 2 words in CSP0   ( 0x90000000 )

All Etrax peripherals are turned off except the ethernet and serial. Debug 
port is 0. We are *not* using flash. Instead, we are booting both 
processors from the network using only the kimage and the etrax100boot utility.

I have tried using the default mmu register settings without success. It 
looks like KSEG_A is mapped to 0x30000000 which would place our fpga 
registers in cached memory. Can I use KSEG_F like the LX100 v1 configuration?

You invaluable response would be appreciated 8)