Hello David;

Are you doing this big or little edian?

--George

-----Original Message-----
From: Meng, David [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 27, 2000 8:48 PM
To: 'Chris Blazie'; [EMAIL PROTECTED]
Subject: RE: booting kernel on SA1110




>       I'm trying to get a kernel to boot on an SA1110 platform
>(development board with 64mb SDRAM).  I set up the memory configurations
>in mm/mm-sa1100.c and kernel/arch.c.  I pass architecture number 0x10 from
>the bootloader but it never gets out of head-armv.S.  I traced the problem
>to the instruction turning on the MMU:

>mcr     p15, 0, r0, c1, c0

>       At this point r0 = 0xc000517d; mmu, write buffer, and all caches
>on.  Is all of that really supposed to happen here?  Or is r0 getting
>incorrectly set in __create_page_tables?

If the error is undefined instuction, the reason is that the ARM is in the
user mode.  This coprocessor instruction is supposed to be used in
supervisor mode.
David Meng
____________________________________________________________
This is my personal opinion and not related to my employer.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for
++
++                        kernel-related discussions.
++

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to