Commit Graph

114 Commits

Author SHA1 Message Date
Long d6b97e58a7 eMMC: support CQE. [1/2]
PD#SWPL-119703

Problem:
support CQE

Solution:
support CQE

Verify:
T5m

Change-Id: Iaf97dac88e1cafbd8b897506dd044e3a3518a593
Signed-off-by: Long <long.yu@amlogic.com>
2023-05-15 02:04:25 -07:00
Wanwei Jiang f96e74d6df symbol: common13-5.15 build fail [1/1]
PD#SWPL-122095

Problem:
common13-5.15 build fail

Solution:
common14-5.15's symbolist add to android/abi_gki_aarch64_amlogic.external

Verify:
sc2

Change-Id: Ia268b63f03f26601144cacc5f08e35bc8134c3c7
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-05-10 14:19:02 +08:00
Wanwei Jiang 0df84603dc bazel: support for bazel build in the new kernel [1/1]
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>
2023-05-09 09:30:04 -07:00
song.han 29925ebc8a debug: iotrace driver follow gki 2.0 [2/2]
PD#SWPL-109963

Problem:
iotrace driver need follow gki 2.0

Solution:
iotrace driver build to ko

Verify:
sc2_ah212

Change-Id: I472bc63b6594c58d7c94f74e1bf1a070978b20fd
Signed-off-by: song.han <song.han@amlogic.com>
2023-04-20 06:15:21 -07:00
bo.li f25f7755eb wifi: add cfg80211 symbol [1/1]
PD#SWPL-119078

Problem:
lost cfg80211 symbol

Solution:
add cfg80211 symbol:
cfg80211_ch_switch_started_notify

Verify:
adt4+rtl8852bs

Change-Id: I0d4440603b32c92e6d775cd8f8bf8abcf0f19b16
Signed-off-by: bo.li <bo.li@amlogic.com>
2023-04-16 21:24:38 -07:00
Yu Tu 908927c13e pcie: add pcie driver for s5 [1/1]
PD#SWPL-108762

Problem:
need bringup s5 pcie

Solution:
add s5 pcie driver

Verify:
s5_208

Change-Id: Ifc3430a5b01486faab24ef4222fb74ccaa3fd0ec
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-04-15 08:59:03 +08:00
Dezhen Wang d40fa552df script: add function detect the symbol_list to submit [1/1]
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>
2023-04-13 02:17:45 -07:00
Wanwei Jiang c65e4d3440 build: support gki build for common14 with build.sh [1/2]
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>
2023-04-12 20:19:35 -07:00
junwei.ma 0b792bd80a ISP: SM1 Camera kernel deconfig modify for Google [1/1]
PD#SWPL-117945

Problem:
SM1 Camera deconfig

Solution:
modify for Google

Verify:
ok

Change-Id: Ie1c05d2131a36c2528de1c75eb258b1a6b154fab
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
2023-04-04 19:48:18 +08:00
chen.xu ae30d68ad3 bringup: Add dts and dtsi for g12b. [1/1]
PD#SWPL-108104

Problem:
Bringup g12b.

Solution:
Add dts and dtsi for g12b.

Verify:
g12b

Change-Id: Ia8aee2391c18e5a33da3c53a4f477045370788e4
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-04-04 19:37:02 +08:00
Dezhen Wang 8e11c0b03c Typo check: fix the wrong word [1/1]
PD#SWPL-103976

Problem:
cl check has false positives word

Solution:
fix the wrong word and concerning file

Verify:
local

Change-Id: Ic5dd8ce5c3c7b4862e0c32e20a551c772a8e58a7
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2022-12-15 01:01:31 -08:00
xiaoxin.cao c449ffa1b8 isp: remove api for kmi rule [1/1]
PD#SWPL-104212

Problem:
amera module break KMI rule

Solution:
update API

Verify:
local

Change-Id: I34ba5cca6b7b9e4b5f638dfed7d1e80e2561d5f9
Signed-off-by: xiaoxin.cao <xiaoxin.cao@amlogic.com>
2022-12-05 19:59:17 +08:00
yao.zhou e41bea5297 isp: init isp driver [1/1]
PD#SWPL-94100

