aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/STATUS
blob: f346daf93fa01c0212af8d004cd378e14527ae37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
PowerPC emulation status.
The goal of this file is to provide a reference status to avoid regressions.

===============================================================================
PowerPC core emulation status

INSN: instruction set.
      OK => all instructions are emulated
      KO => some insns are missing or some should be removed
      ?  => unchecked
SPR:  special purpose registers set
      OK => all SPR registered (but some may be fake)
      KO => some SPR are missing or should be removed
      ?  => uncheked
MSR:  MSR bits definitions
      OK => all MSR bits properly defined
      KO => MSR definition is incorrect
      ?  => unchecked
IRQ:  input signals definitions (mostly interrupts)
      OK => input signals are properly defined
      KO => input signals are not implemented (system emulation does not work)
      ?  => input signals definitions may be incorrect
MMU:  MMU model implementation
      OK => MMU model is implemented and Linux is able to boot
      KO => MMU model not implemented or bugged
      ?  => MMU model not tested
EXCP: exceptions model implementation
      OK => exception model is implemented and Linux is able to boot
      KO => exception model not implemented or known to be buggy
      ?  => exception model may be incorrect or is untested

Embedded PowerPC cores
***
PowerPC 401:
INSN  OK
SPR   OK 401A1
MSR   OK
IRQ   KO partially implemented
MMU   OK
EXCP  ?

PowerPC 401x2:
INSN  OK
SPR   OK 401B2 401C2 401D2 401E2 401F2
MSR   OK
IRQ   KO partially implemented
MMU   OK
EXCP  ?

PowerPC IOP480:
INSN  OK
SPR   OK IOP480
MSR   OK
IRQ   KO partially implemented
MMU   OK
EXCP  ?

To be checked: 401G2 401B3 Cobra

***
PowerPC 403:
INSN  OK
SPR   OK 403GA 403GB
MMU   OK
MSR   OK
IRQ   KO not implemented
EXCP  ?

PowerPC 403GCX:
INSN  OK
SPR   OK 403GCX
MMU   OK
MSR   OK
IRQ   KO not implemented
EXCP  ?

To be checked: 403GC

***
PowerPC 405:
Checked: 405CRa 405CRb 405CRc 405EP 405GPa 405GPb 405GPc 405GPd 405GPe 405GPR
         Npe405H Npe405H2 Npe405L
INSN  OK
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  OK
=> Linux 2.4 boots (at least 1 proprietary firmware).

To be checked: 405D2 405D4 405EZ 405LP Npe4GS3 STB03 STB04 STB25
               x2vp4 x2vp7 x2vp20 x2vp50

XXX: find what is IBM e407b4

***
PowerPC 440:
Checked: 440EPa 440EPb 440GXa 440GXb 440GXc 440GXf 440SP 440SP2
INSN  OK
SPR   OK
MSR   OK
IRQ   KO not implemented
MMU   ?
EXCP  ?

PowerPC 440GP:
Checked: 440GPb 440GPc
INSN  OK
SPR   OK
MSR   OK
IRQ   KO not implemented
MMU   ?
EXCP  ?

PowerPC 440x4:
Checked: 440A4 440B4 440G4 440H4
INSN  OK
SPR   OK
MSR   OK
IRQ   KO not implemented
MMU   ?
EXCP  ?

PowerPC 440x5:
Checked: 440A5 440F5 440G5 440H6 440GRa
INSN  OK
SPR   OK
MSR   OK
IRQ   KO not implemented
MMU   ?
EXCP  ?

To be checked: 440EPx 440GRx 440SPE

***
PowerPC 460: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

PowerPC 460F: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

***
PowerPC e200: (not implemented)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

***
PowerPC e300: (not implemented)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

***
PowerPC e500: (not implemented)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

***
PowerPC e600: (not implemented)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

***
32 bits PowerPC
PowerPC 601: (601 601v2)
INSN  OK
SPR   OK is HID15 only on 601v2 ?
MSR   OK
IRQ   KO not implemented
MMU   ?
EXCP  ?
Remarks: some instructions should have a specific behavior (not implemented)

PowerPC 602: 602
INSN  OK
SPR   OK
MSR   OK
IRQ   OK
MMU   ?
EXCP  ? at least timer and external interrupt are OK
Remarks: Linux crashes when entering user-mode. But it seems it does not
         know about this CPU. As this CPU is close to 603e, it should be OK.

PowerPC 603: (603)
INSN  OK
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  OK
Remarks: Linux 2.4 boots and properly recognizes the CPU

PowerPC 603e: (603e11)
INSN  OK
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  OK
Remarks: Linux 2.4 boots and properly recognizes the CPU

PowerPC G2:
INSN  OK
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  OK
Remarks: Linux 2.4 boots, recognizes the CPU as a 82xx.

PowerPC G2le:
INSN  OK
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  OK
Remarks: Linux 2.4 does not boots. Same symptoms as 602.

