wdenk | e63c8ee | 2004-06-09 21:04:48 +0000 | [diff] [blame^] | 1 | |
| 2 | After following the step of Yoo. Jonghoon and Wolfgang Denk, |
| 3 | I ported u-boot on RPXlite DW version board: RPXlite_DW or LITE_DW. |
| 4 | |
| 5 | There are three differences between the Yoo-ported RPXlite and the RPXlite_DW. |
| 6 | |
| 7 | Board(in U-BOOT) version(in EmbeddedPlanet) CPU SDRAM FLASH |
| 8 | RPXlite RPXlite CW 850 16MB 4MB |
| 9 | RPXlite_DW RPXlite DW 823e 64MB 16MB |
| 10 | |
| 11 | This fireware is specially coded for EmbeddedPlanet Co. Software Development |
| 12 | Platform(RPXlite DW),which has a NEC NL6448BC20-08 LCD panel. |
| 13 | |
| 14 | It has the following three features: |
| 15 | |
| 16 | 1. 64MHz/48MHz system frequence setting options. |
| 17 | The default setting is 48MHz.To get a 64MHz u-boot,just add |
| 18 | '64' in make command,like |
| 19 | |
| 20 | make RPXlite_DW_64_config |
| 21 | make all |
| 22 | |
| 23 | 2. CFG_ENV_IS_IN_FLASH/CFG_ENV_IS_IN_NVRAM |
| 24 | |
| 25 | The default environment parameter is stored in FLASH because it is a common choice for |
| 26 | environment parameter.So I make NVRAM as backup parameter storeage.The reason why I |
| 27 | didn't use EEPROM for ENV is that PlanetCore V2.0 use EEPROM as environment parameter |
| 28 | home.Because of the possibility of using two firewares on this board,I didn't |
| 29 | 'disturb' EEPROM.To get NVRAM support,you may use the following build command: |
| 30 | |
| 31 | make RPXlite_DW_NVRAM_config |
| 32 | make all |
| 33 | |
| 34 | 3. LCD panel support |
| 35 | |
| 36 | To support the Platform better,I added LCD panel(NL6448BC20-08) function.But bewear of |
| 37 | the fact that once you build this support and program it to FLASH,you should make sure |
| 38 | you put workable kernel and ramdisk at the right place in FLASH or through NFS. |
| 39 | Otherwise, you must erase this fireware manually via BDI2000 or ICE tools.So this |
| 40 | function is used for deployment and demo only.Pls look before you leap. |
| 41 | |
| 42 | To get a LCD support u-boot,you can do the following: |
| 43 | |
| 44 | make RPXlite_DW_LCD_config |
| 45 | make all |
| 46 | |
| 47 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 48 | The basic make commands could be: |
| 49 | |
| 50 | make RPXlite_DW_config |
| 51 | make RPXlite_DW_64_config |
| 52 | make RPXlite_DW_LCD_config |
| 53 | make RPXlite_DW_NVRAM_config |
| 54 | |
| 55 | BTW,you can combine the above features together and get a workable u-boot to meet your need. |
| 56 | For example,to get a 64MHZ && ENV_IS_IN_FLASH && LCD panel support u-boot,you can type: |
| 57 | |
| 58 | make RPXlite_DW_NVRAM_64_LCD_config |
| 59 | make all |
| 60 | |
| 61 | So other combining make commands could be: |
| 62 | |
| 63 | make RPXlite_DW_NVRAM_64_config |
| 64 | make RPXlite_DW_NVRAM_LCD_config |
| 65 | make RPXlite_DW_64_LCD_config |
| 66 | |
| 67 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 68 | |
| 69 | The boot process by "make RPXlite_DW_config" could be: |
| 70 | |
| 71 | U-Boot 1.1.1 (Jun 8 2004 - 11:16:30) |
| 72 | |
| 73 | CPU: PPC823EZTnnB2 at 48 MHz: 16 kB I-Cache 8 kB D-Cache |
| 74 | Board: RPXlite_DW |
| 75 | DRAM: 64 MB |
| 76 | FLASH: 16 MB |
| 77 | *** Warning - bad CRC, using default environment |
| 78 | |
| 79 | In: serial |
| 80 | Out: serial |
| 81 | Err: serial |
| 82 | Net: SCC ETHERNET |
| 83 | u-boot> |
| 84 | |
| 85 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 86 | |
| 87 | I'd like to extend my heartfelt gratitute to kind people for helping me work it out. |
| 88 | I would particually thank Wolfgang Denk for his nice help. |
| 89 | |
| 90 | Enjoy, |
| 91 | |
| 92 | Sam Song, samsongshu@yahoo.com.cn |
| 93 | Institute of Electrical Machinery and Controls |
| 94 | Shanghai University |
| 95 | |
| 96 | June 8,2004 |