[ECOS] eCos - porting problem on My target

Prabhat Shrivastav shrivastavp@myw.ltindia.com
Wed Dec 29 06:57:00 GMT 2004


Hi

I am using SH7729 + eCos ,
I had ported eCos + Redboot on evaluation board of SH7729 (MS7729SE01) and build our complete application and tested on evaluation board.
Its working absolutely fine. 
Now my target board is ready and I want to port Redboot and eCos on my target. So I configure the 
"platform.inc  "
"hal_sh_sh7729_se77x9.cdl"
"ram.mlt"
"ram.h"
In my platform every thing is same as evaluation board except, we had removed many of the evaluation board features from my target such as super IO,ethernet(temporary) others.Only the minimum requirement for the board is available. 
SDRAM: 8MB/ 32Bit
Flash : 2MB / 16Bit
My redboot code is stuck some at File name: redboot/main.c

#ifdef CYGFUN_REDBOOT_BOOT_SCRIPT
    script_timeout = CYGNUM_REDBOOT_BOOT_SCRIPT_DEFAULT_TIMEOUT;
#endif

    for (init_entry = __RedBoot_INIT_TAB__; init_entry != &__RedBoot_INIT_TAB_END__;  init_entry++) {
        (*init_entry->fun)();
        }

I had tested that the control is goes inside for three time if I commented this function  "(*init_entry->fun)();".But if I haven't comment that function the control will not come for second time itself.
Just I tried to debug this function but unable to do so with redbood without console.
Can any body help me come out of this problem .
Thanks in advance.
Wish you all a happy and prosperous new year,
Regards




Prabhat Shrivastav
Sr.Software Engineer
L&T-EmSys
Mysore Works
KIADB Industrial Area
Hebbal - Hootagali
Mysore - 570 018
Phone No : +91-821-2402561Ext (2856)
Fax No      : +91-821-2403752
Email         : shrivastavp@myw.ltindia.com


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list