Memory range address

Thread Starter

Jane1

Joined Sep 28, 2011
13
I have a Linux embeded device that consists
CPU, BIOS,FLASH and SDRAM.

Is there any way how to find out which memory range is assigned to BIOS and which addresses are assigned to flash and which SDRAM?
(BIOS is 4Mb,Flash 64MB and SDRAM( 4 modules ) has 256MB)
Thanks
 

joeyd999

Joined Jun 6, 2011
5,237
The files are pretty well named in /proc. Just 'cat' each one and see if you can find what you're looking for.

FYI, I don't do this much, but the info you're looking for should be in there somewhere.

Also, look manually at the entire dmesg output. Some of the info you are looking for will be there.
 

Thread Starter

Jane1

Joined Sep 28, 2011
13
I tried /proc/iomem

root@me:/# more /proc/iomem
00000000-0fffffff : System RAM
00001000-002a0cbf : Kernel code
002a0cc0-003350bf : Kernel data
10480300-104803a8 : brcm-ehci0-IO
10480300-104803a8 : ehci_hcd
10480400-1048046f : brcm-ohci0-IO
10480400-1048046f : ohci_hcd
10480500-1048056f : brcm-ohci1-IO
10480500-1048056f : ohci_hcd
10510000-10511fff : 0000:01:00.0
10510000-10511fff : sata_svw
b0002800-b000287c : brcmnand-base
b0510000-b0520000 : ext sata pci memory space
d0000000-d8000000 : ext pci memory space

but can not see where is SDRAM and FLASH od BIOS
 

colinb

Joined Jun 15, 2011
351
The flash memory is probably accessed as a block device, e.g., /dev/sda, rather than being mapped directly into CPU memory space.
 
Top