PD#SWPL-134106
Problem:
add modules out add and remove function
Solution:
add modules out add and remove function
Verify:
local
Change-Id: I836b63a2074b9bc480627da690d9c4240104e729
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-134884
Problem:
the script is not clear
Solution:
separate the code for building android 32bit from 64bit.
Verify:
local
Change-Id: I116fd122061abf059f0134c94c09198f822b5c0a
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-134106
Problem:
remove modules out list
Solution:
remove modules out list
Verify:
local
Change-Id: I6d4d13b6779d73133367735aee08814d5dbfb1a6
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-127872
Problem:
support some build command --upgrade
Solution:
support some build command --upgrade
Verify:
5.15
Change-Id: Ic5f90990d14b40bc1408c88d12f15b86622261c0
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-130219
Problem:
support --use_prebuilt_gki
Solution:
support --use_prebuilt_gki
Verify:
local
Change-Id: I32515737f5663b798f23ee2c69ce4b766ee1c5e6
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-126348
Problem:
build.sh file will remove in the future kernel version. we can not use
it to build with 32bit
Solution:
support build 32bit android kernel with clang of gcc
Verify:
local
Change-Id: I0774fc57aaac2555b8ddc99c74997204ba6763a9
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-128563
Problem:
use tools/bazel to build
Solution:
support google kernel build
Verify:
adt4
Change-Id: I9be912bf1eb54503ca5ba4819e4504415cd2c56a
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-124723
Problem:
auto patch function cannot excute in up directory
Solution:
support auto patch function in android directory
Verify:
local
Change-Id: I6bb53b5f53dc6604dbf07c9e819b68cc8a3b071d
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-124723
Problem:
build script mk.sh is too redundant
Solution:
optimize the structure for mk.sh and extract some command to functions in
amlogic_utils.sh
Verify:
local
Change-Id: If5c5ecfc651013169922d65128ffec88347d3ad2
Signed-off-by: Dezhen Wang <dezhen.wang@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-124507
Problem:
android s with kernel 5.15 have not config.
Solution:
add new config for android s with kernel 5.15
Verify:
local
Change-Id: I191ecd9724d4fc9f983d31728685ed7112cf5482
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-123803
Problem:
optimize and add some function
Solution:
1. support update symbol list
2. support abi check
3. remove db845c information
4. optimize modules_out
5. rename symbol list file name
Verify:
sc2
Change-Id: Ia816fa87ebb6047c5bf3722c613c5545d4367a9d
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-121365
Problem:
build parameters is too much
Solution:
detect the kernel version automatically in build.config.constants
Verify:
local
Change-Id: Ia29f10ead028f858809bb250511fe6d601a2ee59
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-123455
Problem:
customer wants to add a new config used by themself
Solution:
add a option to add new config for android project
Verify:
local
Change-Id: I2dbf851c4324e3e43e51f87a40132362ac5c3fda
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-122095
Problem:
unable to use bazel build in the new kernel
Solution:
support for bazel build in the new kernel
Verify:
local
Change-Id: I6ee258cc46c839e000c6cc35769fa8104b14436c
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-119384
Problem:
original content is too redundant
Solution:
put some function from mk.sh to amlogic_utils.sh
Verify:
local
Change-Id: I4e464d22dce5afef4f927e1bcdd7d6313fb17b4f
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-112151
Problem:
support use bazel tool to build
Solution:
1. support use bazel tool to build for gki2.0 and gki1.0
2. amlogic.bzl(build parameter), amlogic_utils.bzl(build function)
3. change define_db845c to define_common_amlogic
4. support build external modules
5. support build dtbo
6. use project config
7. rename external(out tree) modules name
Verify:
sc2
Change-Id: If644ea18c21624fd9ad8695b5a866ce593a11b7f
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-118657
Problem:
there are some abi symbols in common driver which should be submitted
to google
Solution:
add the function to detect the abi symbol list
Verify:
local
Change-Id: I6bd85d146e1961d3c654b2ee6d6cb6a0e13a7a97
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-116256
Problem:
support gki build for common14 with build.sh
Solution:
1. gki1.0 build, once build out the boot.img, system_dlkm.img,
and modules which in the vendor_boot.img and vendor_dlkm.img.
2. gki2.0 build, once build out the boot.img and system_dlkm.img
with build.config.gki.aarch64, second build out modules which
in the vendor_boot.img and vendor_dlkm.img
3. use SYSTEM_DLKM_PROPS to add selinux label for system_dlkm.img
4. add android/abi_gki_aarch64_amlogic.external include gki symbol
which used to vendor modules, kernel/Makefile add when once build
Verify:
local
Change-Id: Ib6774641f54a1dbf17083ce441604292f0652487
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-13204
Problem:
customer wants to add a new config used by themself
Solution:
add a option to add new config
Verify:
local
Change-Id: I3f7f0e2c8d781a9865bef16aca709db5d3372d6e
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-96062
Problem:
./mk.sh --check_defconfig fail
Solution:
references check_defconfig function in _setup_env.sh to implement this function
Verify:
arm and arm64
Change-Id: I2422c25d46faf896b0e157f2fa58de10cefc4b7a
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>
PD#SWPL-109858
Problem:
support auto patch
Solution:
modify scripts to support auto patch
Verify:
sc2
Change-Id: Ibb247019844dcbdcd3311af6e640ff637061c8c2
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-109858
Problem:
support auto patch
Solution:
modify scripts to support auto patch
Verify:
sc2
Change-Id: If99091e1a24bb36f58415b228d8b302087c21d09
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-110696
Problem:
there is no manual insmod ko function in mk_smarthome_common.sh and mk.sh
Solution:
adding new manual insmod ko function in amlogic_utils.sh
mk_smarthome_common.sh and mk.sh
Verify:
s4d_s805c3_t215_512m S905X4-AH212
Change-Id: I3c555c50a072036f70a8309976bd91e4b6dff045
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-96062
Problem:
need to compile config first and then dtb, otherwise build fail
Solution:
compile config first and then dtb
Verify:
sc2
Change-Id: Ib45a567bf77e245247b903625bb4550a739af5a7
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-96062
Problem:
1. module function call analysis failed
2. compilation is too slow
3. can't use --savedefconfig
4. can't use --module
5. can't use --Image
6. can't use --dtbs
Solution:
1. add directory to fix the issue of module function call analysis failed
2. add --fast_build to improve compilation speed
3. modify --savedefconfig to --menuconfig and --basicconfig
4. support --module --Image --dtbs
Verify:
sc2
Change-Id: I9af0d23c3220c4c533a2383c0ecf8c3389f2b1e5
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-96062
Problem:
./mk.sh --arch arm
clang-14: error: the clang compiler does not support '-march=armv7-a'
Solution:
clear CROSS_COMPILE
Verify:
build
Change-Id: I91ab44253f72258598fb182d6d7111eb2680041b
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-90403
Problem:
bring up sc2 for aarch32
Solution:
bring up sc2 for aarch32
Verify:
on SC2
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
Change-Id: I1ff3e3854357c9ed56b4b2e8f4dfb9c67cc09500