Bug 53571 - FLASH address handling inadequate
FLASH address handling inadequate
Status: CLOSED CURRENTRELEASE
Product: eCos
Classification: Retired
Component: RedBoot (Show other bugs)
CVS
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: ecc-bugs-int
ecc-bugs-int
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-09-11 21:02 EDT by George Thomas
Modified: 2007-04-18 12:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-09-11 21:04:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description George Thomas 2001-09-11 21:02:52 EDT
Description of Problem:

The current code in RedBoot for manipulating FLASH addresses falls
over in the case where the end of FLASH wraps the available address
size.


Version-Release number of selected component (if applicable):


How Reproducible:


Steps to Reproduce:
1. Imagine where FLASH base is 0xFF800000 and the size is 0x800000.
2. 
3. 

Actual Results:


Expected Results:


Additional Information:
Comment 1 George Thomas 2001-09-11 21:04:24 EDT
Changing how RedBoot keeps track of the end of FLASH by letting it
be the "last" byte instead of the first byte after (and all of the
repercussions of this) would fix the problem.
Comment 2 George Thomas 2001-09-11 22:54:17 EDT
All uses of FLASH addresses in RedBoot are now either (void *) or
CYG_ADDRESS which should avoid any addressing problems in the future.

Also, the 'end' address is kept internally as the last usable address
which avoids the wrap around problem.

Note You need to log in before you can comment on or make changes to this bug.