title: How to change U-Boot memory map
body: <p>The U-Boot(2009.03) on MS104-SH4 has the RAM memory map shown below.</p>
  
  <p>0x8c000000 Not for use (4kB)<br>
  0x8c001000 for Linux kernel &amp; root file system (3MB)<br>
  0x8c400000 for Linux process (28MB)</p>
  
  <p>For me, 3MB for Linux kernel &amp; root file system is too small because
  Linux kernel &amp; ramdisk has 1MB and 3.5MB respectively. So I'd like to
  change above memory map, for example like shown below.</p>
  
  <p>0x8c000000 Not for use (4KB)<br>
  0x8c001000 for Linux kernel &amp; root file system (16MB)<br>
  0x8cf60000 for Linux process (16MB)<br></p>
  
  <p>In my guess, I have to modify uboot source code, but cannot find where
  I should modify. Does somebody tell me if it is possible to modify u-boot memory map?
  If yes, please also tell me how to do it. Thanks for your help!</p>
  
  <p>I found a similar question on <a href="https://stackoverflow.com/questions/4185338/how-to-find-the-memory-map-of-a-device">How to find the memory map of a device?</a>, but my SH4 iomem is empty (0 size) so looks like other topic.</p>