Albert Tang
620d3be334
dre: Initial device tree conversion and decommonization
...
Added properties taken from lemonade and modified for dre.
Change-Id: Ibac1a345547184d7dc6e231ce9b867c457d6b576
2022-06-01 22:09:03 -05:00
Smita Ghosh
efd421db40
sm8350-common: gpt-utils: Add OTA support for below partition
...
1. shrm
2. cpucp
Change-Id: I14e8c4b3399f403fbec857bcbb073f54ced24339
2021-06-01 23:23:38 +01:00
David Ng
e0dcecf95c
sm8350-common: gpt-utils: Add vm-bootsys OTA handling
...
Add vm-bootsys to list of partitions needed for A/B update handling.
Change-Id: Ifa1e94df5dd19b1c09088c4b1c435a2aaa84cc62
2021-06-01 23:23:38 +01:00
LuK1337
57fdd7ddaa
sm8350-common: gpt-utils: Fix build errors
...
Change-Id: Ie8245d1637e12b5979a8af1b864cc713135b5c95
2021-06-01 23:23:38 +01:00
Nirmal Kumar
36a609b71f
sm8350-common: gpt-utils: Add UFS BSG IOCTL for slot switch
...
- Use Opensource UFS BSG framework by replacing existing UFS IOCTL implementation.
Change-Id: Idc5ef9658dc93f2d7b351361b59f87cb21c7f7d9
2021-06-01 23:23:38 +01:00
Will McVicker
f6f7e210d6
sm8350-common: Add support for vendor_boot
...
This enables boot header v3 which creates a vendor_boot images that
holds the vendor kernel modules.
Signed-off-by: Will McVicker <willmcvicker@google.com>
Fixes: 151949371
Test: boot, verify vendor_boot ramdisk is loaded, check lsmod
Change-Id: Ia1b7df306d3a9f0e2f1f3ec8e7c2547da0b07596
2021-06-01 11:29:04 +02:00
Bruno Martins
410e7ff323
sm8350-common: Initial common device tree conversion
...
Change-Id: I0d7188b3fa82dddf3f9fb9523d716a8f15f46184
2021-06-01 11:12:31 +02:00
LuK1337
44b14163e8
sm8250-common: gpt-utils: Drop unnecessary include
...
* When using generated_kernel_headers including
stdio.h will cause errors due to redefined macros.
Change-Id: I2f753a64f760b636be1325873e17697466fbf33d
2020-11-20 14:27:15 +01:00
LuK1337
98a0defd38
sdm845-common -> sm8250-common
2020-06-27 00:17:12 +02:00
LuK1337
91a40a6288
sdm845-common: Sync gpt-utils with LA.UM.8.3.r1-07600-sdm845.0
...
Change-Id: Ie64fd5b0b270ec674e8d4d10c0ea6518abfa27b5
2020-04-06 14:11:44 +02:00
LuK1337
8937c5d867
sdm845-common: gpt-utils: Drop unnecessary include
...
* When using generated_kernel_headers including
asm/byteorder.h will cause a warning due to
unused static functions.
Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
2019-09-10 04:20:20 +02:00
LuK1337
8972d3c504
sdm845-common: gpt-utils: Use generated_kernel_headers
...
Change-Id: Id56f1c0603ff13b5d64eb4db33807ac13dcdd619
2019-09-10 04:20:20 +02:00
Logan Chien
edf9d564c1
sdm845-common: gpt-utils: Replace libsparse.so with libz.so
...
This commit replaces sparse_crc32() with crc32() from libz.so because
libsparse.so won't be vendor available.
Bug: 38303202
Test: android builds
Change-Id: Ib318da74b5d55f729cbd40d9a62da53e6316fe7b
2019-09-10 04:20:20 +02:00
Tao Bao
3d44710fb6
sdm845-common: gpt-utils: Address the warnings
...
[ 11% 2/18] target C++: libgptutils <= device/google/crosshatch/gpt-utils/gpt-utils.cpp
In file included from device/google/crosshatch/gpt-utils/gpt-utils.cpp:54:
system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:750:17: warning: unused variable 'ufs_dir_stat' [-Wunused-variable]
struct stat ufs_dir_stat;
^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:13: warning: unused variable 'r' [-Wunused-variable]
int r, fd;
^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:16: warning: unused variable 'fd' [-Wunused-variable]
int r, fd;
^
4 warnings generated.
Test: lunch blueline-userdebug && m -j libgptutils
Change-Id: Idd9174276d8a5b7b77c2ec48c745a78184f65fcf
2019-09-10 04:20:20 +02:00
Hridya Valsaraju
d83ed40ebd
sdm845-common: Build libgptutils with Android.bp
...
This is required to build bootctrl.sdm845 with Android.bp.
Bug: 78793464
Test: make
Change-Id: Iff4f50ad363cc003d60a5380addd79749b547514
2019-09-10 04:20:20 +02:00
Luca Stefani
3b332363e4
sdm845-common: Import bootctrl and gpt-utils
...
* From CAF LA.UM.6.3.r4-04300-sdm845.0, modified to build with VNDK current
Change-Id: I0ad3c54134a95626521048331b9be9eee04b508d
2018-07-13 12:01:45 +02:00