Commit Graph

1734 Commits

Author SHA1 Message Date
shengfei Xu
c80cf2741e rk3562: bl31: update version to v1.18
build from:
	39c4e2a0e plat: rk3562: disable the gpio debounce
update feature:
	39c4e2a0e plat: rk3562: disable the gpio debounce
	68c4b3b33 plat: rk3562: saver/restore the PMIC in the suspend/resume
	41fecd53a plat: rk3562: saver/restore the pwm in the suspend/resume

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I0a98f54b3c9229e8f726378455a9b00cd2a8dc60
2023-08-15 17:53:13 +08:00
Fenrir Lin
0b286ffdee rv1106: add wakeup relevant files
build from commit:
        rtt:b8797aaef#hal:db7ed87c#battery_ipc:37ee045

Change-Id: I7e6dac6b4bc2b82d0091edb33d5058f66ff2193b
Signed-off-by: Fenrir Lin <fenrir.lin@rock-chips.com>
2023-08-15 15:45:12 +08:00
Weiwen Chen
a7a492ad55 rv1106: mcu: update hpmcu tb bin to v1.70
build from commit:
    rtt:b753ad6#hal:d93ef9fd#battery_ipc:7ca1398

build from rt-thread commit in develop branch:
    b753ad6: bsp: rockchip: cameras: update sc230ai again map

build from hal commit in master branch:
    d93ef9fd: device: rk3568: touch gic everytime in IRQ_HardIrqPreemptHandler

build from battery-ipc commit in master branch:
    7ca1398: fastae: update 2.2.4 version

Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I9ab7a036165f94dcefd56914f2c4caa3ec8bab0c
2023-08-15 15:31:31 +08:00
Hisping Lin
cab994716a rk3368: bl32: update version to v2.02
Build from optee commit in develop branch:
    44e25f04 rk3228H: close seure video path

Update feature:
    ea48d0d0 core: tee svc: free memory when user call TEE_DerivekeyFromHard
    50067b33 ta verify: close default key for sign ta

Change-Id: Iaf7b12374d9733db5be421d809306c910e0c3fd4
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2023-08-14 17:01:34 +08:00
Hisping Lin
36a6a646b4 rk3228h/rk3328: bl32: update version to v2.02
Build from optee commit in develop branch:
    44e25f04 rk3228H: close seure video path

Update feature:
    93fb99c5 sta: secure_video: fix bug for parameters unchecked
    00b835b7 sta: rkwvm: fix bug for parameters unchecked
    ea48d0d0 core: tee svc: free memory when user call TEE_DerivekeyFromHard
    50067b33 ta verify: close default key for sign ta

Change-Id: Ic6316c08c18128956be1e5d1aa886e4d94e1fd97
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2023-08-14 17:01:24 +08:00
Hisping Lin
1f4b32884f rk3399pro: bl32: update version to v2.11
Build from optee commit in develop branch:
    44e25f04 rk3228H: close seure video path

Update feature:
    f3cf8c92 rk3399: close seure video path
    93fb99c5 sta: secure_video: fix bug for parameters unchecked
    00b835b7 sta: rkwvm: fix bug for parameters unchecked
    ea48d0d0 core: tee svc: free memory when user call TEE_DerivekeyFromHard
    a46a17f5 rk3399: efuse: enable saradc clk before program efuse
    50067b33 ta verify: close default key for sign ta

Change-Id: Id46de97d6039de6b7cd55a6fb813b53abd2eacba
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2023-08-14 16:58:42 +08:00
Hisping Lin
f39666eaf4 rk3399: bl32: update version to v2.11
Build from optee commit in develop branch:
    44e25f04 rk3228H: close seure video path

Update feature:
    f3cf8c92 rk3399: close seure video path
    93fb99c5 sta: secure_video: fix bug for parameters unchecked
    00b835b7 sta: rkwvm: fix bug for parameters unchecked
    ea48d0d0 core: tee svc: free memory when user call TEE_DerivekeyFromHard
    a46a17f5 rk3399: efuse: enable saradc clk before program efuse
    50067b33 ta verify: close default key for sign ta

