PD#SWPL-202841
Problem:
Compile failure if CONFIG_AMLOGIC_EFUSE_UNIFYKEY=m
but CONFIG_AMLOGIC_MTD_COMMON=y
Solution:
Adjust the dependencies between
UnifyKey and MMC/NAND
Verify:
t7c
Change-Id: I8ec5e47d473493e82f5c8d586d1d2dfebe6e9511
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
(cherry picked from commit 2878f3251c4e0eca7039ec2688dd92fd57a8f198)
PD#SWPL-190807
Problem:
different project modules use same configs file
Solution:
all modules be build and remove it by project file
if module need to be select, should be name by amlogic-soc-*
Verify:
ross
Change-Id: Ic1408b47d1c18a9c2d3ca60526fd837e2a1b2246
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-182182
PD#SWPL-190334
Problem:
TEXTOFFSET was changed from 0x00208000 to 0x02008000, causing some
devices to fail to start.
1. t5d Android U upgrade project, ko becomes build, uImage size
increases to 36MB. It is too big to relocate.
2. There is only 48MB in 0x020080000~0x5000000 area, and cannot
open kasan.
Solution:
1. use new config CONFIG_AMLOGIC_RAMDUMP_TEXTOFFSET instead of
CONFIG_AMLOGIC_RAMDUMP. And TEXTOFFSET is 0x00208000 default.
2. Use a new solution instead of modifying TEXT. Specifically,
during kernel panic, move 0-24MB to a higher address. Reboot to
uboot and then copy back.
Verify:
T5D
Change-Id: I1c9c086b89129893e5542676b54228e03b4e34c2
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-182182
Problem:
The .text addr of Kernel 32bit is 0. When enabling the
ramdump, it needs to be offset to 24MB+.
Solution:
1. modify textofs-y := 0x02008000, LOADADDR=0x02008000
2. enable for .ko link error: CONFIG_ARM_MODULE_PLTS
3. disable AUTO_ZRELADDR (less than 128MB, not necessary)
4. enable for crash debug: CONFIG_AMLOGIC_RAMDUMP, CONFIG_KALLSYMS,
CONFIG_KALLSYMS_ALL, CONFIG_DEBUG_INFO, CONFIG_FRAME_POINTER,
CONFIG_DEBUG_KERNEL
5. add trace_android_vh_ipi_stop() for ker 32bit IPI_STOP.
Verify:
sc2, T5D, T5W, TXHD2, S4D
Change-Id: I22fff913a9550c029baef93933fea240bf58bbc0
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-187694
Problem:
Wrong name of gcc64_deconfig
Solution:
Rename from amlogic_gcc64_deconfig to amlogic_gcc64_defconfig
Verify:
compile pass with mk_gx64.sh
Change-Id: Iaaf8cac59ae9e3bf275a41506956e1661f480335
Signed-off-by: tuan zhang <tuan.zhang@amlogic.com>
PD#SWPL-181954
Problem:
uImage not decompressed by AMFC
Solution:
1, change zstd tools to append size at end of uImage;
2, change scripts to support uImage decomperss by AMFC
Verify:
t6d
Change-Id: I2f2465a2247085c150a1c7f42ede688011745071
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-177584
Problem:
mmc ko need to read temperature to init
Solution:
load thermal ko before mmc ko
Verify:
sc2
Change-Id: Ic61ea462045435985d76bfc6050b310f1f3e97f2
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-158464
Problem:
support closed source modules build to Independent folder and copy
to android output folder
Solution:
add closed source modules list to blacklist
Verify:
local
Change-Id: Ie6bed0f23802ef3b812218251a6641dc150027f6
Signed-off-by: honghai.song <honghai.song@amlogic.com>
PD#SWPL-172979
Problem:
need support pcie on s6
Solution:
s6 pcie silicon bringup
Verify:
s6_s905x5_bl208
Change-Id: Id806003e2c49b3af7406de2f79cd565729069cd3
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
PD#SWPL-173093
Problem:
build in erofs do not support amfc hardware
Solution:
add aml erofs ko to support it
Verify:
s7d bm201
Change-Id: I89ef060fabaca2f4d7cbaf26b552ba147c73f539
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-170472
Problem:
scmi macro configuration is improper. For 64-bit only
need to configure CONFIG_COMMON_CLK_SCMI and for 32-bit
need to configure CONFIG_ARM_SCMI_PROTOCOL=y to
a32_base_defconfig
Solution:
fix it
Verify:
s7
Change-Id: I2cd9750fc59a85b1fba1b561569400c812e2cd3d
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-163329
Problem:
building will fail because last build remain the staging dir
Solution:
remove staging dir in last build
Verify:
local
Change-Id: I5ca2751b70240afac2faff3fea1420f3fda3ad98
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-158464
Problem:
support closed source modules build to Independent folder and copy
to android output folder
Solution:
add closed source modules list to blacklist
Verify:
local
Change-Id: Ibd9be1c7e8e7eb1b043fd10e96436cb1d96f78a1
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-161849
Problem:
no i2c in recovery mode
Solution:
add ko to load in recovery mode
Verify:
T7c an400
Change-Id: I14ab19508a45da0d0538c9ed95b75d266ce98046
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-161245
Problem:
building command SKIP_RM_OUTDIR=1 will fail because last build remain
the staging dir
Solution:
remove staging dir in last build
Verify:
local
Change-Id: I057b5d33def309197b43627ff88976a86580ce4a
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-157200
Problem:
Check whether the dts and dtsi
modifications of the same board are complete
Solution:
add the check rule
Verify:
auto-sh
Change-Id: I54af1b845f6c68444298d0c2bcf1fe2974c8bb9f
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
PD#SWPL-154394
Problem:
userfault load too late to print info.
Solution:
userfault early loading.
Verify:
local.
Change-Id: Icc654e4810be34e9ead575515a68a8491ace46a8
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-143634
Problem:
tm2 dmc bring up
cpu info modules need to load earlier due to get cpu version
Solution:
tm2 dmc bring up
cpu info modules load earlier
Verify:
local
Change-Id: I0ce73c49a9c0aefb1d3beac3151eac20eec2b166
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-131721
Problem:
remove ko from modules load list
Solution:
remove ko from modules load list
Verify:
t3
Change-Id: Ib925b3c7b13c1d7e64de9946b0142b7a1f42e429
Signed-off-by: donghui.wang <donghui.wang@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-131721
Problem:
miss ldim panel type
Solution:
add panel type for ldim
Verify:
t3
Change-Id: I1efb09c2e080297529aea351a474f36286d367bb
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
PD#SWPL-134706
Problem:
usbnet can not use
Solution:
android defconfig change CONFIG_USBNET to m
and ko need to add list
Verify:
an400
Change-Id: I4e2e03b93b6a6f4ef750d31249da38ec7502f90e
Signed-off-by: qi duan <qi.duan@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-132039
Problem:
vts test planck have not kernel version
Solution:
export the branch information
Verify:
planck_32bit
Change-Id: I6375f9642618c808ab8ea856bf184264f03afaec
Signed-off-by: Dezhen Wang <dezhen.wang@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-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-124098
Problem:
kernel upgrade by May
Solution:
kernel upgrade by May
Verify:
local
Change-Id: I19aa4e7ca1d6e43703f1752e3e46f8bdcaf8c08b
Signed-off-by: qinglin.li <qinglin.li@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-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-112358
Problem:
ad403 is missing pmic6b driver in kernel5.15.
Solution:
base Yu Tu 76117 and 78726;
base Jian yi 189702 and 192916,216774;
and yao jie 216898;
Verify:
A113L-AD401 #1 +Battery.
all driver use ko;
Change-Id: I911ca92dbe6f8c0f623e32fd14bdcf23a6318861
Signed-off-by: chengbing wu <chengbing.wu@amlogic.com>
PD#SWPL-115979
Problem:
pcie module name not match
Solution:
modified to init name
Verify:
t7
Change-Id: I873fbc2215de21ed5d64f2ba26ae82e7ec26ff46
Signed-off-by: Yu Tu <yu.tu@amlogic.com>