From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11945 invoked by alias); 25 May 2007 08:30:04 -0000 Received: (qmail 11850 invoked by uid 22791); 25 May 2007 08:29:56 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.226) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 25 May 2007 08:29:54 +0000 Received: by wx-out-0506.google.com with SMTP id h26so651421wxd for ; Fri, 25 May 2007 01:29:52 -0700 (PDT) Received: by 10.90.33.16 with SMTP id g16mr1953844agg.1180081792415; Fri, 25 May 2007 01:29:52 -0700 (PDT) Received: by 10.90.69.14 with HTTP; Fri, 25 May 2007 01:29:52 -0700 (PDT) Message-ID: Date: Fri, 25 May 2007 17:30:00 -0000 From: "xiaolu zhao" To: "Gary Thomas" Cc: "jiang jet" , ecos-discuss@ecos.sourceware.org In-Reply-To: <465590D3.2050607@mlbassoc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <465590D3.2050607@mlbassoc.com> Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] how to booting the redboot on VMware X-SW-Source: 2007-05/txt/msg00128.txt.bz2 Thank you all so much!! On 5/24/07, Gary Thomas wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > xiaolu zhao wrote: > > Thank you for your anwser. > > > > Maybe I will ask a silly question. In a normal C program, the > > execution of the program start from the beginning of the main > > function. In the folder "\packages\kernel\v2_0\tests" i saw there are > > some test files. ( I don't know if all these files can be used as > > individual application examples ?). In these files, I can not see the > > main( ) functions. They only have cyg_start( ). So I am confused where > > the application program start from, if they have no main( ) functions. > > And who invoke the cyg_start( )function? > > > > Can you help me with these questions? Thank you so much!! > > The eCos documentation is your friend - all of this is explained there. > http://ecos.sourceware.org/docs-latest/ > > eCos provides very complete control over how the application starts. > cyg_start() is the actual starting point for application code. It > normally calls cyg_user_start(), then starts the scheduler. The default > version of cyg_user_start() will create a thread environment for running > 'main()'. > > Look at the examples to see different ways of handling this. Having > your application start as 'main()' is the simplest, but certainly not > the only choice. > > Also, eCos 2.0 is terribly old. Given that you are just starting out, > it would be wise to work with the latest (CVS) code. > http://ecos.sourceware.org/anoncvs.html > > > > > On 5/23/07, jiang jet wrote: > >> > >> > >> > >> >From: "xiaolu zhao" > >> >To: "jiang jet" > >> >CC: ecos-discuss@ecos.sourceware.org > >> >Subject: Re: [ECOS] how to booting the redboot on VMware > >> >Date: Tue, 22 May 2007 22:58:17 +0200 > >> > > >> >Thank you for your advice. Currently I used a software which can > >> >provide virtual serial port. Thus the Host can communicate with > >> >VMware > >> >and I can run the hello world on the virtual machine through the > >> >serial port. > >> > > >> welcome > >> >Can I ask you one more question? > >> > > >> >Because I just start to learn the software development on a RTOS, so > >> >I > >> >have no idea about what is the application software on a RTOS looks > >> >like. I only have some experience in embedded software development > >> >without a RTOS. Do you know where I can find some application > >> >example > >> >on eCos or any other RTOS(more complicated than the examples in the > >> >ecos source code)? > >> > > >> in ecos there is no very strict distinction between app and > >> kernel...actually the distinction between os and app in embedded > >> system is > >> not as obivious as in other enviorment > >> I don't know what kind of app you are looking for, maybe minigui is a > >> good > >> choice for u , however, i think ecos itself is really worth studying > >> intensively > >> > > >> > > >> > > >> > > >> > > >> >On 5/21/07, jiang jet wrote: > >> >> > >> >> > >> >> > >> >> >From: "xiaolu zhao" > >> >> >To: ecos-discuss@ecos.sourceware.org > >> >> >Subject: [ECOS] how to booting the redboot on VMware > >> >> >Date: Sun, 20 May 2007 00:24:08 +0200 > >> >> > > >> >> >Hi, > >> >> >I want to try the application examples in the 12th chapter of > >> >> >"Embedded software development with eCOS". I want to use a > >> >>virtual > >> >> >machine on VMware software as my target. I already successfully > >> >> >install redboot in a virtual machine and see the RedBoot prompt. > >> >> > > >> >> >But when I try to booting redboot, in the step 10 and 11 which > >> >>tests > >> >> >if the host and target connetec well. I found I the host and > >> >>target > >> >> >are not connected. > >> >> > > >> >>you have boot the system up..could u please post the booting info? > >> >>or you can check what ur static ip address is? > >> >>or can u make sure the vmware is connected with host pc correctly? > >> >>or the ethernet cards that contains a controller supported by ecos? > >> >> >I used my notebook as the host. And I tried the HyperTerminal on > >> >>the > >> >> >host to connect the target. Becuase the notebook has no serail > >> >>port, > >> >> >so I choose TCP/IP instead of serial port. And I use the IP > >> >>address > >> >> >of the redboot image as the "host address". But the redboot can > >> >>not > >> >> >be > >> >> >conneted. Is there something wrong of my operation? > >> >> > > >> >> >Do you ever meet this problem? And would you like to give some > >> >> >advice > >> >> >how to solve it? > >> >> > > >> >> >Thank you so much in advance! > > > - -- > - ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > - ------------------------------------------------------------ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org > > iD8DBQFGVZDTmaKbSsQGV8ARAtYhAJ0Q6+IciMA6gkXSf98vFl0DCh1yvQCfcpwx > M+qHalj+a2cZN4EjNei5zdE= > =4Z2e > -----END PGP SIGNATURE----- > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss