1After several heart-struck failure, I got one workable way to program 2each other in FLASH between PlanetCore and U-Boot. 3 4Hardware Platform : RPXlite DW(EP 823 H1 DW) 5 61. From U-Boot to PlanetCore 7 8Utilities : PlanetCore Boot Loader - PCL200.mot 9 10[root@sam tftpboot]# ppc_8xx-objcopy -O ppcboot 11PCL200.mot pcl200.bin 12 13[Target Operation] 14u-boot>t 100000 pcl200.bin 15u-boot>go 0x100000 16## Starting application at 0x00100000 ... 17 18MPC8xx PlanetCore Flash Burner v2.00 19Copyright 2001 Embedded Planet. All rights reserved. 20 21Construct Flash Device.....done. 22 23 24Program MPC8xx PlanetCore Boot Loader v2.00 25Built Sep 19, 2001 at 14:34:42 26Image located from FC000000 to FC01B5D1. 27(Skipping an image, only loading low boot image) 28 29Low boot board detected, skipping high boot image. 30Erasing, programming and verifying will start in 20 31seconds 32Press P to start immediately or ESC to cancel 33Press Space or Enter for more options. 34.............. 35 36Erasing 37Programming 38FLASH programmed successfully! 39Press R to induce a hard reset 40 41MPC8xx PlanetCore Boot Loader v2.00 42Copyright 2001 Embedded Planet. All rights reserved. 43DRAM available size = 64 MB 44wvCV 45DRAM OK 46> 47 482. From PlanetCore to U-Boot 49 50Utilities : PlanetCore FLASH Burner - PCB200.mot 51 52Use Flash Burner to finish the work: 53 54First, TFTP the U-Boot image file to RAM; For example, 55RPXlite_DW.bin to 0x400000 56Second, TFTP FLASH Burner to RAM; For example, 570x100000 58Third, run the FLASH Burner and Program the U-Boot 59image into the correct location in FLASH. 60 61[Target Operation] 62MPC8xx PlanetCore Boot Loader v2.00 63Copyright 2001 Embedded Planet. All rights reserved. 64DRAM available size = 64 MB 65wvCV 66DRAM OK 67>t 68Load using tftp via Ethernet 69Enter server IP address <172.16.115.6> : 70Enter server filename <PCL200.mot> : RPXlite_DW.bin 71Enter (B)inary or (S)record input mode <S> : B 72Enter address offset : <00400000 hex> : 73 74Total bytes = 120096 in 232184 uSecs 75Loaded addresses 00400000 through 0041D51F. 76Start address = 00400000 77>t 78Load using tftp via Ethernet 79Enter server IP address <172.16.115.6> : 80Enter server filename <RPXlite_DW.bin> : PCB200.mot 81Enter (B)inary or (S)record input mode <B> : S 82Enter address offset : <00000000 hex> : 83.512.1024..2048....4096..... 84Total bytes = 326280 in 2570249 uSecs 85Loaded addresses 00100000 through 0011BB51. 86Start address = 00100000 87>go 88[Go 00100000] 89 90MPC8xx PlanetCore Flash Burner v2.00 91Copyright 2001 Embedded Planet. All rights reserved. 92 93Construct Flash Device.....done. 94 95Bad start address 96Start = 0xFFFFFFFF, target = 0xFFFFFFFF, length = 970xFFFFFFFF 98Forcing Menu Interface 99 100h[elp] Show commands. 101c[ode] Show information on code to be loaded. 102di[splay] Display all flash sections. 103du[mp] Dump memory. d ? for more info. 104e[rase] Erase flash sections. 105f[ill] Fill flash sections. 106im[age] Toggle load high, low, or both flash 107images. 108in[fo] Show flash information. 109ma[p] Show memory map. 110mo[dify] Modify memory. m ? for more info. 111p[rogram] Erase, program, and verify now. 112reset Restart the loader. 113s[how] Show flash sections to erase and program. 114t[est] Test flash sections. 115q[uit] Quit without programming. 116#program 400000 ff000000 1D51F 117doProgram( 400000 ff000000 1D51F ) 118 119Start = 0x00400000, target = 0xFF000000, length = 1200x0001D51F 121Erasing sector 0xFF000000, length 0x008000. 122Erasing sector 0xFF008000, length 0x008000. 123Erasing sector 0xFF010000, length 0x008000. 124Erasing sector 0xFF018000, length 0x008000. 125Programming FF000000 through FF01D51E 126FLASH programmed successfully! 127Press R to induce a hard reset 128 129Forcing Hard Reset by MachineCheck and 130ResetOnCheckstop... 131 132U-Boot 1.1.2 (Aug 29 2004 - 15:11:27) 133 134CPU: PPC823EZTnnB2 at 48 MHz: 16 kB I-Cache 8 kB 135D-Cache 136Board: RPXlite_DW 137DRAM: 64 MB 138FLASH: 16 MB 139*** Warning - bad CRC, using default environment 140 141In: serial 142Out: serial 143Err: serial 144Net: SCC ETHERNET 145u-boot> 146 147------------------------------------------------- 148 149Well, sometimes network function of PlanetCore couldn't work when 150switching from U-Boot to PlanetCore. For example, you couldn't 151download a file from HOST PC via TFTP. Don't worry, just restart your 152HOST PC and everything would work as smooth as clockwork. I don't 153know the reason WHY:-) 154 155~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156Merry Christmas and Happy New Year! 157 158~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 160===== 161Best regards, 162 163Sam 164