goumin
8b8ec6e224
Adjust the registration method of PCIe and INET drivers, and set raid6_select to start asynchronously by default.
...
Asynchronous modules should now be configured in the DTS file, with an additional variable in the bootargs.
The recommended configuration is as follows:
driver_async_probe=spacemit-hdmi-drv,i2c-spacemit-k1x,ri2c-spacemit-k1x,k1xccic,sdhci-spacemit,k1x-dwc-pcie,pxa2xx-uart
Change-Id: I2877696e84cc735c95363a1614dcbf3e5e26d5e0
2024-11-28 19:49:08 +08:00
goumin
6c7f63e739
Revert "Resolve a warning.Linux 6.6 does not allow attempting to synchronously load a module within an asynchronous context."
...
This reverts commit 5f0419f6462e3ae3a84bffc1a08d93af83bf13f9.
Change-Id: Ifed99d7d9d85def0ff785612fe89a64003afd0a3
2024-11-28 19:49:07 +08:00
goumin
31f393cf2e
Revert "Linux:To speed up the startup process by setting some modules to start in parallel."
...
This reverts commit eb84064e14e8261be1aecc0b5bf77b5728902c31.
Change-Id: I2ea6ea2e58de54142882324e44efa90d1c9ee639
2024-11-28 19:49:07 +08:00
yanhaodong
5c659084e0
k1x:ZT001H support focaltect device
...
Change-Id: Ic2805a4ebbd23b3500b86ffb78c7513817dbd625
2024-11-28 19:49:07 +08:00
yanhaodong
75c18c9cce
k1x:focaltech driver do hw init after panel call
...
Change-Id: I479d52b3023e10e967167414d83064427bcb61bb
2024-11-28 19:49:07 +08:00
mengbinghan
1e4361d6ff
vpu: fix vb2_buffer_done warning when palyback video
...
there is a warning when playback video:
WARNING: CPU: 2 PID: 2614 at drivers/media/common/videobuf2/videobuf2-core.c:1049 vb2_buffer_done+0x1f8/0x242
Modules linked in: algif_hash algif_skcipher af_alg 8852bs binfmt_misc ip_tables autofs4
CPU: 2 PID: 2614 Comm: kworker/u16:1 Tainted: G W 6.6.36 #20241118190508
Hardware name: spacemit k1-x deb1 board (DT)
Workqueue: c0500000.linlon-v5 irq_bottom
epc : vb2_buffer_done+0x1f8/0x242
ra : handle_event+0x274/0x288
epc : ffffffff80a98e3a ra : ffffffff80ab1f78 sp : ffffffc80dc43910
gp : ffffffff82344988 tp : ffffffd9518f99c0 t0 : 7365746d6d404040
t1 : 0000000000000001 t2 : 747365746d6d4040 s0 : ffffffc80dc43960
s1 : ffffffd951e5c800 a0 : ffffffd951e5c800 a1 : 0000000000000005
a2 : ffffffda753fe7a8 a3 : 0000000000000000 a4 : 0000000000000004
a5 : 0000000000000005 a6 : 0000000005e4bcec a7 : 0000000000080022
s2 : ffffffd9413bc238 s3 : ffffffd9413bdea8 s4 : 0000000000000005
s5 : ffffffd9413bd190 s6 : ffffffd9413bd4f8 s7 : ffffffd9413bc248
s8 : 0000000000000003 s9 : ffffffff8200da80 s10: ffffffff81c0f3a8
s11: ffffffd92d8d2840 t3 : ffffffda75231908 t4 : ffffffff827926cf
t5 : 0000000000000001 t6 : ffffffff8234a3f0
status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[<ffffffff80a98e3a>] vb2_buffer_done+0x1f8/0x242
[<ffffffff80ab1f78>] handle_event+0x274/0x288
[<ffffffff80aae144>] handle_fw_message+0x3a8/0x816
[<ffffffff80aaf76a>] mvx_session_irq+0x8c/0x1c0
[<ffffffff80ab99b8>] mvx_sched_handle_irq+0x94/0x13e
[<ffffffff80ab6a12>] irq_bottom+0x5a/0x70
[<ffffffff800397c2>] process_one_work+0x1b0/0x45e
[<ffffffff80039c0e>] worker_thread+0x19e/0x350
[<ffffffff800411a8>] kthread+0xda/0xf6
Change-Id: Ie68cbffa765fe13173275019648d1ffae692c5d3
2024-11-28 19:49:07 +08:00
zhangmeng
b0ec2bd0b2
risc-v: k1/dtsi: reshape the file format
...
Change-Id: I7068e376aa3b222e9c201498d129a123ce716215
2024-11-28 19:05:22 +08:00
zhenglilang
653a7d05f7
display:enable mipi dsi panel for k1-x_bit-brick
...
Change-Id: Id7f68309c4d68d403eb1aef8498628a70af86545
2024-11-28 19:05:22 +08:00
zhangmeng
f18186bb12
build: disable character output display during the kernel compilation
...
the output is as follows printing by openssl:
CERT certs/x509_certificate_list
GENKEY certs/signing_key.pem
.....+................+...+.....+++++++++++++++++++++++++++++++++
..+....+.....+......+....+..+....+....................+............
CC arch/riscv/kernel/probes/decode-insn.o
...+..........+..........................+.......+...............
..++++ CC fs/notify/inotify/inotify_fsnotify.o
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Change-Id: Ia9ffa6b451f0e1612b50872a0fc1010fdc5eff6c
2024-11-28 19:05:21 +08:00
Pan Junzhong
72f15789ce
phy-k1x-ci-otg: reduce delay of first run_state
...
Change-Id: I908bf782099748d38c0d347d5e4b4b48ebfb605e
2024-11-28 19:05:21 +08:00
lizhirong
64fb292caf
virtual_camera: core: support v4l2-app use by video50 in V4L2_MEMORY_DMABUF
...
cam-test will alloc dma-buf by dma_heap with 0xff heap_flags, then
v4l2-app will get they with 0xf0 heap_flags.
the virtual_camera driver only fits the v4l2_test_spacemit now.
Change-Id: I09b86334be7bcfd8c8731df612709fe197118255
2024-11-28 19:05:21 +08:00
weijinmei
eabcdc9b17
es8326: disable spk when suspend
...
Change-Id: Id0ae3893b3c6ba4c275da43ebf8b98ddd34bc5ef
2024-11-28 19:05:21 +08:00
liangbaihui
49b444dfb7
gpu: img-rogue: add judgment of linux version and keep the code consistent with linux-6.1
...
Change-Id: Ib527eb76d6db69786c9de4231b147cc0eb714147
2024-11-28 19:05:21 +08:00
zhenglilang
7bbc15076a
display:add lcd jd9365aainx101
...
Change-Id: If45ff30decd3239c3f082e8e51a9c87ee65efaf0
2024-11-28 19:05:21 +08:00
goumin
f042d4b563
The debug parameter in bootargs overrides loglevel, making it ineffective. debug should be added to U-Boot's environment bootargs or replaced with loglevel=8.
...
Change-Id: Ie0376f9e724e701685b571c1104017c02e55c7be
2024-11-28 19:05:21 +08:00
Nell
ab62c825c4
k1:dts:hdmi:create a dependency relationship between HDMI & HDMI AUDIO using the '-supply' prefix
...
This method can ensure that audio is initialized after HDMI, the
original method would cause HDMI's power to be turned off during the
system startup process, thereby affecting the debugging of display
functions
Change-Id: I6393f1e160fa90061c5bea39a11d50dc5ffb2a00
2024-11-28 19:05:21 +08:00
zhangmeng
21267054bb
riscv:rwonce: add __READ_ONCE implementation for issue workaround
...
Change-Id: I6a0c54e2c5d425f53a57218f4dc59c25357c2877
2024-11-28 19:05:20 +08:00
goumin
df38cb7bd8
Resolve a warning.Linux 6.6 does not allow attempting to synchronously load a module within an asynchronous context.
...
Change-Id: Ic61695f46f2daf77a4ccffdf9071e055c911b172
2024-11-28 19:05:20 +08:00
huanghaiqiang
bde8414cdb
1.add k1-x_bit-brick solution 2.enable ssd for k1-x_orangepi-rv2
...
Change-Id: I30a174dca593f603e3a5df79daa620c81b7f94ef
2024-11-28 19:05:20 +08:00
lilijun
ebb7a2543d
display: enable mipi dsi panel for k1-x_ZT001H
...
Change-Id: I5a90aff8bc379d6aa09447097daa2f2e12bb9abb
2024-11-28 19:05:20 +08:00
liangbaihui
b60a2ef2a5
gpu: upgrade to 24.2
...
Change-Id: Ic28664d4f2d4973867235859d69132df527703bc
2024-11-28 19:05:20 +08:00
lilijun
d99f129fa5
display: add lcd ft8201sinx101
...
Change-Id: I6bb9f866d2156f871396deb10e247978812bf0db
2024-11-28 19:05:20 +08:00
wanlong
28e6ac918e
usb: typec: husb239: enable wakeup source in i2c_device_probe() instead of husb239
...
Change-Id: I040e01a7ce7e3c9eaa0052b8961185ab5f361ed0
2024-11-28 19:05:20 +08:00
yanhaodong
d92120e3bb
k1x:support focaltech touch driver
...
Change-Id: Idbb1a47bae2bed23dd6f5fd47453742eb4af1277
2024-11-28 19:05:19 +08:00
lijuan
0e01081890
update rt-linux patch
...
1. resolve i2c transfer timeout issue
Change-Id: I8e9f0f787350eeddab52b75a7d200906a8b63011
2024-11-28 19:05:19 +08:00
Pan Junzhong
fcbf0ec9ca
k1: f_mass_storage: replace kmalloc with alloc_pages with DMA32
...
Running f_mass_storage on dwc3 cause swiotlb full. alloc_pages
support DMA32 flag, and the FSG_BUFLEN is 16K, applicable for
alloc_pages.
Change-Id: Ic2f33783046ad2e9b1faf8a7b4d3aa8011fc6a77
2024-11-28 19:05:19 +08:00
wanlong
f968dde9f4
k1: MUSE-Paper: enable husb239@62 only for k1-x_MUSE-Paper2
...
Change-Id: Ibef8c33b6da7631008288d21491f62ccab5afb93
2024-11-28 19:05:19 +08:00
yanhaodong
dae63f0987
k1x:add MUSE-Paper2 for MUSE-Paper DVT
...
Change-Id: I00bf9b0c191386ca87f5afad7ea2000f8d561ebb
2024-11-28 19:05:19 +08:00
huzhen
bfaf00469f
dts: change the dram_range of the k1 pcie
...
Change-Id: Ibba491b7fa693632054379b03165205759e1a63d
2024-11-28 19:05:19 +08:00
wanlong
6310500e2c
spacemit-rf: support gpio irq for oob wifi
...
Change-Id: Ib13f479c3cc57095572de3f5fe5963fa4c5f5182
2024-11-28 19:05:19 +08:00
wanlong
7157316fd7
usb: typec: husb239: support irq wake
...
Change-Id: Ia99ee11a04f8d4522ec5f064262b961da2fac9c5
2024-11-28 19:05:19 +08:00
goumin
71c8fbc69b
Linux:To speed up the startup process by setting some modules to start in parallel.
...
The SPACEMIT_PARALLEL_BOOTING option can be enabled for use, but it is disabled by default.
This feature is designed to optimize the boot speed for the SPACEMIT platform.
Although it can improve boot time, it may potentially cause deadlocks during startup.
It is recommended to set the loglevel to 1 when using this feature.
Change-Id: I3bd76816253277182b44c5e999e9b9db3b3f4beb
2024-11-28 19:05:18 +08:00
lijuan
95a1c2f54f
rt-linux: add nbcon.c file
...
Change-Id: I0c43560864801e8b79315c4bdc33afb8237a76ee
2024-11-28 19:05:18 +08:00
weijinmei
9799702354
es8326: reset jack status when suspend
...
Change-Id: I287ec966efac5601b29ccecccbb55cfc3607a642
2024-11-28 19:05:18 +08:00
yanhaodong
8258b04498
k1x:clear charger useless info
...
Change-Id: I120da9f3d74f121e99eef998cdf9c7db8ecbc678
2024-11-28 19:05:18 +08:00
lijuan
095749329b
cpuinfo: add uarch information
...
Change-Id: I87d65b1dd18c0e47f417b3bce0a177960cd57445
2024-11-28 19:05:18 +08:00
huanghaiqiang
5a897e82e3
1.add clk/reset to i2c3;2.enable rpwm9
...
Change-Id: I10f4b025435547c6a45d9b0d999632cd1f83c7bd
2024-11-28 19:05:18 +08:00
Nell
286767c4e7
k1:support decompression of zstd format file
...
enabling this format is to support the requirement of loading
some firmware which organized by zstd
Change-Id: Ife5f52c3858cd0792f55a6a542b79ff8f2f198bb
2024-11-28 19:05:18 +08:00
xudong
05f3b62eb0
dts: update k1-x_uav, disabled some no-used moduels, fix wifi can not work
...
Change-Id: I0b4a1ca7649a824b33c0d1fb2ccc432f44e4e419
Signed-off-by: xudong <dong.xu@spacemit.com>
2024-11-28 19:05:18 +08:00
wanlong
fee2d39211
mmc: sdhci-of-k1x: fix bug about get invalid cpufreq_policy
...
Change-Id: I8b7190983fec01d1c76172a5c09cd009a2868275
2024-11-28 19:05:17 +08:00
lijuan
5394143a42
rt-defconfig: config CONFIG_PREEMPT_RT
...
Change-Id: Ie7c3574f279dcde8963b17de138a1e94b8cb8f8d
2024-11-28 19:05:17 +08:00
lijuan
30e3df5693
defconfig: disable LOCKDEP config
...
This config causes 30%~50% decrease in performance
Change-Id: I62b686d188f09165c0eb113fc270a72060d7bda5
2024-11-28 19:05:17 +08:00
mengbinghan
20aa5e7e2f
camera: Fix isp and cpp build error when building their as module
...
Change-Id: Ice7ed974e58d78598900333e5170a8944cd81a3e
2024-11-28 19:05:17 +08:00
liyeshan
0af951b3a4
k1: add radeon module in k1_defconfig
...
Change-Id: I8dead6090afc6212c481abec14f594d15923fb77
2024-11-28 19:05:17 +08:00
liyeshan
b337eb318f
Radeon: modify cached mapping to writecombine
...
Change-Id: Ib80ff1fa4d62bc3794ec1e2407608f908d6317d5
2024-11-28 19:04:40 +08:00
Icenowy Zheng
19c12c5e9c
radeon/amdgpu: force 32-bit dma
...
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
2024-11-28 19:02:21 +08:00
Icenowy Zheng
71e6817afd
drm/radeon: mask MSI on K1x
...
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
2024-11-28 19:01:20 +08:00
xudong
7c73b5a366
k1_uav: enable uart ports
...
Change-Id: Iaca57c3a308f9c8e0ad0622daa4eedc44e2cd114
Signed-off-by: xudong <dong.xu@spacemit.com>
2024-11-28 18:29:15 +08:00
lijuan
08115ef718
defconfig: add real-time linux defconfig
...
Change-Id: Id463b339d82ed4e2b9a572069755b7f00caafdb2
2024-11-28 18:29:15 +08:00
lijuan
a399beefb1
rt-linux: update rt-linux patch for bianbu-v2.0.1
...
Change-Id: I3405dc65b746180dd7023cc27db1a6d76286644e
2024-11-28 18:29:15 +08:00