As I can easily program EBSA-285 Flash Bank 0. I wish to be able to run the
Russell's BIOS 1.05 in this initial bank. The BIOS entry code look like this
(the comments are from me) :
> bic r11, lr, #3 @ r11 = LinkRegister & 0xFFFFFFFC;
> mrs r0, cpsr @ Change to supervisor mode with IRQ
and > bic r0, r0, #0x1f @ FIQ disabled
> orr r0, r0, #0xd3
> msr cpsr, r0
> ldr sp, [r11, #8] @ StackPointer= *((LinkRegister & 0xFFFFFFFC)+8)
I don't have PBL source code. What's 8 bytes after the bl to Bank #3?
And is there another stack space I can use into the BIOS if I eliminate the PBL?
Oh and why clear the last two bits of lr, doesn't ARM alignment force them at
0 anyway?
--
Fran�ois Desloges
[EMAIL PROTECTED]
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]