Change-Id: I1524e99653fdb8e77139af1c78d6825cf69d7c06
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2023-08-14 16:57:08 +08:00
Hisping Lin
41372e849e rk312x: tee with ta: update optee version to v2.04
build from optee commit in develop-rk3228 branch:
    24f5da14 rk3288: close seure video path

update feature:
    22c5a71f core: tee svc: free memory when user call TEE_DerivekeyFromHard

Change-Id: I02913a8085cbdbd7b6c410eef03e3c36eb24a288
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2023-08-14 16:54:50 +08:00
Hisping Lin
7b28f3480b rk3288: tee with ta: update optee version to v2.03
build from optee commit in develop-rk3228 branch:
    24f5da14 rk3288: close seure video path

update feature:
    d1ae97e2 sta: secure_video: fix bug for parameters unchecked
    6291d83b sta: rkwvm: fix bug for parameters unchecked
    31f929d4 plat: rk3288: fix 194MHz DQ/DQS phase not suitable

Change-Id: I5a03060e6f5b7ba3262f158cc1bf32af12179a3c
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2023-08-14 16:54:40 +08:00
Hisping Lin
e417be26ba rk3128x: tee with ta: update optee version to v2.12
build from optee commit in develop-rk3228 branch:
    24f5da14 rk3288: close seure video path

update feature:
    cb243e8f rk3128x: close seure video path
    d1ae97e2 sta: secure_video: fix bug for parameters unchecked
    6291d83b sta: rkwvm: fix bug for parameters unchecked
    22c5a71f core: tee svc: free memory when user call TEE_DerivekeyFromHard
    b37bf5f6 ddr: rk3228: select dpll power down mode 1
    9b756780 ta verify: close default key for sign ta

Change-Id: I4c4f546cd2334e44bb51d8342b3ff87da0835a2e
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2023-08-14 16:52:39 +08:00
Hisping Lin
726b2e49bb rk322x: tee with ta: update optee version to v2.12
build from optee commit in develop-rk3228 branch:
    24f5da14 rk3288: close seure video path

update feature:
    917000cc rk3228: close seure video path
    d1ae97e2 sta: secure_video: fix bug for parameters unchecked
    6291d83b sta: rkwvm: fix bug for parameters unchecked
    22c5a71f core: tee svc: free memory when user call TEE_DerivekeyFromHard
    b37bf5f6 ddr: rk3228: select dpll power down mode 1
    9b756780 ta verify: close default key for sign ta

Change-Id: Ieb80b9d7232157e5d763e5de85fc983b75a91f48
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2023-08-14 16:50:35 +08:00
Chuanhu Sun
10fa5fb593 rv1106: rv1106_hpmcu_wrap: update version to v1.60
build from rockit-ko commit in master branch:
    a9f7a933 [mcu] bin: update version to v1.6.0

build from hal commit in master branch:
    a76806e7 project: common: riscv: change riscv toolchain to xpack

Signed-off-by: Chuanhu Sun <aaron.sun@rock-chips.com>
Change-Id: I3e1ee12563c8f5a291004b8b2b030b5598b9aaf0
2023-08-11 16:11:31 +08:00
YouMin Chen
da0efd5be7 rk3588: ddr: update ddrbin to v1.13
build from:
    25cee80c4f rk3588: ddr: fix LPDDR5 528MHz write training issue
update feature:
    1. fix LPDDR5 528MHz write training issue
    2. fsp_param update vref_inner for each channel
    3. Support both per-bank refresh and derating enabled

Note: BL31 should be update to V1.41

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: I78f0d2ab4f10b71330ce677c4f6ae0d31d982ef2
2023-08-11 14:39:35 +08:00
XiaoDong Huang
90fe035479 rk3588: bl31: update version to v1.41
Build from ATF commit:
    b7c5102a2 plat: rk3588: support l3 partition
update feature:
    b7c5102a2 plat: rk3588: support l3 partition
    bdf80c454 rockchip: add tag_boot1p.param related macros
    a1c232f02 plat: rk3588: dmc: add print match relation between ddr bin and bl31
    63938f87e plat: rockchip: rk3588: dmc: update vref_inner for each channel
    55608cbdd plat: rk3588: mcu_sleep: pass parameters through shared memory
    a64e99ed9 plat: rockchip: common: add SHARE_PAGE_TYPE_SLEEP define

Change-Id: I167a89855d29c63bf1215dd06ac0c294968909fd
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2023-08-10 14:53:21 +08:00
shengfei Xu
71a9caf4ad rk3568: bl31: add rk3568_bl31_cpu3_v1.01.elf
build from:
	b3d2ce25a cpu3 boot
update feature:
	a1c232f02 plat: rk3588: dmc: add print match relation between ddr bin and bl31
	63938f87e plat: rockchip: rk3588: dmc: update vref_inner for each channel
	7bfd76051 plat: rk3528: monitor: check vp9 for rk3528

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Ia3e8b58d12ed43a23df0bebebede4729c1269200
2023-08-04 18:11:59 +08:00
Jon Lin
20e829491b px30: loader: Update to v1.37
build from:
	rk_boot_all: c949b248 paltform: rk3326: Update to v1.37
update feature:
	Support SLC Nand secure boot

Change-Id: I1c6cec22eaa19b019eee15adb1a60ea7b136d27d
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2023-08-02 14:58:20 +08:00
Jon Lin
c9bf4ab9ab rk3326: loader: Update to v1.37
build from:
        rk_boot_all: c949b248 paltform: rk3326: Update to v1.37
update feature:
        Support SLC Nand secure boot

Change-Id: I31bf16fd1878d31389badaf2e0eae49007772505
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2023-08-02 14:58:20 +08:00
Zhihuan He
bac3cde4c6 tool: ddrbin_tool: update to v1.17 20230725
update feature:
	1. add ca skew modify for RK3528
	2. add first_init_dram_type/dfs_disable for RK3588

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I3d9c4cc8b739305adcd49153f9529fac6f0d9653
2023-08-02 14:43:50 +08:00
Hisping Lin
e44f028202 rv1106: tee: update version to v1.10
Build from OPTEE commit in develop-next branch:
    494b5c8d3 scripts: commit_bin.sh: support commit rv1106 platform
Update features:
    494b5c8d3 scripts: commit_bin.sh: support commit rv1106 platform
    7fb17d5c9 rv1106: disable CFG_RPMB_SW_KEY
    a8e7e4da9 rv1106: enable CFG_RK_SECURITY_LEVEL
    bcabf953b pta: crypto_service: modify param check in oem otp key cipher
    feccaa485 pta: uboot_storedata_otp: support check ta encryption key is written
    9e41a3f1e pta: uboot_storedata: support set and get security flag
    a09b31b6b plat-rockchip: rv1106: support mcu config
    42914e93d rockchip: sip: add SIP_MCU_CFG define
    efc6c42aa rockchip: sip: add rk_sip_soc_private_handler
    fbda29874 core: drivers: seed PRNG with RK TRNG
    d497d3f64 plat-rockchip: add rk_base.c for common base func
    eda5ab675 plat-rockchip: rv1106: support system reset

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I072a44551b9fd56495fa9e5af067ea1233ae0aba
2023-08-02 10:34:58 +08:00
cww
76d981cd48 rv1106: mcu: update hpmcu tb bin to v1.69
build from commit:
    rtt:b753ad6#hal:d93ef9fd#battery_ipc:1ced039

build from rt-thread commit in develop branch:
    b753ad6: bsp: rockchip: cameras: update sc230ai again map

build from hal commit in master branch:
    d93ef9fd: device: rk3568: touch gic everytime in IRQ_HardIrqPreemptHandler

build from battery-ipc commit in master branch:
    1ced039: fastae: update 2.2.3 version

Signed-off-by: cww <cww@rock-chips.com>
Change-Id: Id36563e24d4f6918e22f6d2ebf3783d3a350198b
2023-08-01 16:28:29 +08:00
Kever Yang
b4558da086 Add license file for the repository
Cover binary release and source code tools.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Change-Id: I71287e04f887a726ec316d297b9a0b1feb96c2b3
2023-07-26 10:44:26 +08:00
Weiwen Chen
64485cc2ab rv1106: set rv1106_hpmcu_wrap to MCU1
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I6b67dd33dc1791fe395472c7378643572f318ce6
2023-07-25 11:36:55 +08:00
Xuhui Lin
666b9409fa rv1106: RKTRUST: Modify [LOAD] to [MCU] in RV1106TOS_TB.ini
All mcu firmware should be under "standalone" or not "loadables"
only "standalone" will do mcu release, "loadables" will only load
and do nothing.

Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
Change-Id: Iabe2a9b7aea3f37e0bc3b46abb4ed6b7ccb5c248
2023-07-25 09:27:10 +08:00
Liang Chen
b28842d54c rk3528: bl31: update version to v1.16
Build from ATF commit:
	7bfd76051 plat: rk3528: fix deadlock for soc monitor
update feature:
	7bfd76051 plat: rk3528: fix deadlock for soc monitor
	21d1e979f plat: rk3568: optimal the virtual poweroff configuration
	55608cbdd plat: rk3588: mcu_sleep: pass parameters through shared memory
	a64e99ed9 plat: rockchip: common: add SHARE_PAGE_TYPE_SLEEP define

Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: I16f8f542c59027aa3e209516d20e668d7fd0fcd9
2023-07-21 05:50:39 +08:00
Ziyuan Xu
2c88cc70e9 rv1106: mcu: update hpmcu tb bin to v1.68
build from commit:
    rtt:097fece7#hal:d93ef9fd#battery_ipc:21165ac

build from rt-thread commit in develop branch:
    097fece77d bsp: rockchip: rv1106-mcu: board: use pstore-mcu-log as console_output

build from hal commit in master branch:
    d93ef9fd: device: rk3568: touch gic everytime in IRQ_HardIrqPreemptHandler

build from battery-ipc commit in master branch:
    21165ac fix print log condition

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: Ifa3da1c8d2468a6905ab416d8a25937385ff9021
2023-07-21 09:08:31 +08:00
Tang Yun ping
70a4b3fc75 rk3566: ddr: update ddrbin to v1.18
build from:
	f366f69a7d rk3568: ddr: update ddr bin to v1.18
build command:
	./make.sh rk3568
update feature:
	Fixed the suspend/resume function crash problem caused by DDR
active_ranks configuration error

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: Iaf8ba7f8af7734c886c0a232b8c17dda04b7b24d
2023-07-19 16:13:13 +08:00
Tang Yun ping
9512e6dcff rk3568: ddr: update ddrbin to v1.18
build from:
	f366f69a7d rk3568: ddr: update ddr bin to v1.18
build command:
	./make.sh rk3568
update feature:
	Fixed the suspend/resume function crash problem caused by DDR
active_ranks configuration error

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: I5c339e2cd702ba94cd1956545ac3f90fad61f665
2023-07-19 16:13:13 +08:00
Liang Chen
39a423aa46 rk3528: bl31: update version to v1.15
Build from ATF commit:
	d8ae91904 plat: rk3528: monitor: add support for rk3528a

