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