Commit Graph

30 Commits (31be98dc60eceb8115375042e40e0f5decdc37ec)

Author SHA1 Message Date
cfig b108110dbd
first version compatible with Windows 10 5 years ago
cfig 4e9d60db1a
cpio: replace mkbootfs with java CPIO
reimplement android mkbootfs with pure java, features include:

unpack:
 - using commons.compress
 - save cpio entry info on unpacking, and reload it on packing, this is
   called 'exact-matching'

pack: using new code with the help of commons.compress
 - for newly added ramdisk file, its file mode falls back to
   'pattern-matching'
 - for newly added ramdisk file that doesn't match any pattern, it will
   use default file mode, 'default'

integration test:
 - enable strict cpio checking
5 years ago
cfig 454c5e6ae8
update test case for issue 47 5 years ago
cfig 30a5a0cbad
unify helpers and remove codacy 5 years ago
cfig bff3b6fa97
fix integrationTest
do not check lz4-ed files
remove cpio dependency
5 years ago
cfig ddd1ad5ef2
mass update
dependent modules:
 aosp update
 kotlin: 1.4.0 -> 1.4.10
 unify helpers between projects
 commons.compress 1.20
bbootimage:
 fix page size error in vendor_boot
 supress compile warnings
lz4:
 change lz4 compress parameter if lz4 is not up-to-date
 use external lz4 to decompress kernel for Ubuntu <=18.04
cpio:
 use java cpio to decompress ramdisk
 add skipcpio to read contatenate cpio
5 years ago
cfig bb5c217e4e
travis: multi platform tests 5 years ago
cfig 716e8363ff
initial GKI images support
- boot.img header v3
 - vendor_boot.img
6 years ago
cfig b21e856754
eliminate meaningless non-zero values of ramdisk_offset
- Fix: issue #38
 - sync change of
https://android-review.googlesource.com/c/platform/system/tools/mkbootimg/+/1087679
 - also change integrationTest
6 years ago
cfig ff7021e2db
test: add more tests for android 10 coral 6 years ago
cfig bf7defd434
bundle {boot.img, vbmeta.img} 6 years ago
cfig f680adcc05
update integrationTest and gradle 'check' 6 years ago
cfig 79b84baf68
mass update
builder:
  kotlin 1.3.41
bootloader_message:
  reboot rescue
  reboot fastboot
mkbootimg
  update mkbootimg from AOSP master
  modify our header packer accordingly
avbtool:
  update from commit 9d3646515bf0b5f09d8bdbe0b844c7eefa0c0802
  Tue May 14 15:30:37 2019 -0400
remote java
7 years ago
cfig f03315b08a add dtbo.img parser
also refactor some code structure
7 years ago
cfig 3dd9f1e685
update integrationTest for android Q preview 7 years ago
cfig fe14b49178
add submodule for integrationTest resources 7 years ago
cfig fac31f1526
mass update
update avbtool from upstream
update kotlin to 1.3.20
support boot image header v2
add integration test
7 years ago
cfig 5d97d46c62
massive update for upcoming Android Pi
- update mkbootimg: AOSP commit 147b355bb34cbd457a260c585be93193cef43b8e
 - migrate all code from groovy to kotlin
 - support DTBO and header_version, resolve #12
 - upate README.expert.md too
 - support AVB
8 years ago
cfig 29041710ec
update base code to android-8.1.0_r2
update bouncycastle to android-8.1.0_r2
update mkbootfs to android-8.1.0_r2
boot_signer is not updated in AOSP upstream
move mkbootfs to sub-project
8 years ago
cfig 86eeb8d6cb
squashed update
1.enable shell in debug mode
 2.upgrade gradle to 4.4
8 years ago
Yu Yezhong 24499bb9a5 add macro CFIG_NO_FIX_STAT to disable fix_stat() for mkbootfs
just in case some geeks do not want the "fix stat" behavior
of Android cpio, a.k.a mkbootfs.

Test:
original attributes:
drw------- 2 yu yu 4.0K 2017-04-11 16:43 T1
drwxrwxrwx 2 yu yu 4.0K 2017-04-11 16:43 T2

generated boot image w/ fix_stat():
drwxr-xr-x   2 root   root        0 1969-12-31 18:00 T1
drwxr-xr-x   2 root   root        0 1969-12-31 18:00 T2

define CFIG_NO_FIX_STAT and disable fix_stat():
drw-------   2 root   root        0 1969-12-31 18:00 T1
drwxrwxrwx   2 root   root        0 1969-12-31 18:00 T2
9 years ago
cfig 7d23e6bdaf sync with android-7.1.1_r6 (#8)
* bouncycastle: sync with android-7.1.1_r6

* mkbootfs: sync with android-7.1.1_r6

* unpack: use hex value for bootimg json
9 years ago
cfig 77ba5d7aad remove wrong selabel 9 years ago
cfig 07ad14b74a add init.debug.rc for more debug features 9 years ago
cfig 460c5b05eb mass update for next generation boot.img
remove original abootimg by Gilles Grandou <gilles@grandou.net>
create groovy abootimg and mkbootimg
previous bootimg.cfg moved to bootimg.json
update doc: README.expert.md
10 years ago
cfig 56dacf31bd update to android master on May.30.2016, not tested 10 years ago
cfig d7ce4d65aa clean up and refine README 10 years ago
cfig ea493a7d6d add self test in travis-ci 10 years ago
cfig 494191bb37 bring up "gradle pack" and "gradle unpack"
add boot_signer, mkbootimg and dependencies
10 years ago
cfig 3fb9a9398a initial commit 10 years ago