1 Mar 2007 03:03
Redboot works, eCos doesn't.
Jason Thomas <thedracle <at> yahoo.com>
2007-03-01 02:03:09 GMT
2007-03-01 02:03:09 GMT
I've created a hardware profile for a SH4 custom
platform I'm using. When I load a redboot image,
created from the same platform file (Copied the .ecc,
and added the Redboot and CRC packages)--- over SCIF,
I get a redboot prompt. When I run a really simple
eCos ap, however:
#include <stdio.h>
#include <cyg/infra/diag.h>
#include <cyg/hal/hal_if.h>
void cyg_user_start(void)
{
hal_if_init();
diag_printf("Hello, eCos world!\n");
printf("Hello, eCos world!\r\n");
}
int main(void)
{
hal_if_init();
diag_printf("Hello, eCos world!\n");
printf("Hello, eCos world!\r\n");
return 1;
}
(Continue reading)
RSS Feed