Problem:
1. CONFIG_AMLOGIC_MEDIA_CAMERA is disabled
2. v4l2_async related symbols is not exported

Solution:
1. enable CONFIG_AMLOGIC_MEDIA_CAMERA
2. export v4l2_async related symbols

Verify:
Verified on t7c

Signed-off-by: yao.zhou <yao.zhou@amlogic.com>
Change-Id: Ic4a687c19fa70fde0c42365c07ca7af02716495d
2022-12-02 14:04:53 +08:00
Jianxiong Pan 4e0cd2db13 mm: not export set_dump_dmc_reg() func. [1/1]
PD#SWPL-92714

Problem:
set_dump_dmc_reg func break gki.

Solution:
not export the func to ko.

Verify:
s4_ap222.

Change-Id: Id5c6aafad318084886bf1428b1fe44d5d091e44d
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-11-14 22:21:18 -07:00
jian zhou ee868eba9e audio: Android T Bringup - Audio [1/1]
PD#SWPL-94119

Problem:
Android T Bringup - Audio

Solution:
1. add extn
2. add earc
3. add latest code from 5.4

Verify:
T7C

Change-Id: I4812f2fb07ee8990a76e56f3837e7d774d202c42
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2022-11-08 22:29:23 -07:00
Wanwei Jiang 0b2a96838a Revert "debug: add filp_open debug function [2/3]"
PD#SWPL-95914

Problem:
it's break gki

Solution:
Use other method to implement, so revert old method
This reverts commit 073082327a.

Change-Id: I93e8a56d6e6a354f3d2dd27029913b5c79b797fc
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-11-05 12:06:11 +08:00
Jianxiong Pan 790f3e41b1 mm: modify the filecache to ko. [1/1]
PD#SWPL-92714

Problem:
gki requirement.

Solution:
get info via tracepoint.

Verify:
sc2_ah212.

Change-Id: I2ecd4bc1a643d4175787efa9eb4aa42574556c1e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-10-31 00:24:10 -07:00
Jianxiong Pan f1fec716d4 mm: modify the watchpoint to ko. [2/2]
PD#SWPL-92714

Problem:
need modify the watchpoint to ko.

Solution:
modify the watchpoint to ko.

Verify:
sc2_ah212.

Change-Id: I26e5e451690fb557264d8bbd6bcceb7701494cc5
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-10-29 08:05:00 -07:00
Jianxiong Pan dc659e3ec8 mm: not export symbol in pagetrace. [1/1]
PD#SWPL-92714

Problem:
export symbol will break gki.

Solution:
remove export symbol in pagetrace.

Verify:
sc2_ah212.

Change-Id: Ib8283c24f863e985c0a2a70cf135846646eb7a36
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-10-26 00:06:24 -07:00
qinglin.li 6c443ed18b gki: fix code style with symbol [1/1]
PD#SWPL-94401

Problem:
fix code style with symbol

Solution:
fix code style with symbol

Verify:
sc2

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ie7fd3ada4219ffd2e18be8446ca6da870cee93f7
2022-10-19 02:18:04 -07:00
qinglin.li da04048d61 debugfile: build debugfile with module [1/1]
PD#SWPL-94401

Problem:
build debugfile with module
build with gki_10

Solution:
build debugfile with module

Verify:
sc2

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I8db0d7e81c93860cdd2ca8cbb5526e529d67da27
2022-10-19 02:18:01 -07:00
Hanjie Lin 908c1c3c19 debug: fix iotrace break gki issue [2/3]
PD#SWPL-94447

Problem:
iotrace break gki10

Solution:
modify iotrace still builtin but not break gki10
also enabled DEBUG_PRINTK

Verify:
sc2

Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Change-Id: Iffc6a21f28de871b7289ca671c2c226c40e9a66a
2022-10-15 03:28:18 -07:00
Hanjie Lin e6d82ef16c debug: fix gki10 break issue [2/3]
PD#SWPL-94447

Problem:
debug break gki10

Solution:
1, support amlogic_debug build to module, amlogic_debug module
   includes debug_lockup, cpu_mhz and meson_atrace for now.
2, amlogic_debug some function still build in kernel but not break
   gki10, for example: irq_check function on builtin kernel code,
   module_debug, workqueue debug etc.
3, new config CONFIG_AMLOGIC_HARDLOCKUP_DETECTOR still builtin but
   not break gki.
4, other functions for example iotrace still under developing

Verify:
sc2

Signed-off-by: Hanje Lin <hanjie.lin@amlogic.com>
Change-Id: I9c11465e3e879f999ae6fd13dc12c044efd2417a
2022-10-14 16:53:03 -07:00
Jianxiong Pan 9c3f8bf29a gki: set dmc_monitor to builtin for gki needs. [2/3]
PD#SWPL-94445

Problem:
the get_page_trace() cannot be exported for dmc.

Solution:
set dmc_monitor to builtin.

Verify:
sc2_ah212.

Change-Id: Id23d6dbe0461f4317f6681d62e5578e89cc5c699
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-10-01 00:44:15 +08:00
Jianxiong Pan 84db0bfa95 gki: not export cma_mmu_op() func to meet gki requirements. [1/3]
PD#SWPL-94445

Problem:
the system cannot export new func for ko.

Solution:
not export cma_mmu_op() func.

Verify:
sc2_a212.

Change-Id: I8e146339f51838cc004739af77496111152df9ca
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-10-01 00:43:53 +08:00
Hao Shi e39757a561 v4l2: clean vendor hooks [3/3]
PD#SWPL-92322

Problem:
No logner use vendor hooks.

Solution:
Remove v4l2 vendor hooks.

Verify:
local

Change-Id: I217d332f6283814dc9bff026f9d14244e4e67dd1
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2022-09-27 18:37:30 -07:00
song.han b7fc4f5f71 iotrace: add iotrace function [2/2]
PD#SWPL-92722

Problem:
iotrace miss function

Solution:
add function in iotrace driver,like smc/sched/clk/pw

Verify:
S4D_AP222

Change-Id: Ie59bac5863e5a4420b90d95a0ecae0bcb0584fb6
Signed-off-by: song.han <song.han@amlogic.com>
2022-09-22 22:54:00 -07:00
Hao Shi f8af7f4f9e V4L2: CF1 v4ldec supports ext ctrl to configure decoding parameters. [2/3]
PD#SWPL-92319

Problem:
supports ext ctrl to configure decoding parameters

Solution:
supports ext ctrl to configure decoding parameters.

Verify:
ah212

Signed-off-by: Hao Shi <hao.shi@amlogic.com>
Change-Id: Ie3bc9d67b020d43a2db6a85b6a3a1cf7d12c1be7
2022-09-22 19:19:58 -07:00
qi duan 69305b09c2 usb: move crg_otg_write_UDC from common to common_driver for gki [1/1]
PD#SWPL-94449

Problem:
for gki, put crg_otg_write_UDC in common_driver

Solution:
put crg_otg_write_UDC in common_driver

Verify:
ah212 aw419

Signed-off-by: qi duan <qi.duan@amlogic.com>
Change-Id: I74a8fefcca65fd0141182ea0be6fe53041905d5d
2022-09-22 02:10:58 -07:00
Wanwei Jiang 2d4f9741ef gki: rename to follow gki rule [1/1]
PD#SWPL-93926

Problem:
rename to follow gki rule

Solution:
rename to follow gki rule

Verify:
sc2

Change-Id: Ia01d7f6b94083fdb47392425847e0d150db010bc
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-09-13 18:20:11 +08:00
Wanwei Jiang bbf114354c gki: build fail [1/1]
PD#SWPL-93926

Problem:
./mk.sh --gki, build fail

Solution:
wrap with config

Verify:
sc2

Change-Id: Ib436e277df6d63258e378b85853fd5580ce41d8a
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-09-09 06:06:02 -07:00
Jiucheng Xu 8eeeeff400 fs: Add NTFS3 support [1/1]
PD#SWPL-90516

Problem:
NTFS3 is disable

Solution:
Set NTFS3 to module

Verify:
sc2

Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
Change-Id: Ia96d12f5b7777453d716aba81547d59948ea3b90
2022-09-07 20:06:44 +08:00
Wanwei Jiang a5977bd740 gki: modify configs to follow gki rule [1/1]
PD#SWPL-88872

Problem:
modify configs to follow gki rule

Solution:
1. remove annotated configs
2. remove invalid config: CONFIG_AMLOGIC_USB_HOST_ELECT_TEST
3. remove config CONFIG_MEDIA_SUBDRV_AUTOSELECT,
and configure tuner configs to not set
4. adjust symbols
5. keep modules.dep for viewing module dependencies

Verify:
sc2

Change-Id: I64ce960e81e7b8181b8f043dee48b23ebb2de8b2
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-09-07 20:06:44 +08:00
Bichao Zheng 7a3115037e mtd: remove unused config [1/1]
PD#SWPL-89127

Problem:
mtd need to meet GKI requirement.

Solution:
1. remove unused config

Verify:
SC2

Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Change-Id: I0cca1c94afa37b317c7a10b9008774f6b43a33e9
2022-09-07 20:06:43 +08:00
hao.shi eb76dc0089 v4l2: update v4l2 vendor hooks [3/3]
PD#SWPL-90257

Problem:
Update vendor hooks according to GKI.

Solution:
Update v4l2 vendor hooks and remove vendor data in vb2.

Verify:
SC2

Change-Id: I318883dc240dd996cdebe3a165a2f045f816e956
Signed-off-by: hao.shi <hao.shi@amlogic.com>
2022-09-07 20:06:43 +08:00
qinglin.li 63feb20c26 debug file: add debug file function [1/2]
PD#SWPL-88882

Problem:
kernel through to user space rw files

Solution:
add debug file function

Verify:
sc2

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ia19a8b071fe63fbcd46ff1a2a8259274e40e805e
2022-09-07 20:06:43 +08:00
chuangcheng peng 7687f59168 dvb-core: use origion dvb-core in kernel [2/2]
PD#SWPL-89132

Problem:
use dvb-core to ko

Solution:
put aml modification to dvb-core

Verify:
not verified, compile pass

Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
Change-Id: If400a437e48a4e1c0f8193b56e2f54d06660e806
2022-09-07 20:06:43 +08:00
chen.xu b59e3ba991 video_processor: break GKI for video [1/1]
PD#SWPL-89213

Problem:
break GKI--video.

Solution:
1.delete ./video_processor/pic_dev/Kconfig:AM_PTSSERVER.
2.modify ./video_processor/video_dev/Kconfig:VIDEOBUF_GEN.
3.modify ./video_processor/utils/Kconfig:VIDEOBUF_GEN.

Verify:
AH212_S905X4

Signed-off-by: chen.xu <chen.xu@amlogic.com>
Change-Id: Ic857789fe942c5ba097ef7284c9f13ccb6b2ad65
2022-09-07 20:06:43 +08:00
qinglin.li 073082327a debug: add filp_open debug function [2/3]
PD#SWPL-88149

Problem:
add filp_open debug function used to relabel

Solution:
add filp_open debug function

Verify:
sc2

Change-Id: Iba99f9008ad475d2666cd25fac2c188c49b4a2dc
2022-09-07 20:06:43 +08:00
hai.cao 344af51030 kernel5.15: move osd_sw_sync.c to common/sw_sync/ [1/1]
PD#SWPL-89597

Problem:
CONFIG_FB break the rule of GKI

Solution:
move osd_sw_sync.c to common/sw_sync/
then add Kconfig and Makefile into this document

Verify:
SC2

