exe文件

hex2bin for 64bit 评分:

hex2bin for 64bit
2016-05-11 上传 大小:37KB
立即下载
其他文档
DES加密算法DES加密算法

// Java crypt example SJ import javax.crypto.*; import javax.crypto.spec.*; import java.io.*; import java.lang.*; import java.util.*; import java.security.*; public class EncryptionExample { protected String calg = "Blowfish"; // AES. DES, Blowfish protected int keyLen = 128; // 128 for AES, Blowfish, 64 for DES public static void main(String[] args) { EncryptionExample s = new EncryptionExample(); // to call nonstatic methods SecretKeySpec key = s.readkey(); String mess = new String("Hello, world!"); byte[] messb = mess.getBytes(); System.out.println("Plain|" + mess +"|=|" + s.bintohex(messb)); byte[] ct = s.encrypt(messb, key); System.out.println("Encry:" + s.bintohex(ct)); byte[] pt = s.decrypt(ct, key); String dmess = new String(pt); System.out.println("Decry|" + dmess +"|=|" + s.bintohex(pt)); } // main() // encrypt message t with key k public byte[] encrypt(byte[] t, SecretKeySpec k) { try { Cipher c = Cipher.getInstance(calg); c.init(Cipher.ENCRYPT_MODE, k); return c.doFinal(t); } catch (Exception e) { System.err.println("Encryption failed: " + e); } return null; } // decrypt message t with key k public byte[] decrypt(byte[] t, SecretKeySpec k) { try { Cipher c = Cipher.getInstance(calg); c.init(Cipher.DECRYPT_MODE, k); return c.doFinal(t); } catch (Exception e) { System.err.println("Decryption failed: " + e); } return null; } // reads key string from user, returns SecretKeySpec public SecretKeySpec readkey() { SecretKeySpec kp = null; String line; byte [] bin = null; try { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); System.out.print("Give the key or passphrase (" + keyLen/4 + " hex digits or long ascii string) \n : "); line = in.readLine(); // check if input is all hex or not boolean ishex = true; for (int i = 0; i < line.length(); i++) if (Character.digit(line.charAt(i), 16) < 0) { ishex = false; break; } // check hex key length if (ishex && line.length() != keyLen/4) System.err.println("Wrong hex ley lenght (" + line.length() + "/" + keyLen/4 + ")"); // make binary key if (ishex) bin = hextobin(line); else bin = asciitobin(line); // make key for crypto algorithm kp = new SecretKeySpec(bin, calg); System.out.println("Key = |" + bintohex(kp.getEncoded()) + "|"); } catch (Exception e) { System.err.println("Key generation failed" + e); } return kp; } // readkey() // make binary out of hex string public byte[] hextobin(String s) { int len = (s.length()+1)/2; byte[] A = new byte[len]; for (int i = 0; i < len; i++) A[i] = Integer.valueOf(s.substring(i*2, i*2+2), 16).byteValue(); return A; } // returns new 128 bit key using MD5 of the string s public byte[] asciitobin(String s) { byte[] A = null; try { MessageDigest md = MessageDigest.getInstance("MD5"); A = md.digest(s.getBytes()); } catch (Exception e) { System.err.println("Digest failed" + e); } return A; } // returns new hex string representation of A public String bintohex(byte[] A) { int len = A.length; StringBuffer sb = new StringBuffer(len*2); for (int i = 0; i < len; i++) { if ((A[i] & 0xFF) < 0x10) sb.append("0"); sb.append(Integer.toHexString(A[i] & 0xFF)); } return sb.toString(); } } // class

立即下载
pdf文件
电路原理图

MCGSE组态脚本编程 容易上手 一学就会

立即下载
zip文件
解压软件Stuffit Expander v12 for Mac v12.0.1.zip

解压软件Stuffit Expander 12 for Mac 专为Mac使用者专用的档案压缩程序(包含StuffIt、Compact Pro、BinHex及更多格式),让你在上网或遇到有压缩文件的电子邮件时使用。这个版本可以呼叫辅助程序来处理你尚未建立的档案格式。它也兼容于OS X。如果将Aladdin StuffIt Expander 与with DropStuff with Expander Enhancer或StuffIt Deluxe (commercial version)结合在一起,这个程序将会更加的实用,并增加StuffIt压缩及额外的编码格式支持。如果有某个档案格式StuffIt Expander不能处理,它将会重复呼叫辅助程序来处理。当然,这个版本内建了文字译码转换能力,它再也不需要任何额外的程序或档案了;主程序较之前版本来得小,可快速的下载。 说明:新版本12加入了新的压缩引擎,在压缩MP3音乐文件、高画质影像文件(PDF、TIFF、PNG、GIF 及 BMP 格式) 等等时,可改善StuffIt X文件格式的效率。它可压缩 24-bit 的影像而不降低影像品质,以及压缩MP3档而不损坏音质。 StuffIt的文件管理功能也可让您搜寻、预览与存取封存的资料。它会显示封存档中影像的预览缩图,您便无须先解压缩才能观看。 StuffIt Deluxe 12支持的新格式还包含Microsoft Office 2007 与 iWork;StuffIt Deluxe 现在可压缩Pages、Numbers或Keynote文件中的任何影像或音讯片段。

立即下载
其他文档
myasm51-51单片机汇编器源码

myasm51,小型的51单片机汇编器源码。 基于Linux环境下编写的小型的51单片机汇编器,源码开放,采用lex和yacc两个扫描和分析工具创建,代码小巧,易于研读和分析。对汇编源程序2遍扫描完成汇编,可以生成列表文件,Intel的Hex格式的文件及.bin格式的映像文件,后两种文件可以直接下载到单片机上运行。源码程序包内包含若干示例汇编源程序(.asm),proteus的格式的数字种的仿真文件,用以测试编译结果,另有编译后的dos下的可执行文件myasm51.exe,可以在windows的命令窗口下运行。另外提供一个简明的用户手册以供参考。以下为程序包的README: What is Myasm51 =============== Myasm51 is an open source mini-assembler for the Intel MCS-51 family of microcontrollers or the compatible ones, distributed under the GPL license. By scanning the source file in two pass, Myasm51 translates a symbolic code in text file (assembly language source) into a machine executable object file. During the first pass, the assembler builds a symbol table from the symbols and labels used in the source file. In the second pass, the assembler maps the source file into machine code and generates the listing file through what it receives in the first pass. Myasm51 is an absolute assembler and only generates absolute object files in the plain binary file (with .bin extension) or the Intel Hex file (with .Hex extension) which can be read by any ROM programmer to burn the object code into the ROM space of microcontrollers. How to make =========== We assume that the UNIX utilities yacc and lex have been installed in you system, and following these steps to build Myasm51 by the super user 'root' in the Linux or the UNIX cloned system. # tar zxf myasm51-gk-20151208_121306.tar.gz # cd myasm51 # make # cp myasm51 /usr/local/bin done. How to use ========== [root@rh9 myasm51]# cd examples [root@rh9 examples]# myasm51 Myasm51 Assembler. Ver 0.01 Release 1, (20151231_165818) Snallie@tom.com, Wed Sep 30 17:28:09 CST 2015 built: Dec 31 2015 - 17:04:44 Usage: myasm51 [-o] [-F<0|1>] [-C] [-d] in.asm where -ob to output binary file 'in.bin' -oh to output hex file 'in.hx' (default format) -oH to output Intel Hex file 'in.Hex' -F to fill free bit with 0 or 1, (default 0) -C to turn on/off symbol case sensitive, (default on) -d to turn on/off the parser debug mode, (default off) [root@rh9 examples]# myasm51 dclk7seg2.asm Myasm51 Assembler. Ver 0.01 Release 1, (20151231_165818) Snallie@tom.com, Wed Sep 30 17:28:09 CST 2015 built: Dec 31 2015 - 17:04:44 ;;;; Starting 1st Pass... ;;;; 1st Pass proceeded. ;;;; Starting 2nd Pass... ;;;; 2nd Pass proceeded. dclk7seg2.hx, 340(0x154) bytes assembled. [root@rh9 examples]# nl -ba dclk7seg2.hx |more ... 25 0000: | 25 .ORG 0 26 0000: 02 00 30 | 26 PowerON: LJMP Reset 27 | 27 28 0003: | 28 .ORG 0X0003 29 0003: 02 00 03 | 29 EXT_INT0_VECTOR: LJMP EXT_INT0_VECTOR 30 | 30 31 000B: | 31 .ORG 0X000B 32 000B: 02 00 7E | 32 TIMER_T0_VECTOR: LJMP TIMER_T0_INT 33 | 33 34 0013: | 34 .ORG 0X0013 ... [root@rh9 examples]# myasm51 -Cn pm51.asm Myasm51 Assembler. Ver 0.01 Release 1, (20151231_165818) Snallie@tom.com, Wed Sep 30 17:28:09 CST 2015 built: Dec 31 2015 - 17:04:44 ;;;; Starting 1st Pass... ;;;; 1st Pass proceeded. ;;;; Starting 2nd Pass... ;;;; 2nd Pass proceeded. pm51.hx, 7760(0x1e50) bytes assembled. [root@rh9 examples]# nl -ba pm51.hx |more 1 | 1 ; PAULMON 8051 Debugger by Paul Stoffregen 2 | 2 ; Please distribute freely -- may not be sold, period. 3 | 3 4 | 4 ; .command +h58 ;set page height to 58 in listing file... 5 | 5 6 | 6 .equ start,0000h ;address for start of EPROM (0000h) 7 | 7 .equ program,2000h ;address for program loading location 8 | 8 9 0000: | 9 .ORG start 10 0000: 02 0B 08 | 10 rst: lJMP poweron 11 | 11 12 0003: | 12 .org start+3 ;ext int #0 13 0003: 02 20 03 | 13 LJMP program+3 14 000B: | 14 .org start+11 ;timer #0 15 000B: 02 20 0B | 15 LJMP program+11 16 0013: | 16 .org start+13h ;external interrupt routine #1 17 0013: 30 8A 03 | 17 jnb tcon.2,intr0 18 0016: 02 20 13 | 18 ljmp program+13h ;don't do ssrun if edge trigger'd 19 0019: 01 45 | 19 intr0: ajmp step ;but do ssrun if level trigger'd 20 001B: | 20 .org start+1bh ;timer #1 21 001B: 02 20 1B | 21 ljmp program+1bh 22 0023: | 22 .org start+23h ;serial port 23 0023: 02 20 23 | 23 ljmp program+23h 24 002B: | 24 .org start+2bh ;timer #2 (8052 only) 25 002B: 02 20 2B | 25 ljmp program+2bh ... [root@rh9 examples]# myasm51 -oH -Cn pm51.asm Myasm51 Assembler. Ver 0.01 Release 1, (20151231_165818) Snallie@tom.com, Wed Sep 30 17:28:09 CST 2015 built: Dec 31 2015 - 17:04:44 ;;;; Starting 1st Pass... ;;;; 1st Pass proceeded. ;;;; Starting 2nd Pass... ;;;; 2nd Pass proceeded. pm51.Hex, 7760(0x1e50) bytes assembled. [root@rh9 examples]# nl -ba pm51.Hex |more 1 :03000000020B08E8 2 :03000300022003D5 3 :03000B0002200BC5 4 :03001300308A032D 5 :03001600022013B2 6 :0200190001459F 7 :03001B0002201BA5 8 :0300230002202395 9 :03002B0002202B85 10 :02003000A188A5 11 :02003200A180AB ... More about Myasm51 ================== For more information, see doc/myasm51_guide.pdf. Bug report ========== Please send email to Snallie@tom.com ========== Enjoy fun. Snallie@tom.com Thu Dec 31 17:43:48 CST 2015

立即下载
zip文件
CDIMAGE 2.52

CDIMAGE 2.52 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2000. All rights reserved. For Microsoft internal use only. Usage: CDIMAGE [options] sourceroot targetfile -l volume label, no spaces (e.g. -lMYLABEL) -t time stamp for all files and directories, no spaces, any delimiter (e.g. -t12/31/2000,15:01:00) -g encode GMT time for files rather than local time -h include hidden files and directories -n allow long filenames (longer than DOS 8.3 names) -nt allow long filenames, restricted to NT 3.51 compatibility (-nt and -d cannot be used together) -d don't force lowercase filenames to uppercase -c use ANSI filenames versus OEM filenames from source -j1 encode Joliet Unicode filenames AND generate DOS-compatible 8.3 filenames in the ISO-9660 name space (can be read by either Joliet systems or conventional ISO-9660 systems, but some of the filenames in the ISO-9660 name space might be changed to comply with DOS 8.3 and/or ISO-9660 naming restrictions) -j2 encode Joliet Unicode filenames without standard ISO-9660 names (requires a Joliet operating system to read files from the CD) When using the -j1 or -j2 options, the -n, -nt, and -d options do not apply and cannot be used. -js non-Joliet "readme.txt" file for images encoded with -j2 option (e.g. -jsc:\location\readme.txt). This file will be visible as the only file in the root directory of the disc on systems that do not support the Joliet format (Windows 3.1, NT 3.x, etc). -u1 encode "UDF-Bridge" media -u2 encode "UDF" file system without a mirror ISO-9660 file system (requires a UDF capable operating system to read the files) -ur non-UDF "readme.txt" file for images encoded with -u2 option (e.g. -usc:\location\readme.txt). This file will be visible as the only file in the root directory of the disc on systems that do not support the UDF format. -us sparse UDF files -ue embed file data in UDF extent entry -uf embed UDF FID entries -uv UDF Video Zone compatibility enforced -b "El Torito" boot sector file, no spaces (e.g. -bc:\location\cdboot.bin) -p Platform ID for the "El Torito" boot catalog -e Do not set floppy emulation mode in El Torito boot catalog -s sign image file with digital signature (no spaces, provide RPC server and endpoint name like -sServerName:EndPointName) -x compute and encode "AutoCRC" values in image -o optimize storage by encoding duplicate files only once -oc slower duplicate file detection using binary comparisons rather than MD5 hash values -oi ignore diamond compression timestamps when comparing files -os show duplicate files while creating image (-o options can be combined like -ocis) -w warning level followed by number (e.g. -w4) 1 report non-ISO or non-Joliet compliant filenames or depth 2 report non-DOS compliant filenames 3 report zero-length files 4 report each file name copied to image -y test option followed by number (e.g. -y1), used to generate non-standard variations of ISO-9660 for testing purposes: 1 encode trailing version number ';1' on filenames (7.5.1) 2 round directory sizes to multiples of 2K (6.8.1.3) 5 write \i386 directory files first, in reverse sort order 6 allow directory records to be exactly aligned at ends of sectors (ISO-9660 6.8.1.1 conformant but breaks MSCDEX) 7 warn about generated shortnames for 16-bit apps under NT 4.0 b blocksize 512 bytes rather than 2048 bytes d suppress warning for non-identical files with same initial 64K l UDF - long ads used in file entries instead of short ads r UDF - number of ad's is random w open source files with write sharing t load segment in hex for El Torito boot image (e.g. -yt7C0) f use a faster way to generate short names -k (keep) create image even if fail to open some of the source files -m ignore maximum image size of 681,984,000 bytes -a allocation summary shows file and directory sizes -q scan source files only, don't create an image file NOTE: Many of these options allow you to create CD images that are NOT compliant with ISO-9660 and may also NOT be compatibile with one or more operating systems. If you want strict ISO and DOS compliance, use the -w2 warning level and correct any discrepencies reported. YOU are responsible for insuring that any generated CDs are compatible with all appropriate operating systems. Also note that Microsoft company information is placed in the image volume header, so don't use this program to generate CDs for companies other than Microsoft.

立即下载
zip文件
微软内部镜像封装工具:CDIMAGE 2.54 (版本绝对正确!!!)

微软内部镜像封装工具:CDIMAGE_2.54 参数: CDIMAGE 2.46 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2000. All rights reserved. For Microsoft internal use only. Usage: CDIMAGE [參數] 來源目錄 目標影像檔 -l 光碟標籤,不含空白鍵 (e.g. -lMYLABEL) -t 將所有檔案和目錄都設為同一日期,不含空白鍵和任何特殊符號 (e.g. -t12/31/2000,15:01:00) -g 將時間設為 GMT 時間而非本地時間 -h 包含隱藏檔和隱藏目錄 -n 允許長檔名 (超過 8.3 檔名) -nt 允許長檔名,但受限於 NT3.51 相容性 (-nt 和 -d 不可同時使用) -d 不強制將小寫檔名改為大寫檔名 -c 使用 ANSI 檔名以對應原始目錄中的 OEM 檔名 -j1 編碼為 Joliet Unicode 檔名並在 ISO-9660 名稱空間中產生相容於 DOS 的 8.3 檔名格式. (可在 Joliet 系統或其他一般的 ISO-9660 系統中被讀取, 但某些檔名在 ISO-9660 名稱空間中可能會被改變, 以遵守 DOS 8.3 與 ISO-9660 命名限制) -j2 編碼為 Joliet Unicode 檔名而不遵守 ISO-9660 檔名規則 (必須在 Joliet 作業系統從 CD 讀取檔案) 當使用 -j1 或 -j2 參數時, -n, -nt, 和 -d 參數無法生效 並且不可使用. -js 以 -j2 參數將影像檔中的非 Joliet 檔案 "readme.txt" 編碼. (e.g. -jsc:\location\readme.txt). 這樣可以讓這張光碟的這個唯一的檔案在不支援 Joliet 格式的系統中 (Windows 3.1, NT 3.x...等)被看見. -u1 編碼為 "UDF-Bridge" 媒體 -u2 編碼為 "UDF" 檔案系統而不對映 ISO-9660 檔案系統 (必須有 UDF 相容作業系統才可讀取檔案) -ur 以 -u2 參數將影像檔中的非 UDF 檔案 "readme.txt" 編碼. (e.g. -usc:\location\readme.txt). 這樣可以讓這張光碟的這個唯一的檔案在不支援 UDF 格式的系統中 被看見. -us 分散 UDF 檔案 -ue embed file data in UDF extent entry -uf embed UDF FID entries -uv UDF Video Zone compatibility enforced -b "El Torito" 開機區段檔案,不佔檔案空間 (e.g. -bc:\location\cdboot.bin) -p Platform ID for the "El Torito" boot catalog -e 在 El Torito 開機記錄中設置不模擬軟碟。 -s 在影像檔中加入數位簽章 (不佔空間, 必須提供 RPC 伺服器與終點名稱如下 -sServerName:EndPointName) -x 在影像檔中計算與編碼 "AutoCRC" 值 -o 處理重複檔名以將影像檔大小最佳化 (譯註:縮小影像檔容量,即本程式之精華所在) -oc 使用二進位比對代替 MD5 雜湊值, 這會以較慢的速度比對重複的檔案. -oi 比對檔案時忽略高度壓縮的時間戳記 -os 建立影像檔時顯示重複的檔名 (-o 等類似參數不可簡寫為 -ocis) -w 依照數字提供不同的警告等級 (e.g. -w4) 1 回報非 ISO 或非 Joliet 相容檔名或路徑 2 回報非 DOS 相容檔名 3 回報長度為零的檔案 4 回報每一個加入影像檔中的檔名 -y 依照數字提供不同的測試選項 (e.g. -y1),用於測試用途, 可產生不遵守 ISO-9660 的變體影像檔 1 encode trailing version number ';1' on filenames (7.5.1) 2 round directory sizes to multiples of 2K (6.8.1.3) 5 write \i386 directory files first, in reverse sort order 6 allow directory records to be exactly aligned at ends of sectors (ISO-9660 6.8.1.1 conformant but breaks MSCDEX) 7 warn about generated shortnames for 16-bit apps under NT 4.0 b blocksize 512 bytes rather than 2048 bytes d suppress warning for non-identical files with same initial 64K l UDF - long ads used in file entries instead of short ads r UDF - number of ad's is random w open source files with write sharing t load segment in hex for El Torito boot image (e.g. -yt7C0) f use a faster way to generate short names -k (保留) 即使開啟部分來源檔案失敗時也強制建立影像檔 -m 忽略 681,984,000 bytes 的影像檔限制,以便產生 650MB 以上的影像檔 -a allocation summary shows file and directory sizes -q 只掃描來源檔案,不建立影像檔 NOTE: 大部分選項允許您建立不依循 ISO-9660 的影像檔, 並且也可能和一個或多個作業系統不相容。 若您想嚴格的依循 ISO 標準或 DOS, 使用 -w2 警告層級並更正任何不一致的報告 YOU are responsible for insuring that any generated CDs are compatible with all appropriate operating systems. Also note that Microsoft company information is placed in the image volume header, so don't use this program to generate CDs for companies other than Microsoft.

立即下载
zip文件
单片机C语言实例-用P0、P1口显示乘法运算结果.zip

单片机C语言实例-用P0、P1口显示乘法运算结果.zip

立即下载
rar文件
Hex2bin-1.0.9.rar_ 64bit hex2bin.exe_HEX2BIN.exe x64_hex2bin for

Hex2Bin小工具,支持长文件名,可以运行于2003/XP/Vista/Win7 32-bit/64-bit,不像Keil官网上提供的Hex2Bin只支持8.3文件名且不支持Win7x64

立即下载
rar文件
MCB2130的voicePlayer程序

The VoicePlayer project is a simple program for the LPC2138 using Keil MCB2130 Microcontroller Board. It demonstrates the Digital/Analog Conversion capabilities of the LPC2130 series. Severeal Audio Files are stored into the on-chip Flash ROM. The flash is organized into 8 blocks of each 64KB by the application . This allows each block to store 4 seconds of 16-bit PCM-encoded audio data with 8kHz sample frequency. Wave files are stored into a Hex-386 file with the BIN2HEX converter. You can download it for free from www.keil.com: http://www.keil.com/download/docs/bin2hex.zip.asp Wave files can be replaced with any file, that is stored in 16-bit PCM / mono / 8000Hz WAVE/RIFF format. Length is automatically limited. Files and coversion batch are located in ./AudioData/. The VoicePlayer program is available in different targets: Simulator: runs in software Simulator MCB2100 Flash: runs from on-chip Flash ROM (used for target debugging and free-run)

立即下载
zip文件
au3反编译源码

au3反编译源码 myAut2Exe - The Open Source AutoIT Script Decompiler 2.9 ======================================================== *New* full support for AutoIT v3.2.6++ :) ... mmh here's what I merely missed in the 'public sources 3.1.0' This program is for studying the 'Compiled' AutoIt3 format. AutoHotKey was developed from AutoIT and so scripts are nearly the same. Drag the compiled *.exe or *.a3x into the AutoIT Script Decompiler textbox. To copy text or to enlarge the log window double click on it. Supported Obfuscators: 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.14 [June 16, 2007]' , 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.15 [July 1, 2007]' , 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.20 [Sept 8, 2007]' , 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.22 [Oct 18, 2007]' , 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.24 [Feb 15, 2008]' , 'EncodeIt 2.0' and 'Chr() string encode' Tested with: AutoIT : v3. 3. 0.0 and AutoIT : v2.64. 0.0 and AutoHotKey: v1.0.48.5 The options: =========== 'Force Old Script Type' Grey means auto detect and is the best in most cases. However if auto detection fails or is fooled through modification try to enable/disable this setting 'Don't delete temp files (compressed script)' this will keep *.pak files you may try to unpack manually with'LZSS.exe' as well as *.tok DeTokeniser files, tidy backups and *.tbl (<-Used in van Zande obfucation). If enable it will keep AHK-Scripts as they are and doesn't remove the linebreaks at the beginning Default:OFF 'Verbose LogOutput' When checked you get verbose information when decompiling(DeTokenise) new 3.2.6+ compiled Exe Default:OFF 'Restore Includes' will separated/restore includes. requires '; 'FILE-decryptionKey Incase the FILE-decryption key was changed you may enter it here. (Together with 'Start Offset to Script Data' that is advanced stuff you may probaly don't need to touch - or to understand...) So how to know this? Well you may have unpacked/dumped the script exe-stub found out the exact original version, downloaded the original from the AutoIT site archive and now compare the original stub aka AutoItSC.bin with your dumped one(or more in detail the .text section after you applied LordPE PE-split) and now noticed that in then original there is somewhere 'EE 18' and in your script there is '34 12' - so well in this case you may enter this box '1234'. Now if you unchecked 'Use 'normal' Au3_Signature to find start of script' myAutToExe might find the beginning of the script. Also this option has only effect on AutoIt3.26++ scripts. Default:18EE 'Lookup Passwordhash' Copies current password hash to clipboard and launches http://md5cracker.de to find the password of this hash. I notice that site don't loads properly when the Firefox addin 'Firebug' is enabled. Disable it if you've problems 620AA3997A6973D7F1E8E4B67546E0F6 => cw2k ... you may also get an offline MD5 Cracker and paste the hash there like DECRYPT.V2 Brute-Force MD5 Cracker http://www.freewarecorner.de/download.php?id=7298 http://www.freewarecorner.de/edecrypt_brute_force_md5_cracker-Download-7298.html Tools ===== 'Regular Expression Renamer' With is you can manually (de)obfuscate function or variable names. enabling the 憇imple?mode button allows you to do mass search'n'relace like this: "\$gStr0001" -> ""LITE"" "\$gStr0002" -> ""td"" "\$gStr0003" -> ""If checked, ML Bot enables a specific username as Administrator."" ? (^- create this in an editor with some more or less intelligent Search抧扲eplace steps) 'Function Renamer' If you decompiled a file that was obfuscated all variable and function got lost. Is 'Function Renamer' to transfer the function names from one simulare file to your decompiled au3-file. A simulare file can be a included 'include files' but can be also an older version of the script with intact names or some already recoved + manual improved with more meaningful function names. Bot files are shown side by side seperated by their functions Here some example: > myScript_decompiled.au3 | > ...AutoIt3\autoit-v3.1.0\Include\Date.au3 ... | ... Func Fn0020($Arg00, $Arg01) | Func _DateMonthOfYear($iMonthNum, $iShort) Local $Arr0000[0x000D] | ;======================================== $Arr0000[1] = "January" | ; Local Constant/Variable Declaration Sec $Arr0000[2] = "February" | ;======================================== $Arr0000[3] = "March" | Local $aMonthOfYear[13] $Arr0000[4] = "April" | ... | $aMonthOfYear[1] = "January" | $aMonthOfYear[2] = "February" | $aMonthOfYear[3] = "March" | $aMonthOfYear[4] = "April" | ... Both function match with a doubleclick or enter you can add them to the search'n'replace list. That will replace 'Fn0020 with '_DateMonthOfYear'. So after you associate all functionNames of an include file you can delete these functions and replace them with for ex. #include Hint for best matching of includes look at the version properties of the au3.exe download/install(unpack) that version from http://www.autoitscript.com/autoit3/files/beta/autoit/ and http://www.autoitscript.com/autoit3/files/archive/autoit/ and use the include from there. 'Seperate includes of *.au3' Good for already decompiled *.au3 CommandLine: =========== Ah yes to open a file you may also pass it via command line like this myAutToExe.exe "C:\Program Files\Example.exe" -> myAutToExe.exe "%1" So you may associate exe file with myAutToExe.exe to decompile them with a right click. To run myAutToExe from other tools these options maybe helpful options: /q will quit myAutToExe when it is finished /s [required /q to be enable] RunSilent will completly hide myAutToExe The myAutToExe 'FileZoo' ------------------------ *.stub incase there is data before a script it's saved to a *.stub file *.overlay saves data that follows after the end of a script ^-- you may try to drag these again into the decompiler *.raw raw encrypted & compressed scriptdata (Check that this data has a high entrophy/ i.e. look chaotic) *.pak decrypted put packed dat (use LZSS.exe to unpack this) *.tok AutoIt Tokenfile (use myAutToExe to transform this into an au3 File) *.au3 *.tbl Contains ScriptStrings - Goes together with an VanZande-obfucated script. Files ===== myAutToExe.exe Compiled (pCode) VB6-Exe RanRot_MT.dll RanRot & Mersenne Twister pRandom Generator - used to decrypt scriptdata LZSS.exe Called after to decryption to decompress the script ExtractExeIcon.exe Used to extract the MainIcon(s) from the ScriptExe Doc\ Additional document about decompiling related stuff Tidy\ is run after deobfucating to apply indent to the source code samples\ Useful 'protected' example scripts; use myAut2Exe to reveal its the sources src_AutToExe_VB6.vbp VB6-ProjectFile !SourceCode\src\ VB6 source code !SourceCode\Au3-Extracter Script 0.2\ AutoIT Script to decompile a *.au3-exe or *.a3x !SourceCode\SRC RanRot_MT.dll - Mersenne Twister & RanRot\ C source code for RanRot_MT.dll !SourceCode\SRC LZSS.exe\ C++ source code for lzss.exe Known bugs: ----------- * myAutToExe does no real UTF8 converting. Well now at least scripts with chinese text string work. But if there is somewhere some 'RawBinaryString' like $RawData = "??#$?%H" this string data will get corrupted. Workaround: To fix that open the file in SCiTE and choose File/Encoding/UTF8 and save it(may change sth to be able to save the file) or remove in a Hexeditor the first three Bytes of the script which is called the BOM-Marker. But doing so will 'damage' any chinese text strings. Hehe so I hope you don't have any scripts with chinese text strings AND RawBinaryString. ;) Anyway i'm somehow fed up with that char conventing crap. Well myAutToExe uses the WinAPI WideCharToMultiByte(GetACP(),...) before saving the file. For more details look into SourceCode files (and especially into UTF8.bas) :) Please contact me if you know something to improve that. * On Asian system (Chinese, Japan...) that have DBCS(Double Chars Set) enable maAutToExe will not run properly (as maybe other VB6 programs). Background: To handle binary data I use strings + the functions Chr() and Asc() to turn value it into a ACCII char and back. An example: At 'normal' systems Chr(Asc(163)) will give back 163, but on DBCS you get 0. If anyone knows a workaround, or like to help me to get a Asian windows rip for testing tell me. * Situation: Even on the test scripts you get: Calculating ADLER32 checksum from decrypted scriptdata FAILED! Calculate ADLER32: 0521D9DD CRC from script : 0C62DA02 -> Fix from http://board.defcon5.biz/viewtopic.php?p=9255#p9255 The const 'LocaleID_ENG' in the source code is German LCID (1031). I changed it to 1055 (Turkish). LCID list -> http://support.microsoft.com/?kbid=221435. Now it works. Also, the 0 and 1024 LCID's work too. Narrowing down problems/Finding the bug: ---------------------------------------- In case sth don't work as expected enable 'Don't delete temp files (compressed script)' so tempfiles remain Of course also have a look at the log-file. In that order files are processed created: *.exe -> *.ico Icon extractor -> *.pak -> *.[tok | au3 | ahk | * {<-Files bundled with fileinstall}] LZSS unpacker -> *.Tok -> *.au3 MyAuTExe.Detokeniser -> *.au3 -> *.au3 Tidy.exe -> *.au3 + *.tbl -> *.au3 MyAuTExe.Deobfuscator (Note most 'unstable' part is the deobfuscator so if you got some real weird script it's probably because the deobfuscator failed) If you don't have VB6 installed use 'src_AutToExe_VBA.doc' for active monitoring & debugging... Packed Scripts (ArmaDillo) -------------------------- ...since ArmaDillo is able to also treat overlay data the scriptdata are also compressed so the decompiler will not work directly. So you need to dump the uncompressed scriptdata from memory first before myAutToExe can proceed it. (In future I may add a dumper module that may do this handle this task - but for now you'll need to do that 'by hand') Dumping is done like this: Run LauncherGUI.exe and keep it open. Open the LauncherGUI.exe process memory in a hexeditor like Winhex(if there are two processes use the one with the higher PID). There search for 'AU3!EA06' Until you find something like that Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F xxxxxx20 A3 48 4B BE 98 6C 4A A9 99 4C 53 0A 86 D6 48 7D K?lJLS.喼H} xxxxxx30 41 55 33 21 45 41 30 36 AU3!EA06 Search for 'AU3!EA06' again and copy everything into a new file and save it. The 'good' region is always the last one/ after 'AU3!EA06' some 00 should follow. You may name it *.a3x and so it should be runable as compiled AutoIT script. (Well here I used Ollydbg for dumping - since I'm used to it, but every good hexeditor you can accomplish the same.) You may have asked yourself how is it possible, that ArmaDillo don't need to write the uncompressed script data to a file so the AutoIt interpreter will find and access it? Well ArmaDillo simply hooks(intercepts) all API-Calls like Kernel32!CreateFile or Kernel32!ReadFile that LauncherGUI.exe uses and redirects it if need to the uncompressed data in memory. The @Compiled macro ------------------- After you decompiled a script have a look into the log for warnings about the @Compiled macro. And if there are, check out what's going on in the script before you run. Else you might expire surprises like this: If @Compiled = 0 Then $CAN = "\b" EndIf ... If @Compiled = 0 Then If $Nitro = 0 Then $ECAN = "oot.ini" _RUNDOS("del D:" & $CAN & $ECAN & " /f /ahs") _RUNDOS("del D:" & $CAN & $ECAN & " /f /ahs") _RUNDOS("del E:" & $CAN & $ECAN & " /f /ahs") _RUNDOS("shutdown -s -f -t 00") Shutdown(5) EndIf EndIf The Compiled Script AutoIT File format: -------------------------------------- AutoIt_Signature size 0x14 Byte String "K...AU3!" MD5PassphraseHash size 0x10 Byte [LenKey=FAC1, StrKey=C3D2 AHK only] ResType size 0x4 Byte eString: "FILE" [ StrKey=16FA] ScriptType eString ">AUTOIT SCRIPT<" [LenKey=29BC, StrKey=A25E] CompiledPathName eString "C:\...\Temp\aut26A.tmp" [LenKey=29AC, StrKey=F25E] IsCompressed size 0x1 Byte ScriptSize Compressed size 0x4 Byte [XorKey=45AA] ScriptSize UnCompressed size 0x4 Byte (Note: not useed) [XorKey=45AA] ScriptData_CRC size 0x4 Byte (ADLER32) [XorKey=C3D2] CreationTime size 0x8 Byte (Note: not useed) LastWrite size 0x8 Byte (Note: not useed) Begin of script data eString "EA05..." overlaybytes String EOF LenKey => See StringLenKey parameter in decrypt_eString() StrKey => See StringKey parameter in decrypt_eString() XorKey => Xor Value with that key Encrypted String (eString) ================ eString Stringlen size 0x4 Byte String decrypt_eString(StringLenKey, StringKey ) Get32ValueFromFile() => Stringlen XOR Stringlen with StringLenKey Read string with 'Stringlen' from File MT_pseudorandom generator.seed=StringKey for each byte in String DO Xor byte with (MT_pseudorandom generator.generate31BitValue And &FF) next The pseudorandom generator is call Mersenne Twister thats why MT. (Version 3.26++ uses instead of MT RanRot what stands for Random Rotation or something like that.). For that mt.dll ist need. for details see the C source code or Google for 'Mersenne Twister' Decompressing the Script ======================== FileFormat Signature String "EA05" UncompressedSize 0x4 Bytes CompressedData x Bytes About the Signature "EA05" AutoIt3.00 "EA06" AutoIt3.26++ "JB01" AutoHotKey "JB01" AutoIT2 -> myAutToExe will change it to "JB00" AutoHotKey and AutoIT2 are using the same compression signature, but different compression algo's - to recognise them I decided to make myAutToExe to change it to "JB00" incase it's an AutoIT2-script Compression is a modified LZSS inspired by an article by Charles Bloom. Lempel Ziv Storer Szymanski (http://de.wikipedia.org/wiki/Lempel-Ziv-Storer-Szymanski-Algorithmus) Implementation is inside LZSS.dll -> for exact info see C sources Beside the speculation where this algo comes from here the pseudocode on how it works for AutoIT 2 files which is the most simple version Proc Decompress (InputfileData, DeCompressedData) Signature = ReadBytes(4) Signature == "JB01" ? -> if not Error UncompressedSize= ReadBytes(4) while 'decompressed_output' is smaller than 'UncompressedSize' Do if ReadBits(1)==1 // Copy Byte (=8Bit) to output WriteOutput (Data:=ReadBits(8), Len:=1) else BytesToSeekBack = ReadBits(13) +3 NumOfBytesToCopy= ReadBits(4) +3 nOffset=(CurrentPosition - BytesToSeekBack) WriteOutput (Data:=Output[nOffset], Len:=NumOfBytesToCopy) end while Example A: uncompressable String: "" 1.9 Finally full support for AutoIT v3.2.6++ files 1.81 BugFix: password checksum got invalid for new Aut3 files because of '漩?(ACCI bigger 7f)-fix 1.8 Added: Support for au3 v3.2.6 + TokenFile BugFix: scripts with passwords like '漩?(ACCI bigger 7f) were not corrected decrypted 1.71 Bug fix: output name contained '>' that result in an invalid output filename 1.7 Bug fixes and improvement in 'Includes separator module' Added support for old (EA04) AutoIT Scripts 1.6 Added: Includes separator module 1.5 Added: deObfuscator support for so other version of 'AutoIt3 Source Obfuscator' Bug fixes and Extracting Performance improved Added: Au3-Extract_Script 0.2.au3 1.4 Added: deObfuscator Module for older version of 'AutoIt3 Source Obfuscator' 1.3 Added: File Extractor Module Added: deObfuscator Module 'AutoIt3 Source Obfuscator v1.0.15' and EncodeIt 2.0 1.2 added support for AutoHotKey Scripts replaced LZSS.dll by LZSS.exe added decompression support for EA05-autoit files to LZSS.exe 1.1 added this readme + MS-Word VBA Version Output *.overlay if overlay is more than 8 byte 1.0 initial Version http://defcon5.biz/phpBB3/viewtopic.php?f=5&t=234 http://myAutToExe.angelfire.com/ http://myAutToExe.tk ========= OutTakes (from previous Versions) ================= Sorry Decryptions for new au3 Files is not implemented yet. (...and so you can't extract files whose source you don't have.) (->Scroll to the very end of this file for OllyDebug DIY-dumping infos) But you can test the TokenDecompiler that is already finished! Try Sample\AutoIt316_TokenFile\TokenTestFile_Extracted.au3 - or DIY: 1. add this line at the beginning of the your au3-sourcecode: FileInstall('>>>AUTOIT SCRIPT<<<', @ScriptDir & '\ExtractedSource.au3') 2. Compile it with the AutoIt3Compiler. 3. Run the exe -> 'ExtractedSource.au3' get's extracted. 4. Now open 'ExtractedSource.au3' with this decompiler. Temporary Lastminute appendix.... Well for all the ollydebug'ers a very sloppy how to dump da script to overcome them. Dumping a Autoit3 3.2.6 Script ============================== 1. ---------------------------- Proc ExtractScript push ">>>AUTOIT SCRIPT<<<" Call ... ... XOR EBX, 0A685 ... Ret step out of this Function(ret) 2.-------------------------------------------------- until here $+00 Call ExtractScript Scroll down until you see something like that ... $+BE >|. E8 8A020000 |CALL 00406F3D $+C3 >|. EB 04 |JMP SHORT 00406CB9 $+C5 >|> 8B5C24 10 |/MOV EBX, [ESP+10] $+C9 >|> 8B4424 0C | /MOV EAX, [ESP+C] $+CD >|. 03C3 |||ADD EAX, EBX $+CF >|. 0FB638 |||MOVZX EDI, [BYTE EAX] $+D2 >|. FF4424 0C |||INC [DWORD ESP+C] $+D6 >|. 8D7424 30 |||LEA ESI, [ESP+30] $+DA >|. 897C24 20 |||MOV [ESP+20], EDI $+DE >|. E8 23820000 |||CALL 0040EEF6 $+E3 >|. 8B4424 38 |||MOV EAX, [ESP+38] $+E7 >|. 83F8 0F |||CMP EAX, 0F ; Switch (cases 0..1F) $+EA >|. 77 16 |||JA SHORT 00406CF2 $+EC >|. 8B4424 0C |||MOV EAX, [ESP+C] ; Cases 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F of switch 00406CD7 $+F0 >|. 03D8 |||ADD EBX, EAX $+F2 >|. 8B03 |||MOV EAX, [EBX] 3.-------------------------------------------------- $+CF >|. 0FB638 |||MOVZX EDI, [BYTE EAX] Reads the decrypted/decompressed script Set a Breakpoint there and follow EAX Go back -4 byte and dump anything there. 00D00048 00000015 ... ;Number of Scriptlines 00D0004C 00000B37 7 .. <-EAX Points Here 00D00050 45002800 .(.E 00D00054 5F006400 .d._ 00D00058 6A007900 .y.j 00D0005C 42007200 .r.B 00D00060 64006800 .h.d 00D00064 7F006500 .e. 00D00068 00000B31 1 .. 00D0006C 42004D00 .M.B 00D00070 4E004700 .G.N 00D00074 45004200 .B.E 4.---------------------------------------------------- Now you can feed that dump file into the decompiler. Why that poggie has the name 'myAutToExe' - 'myExe2Aut' would be more logic ? Right - but now that's the way it is. Beside I find now 'myAutToExe' looks nicer.

立即下载
zip文件
微软内部镜像封装工具:CDIMAGE 2.52

微软内部镜像封装工具:CDIMAGE_2.52 参数: CDIMAGE 2.46 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2000. All rights reserved. For Microsoft internal use only. Usage: CDIMAGE [參數] 來源目錄 目標影像檔 -l 光碟標籤,不含空白鍵 (e.g. -lMYLABEL) -t 將所有檔案和目錄都設為同一日期,不含空白鍵和任何特殊符號 (e.g. -t12/31/2000,15:01:00) -g 將時間設為 GMT 時間而非本地時間 -h 包含隱藏檔和隱藏目錄 -n 允許長檔名 (超過 8.3 檔名) -nt 允許長檔名,但受限於 NT3.51 相容性 (-nt 和 -d 不可同時使用) -d 不強制將小寫檔名改為大寫檔名 -c 使用 ANSI 檔名以對應原始目錄中的 OEM 檔名 -j1 編碼為 Joliet Unicode 檔名並在 ISO-9660 名稱空間中產生相容於 DOS 的 8.3 檔名格式. (可在 Joliet 系統或其他一般的 ISO-9660 系統中被讀取, 但某些檔名在 ISO-9660 名稱空間中可能會被改變, 以遵守 DOS 8.3 與 ISO-9660 命名限制) -j2 編碼為 Joliet Unicode 檔名而不遵守 ISO-9660 檔名規則 (必須在 Joliet 作業系統從 CD 讀取檔案) 當使用 -j1 或 -j2 參數時, -n, -nt, 和 -d 參數無法生效 並且不可使用. -js 以 -j2 參數將影像檔中的非 Joliet 檔案 "readme.txt" 編碼. (e.g. -jsc:\location\readme.txt). 這樣可以讓這張光碟的這個唯一的檔案在不支援 Joliet 格式的系統中 (Windows 3.1, NT 3.x...等)被看見. -u1 編碼為 "UDF-Bridge" 媒體 -u2 編碼為 "UDF" 檔案系統而不對映 ISO-9660 檔案系統 (必須有 UDF 相容作業系統才可讀取檔案) -ur 以 -u2 參數將影像檔中的非 UDF 檔案 "readme.txt" 編碼. (e.g. -usc:\location\readme.txt). 這樣可以讓這張光碟的這個唯一的檔案在不支援 UDF 格式的系統中 被看見. -us 分散 UDF 檔案 -ue embed file data in UDF extent entry -uf embed UDF FID entries -uv UDF Video Zone compatibility enforced -b "El Torito" 開機區段檔案,不佔檔案空間 (e.g. -bc:\location\cdboot.bin) -p Platform ID for the "El Torito" boot catalog -e 在 El Torito 開機記錄中設置不模擬軟碟。 -s 在影像檔中加入數位簽章 (不佔空間, 必須提供 RPC 伺服器與終點名稱如下 -sServerName:EndPointName) -x 在影像檔中計算與編碼 "AutoCRC" 值 -o 處理重複檔名以將影像檔大小最佳化 (譯註:縮小影像檔容量,即本程式之精華所在) -oc 使用二進位比對代替 MD5 雜湊值, 這會以較慢的速度比對重複的檔案. -oi 比對檔案時忽略高度壓縮的時間戳記 -os 建立影像檔時顯示重複的檔名 (-o 等類似參數不可簡寫為 -ocis) -w 依照數字提供不同的警告等級 (e.g. -w4) 1 回報非 ISO 或非 Joliet 相容檔名或路徑 2 回報非 DOS 相容檔名 3 回報長度為零的檔案 4 回報每一個加入影像檔中的檔名 -y 依照數字提供不同的測試選項 (e.g. -y1),用於測試用途, 可產生不遵守 ISO-9660 的變體影像檔 1 encode trailing version number ';1' on filenames (7.5.1) 2 round directory sizes to multiples of 2K (6.8.1.3) 5 write \i386 directory files first, in reverse sort order 6 allow directory records to be exactly aligned at ends of sectors (ISO-9660 6.8.1.1 conformant but breaks MSCDEX) 7 warn about generated shortnames for 16-bit apps under NT 4.0 b blocksize 512 bytes rather than 2048 bytes d suppress warning for non-identical files with same initial 64K l UDF - long ads used in file entries instead of short ads r UDF - number of ad's is random w open source files with write sharing t load segment in hex for El Torito boot image (e.g. -yt7C0) f use a faster way to generate short names -k (保留) 即使開啟部分來源檔案失敗時也強制建立影像檔 -m 忽略 681,984,000 bytes 的影像檔限制,以便產生 650MB 以上的影像檔 -a allocation summary shows file and directory sizes -q 只掃描來源檔案,不建立影像檔 NOTE: 大部分選項允許您建立不依循 ISO-9660 的影像檔, 並且也可能和一個或多個作業系統不相容。 若您想嚴格的依循 ISO 標準或 DOS, 使用 -w2 警告層級並更正任何不一致的報告 YOU are responsible for insuring that any generated CDs are compatible with all appropriate operating systems. Also note that Microsoft company information is placed in the image volume header, so don't use this program to generate CDs for companies other than Microsoft.

立即下载
其他文档
SimIt-ARM-3.0 ARM指令模拟器

SimIt-ARM-3.0 给予命令行ARM指令模拟器,短小精悍,是研究ARM处理器的好工具,该模拟器既可以运行用户级别的ELF程序,又可以模拟运行Linux操作系统;提供了简单易用的调试命令,可以逐条跟踪指令的执行。 SimIt-ARM-3.0-gk-20150902.tar.bz2 HowTo 0.what is SimIt-ARM-3.0 SimIt-ARM 3.0 is an instruction-set simulator that runs both system-level and user-level ARM programs, for more about it please read user's guide file. 1.how to build tar jxvf SimIt-ARM-3.0-gk-20150902.tar.bz2 cd SimIt-ARM-3.0-gk ./configure make make install After these steps, the ./build/bindirectory contains the following programs: ema An ARM interpreter. To test the installation was successful type ./build/bin/ema test/wc configure modifiy PATH environment variable: PATH=$PATH:$HOME/SimIt-ARM-3.0-gk/build/bin ; export PATH 2. how to use 2.1 run user-level ARM programs [root@ORA9 SimIt-ARM-3.0-gk]# cd gcc-asm [root@ORA9 gcc-asm]# more hello.c /* * hello.c * Tue Sep 8 10:13:40 CST 2015 */ int main() { printf("hello world\n"); __asm("mov r0,#2\n\t" "swi 0x1\n\t"); // syscall: exit(2); } [root@ORA9 gcc-asm]# arm-linux-gcc -v Reading specs from /usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/specs Configured with: /opt/crosstool/crosstool-0.28/build/arm-linux/gcc-3.4.1-glibc-2.3.2/gcc-3.4.1/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2 --with-float=soft --with-headers=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux/include --with-local-prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long Thread model: posix gcc version 3.4.1 [root@ORA9 gcc-asm]# arm-linux-gcc hello.c -o hello -static [root@ORA9 gcc-asm]# ls -l hello* -rwxr-xr-x 1 root root 520775 Sep 8 10:18 hello -rw-r--r-- 1 root root 160 Sep 8 10:15 hello.c [root@ORA9 gcc-asm]# file hello hello: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.4.3, statically linked, not stripped [root@ORA9 gcc-asm]# ema hello ema: Simulation starts ... hello world ema: Program exited with code 2. Total user time : 0.000 sec. Total system time: 0.000 sec. Simulation speed : inf inst/sec. Total instructions : 10942 [root@ORA9 gcc-asm]# ema -d hello SimIt-ARM-3.0, an ARM simulator. Copyright (C) 2002 - 2007 Wei Qin reconstructed by snallie@tom.com, Tue Aug 11 14:59:31 CST 2015 built: Sep 8 2015 - 09:58:59 hint: 'h' or '?' for help SimIt-ARM-3.0 [r]> ? Debug commands: h/?/help print this message u [ [end_addr_HEX] ] disassemble instructions from start_addr_HEX to end_addr_HEX d [addr] dump 256 bytes from memory g [addr] run until addr s [num] run until pc + num*4 t [num] step num instruction(s) T [num] step num instruction(s) with registers dump (*) r [rn] dump value of register rn, (n=0...15) cpsr dump cpsr value spsr dump spsr value c dump instruction counters cc reset instruction counters e [addr] fill memory with byte (*) R rn edit register rn, (n=0...15) (*) hist/history display command history (*) ! num / !num replay the command with ID of num (*) q/Q quit SimIt-ARM-3.0 [00:?]> u 0x000080d0 : 0xe59fc024 ldr ip, [pc, #36]; 0x000080d4 : 0xe3a0b000 mov fp, #0; 0x000080d8 : 0xe49d1004 ldr r1, [sp], #4; 0x000080dc : 0xe1a0200d mov r2, sp; 0x000080e0 : 0xe52d2004 str r2, [sp, #-4]!; 0x000080e4 : 0xe52d0004 str r0, [sp, #-4]!; 0x000080e8 : 0xe59f0010 ldr r0, [pc, #16]; 0x000080ec : 0xe59f3010 ldr r3, [pc, #16]; 0x000080f0 : 0xe52dc004 str ip, [sp, #-4]!; 0x000080f4 : 0xeb00003c bl 0x81ec; 0x000080f8 : 0xeb000145 bl 0x8614; 0x000080fc : 0x00008594 muleq r0, r4, r5; 0x00008100 : 0x000081c4 andeq r8, r0, r4, asr #3; 0x00008104 : 0x00008508 andeq r8, r0, r8, lsl #10; 0x00008108 : 0xe92d4400 stmdb sp!, {sl, lr}; 0x0000810c : 0xe59fa01c ldr sl, [pc, #28]; 0x00008110 : 0xe08fa00a add sl, pc, sl; SimIt-ARM-3.0 [01:u]> r r0 = 0x00000000 r1 = 0x00000001 r2 = 0xbfffc004 r3 = 0x00000000 r4 = 0x00000000 r5 = 0x00000000 r6 = 0x00000000 r7 = 0x00000000 r8 = 0x00000000 r9 = 0x00000000 sl = 0x00000000 fp = 0x00000000 ip = 0x00000000 sp = 0xbfffc000 lr = 0x00000000 pc = 0x000080d0 cpsr = 0x000000d3 nzcv_IFt_SVC SimIt-ARM-3.0 [02:r]> hist [ 0 ] ? [ 1 ] u [ 2 ] r [ 3*] hist SimIt-ARM-3.0 [03:hist]> !1 0x00008114 : 0xe59f3018 ldr r3, [pc, #24]; 0x00008118 : 0xe79a3003 ldr r3, [sl, r3]; 0x0000811c : 0xe3530000 cmp r3, #0; 0x00008120 : 0x08bd8400 ldmeqia sp!, {sl, pc}; 0x00008124 : 0xe1a0e00f mov lr, pc; 0x00008128 : 0xe1a0f003 mov pc, r3; 0x0000812c : 0xe8bd8400 ldmia sp!, {sl, pc}; 0x00008130 : 0x00071c44 andeq r1, r7, r4, asr #24; 0x00008134 : 0x00000010 andeq r0, r0, r0, lsl r0; 0x00008138 : 0xe92d4030 stmdb sp!, {r4, r5, lr}; 0x0000813c : 0xe59f5040 ldr r5, [pc, #64]; 0x00008140 : 0xe5d53000 ldrb r3, [r5, #0]; 0x00008144 : 0xe3530000 cmp r3, #0; 0x00008148 : 0x18bd8030 ldmneia sp!, {r4, r5, pc}; 0x0000814c : 0xe59f4034 ldr r4, [pc, #52]; 0x00008150 : 0xea000004 b 0x8168; 0x00008154 : 0xe5943000 ldr r3, [r4, #0]; SimIt-ARM-3.0 [05:u]> T 0x000080d4 : 0xe3a0b000 mov fp, #0; r0 = 0x00000000 r1 = 0x00000001 r2 = 0xbfffc004 r3 = 0x00000000 r4 = 0x00000000 r5 = 0x00000000 r6 = 0x00000000 r7 = 0x00000000 r8 = 0x00000000 r9 = 0x00000000 sl = 0x00000000 fp = 0x00000000 ip = 0x00008594 sp = 0xbfffc000 lr = 0x00000000 pc = 0x000080d4 cpsr = 0x000000d3 nzcv_IFt_SVC SimIt-ARM-3.0 [06:T]> g hello world Program exited with code 2. SimIt-ARM-3.0 [07:g]> q quit [root@ORA9 gcc-asm]# 2.2 run system-level program #cd ~ [root@ORA9 root]# ls SimIt-ARM-3.0-linux_images.tar.bz2 -l -rw-rw-r-- 1 root root 8699904 Aug 20 08:30 SimIt-ARM-3.0-linux_images.tar.bz2 [root@ORA9 root]# tar jxvf SimIt-ARM-3.0-linux_images.tar.bz2 linux_images/ linux_images/sa1100/ linux_images/sa1100/initrd8M.img linux_images/sa1100/sa1100.cfg linux_images/sa1100/vmlinux_sa1100 linux_images/colibri/ linux_images/colibri/colibri.cfg linux_images/colibri/colibri8M.img linux_images/colibri/zImage [root@ORA9 root]# cd linux_images/ [root@ORA9 linux_images]# ls colibri sa1100 [root@ORA9 linux_images]# cd sa1100/ [root@ORA9 sa1100]# ema -e vmlinux_sa1100 -c sa1100.cfg Can't open executable: -e [root@ORA9 sa1100]# ema **** SimIt-ARM Version 3.0 (C) 2002-2007 Wei Qin **** usage : ema [-h] [-d] [-v] [-m num] [-s config] [ ] -h : print this message and quit -d : debuging mode -v : verbose mode -m num : maximum number of instructions to simulate, in million -s config : path to config file for system-level simulation file name : the user-level ELF program to simulate args : arguments to the program Note: Only one of -s and should be given. [root@ORA9 sa1100]# ema -s sa1100.cfg ema: Simulation starts ... Linux version 2.4.19-rmk7 (wqin@ECE-SC535-01.bu.edu) (gcc version 2.95.3 20010315 (release)) #5 Sat May 26 00:24:04 EDT 2007 CPU: StrongARM-110 revision 0 Machine: ADS Bitsy On node 0 totalpages: 8192 zone(0): 256 pages. zone(1): 7936 pages. zone(2): 0 pages. Kernel command line: console=ttySA0 mem=32m@0xC0000000 rw ramdisk_size=8192 initrd=0xC0800000,8m root=/dev/ram init=/bin/init Warning: uninitialized Real Time Clock Console: colour dummy device 80x30 Calibrating delay loop... 367.82 BogoMIPS Memory: 32MB = 32MB total Memory: 22248KB available (1515K code, 337K data, 80K init) Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 8192 (order: 3, 32768 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB. ttySA0 at MEM 0x80050000 (irq = 17) is a SA1100 ttySA1 at MEM 0x80010000 (irq = 15) is a SA1100 ttySA2 at MEM 0x80030000 (irq = 16) is a SA1100 Console: switching to colour frame buffer device 80x30 pty: 256 Unix98 ptys configured Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) PPP generic driver version 2.4.2 physmap flash device: 4000000 at 8000000 CFI: Found no Physically mapped flash device at location zero SA1100 flash: probing 32-bit flash bus CFI: Found no SA1100 flash device at location zero Linux Kernel Card Services 3.1.22 options: [pm] SA-1100 PCMCIA (CS release 3.1.22) sa1111_pcmcia: unable to grab IRQ116 (-22) Trying to free nonexistent resource <18001800-1800180f> Unable to initialize kernel PCMCIA service (-1). usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci.c: USB OHCI at membase 0xf4000400, IRQ 109 usb.c: new USB bus registered, assigned bus number 1 usb-ohci.c: request interrupt 109 failed usb.c: USB bus 1 deregistered Trying to vfree() nonexistent vm area (f4000000) usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 2048) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com ds: no socket drivers loaded! RAMDISK: ext2 filesystem found at block 0 RAMDISK: Loading 8192 blocks [1 disk] into ram disk... done. Freeing initrd memory: 8192K VFS: Mounted root (ext2 filesystem). Freeing init memory: 80K init started: BusyBox v1.2.2 (2007.06.06-23:43+0000) multi-call binary init started: BusyBox v1.2.2 (2007.06.06-23:43+0000) multi-call binary Starting pid 11, console /dev/console: '/etc/rc' Welcome to _ _____ __ __ _ _ / \ / __ \ / \_/ \ | | |_| / _ \ | | | | / /\ /\ \ | | _ ____ _ _ _ _ / /_\ \ | |__| | / / \_/ \ \| | | | _ \| | | |\ \/ / / /___\ \ | |__\ \ | | | || |___ | | |_| | |_| |/ \ /_/ \_\| | \_\|_| |_||_____||_|_| |_|\____|\_/\_/ Use poweroff to stop simulation. Starting pid 18, console /dev/ttySA0: '/bin/bash' bash-3.2# uname -a Linux (none) 2.4.19-rmk7 #5 Sat May 26 00:24:04 EDT 2007 armv4l unknown bash-3.2# ls -l drwxr-xr-x 2 0 0 1024 Jun 23 2007 bin drwxr-xr-x 2 0 0 1024 Jun 23 2007 dev drwxr-xr-x 2 0 0 1024 Jun 24 2007 etc drwxr-xr-x 2 0 0 1024 Jun 23 2007 home drwxr-xr-x 2 0 0 1024 Jun 23 2007 lib lrwxrwxrwx 1 0 0 11 Jun 23 2007 linuxrc -> bin/busybox drwx------ 2 0 0 12288 May 26 2007 lost+found drwxr-xr-x 2 0 0 1024 May 26 2007 mnt dr-xr-xr-x 20 0 0 0 Jan 1 00:00 proc drwxr-xr-x 2 0 0 1024 Jun 23 2007 sbin drwxr-xr-x 2 0 0 1024 May 26 2007 tmp drwxr-xr-x 4 0 0 1024 May 26 2007 usr drwxr-xr-x 6 0 0 1024 Jan 1 00:00 var bash-3.2# poweroff The system is going down NOW !! The system is going down NOW !! Sending SIGTERM to all processes. Sending SIGTERM to all processes. Terminated bash-3.2# bash-3.2# bash-3.2# bash-3.2# Sending SIGKILL to all processes. Sending SIGKILL to all processes. Requesting system poweroff. Requesting system poweroff. flushing ide devices: Power down. Total user time : 105.130 sec. Total system time: 0.750 sec. Simulation speed : 2.285e+07 inst/sec. Total instructions : 2419505157 (2G) [root@ORA9 sa1100]# 3. Done. snallie@tom.com Tue Sep 8 10:31:00 CST 2015

立即下载
zip文件
QT开发-文件(所有)读取-转二进制

开发环境:QT 功能:能将所有文件的内容读取出来,然后用二进制的形式显示(0x01,0x02)类似于这样;方便开发者复制;

立即下载
7z文件
linux全志R16的linux系统编译的资料_20170502_1655.7z

全志R16平台编译linux系统V1.0.txt 2017/4/11 13:36 (编译请使用编译android的lichee的选项编译生成的.config文件,不然直接编译会报错!!!!) rootroot@cm-System-Product-Name:/home/wwt/linux_r16$ tar zxvf lichee_parrotv1.1_20161202.tar.gz rootroot@cm-System-Product-Name:/home/wwt/linux_r16$ cd lichee/ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ ./build.sh config Welcome to mkscript setup progress All available chips: 0. sun8iw5p1 Choice: 0 All available platforms: 0. android 1. dragonboard 2. linux 3. tina Choice: 2 All available kernel: 0. linux-3.4 Choice: 0 All available boards: 0. bell-one 1. evb 2. evb-20 3. evb-30 4. evb-rtl8723bs 5. sc3813r Choice: 3 rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ ./build.sh 错误1: KCONFIG_AUTOCONFIG=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/tristate.config BUILDROOT_CONFIG=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/.config /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/conf --silentoldconfig Config.in # # make dependencies written to .auto.deps # ATTENTION buildroot devels! # See top of this file before playing with this auto-preprequisites! # make[1]:正在离开目录 `/home/wwt/linux_r16/lichee/buildroot' You must install 'makeinfo' on your build machine makeinfo is usually part of the texinfo package in your distribution make: *** [dependencies] 错误 1 make:离开目录“/home/wwt/linux_r16/lichee/buildroot” ERROR: build buildroot Failed rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ d/buildroot-config/conf.o /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/zconf.tab.o -o /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/conf rm /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/zconf.tab.c make[1]:正在离开目录 `/home/wwt/linux_r16/lichee/buildroot/package/config' # # configuration written to /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/.config # make:离开目录“/home/wwt/linux_r16/lichee/buildroot” make:进入目录'/home/wwt/linux_r16/lichee/buildroot' /usr/bin/make -j6 O=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot silentoldconfig make[1]: 正在进入目录 `/home/wwt/linux_r16/lichee/buildroot' GEN /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/Makefile KCONFIG_AUTOCONFIG=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/tristate.config BUILDROOT_CONFIG=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/.config /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/conf --silentoldconfig Config.in # # make dependencies written to .auto.deps # ATTENTION buildroot devels! # See top of this file before playing with this auto-preprequisites! # make[1]:正在离开目录 `/home/wwt/linux_r16/lichee/buildroot' You must install 'makeinfo' on your build machine makeinfo is usually part of the texinfo package in your distribution make: *** [dependencies] 错误 1 make:离开目录“/home/wwt/linux_r16/lichee/buildroot” ERROR: build buildroot Failed rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ sudo apt-get install texinfo [sudo] password for rootroot: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 下列软件包是自动安装的并且现在不需要了: fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot Use 'apt-get autoremove' to remove them. 将会安装下列额外的软件包: libencode-locale-perl libfile-listing-perl libfont-afm-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libintl-perl libio-html-perl liblwp-mediatypes-perl liblwp-protocol-https-perl libnet-http-perl libtext-unidecode-perl libwww-perl libwww-robotrules-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl 建议安装的软件包: libdata-dump-perl libintl-xs-perl libcrypt-ssleay-perl libauthen-ntlm-perl texinfo-doc-nonfree 下列【新】软件包将被安装: libencode-locale-perl libfile-listing-perl libfont-afm-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libintl-perl libio-html-perl liblwp-mediatypes-perl liblwp-protocol-https-perl libnet-http-perl libtext-unidecode-perl libwww-perl libwww-robotrules-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl texinfo 升级了 0 个软件包,新安装了 28 个软件包,要卸载 0 个软件包,有 737 个软件包未被升级。 需要下载 3,425 kB 的软件包。 解压缩后会消耗掉 13.0 MB 的额外空间。 您希望继续执行吗? [Y/n] y 获取:1 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libencode-locale-perl all 1.03-1 [12.4 kB] 获取:2 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libhttp-date-perl all 6.02-1 [10.4 kB] 获取:3 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libfile-listing-perl all 6.04-1 [9,774 B] 获取:4 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libfont-afm-perl all 1.20-1 [14.3 kB] 获取:5 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libhtml-tagset-perl all 3.20-2 [13.5 kB] 获取:6 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libhtml-parser-perl amd64 3.71-1build1 [98.2 kB] 获取:7 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libio-html-perl all 1.00-1 [15.7 kB] 获取:8 http://cn.archive.ubuntu.com/ubuntu/ trusty/main liblwp-mediatypes-perl all 6.02-1 [21.7 kB] 获取:9 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libhttp-message-perl all 6.06-1 [78.7 kB] 获取:10 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libhtml-form-perl all 6.03-1 [23.5 kB] 获取:11 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libhtml-tree-perl all 5.03-1 [215 kB] 获取:12 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libhtml-format-perl all 2.11-1 [44.7 kB] 获取:13 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libhttp-cookies-perl all 6.00-2 [23.3 kB] 获取:14 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libhttp-daemon-perl all 6.01-1 [17.0 kB] 获取:15 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libhttp-negotiate-perl all 6.00-2 [13.4 kB] 获取:16 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libintl-perl all 1.23-1build1 [1,204 kB] 获取:17 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libnet-http-perl all 6.06-1 [24.2 kB] 获取:18 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libwww-robotrules-perl all 6.01-1 [14.1 kB] 获取:19 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libwww-perl all 6.05-2 [146 kB] 获取:20 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main liblwp-protocol-https-perl all 6.04-2ubuntu0.1 [7,644 B] 获取:21 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libtext-unidecode-perl all 0.04-2 [115 kB] 获取:22 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libxml-namespacesupport-perl all 1.11-1 [13.2 kB] 获取:23 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libxml-sax-base-perl all 1.07-1 [21.5 kB] 获取:24 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libxml-sax-perl all 0.99+dfsg-2ubuntu1 [64.6 kB] 获取:25 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main libxml-libxml-perl amd64 2.0108+dfsg-1ubuntu0.1 [337 kB] 获取:26 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libxml-parser-perl amd64 2.41-1build3 [294 kB] 获取:27 http://cn.archive.ubuntu.com/ubuntu/ trusty/main libxml-sax-expat-perl all 0.40-2 [11.5 kB] 获取:28 http://cn.archive.ubuntu.com/ubuntu/ trusty/main texinfo amd64 5.2.0.dfsg.1-2 [561 kB] 下载 3,425 kB,耗时 2秒 (1,303 kB/s) Selecting previously unselected package libencode-locale-perl. (正在读取数据库 ... 系统当前共安装有 213805 个文件和目录。) Preparing to unpack .../libencode-locale-perl_1.03-1_all.deb ... Unpacking libencode-locale-perl (1.03-1) ... Selecting previously unselected package libhttp-date-perl. Preparing to unpack .../libhttp-date-perl_6.02-1_all.deb ... Unpacking libhttp-date-perl (6.02-1) ... Selecting previously unselected package libfile-listing-perl. Preparing to unpack .../libfile-listing-perl_6.04-1_all.deb ... Unpacking libfile-listing-perl (6.04-1) ... Selecting previously unselected package libfont-afm-perl. Preparing to unpack .../libfont-afm-perl_1.20-1_all.deb ... Unpacking libfont-afm-perl (1.20-1) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../libhtml-tagset-perl_3.20-2_all.deb ... Unpacking libhtml-tagset-perl (3.20-2) ... Selecting previously unselected package libhtml-parser-perl. Preparing to unpack .../libhtml-parser-perl_3.71-1build1_amd64.deb ... Unpacking libhtml-parser-perl (3.71-1build1) ... Selecting previously unselected package libio-html-perl. Preparing to unpack .../libio-html-perl_1.00-1_all.deb ... Unpacking libio-html-perl (1.00-1) ... Selecting previously unselected package liblwp-mediatypes-perl. Preparing to unpack .../liblwp-mediatypes-perl_6.02-1_all.deb ... Unpacking liblwp-mediatypes-perl (6.02-1) ... Selecting previously unselected package libhttp-message-perl. Preparing to unpack .../libhttp-message-perl_6.06-1_all.deb ... Unpacking libhttp-message-perl (6.06-1) ... Selecting previously unselected package libhtml-form-perl. Preparing to unpack .../libhtml-form-perl_6.03-1_all.deb ... Unpacking libhtml-form-perl (6.03-1) ... Selecting previously unselected package libhtml-tree-perl. Preparing to unpack .../libhtml-tree-perl_5.03-1_all.deb ... Unpacking libhtml-tree-perl (5.03-1) ... Selecting previously unselected package libhtml-format-perl. Preparing to unpack .../libhtml-format-perl_2.11-1_all.deb ... Unpacking libhtml-format-perl (2.11-1) ... Selecting previously unselected package libhttp-cookies-perl. Preparing to unpack .../libhttp-cookies-perl_6.00-2_all.deb ... Unpacking libhttp-cookies-perl (6.00-2) ... Selecting previously unselected package libhttp-daemon-perl. Preparing to unpack .../libhttp-daemon-perl_6.01-1_all.deb ... Unpacking libhttp-daemon-perl (6.01-1) ... Selecting previously unselected package libhttp-negotiate-perl. Preparing to unpack .../libhttp-negotiate-perl_6.00-2_all.deb ... Unpacking libhttp-negotiate-perl (6.00-2) ... Selecting previously unselected package libintl-perl. Preparing to unpack .../libintl-perl_1.23-1build1_all.deb ... Unpacking libintl-perl (1.23-1build1) ... Selecting previously unselected package libnet-http-perl. Preparing to unpack .../libnet-http-perl_6.06-1_all.deb ... Unpacking libnet-http-perl (6.06-1) ... Selecting previously unselected package libwww-robotrules-perl. Preparing to unpack .../libwww-robotrules-perl_6.01-1_all.deb ... Unpacking libwww-robotrules-perl (6.01-1) ... Selecting previously unselected package libwww-perl. Preparing to unpack .../libwww-perl_6.05-2_all.deb ... Unpacking libwww-perl (6.05-2) ... Selecting previously unselected package liblwp-protocol-https-perl. Preparing to unpack .../liblwp-protocol-https-perl_6.04-2ubuntu0.1_all.deb ... Unpacking liblwp-protocol-https-perl (6.04-2ubuntu0.1) ... Selecting previously unselected package libtext-unidecode-perl. Preparing to unpack .../libtext-unidecode-perl_0.04-2_all.deb ... Unpacking libtext-unidecode-perl (0.04-2) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../libxml-namespacesupport-perl_1.11-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.11-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../libxml-sax-base-perl_1.07-1_all.deb ... Unpacking libxml-sax-base-perl (1.07-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../libxml-sax-perl_0.99+dfsg-2ubuntu1_all.deb ... Unpacking libxml-sax-perl (0.99+dfsg-2ubuntu1) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../libxml-libxml-perl_2.0108+dfsg-1ubuntu0.1_amd64.deb ... Unpacking libxml-libxml-perl (2.0108+dfsg-1ubuntu0.1) ... Selecting previously unselected package libxml-parser-perl. Preparing to unpack .../libxml-parser-perl_2.41-1build3_amd64.deb ... Unpacking libxml-parser-perl (2.41-1build3) ... Selecting previously unselected package libxml-sax-expat-perl. Preparing to unpack .../libxml-sax-expat-perl_0.40-2_all.deb ... Unpacking libxml-sax-expat-perl (0.40-2) ... Selecting previously unselected package texinfo. Preparing to unpack .../texinfo_5.2.0.dfsg.1-2_amd64.deb ... Unpacking texinfo (5.2.0.dfsg.1-2) ... Processing triggers for man-db (2.6.7.1-1) ... Processing triggers for doc-base (0.10.5) ... Processing 1 added doc-base file... 正在设置 libencode-locale-perl (1.03-1) ... 正在设置 libhttp-date-perl (6.02-1) ... 正在设置 libfile-listing-perl (6.04-1) ... 正在设置 libfont-afm-perl (1.20-1) ... 正在设置 libhtml-tagset-perl (3.20-2) ... 正在设置 libhtml-parser-perl (3.71-1build1) ... 正在设置 libio-html-perl (1.00-1) ... 正在设置 liblwp-mediatypes-perl (6.02-1) ... 正在设置 libhttp-message-perl (6.06-1) ... 正在设置 libhtml-form-perl (6.03-1) ... 正在设置 libhtml-tree-perl (5.03-1) ... 正在设置 libhtml-format-perl (2.11-1) ... 正在设置 libhttp-cookies-perl (6.00-2) ... 正在设置 libhttp-daemon-perl (6.01-1) ... 正在设置 libhttp-negotiate-perl (6.00-2) ... 正在设置 libintl-perl (1.23-1build1) ... 正在设置 libnet-http-perl (6.06-1) ... 正在设置 libwww-robotrules-perl (6.01-1) ... 正在设置 libtext-unidecode-perl (0.04-2) ... 正在设置 libxml-namespacesupport-perl (1.11-1) ... 正在设置 libxml-sax-base-perl (1.07-1) ... 正在设置 libxml-sax-perl (0.99+dfsg-2ubuntu1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version 正在设置 libxml-libxml-perl (2.0108+dfsg-1ubuntu0.1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version 正在设置 texinfo (5.2.0.dfsg.1-2) ... Running mktexlsr. This may take some time. ... done. 正在设置 libwww-perl (6.05-2) ... 正在设置 liblwp-protocol-https-perl (6.04-2ubuntu0.1) ... 正在设置 libxml-parser-perl (2.41-1build3) ... 正在设置 libxml-sax-expat-perl (0.40-2) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::Expat with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ ./build.sh http://blog.csdn.net/linuxarmsummary/article/details/12775457 msgfmt包错误 makeinfo 包错误 错误2: e.o -MD -MP -MF .deps/execute.Tpo -c -o execute.o execute.c /usr/bin/gcc -std=gnu99 -I. -O2 -I/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT exitfail.o -MD -MP -MF .deps/exitfail.Tpo -c -o exitfail.o exitfail.c In file included from clean-temp.h:22:0, from clean-temp.c:23: ./stdio.h:456:1: error: 'gets' undeclared here (not in a function) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ^ mv -f .deps/exitfail.Tpo .deps/exitfail.Po /usr/bin/gcc -std=gnu99 -I. -O2 -I/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT fatal-signal.o -MD -MP -MF .deps/fatal-signal.Tpo -c -o fatal-signal.o fatal-signal.c mv -f .deps/c-ctype.Tpo .deps/c-ctype.Po /usr/bin/gcc -std=gnu99 -I. -O2 -I/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/include -I/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/include -MT fd-safer-flag.o -MD -MP -MF .deps/fd-safer-flag.Tpo -c -o fd-safer-flag.o fd-safer-flag.c mv -f .deps/c-stack.Tpo .deps/c-stack.Po make[4]: *** [clean-temp.o] Error 1 make[4]: *** Waiting for unfinished jobs.... mv -f .deps/execute.Tpo .deps/execute.Po mv -f .deps/fd-safer-flag.Tpo .deps/fd-safer-flag.Po mv -f .deps/fatal-signal.Tpo .deps/fatal-signal.Po mv -f .deps/gl_avltree_oset.Tpo .deps/gl_avltree_oset.Po make[4]: Leaving directory `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15/lib' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15' make[1]: *** [all] 错误 2 make[1]:正在离开目录 `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15' make: *** [/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15/.stamp_built] 错误 2 make:离开目录“/home/wwt/linux_r16/lichee/buildroot” ERROR: build buildroot Failed rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ find . -name stdio.in.h ./out/sun8iw5p1/linux/common/buildroot/build/host-m4-1.4.15/lib/stdio.in.h rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ Z:\home\wwt\linux_r16\lichee\out\sun8iw5p1\linux\common\buildroot\build\host-m4-1.4.15\lib\stdio.in.h // 2017/5/2 14:13 wenyuanbo add!!!! //_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif http://www.cnblogs.com/hjj801006/p/3988220.html 'gets' undeclared here (not in a function) rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ ./build.sh 错误3: make[3]: Leaving directory `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/lib' Making install in doc make[3]: Entering directory `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/doc' restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/sh /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \ for f in autoconf.info autoconf.info-[0-9] autoconf.info-[0-9][0-9] autoconf.i[0-9] autoconf.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/sh /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/build-aux/missing --run makeinfo --no-split -I . \ -o autoconf.info autoconf.texi; \ then \ rc=0; \ CDPATH="${ZSH_VERSION+.}:" && cd .; \ else \ rc=$?; \ CDPATH="${ZSH_VERSION+.}:" && cd . && \ $restore $backupdir/* `echo "./autoconf.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc conftest.c:14625: must be after `@defmac' to use `@defmacx' make[3]: *** [autoconf.info] Error 1 make[3]: Leaving directory `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/doc' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65' make[1]: *** [install] 错误 2 make[1]:正在离开目录 `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65' make: *** [/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/.stamp_host_installed] 错误 2 make:离开目录“/home/wwt/linux_r16/lichee/buildroot” ERROR: build buildroot Failed rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ find . -name autoconf.texi ./out/sun8iw5p1/linux/common/buildroot/build/host-autoconf-2.65/doc/autoconf.texi rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ Z:\home\wwt\linux_r16\lichee\out\sun8iw5p1\linux\common\buildroot\build\host-autoconf-2.65\doc\autoconf.texi @r{[}@var{\varname\}@r{]}@c (修改为:) @r{[}@var{\varname\}@r{]} @r{[}@var{\varname\} = @samp{\default\}@r{]}@c (修改为:) @r{[}@var{\varname\} = @samp{\default\}@r{]} http://blog.csdn.net/laohuang1122/article/details/44098291/ Ubuntu14.04编译Allwinner lichee 两个出错解决方法 rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ ./build.sh 错误4: libtool: install: ranlib /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib/libfakeroot.a libtool: finish: PATH="/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/bin:/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin:/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/external-toolchain/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/arm-linux-androideabi/bin:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/opt/jdk1.6.0_45/bin:/opt/jdk1.6.0_45/jre/bin:/sbin" ldconfig -n /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib ---------------------------------------------------------------------- Libraries have been installed in: /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- test -z "/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin" || /bin/mkdir -p "/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin" /bin/sh ./libtool --mode=install /usr/bin/install -c 'faked' '/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin/faked' libtool: install: /usr/bin/install -c faked /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin/faked make[3]:正在离开目录 `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.9.5' make[2]:正在离开目录 `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.9.5' make[1]:正在离开目录 `/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-fakeroot-1.9.5' rm -rf /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs mkdir /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs cp package/makedevs/makedevs.c /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs cc -Wall -Werror -O2 /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs.c -o /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs.c: In function ‘main’: /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs.c:374:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] int ret = EXIT_SUCCESS; ^ cc1: all warnings being treated as errors make: *** [/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs] 错误 1 make:离开目录“/home/wwt/linux_r16/lichee/buildroot” ERROR: build rootfs Failed rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ find . -name makedevs.c ./buildroot/package/makedevs/makedevs.c ./out/sun8iw5p1/linux/common/buildroot/build/host-makedevs/makedevs.c ./out/sun8iw5p1/linux/common/buildroot/build/busybox-1.18.3/miscutils/makedevs.c rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ http://blog.csdn.net/laohuang1122/article/details/44098291/ Ubuntu14.04编译Allwinner lichee 两个出错解决方法 rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ ./build.sh 5、编译成功: /local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/arm-linux-androideabi/bin:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/opt/jdk1.6.0_45/bin:/opt/jdk1.6.0_45/jre/bin"" >> /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/_fakeroot.fs chmod a+x /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/_fakeroot.fs /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin/fakeroot -- /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/_fakeroot.fs rootdir=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/target table='target/generic/device_table.txt' Warning: skip syncing -d /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/target /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/images/rootfs.ext4 -N 1399 -b 42633 tune2fs 1.42.9 (4-Feb-2014) Creating journal inode: 完成 This filesystem will be automatically checked every 20 mounts or 0 days, whichever comes first. Use tune2fs -c or -i to override. e2fsck 1.42.9 (4-Feb-2014) 文件系统缺少UUID;正在生成一个。 Adding dirhash hint to 文件系统. /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/images/rootfs.ext4: clean, 1009/1440 files, 38102/42633 blocks busybox directfb directfb-examples divine dosfstools e2fsprogs ethtool ext4-utils freetype fsck-msdos fuse-exfat libfuse i2c-tools input-tools iostat iperf iw jpeg libnl libpcap libpng memstat memtester ntfs-3g openssh openssl portmap strace stress sysstat szrz tcpdump tiobench tslib udev which wireless_tools wpa_supplicant zlib target-generic-hostname target-generic-issue target-generic-getty-busybox target-finalize target-purgelocales /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/bin:/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/bin:/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/host/usr/sbin/:/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/external-toolchain/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/arm-linux-androideabi/bin:/home/cm/cm/R58/r58_new20161012/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/opt/jdk1.6.0_45/bin:/opt/jdk1.6.0_45/jre/bin make:离开目录“/home/wwt/linux_r16/lichee/buildroot” INFO: build rootfs OK. INFO: ---------------------------------------- INFO: build lichee OK. INFO: ---------------------------------------- rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ 6、打包: rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ ./build.sh pack INFO: packing firmware ... copying tools file copying configs file ./out/aultls32.fex ./out/aultools.fex ./out/cardscript.fex ./out/cardtool.fex ./out/diskfs.fex ./out/env_burn.cfg ./out/env.cfg ./out/image.cfg "./out/image_linux.cfg" -> "./out/image.cfg" ./out/split_xxxx.fex ./out/sys_config.fex ./out/sys_partition_dragonboard.fex ./out/sys_partition_dump.fex ./out/sys_partition.fex "./out/sys_partition_linux.fex" -> "./out/sys_partition.fex" ./out/sys_partition_private.fex ./out/sys_partition_tina.fex ./out/test_config.fex ./out/usbtool.fex ./out/usbtool_test.fex copying boot resource copying boot file packing for linux normal /home/wwt/linux_r16/lichee/tools/pack/pctools/linux/eDragonEx/ /home/wwt/linux_r16/lichee/tools/pack/out Begin Parse sys_partion.fex Add partion boot-resource.fex BOOT-RESOURCE_FEX Add partion very boot-resource.fex BOOT-RESOURCE_FEX FilePath: boot-resource.fex FileLength=453400Add partion env.fex ENV_FEX000000000 Add partion very env.fex ENV_FEX000000000 FilePath: env.fex FileLength=20000Add partion boot.fex BOOT_FEX00000000 Add partion very boot.fex BOOT_FEX00000000 FilePath: boot.fex FileLength=c5a000Add partion rootfs.fex ROOTFS_FEX000000 Add partion very rootfs.fex ROOTFS_FEX000000 FilePath: rootfs.fex FileLength=29a2400sys_config.fex Len: 0xf450 config.fex Len: 0x9ac8 split_xxxx.fex Len: 0x200 sys_partition.fex Len: 0xa80 boot0_nand.fex Len: 0x8000 boot0_sdcard.fex Len: 0x8000 u-boot.fex Len: 0xc4000 fes1.fex Len: 0x1fc0 usbtool.fex Len: 0x23000 aultools.fex Len: 0x26ead aultls32.fex Len: 0x238dd cardtool.fex Len: 0x14000 cardscript.fex Len: 0x6ea sunxi_mbr.fex Len: 0x10000 dlinfo.fex Len: 0x4000 arisc.fex Len: 0x2ed88 vmlinux.fex Len: 0x2c78baa boot-resource.fex Len: 0x453400 Vboot-resource.fex Len: 0x4 env.fex Len: 0x20000 Venv.fex Len: 0x4 boot.fex Len: 0xc5a000 Vboot.fex Len: 0x4 rootfs.fex Len: 0x29a2400 Vrootfs.fex Len: 0x4 BuildImg 0 Dragon execute image.cfg SUCCESS ! ----------image is at---------- /home/wwt/linux_r16/lichee/tools/pack/sun8iw5p1_linux_evb-30_uart0.img pack finish rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ 7、刷机完成开机(请注意:sun8i login: root): UUUUUUUUUU?UU?UaUaUaUaUaU*UaUaUaUaUaUaUaUaUUa?Ua?UUUUUUUUUUUU[0.33] boot0 version : 4.0.0 [0.35] fel_flag = 0x00000000 [0.38] rtc[0] value = 0x00000000 [0.41] rtc[1] value = 0x00000000 [0.44] rtc[2] value = 0x00000000 [0.47] rtc[3] value = 0x00000000 [0.51] DRAM DRIVE INFO: V1.6 [0.54] DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3) [0.59] DRAM zq value: 00003bbb[0.62] DRAM CLK =600 MHZ [0.64] ID CHECK VERSION: V0.1 [0.67] using ic R16 [0.69] USE PLL DDR1 [0.75] USE PLL NORMAL [0.77] PLL FREQUENCE = 1200 MHZ [0.90] DRAM PLL DDR1 frequency extend open ! [0.94] DRAM master priority setting ok. [0.108] Auto calculate timing parameter! [0.111] para_dram_tpr0 = 0047a14f [0.114] para_dram_tpr1 = 01c2294c [0.118] para_dram_tpr2 = 00069049 [0.121] tcl = 6,tcwl = 4 [0.123] DRAM TIMING PARA0 = 0b0f180c [0.126] DRAM TIMING PARA1 = 0003040f [0.130] DRAM TIMING PARA2 = 0406050a [0.133] DRAM TIMING PARA3 = 0000400c [0.137] DRAM TIMING PARA4 = 05020405 [0.140] DRAM TIMING PARA5 = 05050403 [0.144] DRAM TIMING PARA8 = 90003310 [0.147] DRAM PHY INTERFACE PARA = 02040102 [0.151] DRAM VTC is disable [0.153] DRAM dynamic DQS/DQ ODT is on [0.157] DRAM DQS gate is PD mode. [0.160] DRAM one rank training is on,the value is 91003587 [0.169] DRAM work mode register value = 004318e4 [0.173] DRAM SIZE =512 M [0.175] set one rank ODTMAP [0.180] DRAM simple test OK. [0.182] dram size =512 [0.184] card boot number = 2 [0.187] card no is 2 [0.189] sdcard 2 line count 8 [0.192] [mmc]: mmc driver ver 2015-01-15 14:21:39 [0.203] [mmc]: ***MMC card 2*** [0.227] [mmc]: 8bit ddr!!! [0.229] [mmc]: MMC ver 4.41 [0.232] [mmc]: SD/MMC Card: 8bit, capacity: 3728MB [0.237] [mmc]: vendor: Man 00150100 Snr 00ef0719 [0.241] [mmc]: product: M4G1F [0.244] [mmc]: revision: 4.2 [0.247] [mmc]: ***SD/MMC 2 init OK!!!*** [0.250] sdcard 2 init ok [0.254] The size of uboot is 000c4000. [0.312] sum=ad4be991 [0.313] src_sum=ad4be991 [0.316] set_mmc_para,sdly 50M 0 [0.319] set_mmc_para,sdly 25M 0 [0.322] Succeed in loading uboot from sdmmc flash. [0.326] Ready to disable icache. [0.330] Jump to secend Boot. [ 0.332]U-Boot 2011.09-rc1-00019-g42e29c6-dirty (Mar 19 2015 - 17:08:40) Allwinner Technology [0.346]normal or secure os [0.348]pmbus: ready [0.350]PMU: AXP221 [0.352]PMU: AXP22x found [0.355]bat_vol=0, ratio=100 [0.357]PMU: dcdc3 1200 [0.360]PMU: pll1 1008 Mhz,PLL6=600 Mhz [0.363]AXI=336 Mhz,AHB=200 Mhz, APB1=100 Mhz [0.370]set power on vol to default [0.373]dcdc1_vol = 3000 [0.375]dcdc2_vol = 1100 [0.377]dcdc3_vol = 1200 [0.380]dcdc4_vol = 0 [0.382]dcdc5_vol = 1500 [0.384]aldo2_vol = 2500 [0.386]aldo3_vol = 3000 [0.388]find power_sply to end [0.468]vbus exist [0.469]no battery, limit to dc [0.472]fel key new mode [0.474]run key detect [0.487]no key found [0.488]no key input [0.490]dram_para_set start [0.494]dram_para_set end [0.496]DRAM: [0.498]512[0.498] MiB [0.500]relocation Offset is: 15b0a000 [0.541]smcl's set manager is NULL [0.544] [0.546]workmode = 0 [0.548]MMC: 2 [0.549][mmc]: mmc driver ver 2014-12-10 9:23:00 [0.554][mmc]: get sdc_phy_wipe fail. [0.557][mmc]: get sdc0 sdc_erase fail. [0.560][mmc]: get sdc_2xmode ok, val = 1 [0.564][mmc]: get sdc_ddrmode ok, val = 1 [0.568][mmc]: get sdc_f_max fail,use default 50000000Hz [0.573][mmc]: get card_line ok, card_line = 8 [0.577][mmc]: get sdc_ex_dly_used fail,use default [0.581][mmc]: SUNXI SD/MMC: 2[0.584] [0.595][mmc]: MMC card 2* [0.633][mmc]: ddr8 [0.643][mmc]: CID 0x1501004d 0x34473146 0x4200ef07 0x19dcce21 [0.648][mmc]: MMC ver 4.41 [0.650][mmc]: mmc clk 50000000 [0.653][mmc]: SD/MMC Card: 8bit, capacity: 3728MB [0.657][mmc]: boot0 capacity: 1000KB,boot1 capacity: 1000KB [0.663][mmc]: ***SD/MMC 2 init OK!!!*** [0.667][mmc]: erase_grp_size:0x400WrBlk * 0x200 = 0x80000 Byte [0.672][mmc]: secure_feature 0x15 [0.675][mmc]: secure_removal_type 0x0 [0.679]sunxi flash init ok In: serial Out: serial Err: serial [0.691]--------fastboot partitions-------- [0.695]-total partitions:5- [0.697]-name- -start- -size- [0.701]boot-res : 1000000 1000000 [0.706]env : 2000000 1000000 [0.710]boot : 3000000 1000000 [0.714]rootfs : 4000000 20000000 [0.718]UDISK : 24000000 0 [0.723]----------------------------------- [0.726]base bootcmd=run setargs_nand boot_normal [0.731]bootcmd set setargs_mmc [0.734]key 0 [0.735]cant find rcvy value [0.737]cant find fstbt value [0.740]no misc partition is found [0.743]to be run cmd=run setargs_mmc boot_normal [0.747]WORK_MODE_BOOT [0.749]board_status_probe [0.752]sunxi_bmp_logo_display [0.756] ** Unable to read "bootlogo.bmp" from sunxi_flash 0:1 ** [0.761]sunxi bmp info error : unable to open logo file bootlogo.bmp [0.767]Hit any key to stop autoboot: 0 [0.771]read boot or recovery all [1.63]sunxi flash read :offset 3000000, 13995844 bytes OK [1.72]no signature [1.73]ready to boot [1.75]para err in disp_ioctl, cmd = 0xa,screen id = 1 [ 1.080]Starting kernel ... [ 0.940677] [audiocodec] linein_to_spk_used type err! [ 0.946281] [audiocodec] linein_to_hp_used type err! [ 0.951806] [audiocodec] linein_to_aif2_used type err! [ 0.957502] [audiocodec] sysaudio_to_aif2_used type err! [ 0.963409] [audiocodec] : aif3 not used! [ 0.971957] [I2S0]sunxi-i2s0 cannot find any using configuration for controllers, return directly! [ 0.982149] [I2S]sndi2s0 cannot find any using configuration for controllers, return directly! [ 0.991735] [I2S1]sunxi-i2s1 cannot find any using configuration for controllers, return directly! [ 1.001881] [I2S]sndi2s1 cannot find any using configuration for controllers, return directly! [ 1.019623] otg_wakelock_init: No USB transceiver found [ 1.025634] ths_fetch_sysconfig_para: type err device_used = 1. [ 1.033262] fetch C0_LV_count from sysconfig failed Welcome to sun8i linux sun8i login: root # pwd /root # # # busybox BusyBox v1.18.3 (2017-05-02 14:51:20 CST) multi-call binary. Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko and others. Licensed under GPLv2. See source distribution for full notice. Usage: busybox [function] [arguments]... or: busybox --list[-full] or: function [arguments]... BusyBox is a multi-call binary that combines many common Unix utilities into a single executable. Most people will create a link to busybox for each function they wish to use and BusyBox will act like whatever it was invoked as. Currently defined functions: [, [[, addgroup, adduser, ar, arping, ash, awk, basename, bunzip2, bzcat, cat, catv, chattr, chgrp, chmod, chown, chroot, chrt, chvt, cksum, clear, cmp, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup, deluser, devmem, df, diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, du, dumpkmap, echo, egrep, eject, env, ether-wake, expr, false, fdflush, fdformat, fdisk, fgrep, find, fold, free, freeramdisk, fsck, fuser, getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname, hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod, install, ionice, iostat, ip, ipaddr, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kill, killall, killall5, klogd, last, length, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger, login, logname, losetup, ls, lsattr, lsmod, lspci, lsusb, lzcat, lzma, makedevs, md5sum, mdev, mesg, microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.vfat, mknod, mkswap, mktemp, modinfo, modprobe, more, mount, mountpoint, mpstat, mt, mv, nameif, netstat, nice, nohup, nslookup, od, openvt, passwd, patch, pidof, ping, pipe_progress, pivot_root, poweroff, printenv, printf, ps, pwd, rdate, readahead, readlink, readmbr, readprofile, realpath, reboot, renice, reset, resize, rm, rmdir, rmmod, route, run-parts, runlevel, sed, seq, setarch, setconsole, setkeycodes, setlogcons, setsid, sh, sha1sum, sha256sum, sha512sum, sleep, sort, start-stop-daemon, strings, stty, su, sulogin, swapoff, swapon, switch_root, sync, sysctl, syslogd, tail, tar, tee, telnet, test, tftp, time, top, touch, tr, traceroute, true, tty, udhcpc, umount, uname, uniq, unix2dos, unlzma, unxz, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs, xz, xzcat, yes, zcat # cd / # pwd / # ls -l total 2156 drwxrwxr-x 2 root root 2048 Dec 2 2016 bin drwxr-xr-x 2 root root 1024 Jan 1 00:00 boot drwxr-xr-x 8 root root 3000 Jan 1 00:00 dev drwxr-xr-x 8 root root 1024 May 2 2017 etc drwxrwxr-x 3 root root 1024 May 2 2017 home lrwxrwxrwx 1 root root 11 May 2 2017 init -> bin/busybox drwxr-xr-x 4 root root 2048 May 2 2017 lib lrwxrwxrwx 1 root root 11 May 2 2017 linuxrc -> bin/busybox drwx------ 2 root root 2182144 May 2 2017 lost+found drwxrwxr-x 2 root root 1024 May 2 2017 mnt drwxrwxr-x 2 root root 1024 May 2 2017 opt dr-xr-xr-x 82 root root 0 Jan 1 00:00 proc drwxrwxr-x 2 root root 1024 Jan 1 00:00 root drwxr-xr-x 2 root root 2048 May 2 2017 sbin dr-xr-xr-x 13 root root 0 Jan 1 00:00 sys drwxrwxr-x 5 root root 1024 Dec 2 2016 test drwxrwxrwt 2 root root 80 Jan 1 00:00 tmp drwxrwxr-x 6 root root 1024 Dec 2 2016 usr drwxrwxr-x 4 root root 1024 May 2 2017 var # # # lsmod Module Size Used by Not tainted # # # ifconfig # # ping www.baidu.com ping: bad address 'www.baidu.com' # #

立即下载
7z文件
grub4dos-V0.4.6a-2017-02-04更新

更新说明: 2017-02-04(yaya) Ls command: Empty Folder returns false. 2016-12-08(yaya) 修正lz4、vhd不显示解压缩进度指示。增加lzma解压缩进度指示。 2016-11-09(不点) 0x8205 bit 5 = 1: 使checkkey闲置循环停止指令。 2016-04-13(yaya) 支持动画菜单 setmenu --graphic-entry=类型=菜单行数=菜单列数=图形宽(像素)=图形高(像素)=菜单行间距(像素) 菜单项0的路径文件名 类型: 位0:高亮指定颜色 位1:高亮颜色翻转 位2:高亮显示线框 位7:背景透明(最好使用黑色背景) 文件名: *n.??? 格式 n=00-99 高亮颜色由 color HIGHLIGHT=0xrrggbb 指定。 字符可以使用任意字型、字高、颜色,可以辅以图标。 2016-03-25(yaya) 菜单字符可以使用不同字型。 例如:"七" 使用不同字型,将 .hex 文件中的 unicode 码 “4e03” 修改为 “0080”, 将菜单中的 "七" 修改为 “\X0080”。 2016-03-23(yaya) 增强 echo 函数功能。 例如:echo -e \x18 显示 UTF-8 字符 0x18。 echo -e \X2191 显示 unicode 字符 0x2191。 2016-03-15(yaya) 1.增加动画控制热键 F2:播放/停止。 2.增加动画控制位 0x835b,位0:0/1=停止/播放。 3.增加精简字库模式:--simp=起始0,终止0,...,起始3,终止3 中文可以使用 --simp= ,内置字库应当包含 DotSize=[font_h],['simp'] 例如:font --font-high=24 --simp= /24_24.hex DotSize=24,simp 不使用热键: 可以加载 32*32 unifont 全字库 使用热键: 可以加载 24*24 unifont 全字库 使用精简字库: 可以加载 46*46 汉字全字库 使用精简字库及热键:可以加载 40*40 汉字全字库 4.不再支持 bin 格式字库。 2016-03-03(yaya) 1.增加图像背景色设置方法。 splashimage --fill-color=[0xrrggbb] 作用之一,作为小图像的背景。 作用之二,直接作为菜单的背景(即不加载图像背景)。此时只设置字体的前景色即可。 2.增加动画菜单。 splashimage --animated=[type]=[delay]=[last_num]=[x]=[y] START_FILE 类型[type]:bit 0-3: 播放次数 bit 4: 永远重复 bit 7: 透明背景 type=00:禁止播放 播放n次:序列图像各显示n次,时间独占。可作为启动前导、序幕。 永远重复:序列图像无限循环,时间与菜单共享。可作为菜单里的动画。 背景透明:即抠像。要求4角像素为背景色。 背景色最好为白色或黑色,这样可以去除一些灰色杂波。若是彩色背景,则应当非常干净。 提醒:请以16进制方式输入。否则易错。 延迟[delay]:序列图像之间的延迟。单位是滴答,即1/18.2秒。 序列数[last_num]:序列图像总数(2位数,从1开始计数)。 偏移[x]、[y]:图像偏移,单位像素。 起始图像文件 START_FILE 命名规则:*n.??? n: 1-9 或 01-99 或 001-999。 3.增加固定图像的背景色可以透明。 splashimage [--offset=[type]=[x]=[y]] FILE 类型[type]:bit 7: 透明背景 2016-02-14(yaya) setmenu 函数增加菜单项目背景短/满参数(默认短) 2016-01-19(yaya) splashimage 函数增加图像起始偏移(默认0) 2015-08-20(yaya) 1.支持非 16*16 字体。 在 font 函数增加参数: --hex* --bin 字库输出类型; --horiz-scan* --verti-scan 点阵字符扫描模式; --h-to-l* --l-to-h 点阵字符在字节的存储方式; --font-high=[font_h] 点阵字符的高与宽(应当相等)。 注:* 是默认项。 例子:font /my.hex font --bin --verti-scan --l-to-h --font-high=20 /2_20.dzk font --bin --font-high=20 /1_20.dzk 内置字库,如果不是 16*16 字体,头部需声明:DotSize=[font_h]。 受内存限制,当前大字库可支持到 32*32,中文小字库可支持到 40*40. 2.不再支持 vga 图形模式。 2015-07-07(yaya) 1.支持每像素16位彩色模式(64K 5:6:5)。 2.支持 jpg(jpeg,jpe)图像格式。 3.在 vbe 模式,使用 echo -rrggbb 可以显示 216 种彩色样本。 4.使用 echo -v 可以显示版本、内存信息。 5.增加 setmenu 函数,增强图形菜单编辑功能。参数: --ver-on --ver-off 版本信息打开/关闭。默认打开; --lang=en --lang=zh 按键帮助信息中英文切换。默认英文; --auto-num-off --auto-num-on 关闭/打开菜单自动编号。默认关闭; --font-spacing=[font]:[line] 设置字符间距/行间距。单位:像素。默认0。应当位于下面的参数之前; --string=[x]=[y]=[color]=["string“] 字符串位置、颜色与内容,可用于标题,说明,帮助等。单位:列,行,24位色彩。 注:如果省略颜色,位于菜单框以上按标题颜色,位于菜单框以下按帮助文本颜色; 字符串头尾要加英文双引号; 列数=图像水平像素/(字符宽+字符间距) 字符宽=8; 行数=图像垂直像素/(字符高+行间距) 字符高=10; --box x=[x] y=[y] w=[w] h=[h] l=[l] 项目标题起始列,起始行,每行最大字符数,最大菜单项数,菜单框线条宽度(像素); 注:w=0 表示水平居中。此时 w 应当在 x 之后; l=0 表示不显示菜单框; --help=[x]=[w]=[y] 项目帮助位置。单位:列,行。默认1行; 注:x=0 由边框确定(默认);w=0 水平居中; --keyhelp=[y_offset]=[color] 按键帮助位置,颜色。单位:列,行,24位色彩。 注:y_offset=0,项目与按键帮助位于同一区域,项目帮助可以覆盖按键帮助(默认); y_offset !=0,是按键帮助到项目帮助的行偏移,两者共存; y_offset<=4,是项目帮助的显示行数; color 默认 “color helptext"; --u 恢复菜单原始状态。 --timeout=[x]=[y]=[color] 倒计时位置、颜色。单位:列,行,24位色彩。 2015-05-14(yaya) 改进 NTFS 文件系统: 对于驻留属性文件(小文件),可以写,也可用 blocklist 显示信息。 对于非驻留属性列表,取消长度限制。 2015-03-23(yaya) 内置 usb2.0 可以驱动原生4k扇区磁盘 2014-10-29 1.(tinybit) Workaround for BIOS of BENQ notebook that only supports 1. 2014-10-15 1.workaround for issue 204(chenall) 2014-10-12 1.skip_to()函数修改,对于引号里面的”\”使用以前的方法处理,保持兼容性。(chenall) 2.add variable @boot,add debug info。(chenall) 3.two variables boot_drive and install_partition can be preset to a value before transferring control to grub4dos. (tinybit) 4.修正屏蔽 map 信息。(yaya) 2014-10-09(yaya) 1.屏蔽 map 信息。 2014-09-23(yaya) 1.使用 bootlace.com 安装 grldr.mbr 到 gpt 分区类型的设备。 2014-09-02(yaya) 1.ext4 分区支持 64 位功能,支持元块组。 2.grldr头部、grldr.mbr 支持搜索 gpt 分区的 grldr。 3.修正了 bootlace。 2014-08-17 1.修正GPT unhide/hide的BUG,现在可以正常对gpt分区进行隐藏. 2.优化GPT分区查找代码. 3.允许直接访问GPT保留区,但不在列表中显示. 2014-08-01(不点) 1.解决了 reboot.pro 报告的分区 ID 为 00 的分区不可被识别出来、无法访问的问题。 2.解决了 chainloader --raw 不能加载硬盘 BPB hidden sectors=0 的引导扇区的问题。也是英文论坛报告的。 3.清除 ud 启动后残留信息使后续启动不再被重复识别为 ud 启动(因为后续启动本来就不再是从 ud 启动)。 (yaya) 1.使 builtins.c 中的 default_func、geometry_func 代码与 0.4.5c 保持一致。 2.使 common.c、stage2.c 中的代码与 0.4.5c 保持一致(除 0.4.6a 有意改动的)。 2014-07-9(yaya) 修正软盘搜索。 支持 16 插槽映射。 2014-06-23(yaya) 1.完善了有碎片的文件仿真。最多 32 段碎片。若全部采用新版,则可传递碎片信息。 2.ntfs 文件系统支持 8Kb 以内的非常驻属性列表。 3.修正了 udf 格式光盘驱动 bug。 4.修正了 iso9600_Joliet 文件格式转义符显示问题。 2014-01-16(yaya) 1.当 FDD 模式的 u 盘(有 BPB,没有分区表)被 BIOS 分配驱动器号 0x80 时,映射为 0x00, 同时屏蔽驱动器号 0x80(避免通过 BIOS 读 u 盘,有可能死机)。 这一更改也避免了 Issue 162 读 64 位逻辑扇区的问题。 FDD 模式的 u 盘被识别为硬盘,问题多多。已经发现的问题是执行 find,不返回 (hd0);精简 PE 加载映像文件死机。 2.解决了FDD 模式的 u 盘,执行 find 时返回 (fd0,n) 的问题。 3.修正了 menu.lst 中 0PE.ISO 的默认位置。 4.usb2.0 驱动通过菜单或命令行,使用 usb --init 加载。 5.usb2.0 驱动增加了对集线器(HUB)的支持。若加载失败,可重启试一试。 6.读多扇区失败时,会给出提示:拔出 u 盘然后再插入,按任意键继续。此时会重新初始化 u 盘, 并采用每次读 1 扇区方式从失败处继续。 7.增强文件名识别,便于重命名。 7.1 文件名可以任意大小写,但是在 grldr.mbr 及 grldr.pbr 中必须大写。 7.2 在 grldr.pbr 中: FAT16、FAT32 分区使用 8.3 格式; ext2、exFAT、NTFS 分区使用 12 字符。 7.3 在 grldr.mbr 中:使用 12 字符。 7.4 为了兼容各类分区,建议文件名不要大于 8 字符,后缀不要大于 3 字符。若有分隔符“.”,不可省略。 2014-04-01(yaya) 1.更该了 usb2.0 驱动设备枚举。完善了驱动器号识别。直接从当前位置运行,缓存移到 0x80000。驻留内存精简到 4 Kb。 2.支持有碎片的文件仿真,最多 8 个片段。占用 11Kb - 13Kb 内存(由是否加载光驱确定)。 3.支持 WinXP 系统的短文件名小写。根据短文件名偏移 0x0c 处:位 3=1 表示文件名小写,位 4=1 表示文件扩展名小写。 4.可以正确识别 mkisofs 2.00/2.01 生成有 bug 的 Joliet 格式光盘。 2013-10-18 1.新增功能类似CMD的PATHEXT,可以设置默认的扩展名。 使用command --set-ext设置,每个扩展名使用";"分隔 例子: command --set-ext=.g4b;.g4e 执行时可以不用输入扩展名,比如输入test如果当前路径下有一个test.g4b就会自动使用。 2013-10-17 1.修改代码支持新版HOTKEY。 2013-07-10 1.insmod现在支持长文件名(以前最多11个字符,现在没有限制). 2.修改一些代码解决,消除编译过程中的"Warning"信息. 2013-06-30 1.解决当命令行长度过长或批处理的参数过多时导致的内存冲突问题. 2013-03-19 1.新增连续命令分隔符";;",无阻碍顺序执行. 例子: set a=abcd ;; echo %a% ;; set a= 2013-03-02 1.解决 Issue 117: menu border has arrow symbol (bottom right) 2.让其它显示模式也可以指定菜单框颜色。color border=xx 2012-05-16 1.取消针对ISO9660文件系统忽略大小写的控制.新的版本强制不区分大小写 2012-03-19 1.修正批处理CALL嵌套超过13层时会死机的问题。 2012-02-22 1.stage2/cmdline.c 修正使用管道"|"可能产生的内存冲突的问题。 2.stage2/char_io.c Fixed `more'-like feature issue. 2012-02-10 1.stage2/builtins.c 修正cat --locate=\x22时产生的错误。 http://bbs.wuyou.com/viewthread.php?tid=180142&page=240#pid2382770 2.cmdline.c Do not limit pipe "|" buffer. 取消管道"|"缓冲区限制。 2012-02-01 1./build Fixed build script. 2./stage2/builtins.c cat --replace changed (issue 71). Supported savedefault +n/-n (issue 70). 3./stage2/stage2.c Memory address 0x8276 for variable current_entryno (issue 70). 4./stage2/disk_io.c enable parttype 00 (http://reboot.pro/16004/page__st__25). 5./stage2/cmdline.c fixed skip_to issue. e.g. cat --locate="abc \"def" (md)0x300+1. 2012-01-17 1.修复一个由于map --rehook导致的问题。http://bbs.wuyou.com/viewthread.php?tid=180142&page=231#pid2373207 2.一些小调整。 3.版本号改为0.4.5c 2011-12-30 1.添加菜单热键功能接口,可以通过外部命令来增加热键功能 Add menu hotkey function interface。 2011-12-26 1.改善菜单自动编号。improve autonumber. 2011-12-13 1.修正grub_sprintf函数%d不能正确显示负数的bug. 2011-12-12 command 'if' added '>=' and '<=', and able to perform numeric comparison. 1.if命令新增>=和<=比较符。 新的if命令支持三种比较>=,==,<= 如果两边都是数字,则自动转换成数值型来比较,否则按字符串的ASCII大小比较. 2011-12-11 1.可以使用map --status=n来获取已经映射磁盘的状态。 use map --status=n to get status of hooked drive n. 返回以下两个变量信息(return) %?%=Start_Sector %@retval%=Sector_Count 如果该磁盘不存在返回0. 2011-12-08 1.支持菜单自动编号(使用动态菜单时比较有用)。 Support menu AutoNumber.this is useful when used iftitle. usage: write 0x8274 0x2001 or write 0x8274 0x2D01 0x20(space) or 0x2d ('-') is the delimiter char in ascii code. 更多的用法介绍: http://bbs.wuyou.com/viewthread.php?tid=180142&page=193#pid2351695 2011-12-06 1.bug修正。 2.使用调试模式启动时可以显示条件菜单执行的命令。 2011-12-05 1.添加条件菜单功能 added iftitle. 语法: iftitle [] Actual Title displayed\nOptional help line 只要条件不成立该菜单项目无效。 eg.如果(hd0,0)上有bootmgr文件才会显示第一个菜单,如果有NTLDR文件才会显示第二个菜单 iftitle [if exist (hd0,0)/bootmgr] Boot to NT6.X from (hd0,0) chainloader (hd0,0)/bootmgr iftitle [if exist (hd0,0)/ntldr] Boot to NT5.X from (hd0,0) chainloader (hd0,0)/ntldr 2011-12-01 1.BUG修正。 BUG fixed. 2.添加使用INT18启动功能。 Supported boot via INT 18. 用法(usage): boot -1 or boot --int18 3.一些代码精简 2011-11-29 1.BUG修正。 2.新的color命令语法。 color color_state=color [..] 其中color_state字符串可以如下。 normal 未选中菜单 highlight 选中菜单 helptext 菜单帮助信息 heading 菜单头(GRUB4DOS信息) standard 默认色(控制台) border 菜单边框VBE模式下有效果 3.新的setcolor/setcolorstate函数 2011-11-27 1.修正fontfile命令在splashimage后面时导至背景图颜色错误的问题. 2.VGA模式(0x12/0x6a)没有使用splashimage命令时可以指定字体颜色和console模式一样. 2011-11-22 1.新的COLOR命令允许设置控制台默认字体颜色和背景色(只限于文本模式或VBE模式) 方法: 直接使用只带一个参数的color命令即可. 注: 在命令行或批处理脚本中执行有效. 2011-11-19 1.cursor_state bit 0=1 show cursor,bit 1=1 show splashimage. use setcursor(n) to change if need,can change from commandline e.g. call Fn.70 0 disable cursor and splashimage. 2.清理部份无用代码. 2011-11-18 1.支持BMP背景图片,只限于VBE模式 supported splashimage with BMP format(VBE mode only). 2.使用BMP图片时,如果非处于VBE模式,则尝试自动匹配图片分辨率. 2011-11-03 1.修正一个map的bug. bug fixed in map_func. 相关贴子: http://bbs.wuyou.com/viewthread.php?tid=201887 http://bbs.wuyou.com/viewthread.php?tid=201647 2.忽略ISO9660文件系统上文件名的大小写. Make name comparisoncase-insensitive on iso9660. 可以使用以下命令禁用该功能. You can use below command to disable this feature. write 0x4CA24 0 3.cat命令添加--locatei参数, added --locatei option for cat. 查找时忽略大小写 ignore case locate. eg. cat --locatei=Test (md)0x300+1 2011-10-07 1.新增?_BOOT变量,访问启动GRUB4DOS的Boot_drive add new Variable ?_BOOT to access grub4dos Boot_drive. 2.为了节省代码GRUB4DOS内部不再处理外部命令WENV的兼容性(WENV tuxw版) 解决办法如下: 如果需要使用该版本WENV则自己在菜单或批处理中添加以下命令 write --offset=0x1f8 (md)0x228+1 ?_WENV\0 3.uuid 命令对于uuid字符的判断不区分大小写。 2011-10-02 1.取消对fb启动盘的修正,恢复原样. 2.其它批处理相关代码微调. 2011-09-28 1.修正访问磁盘分区的BUG(disk_io.c),感谢Yonsm的报告和测试. fixed a bug in disk_io.c http://bbs.wuyou.com/viewthread.php?tid=200520&extra=page%3D1 2011-09-13 1.修正insmod的一个bug(不能直接insmod默认路径下的文件) fixed a bug in insmod_func. 2011-09-05 1.insmod支持指定名字,比如insmod fat.gz fat. Support specified name when insmod a module. 2011-09-02 1.fixed a bug in setloca/endlocal. 2011-08-25 1.修正cat命令的一个BUG,使用cat --locate-align参数时会出错. fixed a bug in cat_func. 2011-08-23 1.添加echo/cat命令的帮助信息.(issue: 38,40) add help text for command echo/cat. 2.修复help --all显示的问题(issue: 39) fixed "help --all" issue. 2011-08-09 1.批处理call/gotoBUG修复. 2.新的call可以直接call一个命令. 2011-08-08 1.一些代码微调. 2.修正Ctrl+C强制中止批处理脚本,有时会失败的问题(call和&&,||连用时可能会失败) 3.使用管道符"|"时超过0xC00长度的之符将被丢弃. 2011-08-01 1.外部命令调用修改,优先使用当前目录下的命令(如果存在的话). 2.修复在批处理中使用exit命令退出批处理,导致批处理返回值为0的问题. 2011-07-30 1.批处理执行时允许使用Ctrl+C强制中断运行. 2011-07-19 1.内置变量?_WENV=?_UUID=? 注:1.将来会取消?_UUID,为了保持兼容性,暂时先放一段时间. 请使用%?%或%?_WENV%代替%?_UUID%来获取UUID. 2.%?%变量可以获取命令返回的字符串信息. 目前可用的信息有两个.uuid dev(返回指定设备的UUID字符串),cat --locate= (返回最后一个找到的位置) 2.@random算法修改. 2011-07-13 1.在执行cmain之前初始化变量内存空间。 2011-07-12 1.执行clear命令时同时设置count_lines为0。 2.内置变量增加@retval,其实就是之前的0x4cb00 3.增加setlocal @和endlocal @用法。 setlocal @可以在批处理中使用,把当前的环境保存起来 除非使用endlocal @否则setlocal @之后的设置会一直保留(批处理退出也不影响). 注:1.在批处理中出现setlocal @则在批处理中setlocal @之前的setlocal命令会全部失效。 所以setlocal @有必要的使用的话一般要放在批处理最前面。 2.setlocal @后面如果还有出现setlocal,则setlocal之后的设置不会保留. 2011-07-11 1.添加SETLOCAL和ENDLOCAL命令,和WINDOWS下的批处理用法一样。 2011-07-05 1.尝试解决%~d0,%~f0路径提取的问题,现在%~f0应该可以提取到正确的路径。 2.解决if命令输出转向失败的问题。 3.其它代码调整。 2011-05-27 1.优化PXE_DIR代码。 2.其它微调。 2011-05-25@176 1.调整cat命令的查找字符串代码。 2.修改批处理的调试模式开启方法(改为debug 3才会进入调试模式) 3.消除一些编译时的警告信息。 2011-05-23@174 1.修正一个TFTP相对路径的问题,感谢2011exuejiao@wuyou. 2.在批处理中可以使用debug 3临时开启debug模式。 2011-04-30@159 1.取消前面版本对批处理参数的调整.恢复到04-16版. 2.修正一个BUG.(函数print_root_device). 3.批处理参数新增%~f 文件全路径,%~z文件大小. 4.现在批处理脚本可以使用使用errorcheck命令控制是否检测错误(默认错误就退出). 2011-04-29@157 1.find 命令不再查找(hdx)设备. 2.删除@root变量的前导空格. 3.ls命令新增dev参数,用于显示设备列表. 4.批处理代码调整,对于(bd)设备%~d0会使用实际的设备. 2011-04-25@156 1.新增两个内置变量@root,@path. @root 当前的root. @path 当前默认外部命令查找路径. 2.修正一个可能导致程序出错的问题.(使用到了临时变量的内存). 3.批处理代码功能增强. 2011-04-16@153 1.md5crypt 支持参数。后面直接跟一个字符串会直接计算这个字符串的md5。 2.菜单支持以变量开头的命令。 2011-03-30@151 1.LZMA格式解压时暂时禁止显示进度(因为显示进度时解压大文件会失败)。 2.添加内置变量?_UUID(使用uuid命令可以把获取到的磁盘uuid保存到变量中). 2011-03-29@150 1.insmod *.mod添加了检测模块文件头是否为GRUBEXEC签名. 注:目前还是兼容旧版本的MOD模块,一段时间后会取消,请使用新的MAKEMOD重新制作模块。 2.对批处理路径和文件名的空格进行自动处理。空格前面自动加转义符"\" 注:使用p,n,x参数时有效。即%~1时不会处理,但%~p1时会处理。 2011-03-26@150 1.使用kernel (rd)+1启动时,默认的启动设备改为当前root. 2011-03-25@149 1.修改cat命令替换时显示的信息 cat --locate=S -replace=R 除非debug on否则不显示信息. 2.批处理参数新增%*代表所有参数%1 %2 %3 .... 2011-03-24 1.set /p功能增强(可能会和之前的版本不兼容),新增参数set /p:N 主要变动: 1).如果未输入不会清除原来的变量.(之前的版本会清除). 2).新增支持默认时间没有输入自动退出. set /p:N variable=prompt 如果在N秒之内没有任何输入,则返回,并且不改变variable的值. 2011-03-23 1.为了方便使用,修改shift命令为内部命令.并且shift支持参数 shift n 或 shift /n 具体用法,可以参考CMD/linux下的shift命令帮助. 2011-02-19 1.修复kernel加载grub2 loader的问题. fixed a bug when load multiboot-image(boot.c). 2.现在可以运行16位程序,和wee的机制一样(直接移植了wee里面的代码) 2011-02-15 1.添加realmode_run函数 2.修改GPT分区检测代码,更加严格的检测。 2011-02-12 1.增加GPT分区检测,检测不通过就使用MBR分区。 2.一些代码微调。 2011-02-10 1.清理UTF8转换UNICODE的代码,不再需要(请同时更新UNIFONT). 2.修复变量字符串截取BUG.Fixed Bug in envi_cmd func.(thanks sratlf@wuyou report). http://bbs.wuyou.com/viewthread.php?tid=180142&page=52#pid2154655 注意:从2011-02-10开始,必须使用最新版的UNIFONT才可以正常显示UNICODE字符. Note: You must also update unifont to the latest version.new unifont can show unicode char anywhere. Download the latest version of unifont: http://code.google.com/p/grubutils/downloads/list 2011-01-28 1.支持读取GPT分区表。 为了区别MBR分区表和方便编程,所有的GPT分区类型全部使用0xEE表示。 2.修正一个bug,现在可以访问大于1T的硬盘.但还不能访问超过2T的内容。 2011-01-26 1.修复run_line的一个BUG,会导致返回值为假。 2.添加IF/SET命令的帮助信息。 3.IF命令增加以下语法,判读一个变量或文件是否存在。 if exist variable|filename command. 4.控制pause的输出,debug小于0时不显示倒计时。debug小于1时不显示按键码. 2011-01-22 1.set /A 参数使用16进制数保存变量,set /a 十进制数保存变量。 2.修复goto的一个bug. 3.修复重定向操作符的bug. 2011-01-19 1.set命令不再接受回车换行符。 2.修复获取批处理参数bug. 3.修复fb文件系统bug(可能会导致访问文件出错)。 2011-01-14 1.set命令增强.添加了/l,/u参数 set /l a=Abcd 把Abcd转为小写./u是转换大写。 2011-01-13 1.修复utf8菜单编码自动检测的BUG。 2011-01-10 1.修复SET命令的bug,添加/p参数 2.修复启动linux时内存冲突的bug. 2011-01-09 1.菜单支持变量。 2.支持变量截取(和CMD的方法一样),不支持替换。 2011-01-08 1.重写grub_sprintf函数,支持简易的宽度和精度控制符(m.n或*.*)。 2011-01-07 1.SET命令添加一个参数/a可以把=后面的计算结果赋值给变量. 2.新的safe_parse_maxint函数支持一元运算符。"~!-" 2011-01-06 1.修改CAT命令的显示。现在的cat /filen.ext碰到字符结束符'\0'就停止。 2.批处理内部添加一个命令shift(只能在批处理中使用). 3.skip_to函数现在会可以跳过(‘\r’和‘\n’)。 4.set *将清除所有变量。 2011-01-05 1.修正run_line的一个逻辑错误。 2.外部命令command默认的目录改为(bd)/BOOT/GRUB/ 2011-01-03 1.pager命令即实生效。 2.添加简易的if判断命令类似的MSDOS.目前支持的判断如下: added a new command if. if [/I] [NOT] STRING1==STRING2 [COMMAND] 注:判断符号==前后不允许有空格或制表符否则比较会失败。 2.添加SET命令可以设置、修改、删除变量。 added a new command set to modify the variable. 3.从现在开始支持变量。用法和MS-DOS一样。 From now supports variable. 注:使用了和WENV同样的方案。所以这个功能可以看成是简化版的WENV 2011-01-02 1.pause命令添加一个参数--test-key,可以显示按键扫描码。 added --test-key option for pause to display the key scan code. 2.grub_sprintf函数支持字符串精度控制符。 2011-01-01 1.修复find命令的bug。当然使用条件查询时可能会出错。 2.批处理参数修改,为了方便使用,%9改成剩余的所有参数。 比如参数: 1 2 3 4 5 6 7 8 9 0 a b c 那%9就是9 0 a b c. 2010-12-31 1.pause命令增强,增加了显示按键扫描码的功能。需要debug 为-1. 例子:显示一个按键扫描码 debug -1 && pause && debug 1 注:此功能已为被参数--test-key代替。 2.hiddenmenu命令增强。增加一个--chkpass参数 功能: 在隐藏菜单的时候按Esc键要输入正确的密码才可以显示菜单。 注意: 1.该功能启用之后,如果按了其它按键则直接启动默认菜单。 默认的Esc按键可以自由设置。使用--chkpass=KEY 2.菜单初始化有password命令时才需要输入密码。 3.按键代码如果不清楚可以使用上面的功能来获取。 例子: hiddenmenu --chkpass=0x8500 按F11键才可以显示菜单。 hiddenmenu --chkpass 按Esc键才可以显示菜单。 hiddenmenu --chkpass=0x2200 按Alt+G显示菜单。 2010-12-28 1.一些BUG修复. 2.PAUSE命令增加倒计时显示. 3.fsys_fb.sys代码微调. 2010-12-25 1.现在delmod也是一个内部命令. 2.重写insmod/delmod相关的代码.把加载的模块固定在内存18MB开始的位置. 2010-12-21 1.从command_func中分离出insmod作为一个内部命令存在. 现在允许insmod加载一个命令合集.(扩展名.mod) 例子: insmod grub4dos.mod 这个命令合集使用MAKEMOD程序生成. 2010-12-18 1.代码调整. cat添加一个参数--number=N 在查找替换的时候指定查找次数. 2010-12-17 1.fixed a bug in checkrange_func. 2010-12-16 1.修正使用批处理运行时可能会出现ERROR 25的错误. 2.重写批处理运行函数. 2010-12-15 1.还原2010-12-10对0000:82A4的改变. 2.为了方便使用当使用fbinst启动时有如下调整 boot_drive (bd) 为FB_DRIVE(ud) 默认root(saved_drive) 为可见分区. 3.为了减小压缩包的大小,改成用7z压缩发布. 2010-12-14 1.完善对ud(fbinst创建的分区)支持.现在不需要从fbinst启动也可以随意访问fbinst创建的分区. 2.允许在批处理中执行的外部命令调用goto/call标签. 2010-12-12 1.批处理添加exit命令.直接退出批处理.如果后面有数值则设置为errnum. 如exit 1,退出,并返回一个错误的值. 2.一些代码优化调整. 3.修改pause命令,现在的pause直接返回按键的ascii码值. 2010-12-11 1.完善批处理脚本参数的支持(同CMD下的批处理用法一样). 2.可以在菜单中使用goto命令(即跳到某个菜单项目). 3.delmod 添加参数-l用于显示已经加载的模块.如果-l后面还有参数则是判断该模块是否加载. 2010-12-10 1.改变了以下内存地址的定义(和之前的版本相反) 0000:82A4 4 (DWORD) no_decompression (no auto gunzip) 改成了 0000:82A4 4 (DWORD) do_decompression (do auto gunzip) 2.0x8284的值的bit2如果为1则显示解压进度,否则不显示,默认不显示. 3.完善了goto/call的功能 2010-12-09 1.批处理脚本支持标签(类拟BAT批处理). support goto/call and :label in batch script. CALL :label arguments goto label 2010-12-07 1.添加两个命令用于加载外部命令到内存中,加快运行速度. insmod path-to-program delmod program 2010-12-06 1.批处理脚本支持参数%0 - %9同cmd批处理用法一样。%~n 可以去掉前后的引号 2010-11-24 1.修正一个skip_to函数的bug。 fixed a bug in skip_to func,thanks tuxw. 2010-11-21 1.解决在(ud)上使用自动补全功能问题. http://bbs.znpc.net/viewthread.php?tid=5976 2010-11-19 supported pxe_dir list. 1.添加PXE(pd)文件列表的支持.TFTP ROOT 上的每个目录下都需要有dir.txt才支持. 可以使用以下命令生成dir.txt文件 for /r %i in (.) do (dir /a/b %i >%i\dir.txt) 2010-11-18 1.Fixed a bug in batch file,thanks Mr.zhaohj. http://bbs.wuyou.com/viewthread.php?tid=180142&page=9#pid2087407 2.Add a new variable at 0000:8278 for grub4dos version by date. e.g. read 0x8278 return 0x132B7FE (20101118) 3.Fixed a bug in find_func,thanks Mr.pseudo. 2010-11-17 1.重写command_func函数大部份代码。 为了方便外命命令的编写,修改主函数调用为以下格式。 int main (char *arg, int flags) 新的版本可以直接使用arg和flags参数,不需要再进行计算了。 2010-11-16 1.改进malloc/free函数。 2.允许执行多个外部命令(之前只允许一个),现在可以在外部命令里面调用其它外部命令。 外部命令调用方法使用builtin_cmd函数:builtin_cmd(char *cmd,char *arg,chat *flags); builtin_cmd(NULL,Command and parameters,flags); 2010-11-15 1.内置echo命令自动回车符改为"\r\n" 2.添加malloc/free函数. 2010-11-04 1.重写run_line(执行一行命令函数)。 支持操作符连用。例:  echo a | echo b | echo c | echo echo abcd > (md)0x300+1 && echo def 2.支持新的操作符">>"和">"一样,但这个会附加(附加在输出文件中的第一个字符串结束符'\0'后面)  注:目前这个操作符不会改变文件大小。 2.内置ECHO函数添加两个参数(默认回车不转义) -n 不自动添加回车符      -e 允许转义符 2010-10-28 1.some bug fixed. 2.find支持查找使用cdrom --init生成的光驱(只找第一个) 2010-10-27 1.修改printf函数,支持显示"%",和C语言的语法一样,使用"%%"来显示一个"%" 2.重写find的查询代码. 3.find新增参数--devices=[DEVICES],指定要查找的设备. 说明:DEVICES可以是以下字符的组合: u,p,n,h,c,f -->分别对应 ud,pd,nd,hd,cd,fd, 例子:--devices=hcf //只查找hd,cd,fd,从hd开始. 注:优先current root.然后再按上面的顺序.(current root必须在列表中,否则跳过) 可以使用这个参数来重新设定查找顺序,默认(find order):ud->pd->nd->hd->cd->fd 4.保留--ignore-cd和--ignore-floppies参数(会自动转换). 2010-10-26 1.find支持(fdx,y)的格式. 2.优先查找当前root. 2010-10-03 1.使用操作符"|"时默认自动添加空格,并解决使用"|"时可能导致死机或重启的问题。 2010-09-30 1.修正操作符号!失效的问题。 2.恢复内置菜单的大写MENU.LST为小写(保持兼容性)。 3.内置echo命令。 用法: echo [-P:[-]XX[-]YY] MESSAGE XX: Line number. YY: Column number. XXYY指定后面MESSAGE要显示的位置。 XX指定行号,YY指定列号。前导“-”,即倒数. 2010-09-25 1.修正calc计算的一个逻辑错误。 2.使用fbinst启动默认root设为ud set boot_drive to fb_drive(ud) if boot from fbinst. 3.添加一个新的命令initscript,只能用于菜单中。 initscript用于初始化菜单,每次返回菜单时在显示完菜单后执行。 有时候会需要这样的功能,比如执行某个菜单失败后返回菜单时重新执行一次初始化。 initscript /initscript.g4d 2010-09-25 1.简易计算器调整.如果没有"="则不保存计算结果,但++和--除外. 例子: calc *0x60000 + 4 不保存计算结果,所以内存指向*0x60000的值不会被改变. calc *0x60000++ 会保存计算结果到*0x60000中. calc *0x60000 = 1+2 同上. 2.如果当前已经是图形模式允许graphicsmode直接切换,而不用经过terminal console中转. 2010-09-16 1.修正一个产生Error 27的错误。 2010-09-06 1.添加操作符号"|" ">",输出重定向(有点类似DOS) Implemented two syntactic operators "|" and ">".Like Dos Output redirection. note: 1.use with "&&" and "||" ,the "|" and ">" must be at last. 2."|" and ">" can not use at same time. 例子: 1. pause abcd | pause efg output: efgabcd 2. pause 0x60000 | read #There is a space after the read. run read 0x60000 3.help > (hd0,0)/help.txt or help > (md)0x3000+2 help.txt must already exist,grub4dos cann't create file or change file size. 2010-09-05 1.修改TAB的显示方式,现在使用8个字节对齐显示。 2010-08-10 1.fixed a bug in disk_io.c,it may return error 25 when set root to a cd drive. 修正一个BUG,当设置root为cd设备时可能会提示Error 25的错误. 2.加快colinux下源码在cofs设备时编译的速度. 2010-06-21 1.打上支持新版FB的补丁 来源:http://www.burgloader.com/bbs/index.php?topic=37.30 2010-05-02 1.PXE启动时首先尝试加载root目录下的menu.lst。 2010-04-17 1.命令行自动完成调整.现在可以直接输入/+TAB显示当前目录下的文件或(hd0,0)/+TAB显示(hd0,0)/下面的文件列表 以前的版本必需要像以下命令才可以。 root /+TAB 2.get_cmdline函数调整,以方便外部命令直接调用。 2010-03-29 1.外部命令执行过程调整。 例子:默认path (bd)/grub/ echo abcd ## 优先使用(bd)/grub/echo 文件,如果没有再找 /echo 文件 /echo abcd ## 只查找/echo 文件。 (fd0)/echo abcd ## 只找 (fd0)/echo abcd 文件。 2.find 命令添加一个 --ignore-oem 参数。 http://code.google.com/p/grub4dos-ireneuszp/ 2010-03-10 1.边框位置自动调整。 2010-03-09 1.注释掉karyonix 4G GZIP MAP的部份代码。 2.添加UNIFONT外部命令,可以加载UNIFONT字库。当菜单文件是UTF8格式时可以显示多国语言。 Support multi-language menu with UNIFONT. 2010-03-01 1.打上了karyonix的4G map 补丁 http://bbs.znpc.net/viewthread.php?tid=5844 http://www.boot-land.net/forums/index.php?s=&showtopic=10096&view=findpost&p=91378 2.添加fontfile外部命令. 3.添加menuset外部命令. 2010-02-09 1.重写cmp部份代码(注:比较时可能会比较慢,因为只使用了1MB的缓存,之前的版本是完全缓存). 顺便添加了新参数 --skip= 可以指定在比较时跳过几个字节,用于cmp --hex时方便查看差异. 2010-02-05 1.添加calc简单计算器功能. calc [*INTEGER=] [*]INTEGER OPERATOR [[*]INTEGER] 具体使用方法参考这里的外部命令calc的用法,是一样的,只是内置了. http://www.chenall.com/blog/2010/02/grub4dos_calc.html 2010-01-13 修改设置默认可执行文件搜索路径参数为 --set-path=PATH 例子 command --set-path=(bd)/grub/ 2010-01-09 1.为command参数添加一个参数--set-root用于设置默认可执行文件的搜索路径。 add option --set-root for command sets a search PATH for executable files,default is (bd)/grub 2009-12-03 g@chenall.cn 1.修改了cat --hex代码,现在cat --hex会显示ascii>127的字符。 2.修改了cmp --hex代码,现在cmp --hex后面显示的字符同样可以显示中文。 并且添加了颜色控制,不同的地方使用了菜单的高亮色显示。 2009-12-01 g@chenall.cn 1.同步源码到2009-12-01版(修正了NTFS上DD或WRITE的问题) 2.修改调整了cat --replace,当使用--replace=*addr时允许使用--hex来指定读取长度。具体 http://bbs.znpc.net/viewthread.php?tid=5784&page=10&fromuid=29#pid42939 2009-11-29 g@chenall.cn 1.调整了chainloader功能,如果chainloader (rd)+1,并且没有指定edx设备,那将把当前设备设为EDX。 Changed chainloader_func,if use chainloader (rd)+1 then will set current_root to EDX 从光盘上的BOOTMGR启动硬盘上的VISTA/WIN7系统。 Boot VISTA/WIN7 from cdrom or any other device chainloader (cd)/BOOTMGR rootnoverify (hd0,0) dd if=(hd0,0)+1 of=(md)0x3E+1 现在可以直接使用以下方法来启动; You can now use the following commands.. map --mem=0xF000 /BOOTMGR find --set-root --ignore-cd --ignore-floppies /BOOT/BCD chainloader (rd)+1 http://bbs.znpc.net/viewthread.php?tid=5784&page=7&fromuid=29#pid42684 Tips:about EDX,please read README_GRUB4DOS.txt 2.源码同步到官方2009-11-29版。 2009-11-28 g@chenall.cn 1.修正了当内存>2G时访问可能会出错的问题. fixed a bug when access memory>2G problems. eg. cat --hex (md)0x40002F+1 map --mem (md)0x600000+0x19020 2009-11-26 g@chenall.cn 1.修改cmp_func代码,使用之使用十六进制显示差异偏移(为了方便对比使用)。 change cmp_func to show Differ at the offset with HEX 2.为cmp添加了一个参数--hex(直接显示十六进制) add --hex option for cmp 2009-11-24 g@chenall.cn 1.添加(bd)设备,即启动设备,注:使用configfile命令会改变启动设备。 added (bd) support.(bd):the boot drive. note:use configfile to change boot drive eg. boot from (hd0,0) now boot drive is (hd0,0) configfile (hd0,1)/menu.lst now boot drive is (hd0,1)

立即下载
rar文件
Microsoft CDIMAGE v2.52

CDIMAGE 2.52 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2000. All rights reserved. For Microsoft internal use only. Usage: CDIMAGE [options] sourceroot targetfile -l volume label, no spaces (e.g. -lMYLABEL) -t time stamp for all files and directories, no spaces, any delimiter (e.g. -t12/31/2000,15:01:00) -g encode GMT time for files rather than local time -h include hidden files and directories -n allow long filenames (longer than DOS 8.3 names) -nt allow long filenames, restricted to NT 3.51 compatibility (-nt and -d cannot be used together) -d don't force lowercase filenames to uppercase -c use ANSI filenames versus OEM filenames from source -j1 encode Joliet Unicode filenames AND generate DOS-compatible 8.3 filenames in the ISO-9660 name space (can be read by either Joliet systems or conventional ISO-9660 systems, but some of the filenames in the ISO-9660 name space might be changed to comply with DOS 8.3 and/or ISO-9660 naming restrictions) -j2 encode Joliet Unicode filenames without standard ISO-9660 names (requires a Joliet operating system to read files from the CD) When using the -j1 or -j2 options, the -n, -nt, and -d options do not apply and cannot be used. -js non-Joliet "readme.txt" file for images encoded with -j2 option (e.g. -jsc:\location\readme.txt). This file will be visible as the only file in the root directory of the disc on systems that do not support the Joliet format (Windows 3.1, NT 3.x, etc). -u1 encode "UDF-Bridge" media -u2 encode "UDF" file system without a mirror ISO-9660 file system (requires a UDF capable operating system to read the files) -ur non-UDF "readme.txt" file for images encoded with -u2 option (e.g. -usc:\location\readme.txt). This file will be visible as the only file in the root directory of the disc on systems that do not support the UDF format. -us sparse UDF files -ue embed file data in UDF extent entry -uf embed UDF FID entries -uv UDF Video Zone compatibility enforced -b "El Torito" boot sector file, no spaces (e.g. -bc:\location\cdboot.bin) -p Platform ID for the "El Torito" boot catalog -e Do not set floppy emulation mode in El Torito boot catalog -s sign image file with digital signature (no spaces, provide RPC server and endpoint name like -sServerName:EndPointName) -x compute and encode "AutoCRC" values in image -o optimize storage by encoding duplicate files only once -oc slower duplicate file detection using binary comparisons rather than MD5 hash values -oi ignore diamond compression timestamps when comparing files -os show duplicate files while creating image (-o options can be combined like -ocis) -w warning level followed by number (e.g. -w4) 1 report non-ISO or non-Joliet compliant filenames or depth 2 report non-DOS compliant filenames 3 report zero-length files 4 report each file name copied to image -y test option followed by number (e.g. -y1), used to generate non-standard variations of ISO-9660 for testing purposes: 1 encode trailing version number ';1' on filenames (7.5.1) 2 round directory sizes to multiples of 2K (6.8.1.3) 5 write \i386 directory files first, in reverse sort order 6 allow directory records to be exactly aligned at ends of sectors (ISO-9660 6.8.1.1 conformant but breaks MSCDEX) 7 warn about generated shortnames for 16-bit apps under NT 4.0 b blocksize 512 bytes rather than 2048 bytes d suppress warning for non-identical files with same initial 64K l UDF - long ads used in file entries instead of short ads r UDF - number of ad's is random w open source files with write sharing t load segment in hex for El Torito boot image (e.g. -yt7C0) f use a faster way to generate short names -k (keep) create image even if fail to open some of the source files -m ignore maximum image size of 681,984,000 bytes -a allocation summary shows file and directory sizes -q scan source files only, don't create an image file NOTE: Many of these options allow you to create CD images that are NOT compliant with ISO-9660 and may also NOT be compatibile with one or more operating systems. If you want strict ISO and DOS compliance, use the -w2 warning level and correct any discrepencies reported. YOU are responsible for insuring that any generated CDs are compatible with all appropriate operating systems. Also note that Microsoft company information is placed in the image volume header, so don't use this program

立即下载
其他文档
myasm51,小型的51单片机汇编器源码

myasm51,小型的51单片机汇编器源码。 基于Linux环境下编写的小型的51单片机汇编器,源码开放,采用lex和yacc两个扫描和分析工具创建,代码小巧,易于研读和分析。对汇编源程序2遍扫描完成汇编,可以生成列表文件,Intel的Hex格式的文件及.bin格式的映像文件,后两种文件可以直接下载到单片机上运行。源码程序包内包含若干示例汇编源程序(.asm),proteus的格式的数字种的仿真文件,用以测试编译结果,另有编译后的dos下的可执行文件myasm51.exe,可以在windows的命令窗口下运行。另外提供一个简明的用户手册以供参考。以下为程序包的README: What is Myasm51 =============== Myasm51 is an open source mini-assembler for the Intel MCS-51 family of microcontrollers or the compatible ones, distributed under the GPL license. By scanning the source file in two pass, Myasm51 translates a symbolic code in text file (assembly language source) into a machine executable object file. During the first pass, the assembler builds a symbol table from the symbols and labels used in the source file. In the second pass, the assembler maps the source file into machine code and generates the listing file through what it receives in the first pass. Myasm51 is an absolute assembler and only generates absolute object files in the plain binary file (with .bin extension) or the Intel Hex file (with .Hex extension) which can be read by any ROM programmer to burn the object code into the ROM space of microcontrollers. How to make =========== We assume that the UNIX utilities yacc and lex have been installed in you system, and following these steps to build Myasm51 by the super user 'root' in the Linux or the UNIX cloned system. # tar zxf myasm51-gk-20151208_121306.tar.gz # cd myasm51 # make # cp myasm51 /usr/local/bin done. How to use ========== [root@rh9 myasm51]# cd examples [root@rh9 examples]# myasm51 Myasm51 Assembler. Ver 0.01 Release 1, (20151231_165818) Snallie@tom.com, Wed Sep 30 17:28:09 CST 2015 built: Dec 31 2015 - 17:04:44 Usage: myasm51 [-o] [-F<0|1>] [-C] [-d] in.asm where -ob to output binary file 'in.bin' -oh to output hex file 'in.hx' (default format) -oH to output Intel Hex file 'in.Hex' -F to fill free bit with 0 or 1, (default 0) -C to turn on/off symbol case sensitive, (default on) -d to turn on/off the parser debug mode, (default off) [root@rh9 examples]# myasm51 dclk7seg2.asm Myasm51 Assembler. Ver 0.01 Release 1, (20151231_165818) Snallie@tom.com, Wed Sep 30 17:28:09 CST 2015 built: Dec 31 2015 - 17:04:44 ;;;; Starting 1st Pass... ;;;; 1st Pass proceeded. ;;;; Starting 2nd Pass... ;;;; 2nd Pass proceeded. dclk7seg2.hx, 340(0x154) bytes assembled. [root@rh9 examples]# nl -ba dclk7seg2.hx |more ... 25 0000: | 25 .ORG 0 26 0000: 02 00 30 | 26 PowerON: LJMP Reset 27 | 27 28 0003: | 28 .ORG 0X0003 29 0003: 02 00 03 | 29 EXT_INT0_VECTOR: LJMP EXT_INT0_VECTOR 30 | 30 31 000B: | 31 .ORG 0X000B 32 000B: 02 00 7E | 32 TIMER_T0_VECTOR: LJMP TIMER_T0_INT 33 | 33 34 0013: | 34 .ORG 0X0013 ... [root@rh9 examples]# myasm51 -Cn pm51.asm Myasm51 Assembler. Ver 0.01 Release 1, (20151231_165818) Snallie@tom.com, Wed Sep 30 17:28:09 CST 2015 built: Dec 31 2015 - 17:04:44 ;;;; Starting 1st Pass... ;;;; 1st Pass proceeded. ;;;; Starting 2nd Pass... ;;;; 2nd Pass proceeded. pm51.hx, 7760(0x1e50) bytes assembled. [root@rh9 examples]# nl -ba pm51.hx |more 1 | 1 ; PAULMON 8051 Debugger by Paul Stoffregen 2 | 2 ; Please distribute freely -- may not be sold, period. 3 | 3 4 | 4 ; .command +h58 ;set page height to 58 in listing file... 5 | 5 6 | 6 .equ start,0000h ;address for start of EPROM (0000h) 7 | 7 .equ program,2000h ;address for program loading location 8 | 8 9 0000: | 9 .ORG start 10 0000: 02 0B 08 | 10 rst: lJMP poweron 11 | 11 12 0003: | 12 .org start+3 ;ext int #0 13 0003: 02 20 03 | 13 LJMP program+3 14 000B: | 14 .org start+11 ;timer #0 15 000B: 02 20 0B | 15 LJMP program+11 16 0013: | 16 .org start+13h ;external interrupt routine #1 17 0013: 30 8A 03 | 17 jnb tcon.2,intr0 18 0016: 02 20 13 | 18 ljmp program+13h ;don't do ssrun if edge trigger'd 19 0019: 01 45 | 19 intr0: ajmp step ;but do ssrun if level trigger'd 20 001B: | 20 .org start+1bh ;timer #1 21 001B: 02 20 1B | 21 ljmp program+1bh 22 0023: | 22 .org start+23h ;serial port 23 0023: 02 20 23 | 23 ljmp program+23h 24 002B: | 24 .org start+2bh ;timer #2 (8052 only) 25 002B: 02 20 2B | 25 ljmp program+2bh ... [root@rh9 examples]# myasm51 -oH -Cn pm51.asm Myasm51 Assembler. Ver 0.01 Release 1, (20151231_165818) Snallie@tom.com, Wed Sep 30 17:28:09 CST 2015 built: Dec 31 2015 - 17:04:44 ;;;; Starting 1st Pass... ;;;; 1st Pass proceeded. ;;;; Starting 2nd Pass... ;;;; 2nd Pass proceeded. pm51.Hex, 7760(0x1e50) bytes assembled. [root@rh9 examples]# nl -ba pm51.Hex |more 1 :03000000020B08E8 2 :03000300022003D5 3 :03000B0002200BC5 4 :03001300308A032D 5 :03001600022013B2 6 :0200190001459F 7 :03001B0002201BA5 8 :0300230002202395 9 :03002B0002202B85 10 :02003000A188A5 11 :02003200A180AB ... More about Myasm51 ================== For more information, see doc/myasm51_guide.pdf. Bug report ========== Please send email to Snallie@tom.com ========== Enjoy fun. Snallie@tom.com Thu Dec 31 17:43:48 CST 2015

立即下载
txt文件
16进制2进制互转

java写16进制2进制互转,请大家自己写主函数

立即下载
exe文件
HexFile Convert to Bin File, suit for Atmega, run on win7/10 32/64bit system

Hex2Bin 此工具专门用于单片机HEX文件转换成BIN文件使用,无需安装可以直接在win7/10, 32位或64位系统上面运行。

立即下载
热门资源标签
Global site tag (gtag.js) - Google Analytics