This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Adding commands to RedBoot
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] Adding commands to RedBoot
- From: Warren Jasper <Warren dot Jasper at bops dot com>
- Date: Mon, 17 Sep 2001 08:59:05 -0400
What is the preferred way to add/extend commands to RedBoot?
Specifically, it would be nice to have 2 command to augment dump, namely:
edit -b <location> -v <value>
fill -b <location> -l <length> -v <value>
Should these functions reside in diag.cxx and just put the calls in
/redboot/current/main.c?
Somewhere they should call the macro HAL_WRITE_UINT32.
If you think it's a good idea and these are the right places, I'll give it a
shot.
Warren