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 |
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! |
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 |
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 |
All times are GMT -5. The time now is 05:04 PM. |