* [ECOS] eCos booting problem
@ 2002-11-05 19:19 Amit Chaudhary
0 siblings, 0 replies; 2+ messages in thread
From: Amit Chaudhary @ 2002-11-05 19:19 UTC (permalink / raw)
To: ecos-discuss
[-- Attachment #1.1: Type: text/plain, Size: 677 bytes --]
Hi
I am trying to boot eCos as stand alone on i386 pc target.
I compiled source of eCos for RAM STARTUP and then complied my simple
hello world program hello.c given below:
main()
{
printf("Hello eCos World!\n");
return 0;
}
The output generated was a.out in ELF format.
I was using one kind of Boot Loader which can load ELF file & execute
it. but pc is not booting , everytime my pc got restarted.
Tell me how can I boot eCos kernel and what kind of loaders i have to
use. I want to build a image of kernel which can be booted stand alone
on pc target.
Thanks and Regds,
Amit
[-- Attachment #1.2: Type: text/html, Size: 2024 bytes --]
[-- Attachment #2: Wipro_Disclaimer.txt --]
[-- Type: text/plain, Size: 523 bytes --]
**************************Disclaimer**************************************************
Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged'
and 'confidential' and intended for use only by the individual or entity to which it is
addressed. You are notified that any use, copying or dissemination of the information
contained in the E-MAIL in any manner whatsoever is strictly prohibited.
****************************************************************************************
[-- Attachment #3: Type: text/plain, Size: 146 bytes --]
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] eCos booting problem
@ 2002-11-06 20:45 Iztok Zupet
0 siblings, 0 replies; 2+ messages in thread
From: Iztok Zupet @ 2002-11-06 20:45 UTC (permalink / raw)
To: Amit Chaudhary, ecos-discuss
On Wednesday 06 November 2002 04:19, Amit Chaudhary wrote:
> The output generated was a.out in ELF format.
>
> I was using one kind of Boot Loader which can load ELF file & execute
>
> it. but pc is not booting , everytime my pc got restarted.
>
>
>
> Tell me how can I boot eCos kernel and what kind of loaders i have to
>
> use. I want to build a image of kernel which can be booted stand alone
>
> on pc target.
Your boot loader should switch to protected mode just like the the eCos or
RedBoot for the PC does, that is the GDT and IDT and segment registers must be
setup the same way. Then it should jump to 0x108000.
Iztok
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-07 4:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-05 19:19 [ECOS] eCos booting problem Amit Chaudhary
2002-11-06 20:45 Iztok Zupet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).