Commit Graph

8 Commits

Author SHA1 Message Date
Wanwei Jiang bf119d2c23 scripts: fix build error [1/1]
PD#SWPL-96062

Problem:
build error "depmod: WARNING:" when creating initramfs

Solution:
the data of system_dlkm_modules which from modules.order is error

Verify:
sc2

Change-Id: Iecd0452932ff36bd36580b7b2152bf6d24b59834
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-10-27 00:25:17 -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
qinglin.li 6dbd19f6c4 module_list: optimization load list [1/1]
PD#SWPL-89845

Problem:
i2c need to before dvb-extern
rng load first can optimization 1.6s time

Solution:
fix i2c before dvb-extern
optimization time

Verify:
sc2

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I058b9f75e90903ee0b0e2f61e0b85e5a2c329b53
2022-09-07 20:15:59 +08:00
qinglin.li 37caac235a scripts: fix fastboot update failed [1/1]
PD#SWPL-92909

Problem:
fastboot update failed

Solution:
add usb_otg.ko

Verify:
sc2

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I070c2279f054a18f82f0e46c6b19c4aa9acbd67f
2022-09-07 20:06:44 +08:00
qinglin.li 4ea4809eb6 module: optimisation list of modules launched first [2/2]
PD#SWPL-89845

Problem:
optimisation list of modules launched first

Solution:
optimisation list of modules launched first

Verify:
sc2

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I49fe2dc30588c5118540b378ae9ab26d6148f25e
2022-09-07 20:06:44 +08:00
wanwei.jiang 6ea233338e serial: change the build mode of serial driver [1/1]
PD#SWPL-89180

Problem:
change the build mode of serial driver

Solution:
1. --gki: don't build early console, build uart driver as module,
for android gki
2. --gi_user: buildin early console, build uart drvier as module,
for android
3. --gki_userdebug: buildin early console, buildin uart driver,
for fatloader

Verify:
sc2

Change-Id: I610c954d7b413265d7aa15f0ee5ca670895bacb5
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-09-07 20:06:43 +08:00
wanwei.jiang 50759e133a script: optimize output [1/1]
PD#SWPL-64232

Problem:
ramdisk and vendor related scripts and modules
are in the "modules" folder

Solution:
1. create a ramdisk and vendor folder
2. put the file in the corresponding path

Verify:
s4d and C2 AF400

Change-Id: Id65df11fb6ecd922904c4ea6bd3db2cbf1980c30
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-03-23 22:21:20 -07:00
wanwei.jiang 0a8d6ee32d script: modules sequence list [1/1]
PD#SWPL-64232

Problem:
ramdisk modules sequence list
vendor modules sequence list

Solution:
1. ramdisk modules sequence list
2. vendor modules sequence list
3. delete needn't modules
4. delete other chip modules

Verify:
s4d and C2 AF400

Change-Id: Ibb5aed6509b7b18a920e58d507337d3b56f5af32
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-03-23 05:22:35 -07:00