PowerPC 604:
INSN  OK
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  OK
Remarks: Linux 2.4 boots and properly recognizes the CPU.

PowerPC 7x0:
INSN  OK
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  OK
Remarks: Linux 2.4 boots and properly recognizes the CPU.

PowerPC 750fx:
INSN  OK
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  OK
Remarks: Linux 2.4 boots but does not properly recognizes the CPU.

PowerPC 7x5:
INSN  ?
SPR   ?
MSR   ?
IRQ   OK
MMU   ?
EXCP  OK
=> Linux 2.4 does not boot.

PowerPC 7400:
INSN  KO Altivec missing
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  ?  Altivec, ...
=> Linux 2.4 boots and properly recognize the CPU.

PowerPC 7410:
INSN  KO Altivec missing
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  ?  Altivec, ...
=> Linux 2.4 boots and properly recognize the CPU.
   Note that UM says tlbld & tlbli are implemented bus this may be a mistake
   as TLB load are managed by the hardware and it does not implement the
   needed registers.

PowerPC 7441:
INSN  KO Altivec missing
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  ?  Altivec, ...
Linux does not have the code to handle TLB miss on this CPU


PowerPC 7450/7451:
INSN  KO Altivec missing
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  ?  Altivec, ...
Linux does not have the code to handle TLB miss on this CPU

PowerPC 7445/7447:
INSN  KO Altivec missing
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  ?  Altivec, ...
Linux does not have the code to handle TLB miss on this CPU

PowerPC 7455/7457:
INSN  KO Altivec missing
SPR   OK
MSR   OK
IRQ   OK
MMU   OK
EXCP  ?  Altivec, ...
Linux does not have the code to handle TLB miss on this CPU

64 bits PowerPC
PowerPC 620: (disabled)
INSN  KO
SPR   KO
MSR   ?
IRQ   KO
MMU   KO
EXCP  KO

PowerPC 970:
INSN  KO Altivec missing and more
SPR   KO
MSR   ?
IRQ   OK
MMU   OK
EXCP  KO partially implemented
Should be able to boot but there is no hw platform currently emulated.

PowerPC 970FX:
INSN  KO Altivec missing and more
SPR   KO
MSR   ?
IRQ   OK
MMU   OK
EXCP  KO partially implemented
Should be able to boot but there is no hw platform currently emulated.

PowerPC 970GX:
INSN  KO Altivec missing and more
SPR   KO
MSR   ?
IRQ   OK
MMU   OK
EXCP  KO partially implemented
Should be able to boot but there is no hw platform currently emulated.

PowerPC Cell:
INSN  KO Altivec missing and more
SPR   KO
MSR   ?
IRQ   ?
MMU   ?
EXCP  ? partially implemented
As the core is mostly a 970, should be able to boot. SPE are not implemented.

PowerPC 630: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

PowerPC 631: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

POWER4: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

POWER4+: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

POWER5: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

POWER5+: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

POWER6: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

RS64: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

RS64-II: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

RS64-III: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

RS64-IV: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

Original POWER
POWER: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

POWER2: (disabled: lack of detailed specifications)
INSN  KO
SPR   KO
MSR   KO
IRQ   KO
MMU   KO
EXCP  KO

===============================================================================
PowerPC microcontrollers emulation status

Implemementation should be sufficient to boot Linux:
(there seem to be problems with uboot freezing at some point)
- PowerPC 405CR
- PowerPC 405EP

TODO:
- More PowerPC 40x microcontrollers emulation
- PowerPC 440 microcontrollers emulation
- e200 microcontrollers emulation
- e300 microcontrollers emulation
- e500 microcontrollers emulation
- e600 microcontrollers emulation

===============================================================================
PowerPC based platforms emulation status

* PREP platform (RS/6000 7043...) - TO BE CHECKED (broken)
- Gentoo Linux live CDROM 1.4
- Debian Linux 3.0
- Mandrake Linux 9

* heathrow PowerMac platform (beige PowerMac) - TO BE CHECKED (broken)
- Gentoo Linux live CDROM 1.4
- Debian Linux 3.0
- Mandrake Linux 9

* mac99 platform (white and blue PowerMac, ...)
- Gentoo Linux live CDROM 1.4 - boots, compiles linux kernel
- Debian Linux woody - boots from CDROM and HDD
- Mandrake Linux 9 - boots from CDROM, freezes during install
- Knoppix 2003-07-13_4 boots from CDROM, pb with X configuration
  distribution bug: X runs with a properly hand-coded configuration.
- rock Linux 2.0 runs from CDROM

* Linux 2.6 support seems deadly broken (used to boot...).

* PowerPC 405EP reference boards:
- can boot Linux 2.4 & 2.6.
  Need to provide a flash image ready to boot for reproductible tests.

TODO:
- MCA based RS/6000 emulation
- CHRP emulation (not PowerMac)
- PPAR emulation
- ePPAR emulation
- misc PowerPC reference boards emulation

===============================================================================
(to be completed)