This is the mail archive of the ecos-devel@sourceware.org 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: Redboot load command is crippled


On Sun, Nov 19, 2006 at 05:51:08PM -0500, John Clark wrote:
> Hello Andrew,
> 
> Your patch matches what I have already done to get it to work for me.  
> Without that change, it would never write anything to memory through the 
> addr pointer if the address was outside of the memory range known to 
> Redboot on the PC platform (beyond the first 640K).
> 
> My only concern now is that the "Allow the load-command write into 
> Flash" (CYGBLD_REDBOOT_LOAD_INTO_FLASH) option requires that "Validate 
> RAM addresses during load" (CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS) 
> option be enabled as well.  Otherwise, the code assuming that an invalid 
> RAM address is a flash address just won't work.

I see what you mean. How about this patch.

  Andrew

Attachment: redboot.diff
Description: Text document


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