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]

Re: Trouble about execution the loading file in RedBoot.


cguwinds wrote:
> 
> Thanks Dmitry to help me solving the loading file problem.
> But there are still some question about execution the loading file.
> I have made a srec file, "a.srec" , and send the file to RedBoot.
> Why can't I run the program?
> Does I have make any mistake or miss any phase about execution?
> 
> The following condition is my runtime environment.
> ====================================
> ====================================
> +No network interfaces found
> 
> RedBoot(tm) bootstrap and debug environment [FLOPPY]
> Non-certified release, version UNKNOWN - built 14:30:51, Nov  2 2001
> 
> Platform: PC (I386)
> Copyright (C) 2000, 2001, Red Hat, Inc.
> 
> RAM: 0x00000000-0x00000000, 0x00084950-0x00000000 available
> RedBoot>load -b 0x00084950 -c 0 -m x
> Address offset = 0x00074950
> Entry point: 0x00010000, address range: 0x00010000-0x0001e360
> xyzModem - Cksum mode, 1215(SOH)/0(STX)/0(CAN) packets, 19 retries
> RedBoot>go 0x00010000
> RedBoot>du
> RedBoot>help
> RedBoot>

If the entry point is 0x10000 you must have built the application (a.srec)
as some non-standard startup (perhaps floppy?). That's wrong - RedBoot is
what is booting off the floppy. Instead use RAM startup. 0x10000 will
almost certainly be an address within redboot itself!

OTOH, the "RAM:" line looks very strange too.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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