c - Marvell Helloworld Compilation issue -


i working on project based on marvel wmsdk development kit. working on windows 7 under /cygwin. have downloaded , installed toolchain arm-2012.09-63-arm-none-eabi.exe mentioned in requirements.

when trying compile hello world program in c using makefile given in demo source marvell , executing command in cygwin as:

$ make sdk_path=path/to/sdk 

i error message as

warning: cannot find entry symbol reset_irqhandler; defaulting 00100000 

here source of linker script file mc200.ld

/* entry point */ entry(reset_irqhandler)  /* start address of main stack pointer  * note: stack grows towards lower addresses.  */ _estack = 0x20020000;    /* end of 128k sram1 */  /* heap size in bytes */ _heap_size = (72 * 1024);  /* generate link error if stack don't fit sram.  * total stack size requirement depend on number of concurrent  * threads in application , maximum stack required each  * thread.  */ _min_stack_size = 0x800; /* required minimum amount of stack */  memory {     sram0 (rwx)  : origin = 0x00100000, length = 384k     sram1 (rwx)  : origin = 0x20000000, length = 128k     nvram (rw)   : origin = 0x480c0000, length = 4k }  sections {     .text :     {         . = align(256);         keep(*(.isr_vector))         . = align(4);          *(.text.reset_irqhandler)         *(.text .text.* .gnu.linkonce.t.*)         *(.rodata .rodata.* .gnu.linkonce.r.*)          . = align(4);         _etext = .;     } > sram0      .heapdata (noload):     {         . = align(4);         _heap_start = .;         . += _heap_size;         . = align(4);         _heap_end = .;     } > sram0      .data :     {         _data = .;         *(.data)         *(.data.*)         _edata = .;     } > sram1      /*      * note: please not move below section ".iobufs" sram0.      * of peripherals (e.g. usb, sdio) own dma engines      * have requirement data buffers dma need in      * "data" memory (sram1). peripherals use internal dma engine      * of mc200 (e.g. uart) can use data buffers sram0 or sram1.      */     .iobufs (noload):     {         . = align(4);         _iobufs_start = .;         *(.iobufs)         *(.iobufs.*)         _iobufs_end = .;     } > sram1      .bss (noload):     {         _bss = .;         *(.bss)         *(.bss.*)         *(common)         _ebss = .;     } > sram1      /* check enough space stack */         ._main_stack :         {                 . = align(4);                 . = . + _min_stack_size;                 . = align(4);         } > sram1      .nvram (noload):     {         /* bootrom uses first few bytes of retention ram */         _nvram_start = .;         . = . + 64;         . = align(4);         /* 0 initialized on bootup */         _nvram_begin = .;         *(.nvram)         *(.nvram.*)         _nvram_end = .;         /* un-initialized nvram section */         . = align(4);         *(.nvram_uninit)         *(.nvram_uninit.*)     } > nvram } 

i tried in both windows 7 , linux virtualbox environment, same error message. couldn't figure out goes wrong. please suggest me fix this.

thanks.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -