All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Discontiguous mem support for 2.6.17 and Jornada 690
PostPosted: Mon Jan 07, 2008 4:28 pm 
JLime Newbie
JLime Newbie
User avatar

Joined: Mon Jan 07, 2008 4:18 pm
Posts: 3
Location: France
Hi,

It looks like discontiguous memory support is not available in 2.6.17 for Jornada 690 architecture. Code such as following (include/asm-sh/page.h from 2.6.11) has disappeared:

#ifdef CONFIG_DISCONTIGMEM
/* Just for HP690, for now.. */
#define __MEMORY_START_2ND (__MEMORY_START+0x02000000)
#define __MEMORY_SIZE_2ND 0x001000000 /* 16MB */
#endif

Any idea? solution?

Thx by advance
regards

Pierre


Top
Offline Profile  
 
 Post subject:
PostPosted: Mon Jan 07, 2008 4:38 pm 
Administrator
Administrator
User avatar

Joined: Wed Feb 22, 2006 12:49 pm
Posts: 1137
Location: Sweden
We are using a ghost area where the memory on 690 looks linear, adding support for non-linear isnt a problem.


Top
Offline Profile  
 
 Post subject:
PostPosted: Tue Jan 08, 2008 8:40 am 
JLime Newbie
JLime Newbie
User avatar

Joined: Mon Jan 07, 2008 4:18 pm
Posts: 3
Location: France
Hum, could you explain? I'm not very familiar with the subject, what do you mean with "is not a problem ?" what's the way to use such a beast?

Thx by advance


Top
Offline Profile  
 
 Post subject:
PostPosted: Tue Jan 08, 2008 1:56 pm 
Administrator
Administrator
User avatar

Joined: Wed Feb 22, 2006 12:49 pm
Posts: 1137
Location: Sweden
Well, the usual way is to set a virtal memory range and then map all physical areas there so it appears linear while its physically not. You can look at various arm handheld platforms for examples.

Think of the virtual memory as only a pointer to the real adress.

Of course its abit more complicated but you should get the idea.


Top
Offline Profile  
 
 Post subject:
PostPosted: Tue Jan 08, 2008 2:42 pm 
JLime Newbie
JLime Newbie
User avatar

Joined: Mon Jan 07, 2008 4:18 pm
Posts: 3
Location: France
Could you give me your email? kristoffer@jlime.com does not work.

regards


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron