PD#SWPL-214570
Problem:
failure occurred when calling autopatch.sh in the kernel directory
Solution:
1. Before applying the patch, confirm that the directory is a Git repository
2. The kernel path and kernel version can be obtained through calculation,
so there is no need to add additional parameters
3. Optimize the maximum number of patches to improve performance
4. Optimize lunch patch
5. Optimize debug logs
6. Refactor into functions
Verify:
local
Change-Id: Ied02c8ed30816ac65bb53691aab92fd23d4146e7
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-213735
Problem:
Applying the common driver autopatch
will have a warning.
Solution:
Modify the directory path
Verify:
local
Change-Id: I08484476416ff09003493a30cf290657d49dd870
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
PD#SWPL-210631
Problem:
compatible with both kernel_module and ddk_module build
for GKI 2.0 project
Solution:
modify build script
Verify:
ross
Change-Id: Ib161532080fe948668b83c2b3dfc5038bd72e806
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-172042
Problem:
optimize autopatch run time
Solution:
autopatch Asynchronous loading based on directory.
Fetch git information only once, based on directory.
mod_probe function use array instead of file can save time
Verify:
local
Change-Id: I56c4d1a11320d7dc89c6ac89f565b21578a9f86b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-188894
Problem:
common_drivers dir is not normal position. move it out of common dir.
Solution:
move it out of common dir
Verify:
local
Change-Id: I949688e2e86d687ef205030a646975065860950a
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-154292
Problem:
support autopatch for linux
Solution:
support autopatch for linux
Verify:
local
Change-Id: Idaae5f82e6e07c89781ab53cf1a436cbdac36fe1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
This reverts commit ce650f90b8.
SWPL-138629: this function will be lost common code modify when
user not save commit to auto patch.So revert it.
Change-Id: Ia8164d8772bf986125c08aed18769b86d3211daf
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-138629
Problem:
reset commit to head before auto patch
Solution:
reset commit to head before auto patch
Verify:
local
Change-Id: I0b77bc9d4072c7af1de0249bb7e5e691d2912b6f
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-124735
Problem:
the execution time of the lunch is too long for patching all kernel patches
Solution:
patching the necessary patches to avoid android compilation failure
Verify:
ohm
Change-Id: I917ec47716336cb4c896bce4aeed3229e069c3dc
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-109858
Problem:
auto patch with mk_smarthome
ls: cannot access '*.patch': No such file or directory
Solution:
auto patch with mk_smarthome
using find instead of ls command
Verify:
sc2
Change-Id: I76a156cc1f556e9361e809f2d4de59b62d2260b6
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-114348
Problem:
group the common's patches
Solution:
1. the zstd in the current kernel is newer than the version we ported,
so delete 0073*.patch
2. group the common's patches
Verify:
sc2
Change-Id: I3f5e68e44fe3ca8911541a366945bfb4ab7f940c
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-109858
Problem:
change auto_patch directory from common to auto_patch
Solution:
change auto_patch directory from common to auto_patch
Verify:
sc2
Change-Id: I5539fcae1f8edfe4c145b5c4fdebc23e79f6cf62
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>