WinCE EbootÖмÓÈëLinux bootµÄÖ§³Ö
Index: flash.c
===================================================================
--- flash.c (revision 1804)
+++ flash.c (working copy)
@@ -26,6 +26,8 @@
#include "ebootnand.h"
#include "ll_nand.h"
#include "loader.h"
+#include "setup.h"
+
extern DWORD g_ImageType;
extern MultiBINInfo g_BINRegionInfo;
extern DWORD CEchecksum;
@@ -223,6 +225,11 @@
*/
LPBYTE OEMMapMemAddr(DWORD dwImageStart, DWORD dwAddr)
{
+ if (g_ImageType & IMAGE_TYPE_zImage)
+ {
+ dwAddr = ((0x83a00000 | CACHED_TO_UNCACHED_OFFSET) + (dwAddr - 0));
+ return (LPBYTE)dwAddr;
+ }
if (g_ImageType & IMAGE_TYPE_STEPLDR)
{
dwAddr = (FILE_CACHE_START + (dwAddr - STEPLDR_RAM_IMAGE_BASE));
@@ -522,6 +529,10 @@
{
OALMSG(TRUE, (TEXT("[ERR] FIL Erase Error @ %d block\r\n"), dwPage / PAGES_PER_BLOCK));
OALMSG(TRUE, (TEXT("Write Steploader image to BootMedia Failed !!!\r\n")));
+ while(1)
+ {
+ red_printk(TEXT("OEMWriteSuperIPL [ERR
Ïà¹ØÎĵµ£º
1) ʹÓõĿⲻͬ¡£windowsÏÂͼÐοª·¢Ò»°ãÓÃ΢ÈíµÄMFC»ò.net¿â£¬¶øLinuxÏÂÔò³£ÓÃqt¿â¡£C/C++ͨÓÿ⣨c¿â£¬STL¿â£©µÄ½Ó¿ÚÏàͬ£¬µ«ÄÚ²¿ÊµÏÖ²»Í¬¡£
2) ±àÒëÆ÷²»Í¬¡£windowsÏÂÓõÄÊÇ΢Èí±àÒëÆ÷VC»ò.net£¬¶øLinuxÏÂÔòÓÃgcc¡£
3) ¿ª·¢»·¾³²»Í¬¡£windowsµÄ±àÒëÆ÷×Ô¶¯Éú³Émakefile£¬¶øLinuxÔòÐèÒªÊÖ¶¯±àдmakefil ......
תÔØ×Ô£ºhttp://bbs.dp168.com/thread-23703-1-1.html
Redhat
¼ò½é£º
Red Hat LinuxÊÇÉÌÒµÉÏÔË×÷×î³É¹¦µÄÒ»¸öLinux·¢ÐÐÌ×¼þ£¬ÆÕ¼°³Ì¶ÈºÜ¸ß£¬ÓÉRed Hat¹«Ë¾·¢ÐС£
Red Hat
Linux¿ÉËãÊÇÒ»¸ö“ÖÐÄêµÄ”Linux·¢ÐÐÌ×¼þ£¬1.0°æ±¾ÓÚ1994Äê11ÔÂ3ÈÕ·¢ÐС£ËäÈ»ÆäÀúÊ·²»¼°Slackware°ãÓƾ㬵«±ÈÆðºÜ¶àµÄ
Linux·¢ÐÐÌ×¼þ ......
¡¡¡¡Õâ¶Îʱ¼äÀÏÅöµ½ÓÐÈËÎʼ°¸÷¸öLinux°æ±¾µÄ±¾µØrootÃÜÂëÆƽⷽ·¨£¬ÎÒÕâÀï×Ô¼ºÒÔ¼°ÔÚÍøÂçÉÏËѼ¯ÁËЩ×ÊÁÏ£¬Ï£Íû¶Ô¿´µ½ÁËÕâÎÄÕ¶øÓÖÇ¡ºÃÓõõ½µÄ¼¼ÊõÈËÔ±Óеã°ïÖú£º
(Ò»)RedHat/CentOS/Fedora ϵͳÃÜÂëÆƽâ
¡¡¡¡1.ÔÚgrubÑ¡Ïî²Ëµ¥°´E½øÈë±à¼Ä£Ê½
¡¡¡¡2.±à¼kernel ÄÇÐÐ×îºó¼ÓÉÏ¿Õ¸ñS (»òÕß¿Õ¸ñSingle)
¡¡¡¡3.°´B£¬Æô¶¯µ ......
Ç°ÑÔ£¬Linux/Unix ÉçÇøµÄ°æ¿é²»ÈÈÄÖ£¬ÐÂÊÖÌ«¶à£¬¸ßÊÖ̫棬ż°Ñ×Ô¼ºÕ⼸ÄêµÄLinuxѧϰµÄ¹ý³Ì½²½²£¬Ï£ÍûÄܸø´ó¼ÒÓеã°ïÖú£¬
Òýµ¼³õѧÕßѧϰµÄ·½Ïò£¬ÉÙ×ßÍä·£¬Ê°빦±¶£¬Í¬Ê±Ò²ÊÇÅ×שÒýÓñ£¬Çë¹ýÀ´ÈËÈÈÁÒ·¢ÑÔ¡£
1. Ê×ÏÈÊìϤ Linux
½¨ÒéÔÚ Windows ÉÏ°²×° VMware Workstation 6.5.0(ÒÔϼò³ÆVM£©, ÏÂÔØÖÖ×ÓÔÚ ......