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