Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ofwboot.xcf and gcc 4.8 and ppc 601



Still have same issue after your fix.  I sent my ofwboot.xcf to your
email.

Also, it may not matter, but I think
src/sys/arch/macppc/stand/ofwboot/Locore.c may need to have %r0=0
before bats are initialized, or use %r9 instead of %r0 at processor
check:

"       mfspr   %r9,287      	\n" /* mfpvbr %r9 PVR = 287 */
"       srwi    %r9,%r9,0x10   	\n"
"       cmpi    0,1,%r9,0x02  	\n" /* 601 CPU = 0x0001 */
"       blt     1f		\n" /* skip over non-601 BAT setup */

0 > boot  file: 10.0.0.1,ofwboot.xcfloading XCOFF                               
tsize=E260 dsize=258 bsize=2750 entry=E00000                                    
SECTIONS:                                                                       
.eh_fram 00000074 00000074 000020C8 00000174                                    
.text    00E00000 00E00000 0000E260 00002240                                    
.text.st 00E0E254 00E0E254 00000468 000104A0                                    
.data    00E0F000 00E0F000 00000258 00010908                                    
.bss     00E0F258 00E0F258 00002750 00000000                                    
.gnu.att 00000000 00000000 00000010 00010B60                                    
.ident   00000000 00000000 00000076 00010B70                                    
loading .text, done..                                                           
loading .data, done..                                                           
clearing .bss, done..                                                           
DEFAULT CATCH!, code=FFF00700                                                   
 ok
0 > .registers                                                                  
Client's Fix Pt Regs:                                                           
 00 00E00284 00E112A0 00000000 00000004 00E0D991 00E0F2AC 00000004 DEADBEEF     
 08 00E119A8 FF8099B8 DEADBEEF 00E112A0 DEADBEEF DEADBEEF DEADBEEF DEADBEEF     
 10 DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF     
 18 DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF DEADBEEF FF829898 00E0F2A4     
Special Regs:                                                                   
    %IV: 00000700   %SRR0: 00E0E254   %SRR1: 00083070     %MQ: 00000060         
    %CR: 30000003     %LR: 00E00290    %CTR: FF8099B8    %XER: C000BE6F         
   %DAR: 00001000  %DSISR: 42000000   %SDR1: 00FE0000                           
 ok                                                                             
0 > dev /memory .properties                                                     
name                    memory                                                  
device_type             memory                                                  
reg                     00000000  10000000                                      
available               00000000 00E00000 00E12000 000EE000 01000000 0F000000   


Home | Main Index | Thread Index | Old Index