Commit Graph

16 Commits

Author SHA1 Message Date
qinglin.li 03637d6adf upgrade: common16-6.12 upgrade by July 23 [5/5]
PD#SWPL-223950

Problem:
autopatch default kernel_aarch64_tv

Solution:
autopatch default kernel_aarch64_tv

Verify:
local

Change-Id: I63a6914490cb060c4584e3e41dec5e5835c29a78
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-08-11 01:21:02 -07:00
qinglin.li 0191da66bc upgrade: common16-6.12 upgrade by July 23 [1/4]
PD#SWPL-223950

Problem:
update include/linux/upstream_version.h
fix conflict

Solution:
AML_KERNEL_VERSION      10
UPSTREAM_VERSION        "dd35623c836a"
AML_PATCH_VERSION       "dd35623c836a"
MERGE_DATE              "2025-07-25"

Verify:
local

Change-Id: Id6c57206aa49ec95667f25c936a69956bece6c4f
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-08-06 20:30:04 -07:00
yao zhang1 7ccedacd01 license: Fix amlogic license. [1/1]
PD#SWPL-217731

Problem:
Fix amlogic license.

Solution:
Fix amlogic license.

Verify:
all chip

Test:
license check pass

Change-Id: I05c47245ff58bf92abccaa7ca08a85524d73f924
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2025-06-23 21:15:59 -07:00
Wanwei Jiang eb4e1a61ee patch: auto patch fail [1/1]
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>
2025-05-25 22:48:28 -07:00
shufei.zhao 497ecf83d3 autopatch: Fixed the building error [1/1]
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>
2025-05-14 22:59:40 -07:00
Wanwei Jiang 678168198e build: compatible with both kernel_module and ddk_module build [1/1]
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>
2025-04-23 08:06:01 -07:00
qinglin.li 258094f93e scripts: optimize build time [1/1]
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>
2025-01-07 02:25:53 +00:00
Dezhen Wang 5c4980155c scripts: 6.12 mv common_drivers to up dir [1/1]
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>
2024-10-17 00:11:25 -07:00
Wanwei Jiang a0db25932d autopatch: support autopatch for linux [1/1]
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>
2024-01-21 19:28:46 -07:00
Qinglin Li efd37628b9 Revert "scripts: reset commit to head before auto patch [1/1]"
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>
2023-09-13 23:03:46 -07:00
qinglin.li ce650f90b8 scripts: reset commit to head before auto patch [1/1]
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>
2023-09-07 21:58:54 -07:00
Wanwei Jiang 8d1a00f53e patch: support auto lunch's patch [1/3]
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>
2023-05-31 20:54:14 -07:00
qinglin.li d2edad5ad2 upgrade: upgrade tool [1/1]
PD#SWPL-118733

Problem:
1. build.sh and build_abi.sh remove
2. Andorid.bp redefined

Solution:
revert remove patch
rename Andorid.bp to Andorid_bp

Verify:
loacl

Change-Id: I980c5d0e066ad057f12cb8ef6d27849992946abe
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-04-27 14:46:25 -07:00
Wanwei Jiang ebd7f802c5 module: auto patch with mk_smarthome [1/1]
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>
2023-04-04 04:20:50 -07:00
Wanwei Jiang b84fbe0d0d common: group the common's patches [1/1]
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>
2023-03-07 07:47:55 -08:00
Wanwei Jiang 19d6cc0c8c auto_patch: change directory [1/1]
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>
2023-03-02 22:25:24 -08:00