This is the mail archive of the ecos-patches@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]

Patch to ARM's redboot_linux_exec.c file


Hello All,
I ran into an issue with the Redboot "exec" command on an ARM-based platform. After copying the downloaded kernel to the entry address, the PC was getting set to an incorrect entry address thereby causing the kernel decompression step to fail.
 
On further debugging, I found that Register r2 was being used to store the "entry" input operand in the inline assembly code at the end of the do_exec() function. 

r2 is also used to store the Linux kernel parameters, I have attached a patch to fix this issue.
 
Best Regards,
-Mahesh 		 	   		  
_________________________________________________________________
The latest songs, trailers and more
http://video.in.msn.com/  

Attachment: 0001-Add-r2-to-clobber-list-to-avoid-using-r2-to-store-th.patch
Description: Text document


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