Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Kernel located in KSEG2 or KSEG3.
@ 2004-12-13 18:12 moreau francis
  2004-12-13 19:04 ` sjhill
  2004-12-15 13:38 ` Ralf Baechle
  0 siblings, 2 replies; 5+ messages in thread
From: moreau francis @ 2004-12-13 18:12 UTC (permalink / raw)
  To: linux-mips

Hi,

Sorry if you find this post stupid, but I'm quite new
in Linux.

To learn on Linux kernel, I've decided to port it on 
particular board with (very) limited resources and
based with a 4KC processor core. As far I see, I need
at least a couple of mega bytes of memory to achieve
my goal. 
Unfortunately the only way to get this amount of mem
is
to execute linux in memory that can only be accessed
through KSEG2 and KSEG3 !

Here is my board's mapping:

Physical Memory Map:

start        size       type
-----------------------------
0x20000000 - 8MB    - SDRAM
0x30000000 - 16MB   - FLASH
0x40000000 - 16MB   - FLASH
0x50000000 - 2MB    - SRAM


I looked into the memory init code and I don't think
that it's possible to run linux in a segment different
from KSEG0. Am I wrong ?

I've noticed a CONFIG_MAPPED_KERNEL macro but it seems
that it's only used to replicate kernel from mapped
memory to KSEG0...

Thanks for your answers.



	

	
		
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ 
 
Avec Yahoo! faites un don et soutenez le Téléthon en cliquant sur http://www.telethon.fr/030-Don/10-10_Don.asp

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

end of thread, other threads:[~2004-12-16 15:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-13 18:12 Kernel located in KSEG2 or KSEG3 moreau francis
2004-12-13 19:04 ` sjhill
2004-12-14 10:03   ` moreau francis
2004-12-15 13:38 ` Ralf Baechle
2004-12-16 15:05   ` moreau francis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox