PD#SWPL-141965
Problem:
realpath should not use commands on the server
Solution:
add environment variables
Verify:
s7
Change-Id: I18c5085052fe73272109acb5e22ab5f8abd7ae94
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
PD#SWPL-142167
Problem:
menuconfig and basicconfig have problem in build kernel 14-5.15
Solution:
fix the problem
Verify:
local
Change-Id: Ic920a5489a3895eebed78aacb12c38409124f61a
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
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-135285
Problem:
module number error when ramdisk modules is null
Solution:
fix module number error when ramdisk modules is null
Verify:
local
Change-Id: I6061367f4c0b7a387fd47f28c33cdb4e395cb854
Signed-off-by: qinglin.li <qinglin.li@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-134849
Problem:
Have compile problem
Solution:
delete chmod code in building bazel
Verify:
SC2/AH212
Change-Id: I48eb87999a71d90fb5ee106aa8fa8af90dcef28c
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-131945
Problem:
android R need build user
fix DEBUG_FS use error
Solution:
disabled DEBUG_FS config when build user
Verify:
local
Test:
zcat /proc/config.gz |grep CONFIG_DEBUG_FS
Change-Id: I274d7e29d3c20a9b6f03bc306f8c9fa185b963c5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-132031
Problem:
have not build android_overlay_dt.dtbo
Solution:
adjust the build targets
Verify:
planck_32bit
Change-Id: Iab2b2ffbcf4bee0e97fe2bb69fc92212d0a008f3
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-131837
Problem:
the specified external driver can be automatically loaded
Solution:
1. the specified external driver can be automatically loaded
2. modify the algorithm of modprob to improve build speed
3. when compiling in Fatload mode, all drivers are treated
as internal drivers for easy loading and verification;
when compiling in Android mode, external drivers that
are not in the autoload list are loaded by init scripts,
while other drivers are automatically loaded as internal drivers
4. module renaming only applies to modules loaded by scripts
Verify:
ohm planck
Change-Id: I13080c96585f39efe0b8f21083835c3af2a67d23
Signed-off-by: Wanwei Jiang <wanwei.jiang@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-131369
Problem:
have no function to detect the symbol in kernel 14 which will submit to
google
Solution:
add the symbol file in kernel14
Verify:
local
Change-Id: Ic6bb0cf71a820345430de807fce7051c1ef867ce
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-127870
Problem:
kernel14-5.15 has not build command --dtbs
Solution:
support the command
Verify:
local
Change-Id: I9657622f8ef1e0dba21c86b43fd3a4e7727b3657
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-127869
Problem:
kernel14-5.15 has not build command --menuconfig --basicconfig
--check_defconfig
Solution:
support the command
Verify:
local
Change-Id: I31568f33a076d96f04b3ab72ea093a265f0ffdbe
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-130369
Problem:
there is not a error when autopatch fail when autosh
Solution:
add a judgement in the script
Verify:
local
Change-Id: Ide9ee4509cc13adce866b978421a13914313d4e2
Signed-off-by: Dezhen Wang <dezhen.wang@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-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-127665
Problem:
the config in 32bit is unnecessary
Solution:
integrate the config in fragment for 32bit kernel
Verify:
local
Change-Id: I139a2753d1e5c0c018ffa6d6ef610e4f335e0d06
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-126432
Problem:
./mk ohm -v common14-5.15, build error without --bazel parameter
Solution:
the kernel will automatically decide whether to use bazel
and need to export it to mk
Verify:
ohm
Change-Id: I05889700529249479e15e9ad35a8767c986c6980
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-122842
Problem:
the modules in system_dlkm will increase or decrease,
so it needs to be changed to a whitelist mechanism
Solution:
change to a whitelist mechanism
Verify:
sc2
Change-Id: If5bfd9605269ef1e18454a74ebd957be2270a4f3
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-122842
Problem:
support gki modules white list
Solution:
support gki modules white list
Verify:
sc2
Change-Id: Iaea1035136a4000189d2aac4316e01884d8d2d0e
Signed-off-by: Wanwei Jiang <wanwei.jiang@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-111103
Problem:
Need to add the function of insmod ko by service itself when it is loaded
Solution:
copy the files from service_module to modules to support the function.
adding new function in amlogic_utils.sh script and add the interface in
Android code
Verify:
sc2
Change-Id: Ifd5220abe93eae44d274ac7ab1678acf7b476f60
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-113626
Problem:
1.recovery mode load all module
2.t7c usb not work in fastboot
Solution:
1.add control when RECOVERY_MODULES_LOAD_LIST is NULL
2.t7c usb need dwc_otg driver
Verify:
local
Change-Id: Ie3165280d3d89c600f4c4d591b3f6fb4565d5da1
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>