[ECOS] problem with RedBoot boot sript
Vladimir Sterjantov
vfs@tersy.ru
Fri Sep 27 06:12:00 GMT 2002
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
More information about the Ecos-discuss
mailing list