Signed-off-by: hai.cao <hai.cao@amlogic.com>
Change-Id: I3e8872835de26849cbb05953c4ddb47204aae03c
2022-09-07 20:06:43 +08:00
Hanjie Lin 633ebc3bd1 gki: debug configs break [1/1]
PD#SWPL-89148

Problem:
debug configs break gki

Solution:
modify

Verify:
local compile

Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Change-Id: Ibec70a3c1ebe943a2cdda3daab42d386afe5e097
2022-09-07 20:06:43 +08:00
Bichao Zheng 24de14fcc5 mtd: changed to gki support [1/1]
PD#SWPL-89127

Problem:
mtd need to meet GKI requirement.

Solution:
1. modify the configs

Verify:
c3

Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Change-Id: I7f1fb0ba77a6b84f1fa5cc4ee0ea15c0dd924715
2022-09-07 20:06:42 +08:00
Jianxiong Pan b1de07e0e6 config: move memory configs to optimize file. [1/1]
PD#SWPL-89149

Problem:
need to meet GKI requirement.

Solution:
move memory configs to optimize file.

Verify:
c2_af400.

Change-Id: I2e1c6b6a225f28cc72c28a6523178e238c813347
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-09-07 20:06:42 +08:00
wanwei.jiang 6fdd315c48 config: config optimize [1/1]
PD#SWPL-88872

Problem:
follow gki 1.0

Solution:
config file is divided into three parts: base, optimize and debug

Verify:
sc2

Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
Change-Id: Ibdd6e930f4acee7cfcfc06069240c7389ed6e77d
2022-09-07 20:06:42 +08:00
hao.shi 24d03d99c6 v4l2: support aml v4l2 [2/2]
PD#SWPL-87486

Problem:
porting v4l2

Solution:
add v4l2 vendor hooks abi symbol

Verify:
SC2

Signed-off-by: hao.shi <hao.shi@amlogic.com>
Change-Id: I2e37d475fd28dbbc8244ae5f7048a0e1642e00a7
2022-09-07 20:06:42 +08:00
libo 46e9a0db00 SC2: support wifi for sc2 in kernel5.15 gki [1/1]
PD#SWPL-87941

Problem:
need support wifi for sc2 in kernel5.15 gki

Solution:
support wifi for sc2 in kernel5.15 gki

Verify:
sc2

Signed-off-by: libo <bo.li@amlogic.com>
Change-Id: I5b78d847d97727b49a0010394cbe9229d2c59b88
2022-09-07 20:06:42 +08:00
Yu Tu d4e08c3c15 pcie: add pcie driver [1/1]
PD#SWPL-83304

Problem:
need pcie driver for sc2

Solution:
add pcie driver

Verify:
sc2

Signed-off-by: Yu Tu <yu.tu@amlogic.com>
Change-Id: Ie2b31847791904ce03e81af8992b0ddcd77b1042
2022-09-07 20:06:42 +08:00
min.yang 57756e2b3c Demod: porting from 5.4 to 5.15 [1/1]
PD#SWPL-77329

Problem:
s4d need porting demod and tuner.

Solution:
1.porting dtv-demod.
2.porting dvb-extern.

Verify:
compile pass, be normal on s905Y4.

Change-Id: I1533c15047089a1215e042b064770e11ff2ed21a
Signed-off-by: min.yang <min.yang@amlogic.com>
2022-09-07 20:06:42 +08:00
Bichao Zheng e90766ec13 spinand: sc2 add spinand support [1/1]
PD#SWPL-83293

Problem:
Need to support sc2 spinand driver

Solution:
add spinand support.

Verify:
sc2_a219

Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Change-Id: I4abbbf5546b4097df903ff287255314ec7ab25b2
2022-09-07 20:06:42 +08:00
qinglin.li bc11590ecd cpuinfo: modify printf info [2/2]
PD#SWPL-90890

Problem:
add common_drivers release
rm cpuinfo vendor_hooks function.

Solution:
printf common_drivers release
rm cpuinfo vendor_hooks function

Verify:
sc2

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I3d21d35465f28b3f4bd9e21189928f441032d0c4
2022-08-18 20:38:48 +08:00