This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
problem with RedBoot boot sript
- From: Vladimir Sterjantov <vfs at tersy dot ru>
- To: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 27 Sep 2002 17:07:19 +0400
- Subject: [ECOS] problem with RedBoot boot sript
- Organization: Tersy Ltd.
- Reply-to: vfs at tersy dot ru
on PC i386 I use boot script option:
cdl_option CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT {
user_value 1 "\"load -r -v -b 0x108000 ecos.bin;go\n\""
}
, RedBoot loads file ecos.bin by TFTP, then executes "go", and hangs
But when I use option:
user_value 1 "\"load -r -v -b 0x108000 ecos.bin\n\""
, RedBoot loads file, then gives me prompt, then I type "go", and
program starts to execute normally.
ecos.bin - it's simply hello-world example.
ecos sources from CVS snapshot, 29 aug 2002.
I checked, that RedBoot's function do_go from main.c actually calls
(*fun)();
, but hangs.
What happens? Why application hangs? Please advance me.
Thanks.
--
--
Vladimir Sterjantov
Tersy Ltd., Sarov, Russia,
tel. (83130) 45828
mailto:vfs@tersy.ru
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss