This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: dl_edb7xxx
- To: lmc83 <lmc83 at cs dot ccu dot edu dot tw>, ecos-discuss <ecos-discuss at sources dot redhat dot com>
- Subject: Re: [ECOS] dl_edb7xxx
- From: "Lewin A.R.W. Edwards" <larwe at larwe dot com>
- Date: Wed, 04 Apr 2001 10:37:31 -0400
> I looking into dl_edb7xxx.c which is download tool for edb7xxx
> and found it include a bootcode:
> pcBoot[2048] = {....}
> with comment: /* THIS IS A GENERATED FILE...DO NOT EDIT! */
> How this bootcode is generated?
This bootcode is the small program which is uploaded by dl_edb7xxx, it
"knows" about the particular flash memory configuration on the EDB7209
(EDB7212). I presume Red Hat compiled that bootcode, converted it to raw
binary, and used a binary-to-C-header conversion utility on it.
I don't see the sourcecode for that bootcode available anywhere, but I
understand it is ported from (or maybe just lifted from) Cirrus Logic's
original DOS DOWNLOAD.EXE program. Anyway, it is a very simple program to
write.
=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/
"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."