update feature:
	d8ae91904 plat: rk3528: monitor: add support for rk3528a
	3897d3ebb plat: rk3528: use stimer1 instead of stimer0 as monitor fiq
	9634404ba plat: rk3528: otp: define otp_ns_buf as uint16_t
	dc1125f48 plat: rk3588: Add support to reset vop sub mem pd
	d441839bc plat: rk3588: dmc: suspend: clrbit RD_CAL_MODE if rd deskew is 0
	054a7a084 plat: rk_fpga: always implete cpu on/off functions
	daf2f851d rk_fpga: rk_fpga_rk3576: update for new fpga/zebu version
	b94bc9918 plat: rk3588: don't stop if cpu status error
	001b4889e plat: rockchip: rk3588: scmi: Modify pvtpll table for rk3588j/m
	7ecd53689 plat: rk3588: clock: Adjust pvtpll table by otp
	89675b506 plat: rk3588: otp: change read size to 128 bytes
	5bcde3881 plat: rk3528: support sleep_pin_config
	bf602aff1 plat: rk3568: disable sdei
	6aca6a078 rockchip: reduce the time waiting for cpu to stop
	17f494475 plat: rk3588: delete rockchip_soc_cores_pwr_dm_on_finish_late/resume_late
	6f820192d plat: rk3568: delete rockchip_soc_cores_pwr_dm_on_finish_late/resume_late
	3b69c1b3d opteed: pm: mask all interrupts before enter to optee
	a394bf0a3 plat: rk3562: add the hash calculation for ultra suspend mode
	ad741c04f plat: rk3562: save/restore the pmic register in the ultra suspend mode
	7e65e9348 plat: rk3562: Add interface to config the MCU
	dfd64c37f plat: rk3588: hdmirx: support auto_touch target cpu config
	93f1e6233 plat: rk3562: dmc: update dcf code to v1.02

Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: Idc96f6725232b700ce1ae3952f4de66f260bbd32
2023-07-17 08:52:08 +08:00
Finley Xiao
2987009b49 rk3588: bl31: update version to v1.40
Build from ATF commit:
	dc1125f48 plat: rk3588: Add support to reset vop sub mem pd
update feature:
	dc1125f48 plat: rk3588: Add support to reset vop sub mem pd
	d441839bc plat: rk3588: dmc: suspend: clrbit RD_CAL_MODE if rd deskew is 0
	b94bc9918 plat: rk3588: don't stop if cpu status error

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ib6874231bdf73f0dac30240e9626f27eed99a41b
2023-07-13 16:45:24 +08:00
Zain Wang
7051cd57c7 tools: rk_sign_tool: Update to v1.39
Fixed rkbin loader signed error.

Signed-off-by: Zain Wang <wzz@rock-chips.com>
Change-Id: Idbab33ebb08bd5d19a21d7ca133abd240b67bfe6
2023-07-11 18:24:17 +08:00
Wesley Yao
431b866369 rv1106: ddr: Update DDR bin to v1.13 20230710
Build from:
	37a6671fc7 dram_init: rv1106: Update to v1.13

Update feature:
	be7129d2d5 drivers: ram: rv1106: Support resume

Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
Change-Id: Ib26434a5149e9a992d80203b5d9350a9835c2875
2023-07-11 16:36:58 +08:00
YouMin Chen
2952b2bd9f rk3588: ddr: update ddrbin to v1.12
build from:
	52218f4949 rk3588: ddr: add support print_train_result and print_mr

update feature:
	1. Add support print_train_result and print_mr
	1. Fixed init fail issue that max freq between 1066-1600MHz.
	2. Fixed the issue panic in ddrbin caused by multiple initialization of DDR.

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: I6fd0bf78a17321ebf2a58608e6fbc173bc895c5b
2023-07-06 19:52:06 +08:00
Wang Xiaobin
573e6932e5 rv1106: mcu: update gc2093 hpmcu tb bin to v1.66
build from commit:
    rtt:f047d6a191#hal:d93ef9fd#battery_ipc:68c599d

build from rt-thread commit in develop branch:
    f047d6a1: [Tools]: add battery-ipc repository version information

