[uClibc]Memory Map Hermit vs ice_boot?
Erik Andersen
andersen at codepoet.org
Sat Jul 27 18:09:33 UTC 2002
On Sat Jul 27, 2002 at 11:33:42AM +0530, Trilok wrote:
> Hi,
> I have successfully created ARM Linux Toolchain for CDB89712 Rev B, board. I have refered instructions from Roland Seuhs' page for porting. So I have used Hermit and ShoeHorn. Now I want to develop simple ledblink program. But this program gives me memory fault when I had executed it on CDB89712 Target.
>
> /* This program works on WinNT MULTI 2000 - ice_boot */
> ---------------Ledblink.c ----------------
> #include "ioregs.h" /* same files used in Hermit target directory */
> #define DELAYTIME 400000
>
> int main(){
>
> int i;
> for(;;){
> IO_PDDR |= 0x1;
> for(i=0; i< DELAYTIME; i++);
> IO_PDDR &= ~0x1;
> for(i=0; i< DELAYTIME; i++);
> }
> return 0;
> }
> -------------------------------------------------
>
> Then I have statically linked this program using uClibc.
Just a dumb question... Do you have the Linux kernel running on
your CDB89712 Target?
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list