Port-macppc archive

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

Re: installboot and openfirmware 1.0.5



I'm pretty sure	src/sys/arch/macppc/stand/bootxx/bootxx.c
is causing my issues with not being able to boot off the hard disk.  

The openfirmwawre error

	DEFAULT CATCH!, code=FFF00300

is happening around line 93 in bootxx.c:

     78 "	li	%r0,0		\n"
     79 "	mtdbatu	3,%r0		\n"
     80 "	mtibatu	3,%r0		\n"
     81 "	isync			\n"
     82 "	li	%r8,0x1ffe	\n"	/* map the lowest 256MB */
     83 "	li	%r9,0x22	\n"	/* BAT_I */
     84 "	mtdbatl	3,%r9		\n"
     85 "	mtdbatu	3,%r8		\n"
     86 "	mtibatl	3,%r9		\n"
     87 "	mtibatu	3,%r8		\n"
     88 "	isync			\n"
     93 "	lis	%r1,(stack+32768)@ha\n"
     94 "	addi	%r1,%r1,(stack+32768)@l\n"
     95 "	stw	%r0,0(%r1)	\n"	/* terminate the frame link chain */

I guess the bat setup needs to be different for this 601/power7200 vs
a "normal" powerpc?  But it'd be nice to know anyone got this working
with openfirmware 1.0.5 and non-601 powerpc either way.


Home | Main Index | Thread Index | Old Index