This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
i386 redboot and loading application
- From: Agus Ariffianto <aariffianto at students dot ee dot itb dot ac dot id>
- To: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: 11 Jul 2006 17:00:11 +0700
- Subject: [ECOS] i386 redboot and loading application
- Virus-scanned: antivirus-ITB
Dear ALL,
I built a redboot disk and it works fine (I guess). After booting using
the disk, the RedBoot> prompt (is it a shell or what?) turn up.
The monitor displays:
RedBoot(tm) bootstrap and debug environment [FLOPPY]
Non-certified release, version UNKNOWN - built 10:40:03, Jul 11 2006
Platform: PC (I386)
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc
RAM: 0x00000000-0x000a0000, [0x0007d070-0x000a0000] available
RedBoot>
I want to load a program (let say a simple program: Hello world) to be
loaded into memory. What I did is (I don't know exactly wether what I'm
doing is correct or not) I remove the redboot disk and replace it with
second disk which contains the application program. The program is in
binary format. What I did to create this program is:
[agus]$ i386-elf-objcopy -O binary hello.ecos hello.ecos.bin
then copying the .bin file into the second disk.
(hello.ecos is an ecos based program)
To load the .bin program into memory, I enter command:
RedBoot> load.ecos.bin -v -b 0x00000000
No default protocol!
My questions are:
1. Why this "No default protocol! " message turn up?
2. Am I on the right track?
3. What is the command to load the application program
Your response is highly appreciated. Thank you.
Rgds,
Agus
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss