LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-18-2010, 09:26 AM   #1
andreiatlinux
LQ Newbie
 
Registered: May 2010
Posts: 5

Rep: Reputation: 0
Question How to configure Linux physical memory map


Hi,

I am trying to build and bring-up Linux (embedded) for a piece of hardware which have MIPS 74K proccessor 16MB Flash, 128MB DDR and network/usb support. How to configure/set into the kernel the exact addresses of the physical memory map? How does the kernel know where is the system ram, i/o memory, root FS? I have read some book and I found how the applications can go and read some special files like /proc/iomem to find out info about memory but what I need is how to set those addresses at the beginning when I build the kernel and FS in order to boot the kernel on my h/w.

Thanks,
Andrei
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-18-2010, 10:56 AM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

If you're asking this question, there's probably a lot of other stuff you're going to need to know for this project.

Strong recommendation: get this book. Today:

Building-Embedded-Linux-Systems, Yaghmour et al

Satisfaction guaranteed!
 
Old 05-18-2010, 01:00 PM   #3
andreiatlinux
LQ Newbie
 
Registered: May 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Hi,

I have this book and a few other books but I still couldn't find the procedure/location where to set the physical memory map of the system. Maybe I overlooked the information, I would be very thankful if you can point me to some information. I searched into Kernel configuration options and I couldn't find it. I am using a MALTA board with a Timesys Linux distribution for MALTA and I am starting to think that maybe not all the kernel options are displayed at "make menuconfig", just a subset which is relevant for this board.

Thanks,
Andrei
 
Old 05-18-2010, 05:04 PM   #4
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Sorry about that. My recollection was that Yaghmour's book covered *everything* (in great detail!). But I don't have my copy with me, so I can't double-check.

ANYWAY: I believe what you're looking for is "setup_arch()".

This link might help:
http://www.embedded.com/story/OEG20010221S0092

Your .. PSM
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Physical Memory info gottimw Programming 2 01-12-2010 08:01 PM
How can I find the actual Virtual -> Physical Memory Map Pages? VorlonInfoTech Linux - General 0 12-23-2008 09:17 AM
Linux Virtual memory mapping to Board memory map !rajkums! Linux - Kernel 4 10-19-2008 12:27 PM
Kernel virtual memory map TO Board memory map -----> Mapping !rajkums! Linux - Embedded & Single-board computer 0 10-18-2008 09:21 AM


All times are GMT -5. The time now is 07:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration