Why has is choosen this Memory-mapped I/O?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why has is choosen this Memory-mapped I/O?

662 Views
manoloruiz
Contributor III

Hi guys,

I am working with the board T2080RDB. I am using the operative system which is provide by freescale using Yocto Proyect and the sdk 1.9. When I turn the board on and I type cat /proc/iomem , I can see the following:

root@t2080rdb:~# cat /proc/iomem

00000000-ffffffff : System RAM

c20000000-c2fffffff : /pcie@ffe250000

  c20000000-c2fffffff : PCI Bus 0001:01

    c20000000-c200fffff : 0001:01:00.0

    c20100000-c201fffff : 0001:01:00.0

c40000000-c4fffffff : /pcie@ffe270000

  c40000000-c4fffffff : PCI Bus 0002:01

fe8000000-fefffffff : fe8000000.nor

ffe008000-ffe008fff : mpc85xx_mc_err

ffe100100-ffe10017f : dma

ffe100180-ffe1001ff : dma

ffe100200-ffe10027f : dma

ffe100280-ffe1002ff : dma

ffe100400-ffe10047f : dma

ffe100480-ffe1004ff : dma

ffe100500-ffe10057f : dma

ffe100580-ffe1005ff : dma

ffe101100-ffe10117f : dma

ffe101180-ffe1011ff : dma

ffe101200-ffe10127f : dma

ffe101280-ffe1012ff : dma

ffe101400-ffe10147f : dma

ffe101480-ffe1014ff : dma

ffe101500-ffe10157f : dma

ffe101580-ffe1015ff : dma

ffe102100-ffe10217f : dma

ffe102180-ffe1021ff : dma

ffe102200-ffe10227f : dma

ffe102280-ffe1022ff : dma

ffe102400-ffe10247f : dma

ffe102480-ffe1024ff : dma

ffe102500-ffe10257f : dma

ffe102580-ffe1025ff : dma

ffe114000-ffe114fff : mmc0

ffe11c500-ffe11c507 : serial

ffe11c600-ffe11c607 : serial

ffe11d500-ffe11d507 : serial

ffe11d600-ffe11d607 : serial

ffe1e0000-ffe1e07ff : rman-inbound-block0

ffe1e0b00-ffe1e0fff : rman-uio

ffe1e1000-ffe1e17ff : rman-inbound-block1

ffe1e2000-ffe1e27ff : rman-inbound-block2

ffe1e3000-ffe1e37ff : rman-inbound-block3

ffe210000-ffe210fff : /soc@ffe000000/usb@210000

  ffe210000-ffe210fff : ehci_hcd

ffe211000-ffe211fff : /soc@ffe000000/usb@211000

  ffe211000-ffe211fff : ehci_hcd

ffe250e00-ffe25ffff : mpc85xx_pci_err

ffe270e00-ffe27ffff : mpc85xx_pci_err

ffe400000-ffe4fffff : fman

  ffe400000-ffe45ffff : fman-muram

  ffe482000-ffe482fff : fman-port-hc

  ffe483000-ffe483fff : fman-port-hc

  ffe484000-ffe484fff : fman-port-hc

  ffe485000-ffe485fff : fman-port-hc

  ffe486000-ffe486fff : fman-port-hc

  ffe487000-ffe487fff : fman-port-hc

  ffe488000-ffe488fff : fman-port-hc

  ffe489000-ffe489fff : fman-port-hc

  ffe48a000-ffe48afff : fman-port-hc

  ffe48b000-ffe48bfff : fman-port-hc

  ffe48c000-ffe48cfff : fman-port-hc

  ffe48d000-ffe48dfff : fman-port-hc

  ffe490000-ffe490fff : fman-port-hc

  ffe491000-ffe491fff : fman-port-hc

  ffe4a8000-ffe4a8fff : fman-port-hc

  ffe4a9000-ffe4a9fff : fman-port-hc

  ffe4aa000-ffe4aafff : fman-port-hc

  ffe4ab000-ffe4abfff : fman-port-hc

  ffe4ac000-ffe4acfff : fman-port-hc

  ffe4ad000-ffe4adfff : fman-port-hc

  ffe4b0000-ffe4b0fff : fman-port-hc

  ffe4b1000-ffe4b1fff : fman-port-hc

  ffe4dc000-ffe4dcfff : fman-vsp

  ffe4e0000-ffe4e0fff : mac

  ffe4e2000-ffe4e2fff : mac

  ffe4e4000-ffe4e4fff : mac

  ffe4e6000-ffe4e6fff : mac

  ffe4f0000-ffe4f0fff : mac

  ffe4f2000-ffe4f2fff : mac

  ffe4fe000-ffe4fefff : fman-rtc

I asked myself, why does the RAM memory start in 0x000000000? Are there any reason? Could I map in another address? what about the rest of the devices? are there any restriction?

BR

Labels (1)
0 Kudos
1 Reply

451 Views
bpe
NXP Employee
NXP Employee

T2080 physical memory map is fully software-configurable, refer to

the chip Manual, Chapter 2. The memory map you are seeing in Linux

is established by u-Boot and must be properly reflected in the

Device Tree. This particular memory map is chosen for historical reasons,

in principle you can alter it, however, different changes may require

different amount of work with u-Boot configuration macros and the Device

Tree source, thus  it is not recommended to do so unless there are

strong reasons. 


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos