-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathREADME
36 lines (26 loc) · 1015 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
0.about my project
---------------------------------------------------------------
unpack-mkbootimg from the CM 7.0 (http://www.cyanogenmod.com/), I extract it and libmincrpty from /system/core/mkbootimg, and rewrite the Makefile, as a simplified open source project.
Developers run make under linux (need to install gcc, make) or windows(neet to install minGW), after the success of the executable file mkbootimg / unpackbootimg.
1.unpackbootimg
---------------------------------------------------------------
1.1 usage:
-i|--input boot.img
[ -o|--output output_directory]
[ -p|--pagesize ]
1.2 example:
./unpackbootimg -i boot.img -o boot
2.mkbootimg
---------------------------------------------------------------
2.1 usage
--kernel
--ramdisk
[ --second ]
[ --cmdline ]
[ --board ]
[ --base]
[ --pagesize ]
[ --ramdiskaddr]
-o|--output
2.2 exapmle
./mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel zImage --ramdisk boot/boot.img-ramdisk.gz -o boot.img --base 02e00000