uboot/doc/README.sh7785lcr
<<
>>
Prefs
   1========================================
   2Renesas Technology R0P7785LC0011RL board
   3========================================
   4
   5This board specification:
   6=========================
   7
   8The R0P7785LC0011RL(board config name:sh7785lcr) has the following device:
   9
  10 - SH7785 (SH-4A)
  11 - DDR2-SDRAM 512MB
  12 - NOR Flash 64MB
  13 - 2D Graphic controller
  14 - SATA controller
  15 - Ethernet controller
  16 - USB host/peripheral controller
  17 - SD controller
  18 - I2C controller
  19 - RTC
  20
  21This board has 2 physical memory maps. It can be changed with DIP switch(S2-5).
  22
  23 phys address                   | S2-5 = OFF    | S2-5 = ON
  24 -------------------------------+---------------+---------------
  25 0x00000000 - 0x03ffffff(CS0)   | NOR Flash     | NOR Flash
  26 0x04000000 - 0x05ffffff(CS1)   | PLD           | PLD
  27 0x06000000 - 0x07ffffff(CS1)   | reserved      | I2C
  28 0x08000000 - 0x0bffffff(CS2)   | USB           | DDR SDRAM
  29 0x0c000000 - 0x0fffffff(CS3)   | SD            | DDR SDRAM
  30 0x10000000 - 0x13ffffff(CS4)   | SM107         | SM107
  31 0x14000000 - 0x17ffffff(CS5)   | I2C           | USB
  32 0x18000000 - 0x1bffffff(CS6)   | reserved      | SD
  33 0x40000000 - 0x5fffffff        | DDR SDRAM     | (cannot use)
  34
  35
  36configuration for This board:
  37=============================
  38
  39You can choose configuration as follows:
  40
  41 - make sh7785lcr_config
  42 - make sh7785lcr_32bit_config
  43
  44When you use "make sh7785lcr_config", there is build U-Boot for 29-bit
  45address mode. This mode can use 128MB DDR-SDRAM.
  46
  47When you use "make sh7785lcr_32bit_config", there is build U-Boot for 32-bit
  48extended address mode. This mode can use 384MB DDR-SDRAM. And if you run
  49"pmb" command, this mode can use 512MB DDR-SDRAM.
  50
  51 * 32-bit extended address mode PMB mapping *
  52  a) on start-up
  53   virt         | phys          | size          | device
  54   -------------+---------------+---------------+---------------
  55   0x88000000   | 0x48000000    | 384MB         | DDR-SDRAM (Cacheable)
  56   0xa0000000   | 0x00000000    | 64MB          | NOR Flash
  57   0xa4000000   | 0x04000000    | 16MB          | PLD
  58   0xa6000000   | 0x08000000    | 16MB          | USB
  59   0xa8000000   | 0x48000000    | 384MB         | DDR-SDRAM (Non-cacheable)
  60
  61  b) after "pmb" command
  62   virt         | phys          | size          | device
  63   -------------+---------------+---------------+---------------
  64   0x80000000   | 0x40000000    | 512MB         | DDR-SDRAM (Cacheable)
  65   0xa0000000   | 0x40000000    | 512MB         | DDR-SDRAM (Non-cacheable)
  66
  67
  68This board specific command:
  69============================
  70
  71This board has the following its specific command:
  72
  73 - hwtest
  74 - printmac
  75 - setmac
  76 - pmb (sh7785lcr_32bit_config only)
  77
  78
  791. hwtest
  80
  81This is self-check command. This command has the following options:
  82
  83 - all          : test all hardware
  84 - pld          : output PLD version
  85 - led          : turn on LEDs
  86 - dipsw        : test DIP switch
  87 - sm107        : output SM107 version
  88 - net          : check RTL8110 ID
  89 - sata         : check SiI3512 ID
  90 - net          : output PCI slot device ID
  91
  92i.e)
  93=> hwtest led
  94turn on LEDs 3, 5, 7, 9
  95turn on LEDs 4, 6, 8, 10
  96
  97=> hwtest net
  98Ethernet OK
  99
 100
 1012. printmac
 102
 103This command outputs MAC address of this board.
 104
 105i.e)
 106=> printmac
 107MAC = 00:00:87:**:**:**
 108
 109
 1103. setmac
 111
 112This command writes MAC address of this board.
 113
 114i.e)
 115=> setmac 00:00:87:**:**:**
 116
 117
 1184. pmb
 119
 120This command change PMB for DDR-SDRAM all mapping. However you cannot use
 121NOR Flash and USB Host on U-Boot when you run this command.
 122i.e)
 123=> pmb
 124