Commit Graph

62809 Commits

Author SHA1 Message Date
Liangbin Lian
2f9a4efeab target/rockchip: rockchip-otp driver supports rk3568
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
2025-03-28 15:57:11 +08:00
Liangbin Lian
3602c4d85a target/rockchip: add fastrhino r66s/r68s support 2025-03-27 20:15:25 +08:00
Liangbin Lian
ed5ec70571 target/rockchip: add friendlyarm r5s/r5c series support 2025-03-27 20:13:57 +08:00
Liangbin Lian
35f6894adf target/rockchip: add rk3568 common make rules 2025-03-27 20:11:14 +08:00
Liangbin Lian
c928b4e60b target/rockchip: add rk3568 common dts 2025-03-27 20:08:07 +08:00
Liangbin Lian
9983f915ee target/rockchip: refactor image makefile 2025-03-27 20:06:52 +08:00
Liangbin Lian
07422b2fa2 uboot-rockchip: add generic RK3568 uboot 2025-03-27 14:27:53 +08:00
Liangbin Lian
0ec9323e0d target/rockchip: rockchip-iommu porting flush_iotlb_all from vendor driver
fix MPP AV1 decoding crash:
```
[  217.355974] mpp_av1dec fdc70000.av1d: resetting...
[  219.804008] rockchip-pm-domain fd8d8000.power-management:power-controller: failed to set idle on domain 'av1', val=0
[  222.250403] rockchip-pm-domain fd8d8000.power-management:power-controller: failed to get ack on domain 'av1', val=0xbfeff
[  222.251358] SError Interrupt on CPU7, code 0x00000000be000411 -- SError
[  222.251361] CPU: 7 PID: 553 Comm: mpp_worker_11 Tainted: G           O       6.6.67 #0
[  222.251364] Hardware name: FriendlyElec NanoPi R6C (DT)
[  222.251365] pstate: 804000c9 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  222.251367] pc : _raw_spin_trylock+0x28/0x8c
[  222.251373] lr : clk_enable_lock+0x30/0xc0
[  222.251376] sp : ffff80008314bc70
[  222.251377] x29: ffff80008314bc70 x28: 0000000000000000 x27: 0000000000000000
[  222.251379] x26: 0000000000000000 x25: ffff80007985f000 x24: ffff0001067a2c88
[  222.251382] x23: ffff0001067a2c80 x22: ffff000101b26400 x21: 0000000000000000
[  222.251384] x20: ffff800081161c30 x19: ffff800081161c10 x18: 000000000000025d
[  222.251386] x17: 66203a72656c6c6f x16: 72746e6f632d7265 x15: ffff800080e83b70
[  222.251389] x14: 0000000000000717 x13: 000000000000025d x12: 00000000ffffffea
[  222.251391] x11: 00000000ffffbfff x10: ffff800080fe3b70 x9 : ffff800080e83b18
[  222.251393] x8 : 0000000000000002 x7 : 000000000000ba7d x6 : 000000000769ea37
[  222.251395] x5 : 0000000001000000 x4 : 0000000000000000 x3 : 0000000000000000
[  222.251397] x2 : 0000000000000000 x1 : 0000000000000001 x0 : ffff800081161c30
[  222.251400] Kernel panic - not syncing: Asynchronous SError Interrupt
[  222.251401] CPU: 7 PID: 553 Comm: mpp_worker_11 Tainted: G           O       6.6.67 #0
[  222.251403] Hardware name: FriendlyElec NanoPi R6C (DT)
[  222.251404] Call trace:
[  222.251405]  dump_backtrace+0xa0/0xe0
[  222.251409]  show_stack+0x18/0x24
[  222.251411]  dump_stack_lvl+0x48/0x60
[  222.251414]  dump_stack+0x18/0x24
[  222.251417]  panic+0x2ec/0x348
[  222.251420]  nmi_panic+0x70/0x74
[  222.251421]  arm64_serror_panic+0x6c/0x78
[  222.251425]  do_serror+0x3c/0x70
[  222.251428]  el1h_64_error_handler+0x30/0x48
[  222.251431]  el1h_64_error+0x68/0x6c
[  222.251432]  _raw_spin_trylock+0x28/0x8c
[  222.251434]  clk_disable+0x24/0x4c
[  222.251436]  clk_bulk_disable+0x3c/0x58
[  222.251440]  av1d_iommu_disable+0x68/0x80
[  222.251443]  av1_iommu_disable+0x1c/0x34
[  222.251445]  rockchip_iommu_disable+0x48/0x70
[  222.251448]  mpp_iommu_refresh+0x20/0x54 [rk_vcodec]
[  222.251470]  mpp_dev_reset+0xb0/0x168 [rk_vcodec]
[  222.251477]  mpp_task_finish+0x60/0x154 [rk_vcodec]
[  222.251485]  rkvdec2_hard_ccu_worker+0x144c4/0x15c88 [rk_vcodec]
[  222.251492]  mpp_session_cleanup_detach+0x1c8/0x694 [rk_vcodec]
[  222.251500]  kthread_worker_fn+0xc8/0x140
[  222.251503]  kthread+0x110/0x114
[  222.251505]  ret_from_fork+0x10/0x20
[  222.251507] SMP: stopping secondary CPUs
[  222.251565] Kernel Offset: disabled
[  222.251566] CPU features: 0x0,c0000000,70028141,1000700b
[  222.251567] Memory Limit: none
```
2025-03-25 16:45:08 +08:00
Liangbin Lian
2e5a5d405b Revert "target/rockchip: disable iommu passthrough via kernel command line"
This reverts commit b53dc2e14b.
2025-03-25 11:50:34 +08:00
Liangbin Lian
d9e3c2cb13 target/rockchip: rockchip_iommu no passthrough for platform devices 2025-03-25 11:50:13 +08:00
Liangbin Lian
9c21acba06 target/rockchip: rk3588 enable RNG 2025-03-24 19:03:05 +08:00
Liangbin Lian
819445e446 target/rockchip: use vendor RNG driver 2025-03-24 19:01:48 +08:00
Liangbin Lian
bee149c530 target/rockchip: kernel add rockchip_dmc.h 2025-03-21 19:06:12 +08:00
Liangbin Lian
d53da56687 package/mali-drivers: skip building mali400 on csf variant 2025-03-21 18:23:33 +08:00
Liangbin Lian
f0c1ab22bf package/mali-drivers: remove rockchip pvtm dependency 2025-03-21 18:22:33 +08:00
Liangbin Lian
b53dc2e14b target/rockchip: disable iommu passthrough via kernel command line
Currently vpu and npu do not work in iommu passthrough mode.
2025-03-20 19:55:06 +08:00
Liangbin Lian
9a6ad6e89e package/rockchip-drivers: tips for iova error 2025-03-20 19:47:56 +08:00
Liangbin Lian
cc9205a98e target/rockchip: add av1d iommu 2025-03-20 19:46:45 +08:00
Liangbin Lian
9ab57f7bf7 target/rockchip: patches rockchip's dma heaps 2025-03-19 13:39:06 +08:00
Liangbin Lian
b7739e4eda target/rockchip: add rockchip's dma heaps 2025-03-19 13:38:37 +08:00
Liangbin Lian
722032a1e0 package/rockchip-drivers: remove iommu-av1d driver
iommu_device_register does not support multiple iommu drivers
2025-03-18 23:31:55 +08:00
Liangbin Lian
d37c21fed2 package/rockchip-drivers: register iommu-av1d driver
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-18 22:29:04 +08:00
Liangbin Lian
5510821042 package/mali-drivers: csf overlay supports upstream dts
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-17 18:40:31 +08:00
Liangbin Lian
8055e36fac target/rockchip: drivers compatible with rockchip,rk3588s now
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-17 18:19:29 +08:00
Liangbin Lian
62df8e1ac3 package/mali-drivers: supports upstream dts
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-17 18:16:13 +08:00
Liangbin Lian
98418cf2bc package/rockchip-drivers: supports upstream dts
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-17 18:15:43 +08:00
Liangbin Lian
fa9d5011f2 target/rockchip: ip core dts add author info
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-14 23:48:45 +08:00
Liangbin Lian
8f43e223a3 target/rockchip: friendlyarm nanopi r6s/r6c use extended dts
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-14 23:08:44 +08:00
Liangbin Lian
3882ed92ba target/rockchip: friendlyarm nanopi r6s/r6c add ip cores drivers
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-14 23:07:35 +08:00
Liangbin Lian
cd74d7a444 target/rockchip: friendlyarm nanopi r6s/r6c add ip cores dts
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-14 23:04:04 +08:00
Liangbin Lian
0b0caf4813 target/rockchip: add soc ip cores dts
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-14 23:01:48 +08:00
Liangbin Lian
a64d066980 package/mali-drivers,rockchip-drivers: config supported cpus
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-14 22:59:31 +08:00
Liangbin Lian
9e76e42d9e package: add mali-drivers
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-03-11 19:14:37 +08:00
Liangbin Lian
d1d3c521ea rockchip-drivers: add iommu-av1d
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-02-25 18:37:44 +08:00
Liangbin Lian
94b62e52c9 package: add rockchip-drivers
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-02-25 15:52:40 +08:00
Liangbin Lian
fb37aa4118 target/rockchip: exports iommu apis 2025-02-25 15:50:57 +08:00
Liangbin Lian
a9287e6e5f target/rockchip: exports pm-domains apis 2025-02-25 15:50:24 +08:00
Liangbin Lian
965cc7166d target/rockchip: enable dma-buf heaps 2025-02-07 20:35:05 +08:00
Liangbin Lian
8369665ccd kernel: fix dma-buf build into kernel 2025-02-07 20:34:04 +08:00
Liangbin Lian
eee1f80c38 target/rockchip: bootscript adc command changed on uboot 2024.10
Fixes: ff7754c8af ("target/rockchip: supports boot from legacy uboot")
2025-02-06 17:43:16 +08:00
Liangbin Lian
3496079d3e target/rockchip: r6s firmware supports r6c
Fixes: 193e2ebda0 ("target/rockchip: r6s firmware supports r6c")
2025-02-06 17:08:34 +08:00
Liangbin Lian
ac2afcff65 uboot-rockchip: add dummy regulator for saradc
Fixes: 21cede76d1 ("uboot-rockchip: add generic RK3588 uboot")
2025-02-06 17:07:16 +08:00
Liangbin Lian
193e2ebda0 target/rockchip: r6s firmware supports r6c 2025-02-05 19:37:32 +08:00
Liangbin Lian
e1c4e8b899 target/rockchip: fix legacy dts coping to boot
Fixes: ff7754c8af ('target/rockchip: supports boot from legacy uboot')
2025-02-05 19:36:01 +08:00
Liangbin Lian
78072c02f6 uboot-rockchip: default build generic rk3588 uboot
Fixes: 21cede76d1 ("uboot-rockchip: add generic RK3588 uboot")
2025-02-05 16:59:24 +08:00
Liangbin Lian
9b5268d1cc target/rockchip: r6s use generic uboot 2025-02-05 16:47:36 +08:00
Liangbin Lian
21cede76d1 uboot-rockchip: add generic RK3588 uboot 2025-02-05 16:47:03 +08:00
Liangbin Lian
ff7754c8af target/rockchip: supports boot from legacy uboot 2025-02-05 16:45:14 +08:00
Liangbin Lian
9743247d2a kernel: fix SATA PMP LED trigger
Fixes: e3263dd951 ("kernel: supports LED trigger by SATA Port Multiplier port")
2025-01-24 15:33:26 +08:00
ntlf9t
bf7bd4cc67 Bypassing the HH3K up to 2.5Gbps using a BCM578xx
https://www.dslreports.com/forum/r32230041-Internet-Bypassing-the-HH3K-up-to-2-5Gbps-using-a-BCM57810S-NIC
2025-01-22 16:49:07 +08:00