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: Ifcbf7883969161ff2872d3300ee9b756dc949917
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-188348
Problem:
ker6.12 souce code is old. And ramdump
is not working properly.
Solution:
1. sync ramdump.c from ker5.15.
2. enable CONFIG_AMLOGIC_RAMDUMP
3. modify TEXTOFFSET=0X0200800 for ker 32bit
Verify:
SC2_AH212
Change-Id: Id19ba0ef1302e9cf4cdf379d10c625519a8eef36
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-189685
Problem:
not change mk_smarthome32.sh
Solution:
change path in mk_smarthome32.sh
Verify:
local
Change-Id: I4ef61d4224e91fd2cf166b980b6aa112b927ae42
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
(cherry picked from commit 4e3efd7be9db7da1260a6b25b324e193e1043fea)
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-160380
Problem:
smarthome ko have debug info
Solution:
remove the debug info
Verify:
Detail info
Change-Id: I61b1cc53b6a3168263fce523e63185745443d437
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-150301
Problem:
Fdtoverlay cann't support remove unnecessary dts node.
Solution:
Add __removenode__ key work to support the function.
Verify:
local
Change-Id: Ia586fdd02b9be1d227ab527c3bbf363ab1ff4604
Signed-off-by: haotian.qu <haotian.qu@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-157145
Problem:
kernel6.6 need support bak spinlock
Solution:
1.Migrate the driver to ensure normal functions.
2.Add the mbox communication configuration address
Verify:
ba400 and av400
Change-Id: I35f29a83aacb6f8366aa226abd60d4dfea41f8b2
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-150034
Problem:
reduce the ko number.
Solution:
move aml_smmu ko to memory_debug directory.
Verify:
local.
Change-Id: If537a6a6493a9944319caa344ad8e3a73c294179
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-151768
Problem:
there are some problem in building dtb
Solution:
fix the function for building dtbs for smarthome
Verify:
local
Change-Id: I6a8b943504eeaa2174cb8a03bb3e729d222bf8bf
Signed-off-by: Dezhen Wang <dezhen.wang@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>
PD#SWPL-108141
Problem:
5. 15 no camera driver
Solution:
porting camera driver to kernel-5.15
Verify:
ok
Change-Id: I92789c946a8f2456f6bb68adc52ece77cd730f81
Signed-off-by: junwei.ma <junwei.ma@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>