[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Cannot execute file in DEVB



That looks OK. Did you FTP the executable to the board? In that case did you transfer it in binary mode? Also try using the flashit-script (or ktest) if you haven't already.

/Jonas

> -----Original Message-----
> From: Nguyen Thai [mailto:thai@xxxxxxx.se]
> Sent: Monday, May 07, 2001 1:32 PM
> To: DEVB
> Subject: RE: Cannot execute file in DEVB
> 
> 
> Yes, I did. And this is the output when I compile and link program:
> 
> thai@ash:~/axis/devboard_lx/apps/hello$ make clinux
> rm -rf .target_*
> touch .target_clinux
> thai@ash:~/axis/devboard_lx/apps/hello$ make install
> gcc_cris -mlinux -DCRISMMU 
> -muclibc=/home/thai/axis/devboard_lx/eroot -Wall 
> -O2
> -Wall   -c -o hello.o hello.c
> gcc_cris -mlinux -DCRISMMU 
> -muclibc=/home/thai/axis/devboard_lx/eroot -s -st
> atic
>  hello.o  -o hello
> install_elinux -d /home/thai/axis/devboard_lx/eroot/bin
> install_elinux -m 0755 hello /home/thai/axis/devboard_lx/eroot/bin
> thai@ash:~/axis/devboard_lx/apps/hello$
> 
> > Did you do "make clinux"? What output do you get when you compile
> > and link?
> >
> > brgds
> > /Jonas
> >
>