This is the mail archive of the
mailing list for the eCos project.
Re: Problem with pc target and floppy/grub
- From: Daniel Saltmann <Daniel dot Saltmann at udo dot edu>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 03 Jun 2009 11:09:12 +0200
- Subject: Re: [ECOS] Problem with pc target and floppy/grub
- References: <email@example.com>
Daniel Saltmann schrieb:
> I want to use eCos on an i386 target booting from floppy or grub. There
> are no problems installing ecos or creating a floppy or grub image. The
> system boots from floppy but then the screen turns black.
> I tried different examples and tests on
> - real hardware, vmware, bochs and qemu
> - using all combinations with all ecos pc targets
> - and the pre-built i386-elf toolchain.
> Do I expect something wrong or does anyone see my problem? Any more
> details required?
I tried different things but was not able to resolve my problems on my
own. There is no activity on the serial ports, even if output to pc
screen is disabled.
Here is my procedure to create the disk images, maybe there is a
-- start --
-> HW-Template i386 with 8139 network (all tried)
-> just changed "i386 PC Target / Startup type" to "floppy"
-> Build Library
-> saved as "ecos/daniel1" and exit
i386-elf-gcc -g -I ../../daniel1_install/include hello.c -L
../../daniel1_install/lib -Ttarget.ld -nostdlib
i386-elf-objcopy -O binary a.out app.bin
dd conv=sync if=app.bin of=/dev/fd0
-- end --
Anything suspicious? Thanks for your help!
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss