This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

exact command for loading application ?


Hello all 


I want to load the program from host system onto target.
and then execute it. But I am getting trouble in that... could someone help me.

i have connected two machines using Realtek RTL8139/810X Family PCI
Fast Ethernet Card. I have created Redboot.bin image using i386 with
i386 pc with rtl 8139 ethernet as target. I have serial connection as
well.

Booting target from the floppy using this redboot.bin . it waits for
some time for BOOTP .
-> what should I do to avoid that.

After some time I get redboot prompt with information about ip
address, mac address etc.
Now I use telnet from host machine which shows redboot prompt.

I gave load âv âm ymodem on telnet session .
it waits for some time. immediately I gave 'send file' in minicom .
the target shows some 'magic' (9 'c's and then soem unreadable
character )characters for some time .
then it gives message :

Can't load '<null>' : Timed out

If I gave 
load âv âm ymodem âc 0  then it gives message 
retry 0 , NAK on sector.

Can anybody tell me exact command to be given on redboot prompt on
telnet session on host machine to load into the target a file say
/home/ron/hello.bin on the host machine.
Should I use Ethernet or serial line for file transfer. If possible
tell me both the ways.

I also tried with tftp option for load but I get file not found message.

I have connected 2 machines directly with ethernet cable cross
connection. Configured the target IP address as 10.0.0.1 and that of
host as 10.0.0.2.


~ Devendr@...

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]