build from hal commit in master branch:
    d93ef9fd: device: rk3568: touch gic everytime in
IRQ_HardIrqPreemptHandler

build from battery-ipc commit in master branch:
    68c599d: fast_ae: fix compile warning

Signed-off-by: Wang Xiaobin <xb.wang@rock-chips.com>
Change-Id: If0b618b867e6eae9118bbbc683d106ae30ac2b48
2023-07-04 15:02:25 +08:00
Finley Xiao
dd45a46a0c rk3588: bl31: update version to v1.39
Build from ATF commit:
	001b4889e plat: rockchip: rk3588: scmi: Modify pvtpll table for rk3588j/m
update feature:
	001b4889e plat: rockchip: rk3588: scmi: Modify pvtpll table for rk3588j/m
	7ecd53689 plat: rk3588: clock: Adjust pvtpll table by otp
	89675b506 plat: rk3588: otp: change read size to 128 bytes
	17f494475 plat: rk3588: delete rockchip_soc_cores_pwr_dm_on_finish_late/resume_late
	dfd64c37f plat: rk3588: hdmirx: support auto_touch target cpu config

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I822b22c281f33c30f90a75e064d824ef7a152489
2023-06-27 20:28:09 +08:00
Zain Wang
50f626abcd tools: rk_sign_tool: Update to v1.38
Add RK3562 support.

Signed-off-by: Zain Wang <wzz@rock-chips.com>
Change-Id: I0fe4952f01582aa0bea969d3ba6753ab29c4ee79
2023-06-27 16:08:22 +08:00
Wang Xiaobin
ba6bde9ea0 rv1106: mcu: update gc2093 hpmcu tb bin to v1.65
build from commit:
    rtt:d2d09ba#hal:d93ef9fd#battery_ipc:0534d87

build from rt-thread commit in develop branch:
    d2d09ba: release RV1106/RV1103 RT-Thread SDK

build from hal commit in master branch:
    d93ef9fd: device: rk3568: touch gic everytime in IRQ_HardIrqPreemptHandler

build from battery-ipc commit in master branch:
    0534d87: fastae: sync with aiq v5.0x1.2-rc4

Signed-off-by: Wang Xiaobin <xb.wang@rock-chips.com>
Change-Id: I60844d653c6d6a2cefed4a7affdd8b5bb82e5fef
2023-06-25 15:52:21 +08:00
Ziyuan Xu
4d61e7f89f rv1106: mcu: update hpmcu tb bin to v1.67
build from commit:
    rtt:f047d6a191#hal:d93ef9fd#battery_ipc:68c599d

build from rt-thread commit in develop branch:
    f047d6a1: [Tools]: add battery-ipc repository version information

build from hal commit in master branch:
    d93ef9fd: device: rk3568: touch gic everytime in IRQ_HardIrqPreemptHandler

build from battery-ipc commit in master branch:
    68c599d: fast_ae: fix compile warning

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: Ib4333e09a9e8cf6a3d3ace1b410bb6d63baa7971
2023-06-21 18:49:18 +08:00
liuyi
275214401c tools: programmer_image_tool: Update to v1.25
using 0 as fill byte for emmc

Signed-off-by: liuyi <liuyi@rock-chips.com>
Change-Id: I6eb8b4b59831ec8721a5fd7427208f21d02b0bed
2023-06-21 14:40:23 +08:00
XiaoDong Huang
cde2bdb692 rk3568: bl31 l3_part_ecc: add initial version
Build from ATF commit:
    6f31c2d8c plat: rk3568: en RK_CACHE_ECC_EL1_CTRL_ENABLE

rk3568_bl31_v1.43.elf + l3 partition + cache ecc

Change-Id: I32447a30d6c0a5e6e5750fb0e868e45381694c7d
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2023-06-20 18:27:16 +08:00
Tang Yun ping
3be3cb9126 rk3566: ddr: update ddrbin to v1.17
build from:
	992b933606 rk3568: ddr: update ddr bin to v1.17
build command:
	./make.sh rk3568
update feature:
	1. Added support for 4rank LPDDR3/LPDDR4/LPDDR4x of different rows.
	2. Enable derate function for LPDDR4/LPDDR4x.

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: I39023338802678a5f7380781b58adc888251e68e
2023-06-20 01:38:21 +00:00
Tang Yun ping
2fb4712276 rk3568: ddr: update ddrbin to v1.17
build from:
	992b933606 rk3568: ddr: update ddr bin to v1.17
build command:
	./make.sh rk3568
update feature:
	1. Added support for 4rank LPDDR3/LPDDR4/LPDDR4x of different rows.
	2. Add DDR ECC poison function support.
	3. Enable derate function for LPDDR4/LPDDR4x.
	4. Add pstore support when ECC enabled.

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: Ibf34399532706153d98ee3b2f56cde4ca83e8e91
2023-06-20 01:38:21 +00:00
Joseph Chen
f7909cbb5d scripts: checkpatch: Add month check
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I7a09cd5a4324a8d661d76e0f565fb8aa0134dd59
2023-06-20 01:38:21 +00:00
Weiwen Chen
939d1016bf rv1106: mcu: update sc4336/sc3336/sc3338/sc230ai/dual_sc3338 hpmcu tb bin to v1.66
build from commit:
    rtt:07ac6e9#hal:d93ef9fd#battery_ipc:04a4e08

build from rt-thread commit in develop branch:
    07ac6e9: bsp: rockchip: camera: conver reg list to support i2c continuous writing

build from hal commit in master branch:
    d93ef9fd: device: rk3568: touch gic everytime in IRQ_HardIrqPreemptHandler

build from battery-ipc commit in master branch:
    04a4e08: fastae: sync with aiq v5.0x1.2-rc5

Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I45618153cedff67c7595e6377a68d63c0eb936ef
2023-06-12 11:14:20 +08:00
Hisping Lin
9e447be261 rk3568: bl32: update version to v2.10
Build from OPTEE commit in develop-next branch:
    dcfdd61d0 rk3568: support for correcting attribute hash
Update features:
    dcfdd61d0 rk3568: support for correcting attribute hash
    6f10374e5 rk3568: support for correcting root device key
    d3c13d5d5 rk3568: support for correcting cpu id data
    f514a2989 rk3568: add func for support otp backup
    d497d3f64 plat-rockchip: add rk_base.c for common base func
    63cf17a51 drivers: hal_crypto: fixed 32-bit platform compilation errors
    2e4ec1697 drivers: hal_crypto: fixed CRYPTO crash when using dynamic shared memory
    74243eff3 drivers: rockchip: hal_crypto: automatic reset after calculation error
    64d17e36f pta: crypto_service: added the address parameter security check
    7b8c9847b pta: uboot_storedata_otp: enable kernel read secure boot flag
    84db04157 pta: uboot_storedata_otp: enable kernel read vboot key hash
    597e4214d core: main: register ddr to enable dynamic SHM
    66a458730 core: lpae: increase PGT_CACHE_SIZE when define CFG_WITH_LPAE
    ec7e85d54 plat-rockchip: support pstore for optee log

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I2493480b1b6bcbe9bddb0ab8d3eda9abb776a643
2023-06-12 10:16:24 +08:00
XiaoDong Huang
d1a4038846 rv1106: tee with ta: add initial version v1.00
Build from optee commit in develop-next branch:
    eda5ab67 plat-rockchip: rv1106: support system reset

Update feature:
    eda5ab67 plat-rockchip: rv1106: support system reset
    005c73e9 plat-rockchip: rv1106: disable dynamic share memory
    cb5b2dc5 plat-rockchip: rv1106: support oem key cipher
    219e4f0f scripts: commit_bin.sh: add rv1106 platform in show_usage
    8ae66992 rv1106: add oem otp key functions
    7a4b866d rv1106: enable CFG_RK_OEM_NS_OTP
    239b47c1 rv1106: otp: enable CFG_RK_UBOOT_STORE_OTP
    89c39ca3 rv1106: otp: enable CFG_OTP_SUPPORT
    409eacd1 rv1106: otp: support R&W OTP data
    ad7d3b6c plat-rockchip: support rv1106 soc

Change-Id: If1ce3d77f0390c6fccc73a31efac3fdf52037de5
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2023-06-09 09:42:29 +08:00
Tang Yun ping
c758ad068b rk3562: ddr: update ultra ddrbin to v1.05
build form:
	229cf1e07c rk3562: ddr: ultra: update ddrbin to v1.05

update feature:
	Verify the DDR data when resume to avoid DDR data stamp
errors during suspend and cause failure to wake up.

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: I141f976a134793f619d8833452ec2d0054356536
2023-06-08 09:15:35 +08:00
Zhihuan He
05cba45efa rk3528: ddr: update ddrbin to v1.06
build from:
	1ab0bfbe2d dram_init: rk3528: Update to v1.06

update feature:
	5f9388bcbd dram_init: rk3528: modify ca skew match to 1056MHz
	1a7795a28 dram_init: rk3528: modify byte map for eye scan
	21c9ca57d dram_init: rk3528: add ddrbin size limit
	ab9dfec107 drivers: ram: rk3528: used ca skew bypass mode for lp3
	ed4cec0543 drivers: ram: rk3528: split loader params inc file
	26b064f888 drivers: ram: rk3528: add skew version in loader parameter
	f5529cb80d drivers: ram: rk3528: modify DDR4 2L PCB config by SI

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I3aae58bcf14cc644333c3c56d207a64e76a765db
2023-06-05 16:21:05 +08:00
Liang Chen
1ea59cc63b rk3568: bl31: update version to v1.43
build from:
	bf602aff1 plat: rk3568: disable sdei

update feature:
	bf602aff1 plat: rk3568: disable sdei
	6aca6a078 rockchip: reduce the time waiting for cpu to stop
	17f494475 plat: rk3588: delete rockchip_soc_cores_pwr_dm_on_finish_late/resume_late
	6f820192d plat: rk3568: delete rockchip_soc_cores_pwr_dm_on_finish_late/resume_late
	3b69c1b3d opteed: pm: mask all interrupts before enter to optee
	a394bf0a3 plat: rk3562: add the hash calculation for ultra suspend mode
	ad741c04f plat: rk3562: save/restore the pmic register in the ultra suspend mode
	7e65e9348 plat: rk3562: Add interface to config the MCU
	dfd64c37f plat: rk3588: hdmirx: support auto_touch target cpu config
	93f1e6233 plat: rk3562: dmc: update dcf code to v1.02
	1b2124ab7 plat: rk3528: move bl31_base to 0x80000
	9152290e3 plat: rk3562: Add ecc_flag judgment for soc version
	256248a10 plat: rk3562: otp: Add support get ecc flag

Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: Ide503b0b8fc26b3d635d6ea289bac6ae53cbf1fb
2023-06-05 11:19:18 +08:00
Chen Fen
2b70b343ae rk3399: miniloader usbplug: update version to 1.30.
build from:
        8665a18a2: fixed sometime read efuse fail after efuse program.

update feature:
        fixed sometime read efuse fail after efuse program.

Signed-off-by: Chen Fen <chenfen@rock-chips.com>
Change-Id: Idde4cf76d4b4269d757405dff18bb6ae12abbf42
2023-06-05 10:02:19 +08:00
YouMin Chen
1c9962b9a5 tool: ddrbin_tool: update to v1.15 20230530
update feature:
        1. update parameter ext_temp_ref_en to ext_temp_ref

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: I516758daf747acc975624dfa148d74a472b3cd59
2023-06-05 09:13:37 +08:00