[ECOS] eCos on Evaluator-7T

Sheri2000S@netscape.net Sheri2000S@netscape.net
Tue Dec 4 02:02:00 GMT 2001


Thank u all for your help! it solved my problem 

Gary
Robin
Bill

Thanks!

Shehryar


Gary Thomas <gthomas@redhat.com> wrote:

>On Mon, 2001-12-03 at 12:09, Sheri2000S@netscape.net wrote:
>> There is probably some misunderstanding on my part as regards to ecos and redboot.
>> 
>> so (as I understand)
>> 
>> The Redboot.UU has to be put in the Flash ,this is the boot monitor.
>> 
>> Now
>> 
>> How do I build an application with multiple tasks (utilising the os features like semaphores,delays,mailboxes etc) and run it on the target board i.e Evaluator-7T and debug it.
>> 
>> This is probably a very basic question but I am really stuck and would really appriciate help
>> 
>
>You already have the answer :-)
>
>Your first configuration quoted below (ecosconfig new e7t redboot) is 
>used to create RedBoot.  This is based on the 'redboot' template which
>you used.  This configuration is only useful for making a RedBoot image,
>since it contains a very minimal HAL and other RedBoot packages.  Make 
>no mistake though - there will be an eCos kernel [library] generated, it
>just won't have any "kernel" stuff in it, i.e. no threads, scheduler, 
>etc.
>
>The second configuration (ecosconfig new e7t) generates an eCos kernel
>using the "default" template which does include a complete 
>multi-threading environment.  This is the kernel you should be using (or
>a similar one, based on your actual requirements) for any eCos program
>other than RedBoot itself.
>
>Once you configure and build a generic eCos kernel plus your 
>application, you use RedBoot to download that program to the target 
>board and run it.
>
>> Thanks
>> 
>> Shehryar
>> 
>> Thanks
>> 
>> Gary Thomas <gthomas@redhat.com> wrote:
>> 
>> >On Mon, 2001-12-03 at 09:40, Sheri2000S@netscape.net wrote:
>> >> Hi
>> >>       I am trying to run eCos on Evaluator-7T. I have the following problem ,if any one knows the solution please let me know
>> >> 
>> >>     I did the following
>> >> 
>> >>     ../ecosconfig new e7t redboot
>> >>     ../ecosconfig tree
>> >>     ../make
>> >> 
>> >>     Then I changed to the examples directory in the ecos install directory 
>> >> 
>> >> 
>> >>     make twothreads
>> >> 
>> >>     .. I get the following error message
>> >> arm-elf-gcc -mcpu=arm7tdmi                       -nostartfiles -L/usr/local/bin/temp2/install/lib -Wl,--gc-sections -o twothreads twothreads.o -Ttarget.ld -nostdlib
>> >> /usr/local/bin/temp2/install/lib/libtarget.a(redboot_main.o): In function `do_reset':
>> >> /home/shehryar/ecos/packages/redboot/current/src/main.c:567: undefined reference to `RedBoot_version'
>> >> collect2: ld returned 1 exit status
>> >> make: *** [twothreads] Error 1
>> >> 
>> >> if I don't add the redboot option like
>> >> 
>> >>     ../ecosconfig new e7t
>> >>     ../ecosconfig tree
>> >>     ../make
>> >> 
>> >>  and then
>> >> 
>> >>     make twothreads
>> >> 
>> >> I don't get any errors.
>> >> 
>> >> If some one has the solution to this plaese let me know
>> >
>> >What's the problem?  You should not be building this test code with a 
>> >RedBoot configuration, only with a properly configured eCos kernel.
>> >
>> >> 
>> >> Best Regards
>> >> 
>> >> Shehryar
>> >> 
>> >> 
>> >> -- 
>> >> 
>> >> 
>> >> 
>> >> 
>> >> __________________________________________________________________
>> >> Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
>> >> 
>> >> Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
>> >
>> >
>> >
>> -- 
>> 
>> 
>> 
>> 
>> __________________________________________________________________
>> Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
>> 
>> Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
>
>
>
-- 




__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/



More information about the Ecos-discuss mailing list