This is the mail archive of the ecos-patches@sources.redhat.com 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] |
Hi, The attached patch adds a function 'linux' to RedBoot under i386. This is similar to the 'exec' command on arm. It is based on the arm code and a previous patch which I made. On arm 'exec' is not Linux specific, but it is on i386 -- hence the different name. The command will launch a Linux zImage or bzImage from memory by copying it to the correct location, setting up some data areas and jumping to the start of the protected mode kernel. The reason I setup the data area and jump directly to the protected mode kernel entry is that the data area is normally setup by the real mode stub, but setup.S requires BIOS support which is not available when booting via RedBoot. The patch should apply cleanly to CVS eCos in the ecos/packages directory with "patch -p0 -i linux.i386.diff" Ian. -- Ian Campbell Design Engineer Arcom Control Systems Ltd, Direct: +44 (0)1223 403465 Clifton Road, Phone: +44 (0)1223 411 200 Cambridge CB1 7EA E-Mail: icampbell at arcom dot com United Kingdom Web: http://www.arcom.com ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________
Attachment:
linux.i386.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |