Commit Graph

2005 Commits

Author SHA1 Message Date
Hisping Lin
caec6399ad rk3506: tee with ta: Add initial version V1.00
Build from optee commit in develop-next branch:
    3ea8b24a1 rk3506: enable CFG_CORE_DYN_SHM and CFG_RK_USE_RESERVED_SHM

Change-Id: I428bfaf8f476976da08c4e31d36e218754b330b2
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2024-12-04 09:42:18 +08:00
Tang Yun ping
2c928c6a81 rk3506: tee: Update version to v1.26
Build from:
	169a13a37 plat-rockchip: rk3506: Add the missing sub.mk file

Update features:
	Added DDR trefi dynamic adjustment interface.

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: Ia61045d97b873e4c3f94e0b54014d8679c199db0
2024-11-29 09:35:25 +08:00
Zhihuan He
32ccaf811a rk322xh: ddr: update ddr init code to v1.21
from commit:
	48fb7bc rk322xh: update DDR Version 1.21 20241126

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I4198347b7b9f8c96e203e59ff996edc738e37b1d
2024-11-26 15:53:00 +08:00
Zhihuan He
b28e71a27b rk3328: ddr: update ddr init code to v1.21
from commit:
	48fb7bc rk322xh: update DDR Version 1.21 20241126

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I5a3bdfd6a1b506aba31dbd2d48feb208cab50b1c
2024-11-26 15:52:54 +08:00
XiaoDong Huang
8f84952408 rk3528: bl31: update version to v1.18
Build from ATF commit:
    059b3c586 opteed: pm: restore icc_pmr after on_finish/suspend_finish handle
update feature:
    059b3c586 opteed: pm: restore icc_pmr after on_finish/suspend_finish handle
    f59798f60 plat: rockchip: Optimize some function names and code commenting
    069fc8a18
    4858aa126 plat: rk3528: only enable one ca odt in same channel
    f1e50a2bc plat: rockchip: move rockchip_cpus_status to common file
    810119069 plat: rk3528: virt-poweroff: dump wakeup source
    6a314b999
    a0178dfb6
    bffcafacd plat: rk3528: dmc: add axi split support for suspend/resume
    ba6ef224d rockchip: common: add ACCESS_MEM_OS_REG define
    5fb78cd64 rockchip: uart: switch to loopback mode before checking busy status
    02ff3b0da rockchip: uart: save uart register once
    cafe351b4 rockchip: support non-24M counter
    524fc65d0 rockchip: scmi: clock: add common clock
    4a52a1f56 plat: rockchip: uart: set max timeout 5.6ms wait for uart busy
    f282bdae0 rockchip: pstore: fix the error that rb->start is too big

Change-Id: I265f88dea3fe54154e7837db9c36d8a59b790d61
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2024-11-18 17:56:32 +08:00
Hisping Lin
7e8794bc17 rk3588: bl32: update version to v1.19
Build from OPTEE commit in develop-next branch:
    57604957e pta: rk_os_service: add support for dolby
Update features:
    57604957e pta: rk_os_service: add support for dolby
    902ec504b rk3588: add function for dolby
    db0018c0b ree_fs_ta: fixed read ta_ver.db error cause by poweroff

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: Ife35f04e3fcc899d5b01dfe5d6e29e1db47fbef0
2024-11-15 16:22:30 +08:00
Tang Yun ping
167d377195 rk3562: ddr: update ddrbin to v1.07
build from:
	6e9ae14bbb rk3562: ddr: update ddrbin to v1.07

update feature:
	1. fix ddr4 cap detect fail bug.
	2. Added ddr type detection order configurable through ddrbin
tool.

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: Ia59c492317dcebc5bdef8b077d111c6eb6b91858
2024-11-14 15:48:55 +08:00
Tang Yun ping
deea0cd65b rk3506: ddr: update ddrbin to v1.04
build from:
	0ac6b06a19 dram_init: rk3506: update ddrbin to v1.04

update feature:
	Fixed the slow booting issue when using SPI FLASH.

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: Ic94f38821e01ffd1a41d38fb320764529ebd231e
2024-11-13 17:27:06 +08:00
Joseph Chen
6b7558b07c rk3506: tee: Update version to v1.25
Build from:
	0e7e5b3c7ff rk3506: Add 'rockchip,sleep-io-config' setting support

Update features:
	0e7e5b3c7ff rk3506: Add 'rockchip,sleep-io-config' setting support
	5813e173a28 rk3506: pmu: Power up v1pll before logic off suspend

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Id5448cb5046fb086203d62e75f314b4faef32775
2024-11-12 09:31:41 +08:00
Jon Lin
b3d90eea3c rk3588: pcie_ep: Update to v2.20
Build from:
	bootloader: 1f74d1059 src: driver: pcie: Support pmic rst_fun 1
Build command:
	./tools/mk_pcie_idb.sh RK3568.
Update feature:
	Update the version.

Change-Id: Iaae406faa732c9fe903d67276151165cda5cf955
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-11 14:39:54 +08:00
Xuhui Lin
a6cf109c33 tools: setting.ini: Solve compile problem because no sign_algo=
Change-Id: I3be0c01cfda95e72cbe58b993811482b76835bb6
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
2024-11-08 15:57:34 +08:00
XiaoDong Huang
374c401fda rk3576: bl31: update version to v1.14
Build from ATF commit:
    c481e5368 rockchip: hptimer: merge hptimer_common.h/hptimer_v2.h to hptimer.h
update feature:
    c481e5368 rockchip: hptimer: merge hptimer_common.h/hptimer_v2.h to hptimer.h
    2aeb63a6b plat: rk3576: sleep: support SLP_ARCH_TIMER_RESET
    059b3c586 opteed: pm: restore icc_pmr after on_finish/suspend_finish handle
    6d1b978c9 plat: rk3576: add rk3576_j/m1 support
    23eb8825b plat: rk3576: sip: add pvtpll config support
    423772e17 plat: rockchip: rk3576: Add pvtpll config for rk3576j/m
    f59798f60 plat: rockchip: Optimize some function names and code commenting

Change-Id: Iadb060bd1e2b9a71ee469f38ee329f9f4fec0a20
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2024-11-08 11:39:28 +08:00
YouMin Chen
08d92ffe43 rk3576: ddr: update to v1.09 20241107
Build from:
    2f85f4b2d4 dram_init: rk3576: update to v1.09

Update feature:
    1. enable hptimer hardware adjust mode
    2. add support RK3576J and RK3576M
    3. let rk3576 ddr schedule determined by loader parameter
    4. let pagematch_limit=1

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: Icb6e2af91078a1465c14fef1f18c6d8300253e3b
2024-11-07 19:33:43 +08:00
Xuhui Lin
8d6f51a69e rk3576: usbplug: Add arch timer 1Ghz support
Build from:
	13ceb2afdcb rockchip: Add arch timer 1Ghz support

Update features:
	13ceb2afdcb rockchip: Add arch timer 1Ghz support

Change-Id: I2b813df8c8c1d07449ceb162fe2de2aabf3515ca
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
2024-11-07 19:01:11 +08:00
Xuhui Lin
9923212e79 rk3576: spl: Add arch timer 1Ghz support
Build from:
	13ceb2afdcb rockchip: Add arch timer 1Ghz support

Update features:
	13ceb2afdcb rockchip: Add arch timer 1Ghz support

Change-Id: Ib3c35fc29a7993462ac5af360f635e8ee6a474d4
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
2024-11-07 19:00:47 +08:00
Joseph Chen
0038affb32 rk3506: tee: Update version to v1.24
Build from:
	2f392d41853 rk3506: Add rk3506j support

Update features:
	2f392d41853 rk3506: Add rk3506j support

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I76bdcda0cec34f49e38e82dd20b449206618f88a
2024-11-06 17:42:50 +08:00
chenfen
6578638540 rk3506: usbplug: update to v1.02
build from:
    d914c6b69: rk3506: usbplug update to v1.02.

update feature:
    1. fix some emmc upgrade fail.

Signed-off-by: chenfen <chenfen@rock-chips.com>
Change-Id: I22c53b27c9113685517e45f0dcf5b7401a1b56d5
2024-11-06 16:27:08 +08:00
Tang Yun ping
0588458ea0 rk3506: ddr: update ddrbin to v1.03
build from:
	508b0f9682 dram_init: rk3506b: update ddr3 driver strength

update feature:
	1. Update d3/d2 drv for rk3506b/j.
	2. Add rk3506j support.
	3. Fix emmc download failure issue.
	4. Since most DDR2 chips can only reach a maximum of 533M,
the default DDR2 frequency is changed to 451MHz

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: I746ff161f588dbe00cacc622751999e17bf4536c
2024-11-06 16:26:52 +08:00
Joseph Chen
6c31c7e693 rk3506: remove unsed rk3506_tee_v1.22.bin
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I2cb824ead9f73f0c2fd30a20e2effe6031fd1ee4
2024-11-01 10:32:18 +08:00
Hisping Lin
a57becd5d1 rv1103b: tee: update version to v1.02
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I02da572751f84af3f918651602d2683d17ebf9fc
2024-11-01 09:34:00 +08:00
Hisping Lin
4452b7db11 rk3576: bl32: update version to v1.05
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    6304c3979 drivers: rockchip: keylad: clear keytable after use
    144ae5ffd drivers: hal_crypto: added alignment judgment for input and output addresses
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0d91f9cbd drivers: rockchip: keylad: add keylad flow support
    ec834c50c rk3576: fixed conditions for check oem otp key lock
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I99e7f98e8609acf16ea91b964cdb15f9d24fc779
2024-11-01 09:32:33 +08:00
Hisping Lin
6e41e0b278 rk3562: bl32: update version to v1.07
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    6304c3979 drivers: rockchip: keylad: clear keytable after use
    144ae5ffd drivers: hal_crypto: added alignment judgment for input and output addresses
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    0ccbe0828 plat-rockchip: otp: disable otp lock before otp boot
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0d91f9cbd drivers: rockchip: keylad: add keylad flow support
    64328a17e rk3562: fixed conditions for check oem otp key lock
    8714e784c rk3562: modify conditions for set secure boot flag
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I021dae830636187a14b2749ea3985ccc7bf4b8d0
2024-11-01 09:16:38 +08:00
Hisping Lin
e0f51903af rk3528: bl32: update version to v1.06
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    6304c3979 drivers: rockchip: keylad: clear keytable after use
    144ae5ffd drivers: hal_crypto: added alignment judgment for input and output addresses
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    0ccbe0828 plat-rockchip: otp: disable otp lock before otp boot
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0d91f9cbd drivers: rockchip: keylad: add keylad flow support
    ba7e24ffb rk3528: fixed conditions for check hdcp key lock
    0832890ab rk3528: fixed conditions for check oem otp key lock
    742000563 rk3528: add support for esck key
    b4d4642bd rk3528: modify conditions for set secure boot flag
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I2aed52a57a594a6a230ca200a014ae92f757aa92
2024-11-01 09:16:38 +08:00
Hisping Lin
4319c88054 rv1106: tee: update version to v1.13
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    144ae5ffd drivers: hal_crypto: added alignment judgment for input and output addresses
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    57d3268ef rv1106: modify tee load address to 61M
    0ccbe0828 plat-rockchip: otp: disable otp lock before otp boot
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I7ab720d71d46be422c195e81cc9917a980980f20
2024-11-01 09:16:38 +08:00
Hisping Lin
98b3917515 rk3588: bl32: update version to v1.18
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    6304c3979 drivers: rockchip: keylad: clear keytable after use
    144ae5ffd drivers: hal_crypto: added alignment judgment for input and output addresses
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0d91f9cbd drivers: rockchip: keylad: add keylad flow support
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: Ic49c0d1f2535eedff57e38c351435dcc98ba7fbb
2024-11-01 09:16:38 +08:00
Hisping Lin
90774e77e2 rv1126: tee: update version to v2.14
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    144ae5ffd drivers: hal_crypto: added alignment judgment for input and output addresses
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I07ec5d6911900faa79068ef159a94459fa8f3db7
2024-11-01 09:16:38 +08:00
Hisping Lin
e414db99fc rk3568: bl32: update version to v2.15
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    144ae5ffd drivers: hal_crypto: added alignment judgment for input and output addresses
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    ce21cdd30 rk3568: add support for fw encrypt key
    0ccbe0828 plat-rockchip: otp: disable otp lock before otp boot
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0d91f9cbd drivers: rockchip: keylad: add keylad flow support
    4038bbe1d rk3568: correct GIC offset address
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I4b1d83356e1c9c895c10f40c518e76e700bc21fd
2024-11-01 09:16:38 +08:00
Hisping Lin
eb48107102 rk3358: bl32: update version to v2.10
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    0d91f9cbd drivers: rockchip: keylad: add keylad flow support
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I66f688759203b4bb2b8f2ef4dbb9c435b134eddf
2024-11-01 09:16:38 +08:00
Hisping Lin
10e41dbf17 rk3308: bl32: update version to v2.09
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    0d91f9cbd drivers: rockchip: keylad: add keylad flow support
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I1eaa2a87b0877c29b02f1c10d579d3d1f4667824
2024-11-01 09:16:38 +08:00
Hisping Lin
d3099ea19a px30: bl32: update version to v2.19
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: Ibb3e8563fb713a0d5a19ea3072dd22fa3f47296e
2024-11-01 09:16:38 +08:00
Hisping Lin
dbcd77f4eb rk3326: bl32: update version to v2.19
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I69df3827275e4d90f7ec115eac11c87b06182043
2024-11-01 09:16:38 +08:00
Hisping Lin
48cab256d3 rknpu_lion: bl32: update version to v2.03
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail
    4cd67e2b3 plat-rockchip: common: support soft ta encryption key
    7eeac5fbf core: rpmb: change read data to multiple times
    cb202f37a libutee: increase MPI_MEMPOOL_SIZE size
    392302b07 UPSTREAM: core: tee_entry: fix array out of bounds check in cleanup_shm_refs()
    185dc3c92 pta: crypto_service: optimization parameter check
    22c240efc pta: rockchip: rk_os_service: add parameter checking for trng
    bde521b1e pta: uboot_storedata_efuse: optimization parameter check
    8631500dc pta: uboot_storedata: optimization parameter check
    6d56b8ea5 pta: rockchip: enhanced parameter checking for R&W OTP
    540ade275 core: arm: print tee memory usage
    c0f517747 drivers: hal_crypto: Fix the calculation error when the address exceeds 32bit
    001a84604 rockchip: atags: add fwver tag support
    b026c133f scripts: commit_bin.sh: print RKBIN_PLATFORM
    6e53dbcc4 scripts: commit_bin.sh: support commit rknpu_lion platform

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I02e4a326a6715ac848a34c1dbd57c26343e5fa62
2024-11-01 09:16:38 +08:00
Hisping Lin
ed71f74923 rk1808: bl32: update version to v2.05
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    6304c3979 drivers: rockchip: keylad: clear keytable after use
    144ae5ffd drivers: hal_crypto: added alignment judgment for input and output addresses
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    4cd67e2b3 plat-rockchip: common: support soft ta encryption key
    7eeac5fbf core: rpmb: change read data to multiple times
    cb202f37a libutee: increase MPI_MEMPOOL_SIZE size

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: If75f2d313ffa890aca013a24fa4c6b5ef671f9aa
2024-11-01 09:16:38 +08:00
Shengfei Xu
62d782d226 rk3576: bl31: update version to v1.13
Build from ATF commit:
    b21ffefc7 plat: rk3576: sleep: Add control for PLDO2 in the system suspend/resume
update feature:
    b21ffefc7 plat: rk3576: sleep: Add control for PLDO2 in the system suspend/resume
    b140017c6 plat: rk3576: fix the mrr_cycles issue for LPDDR5 of one rank

Change-Id: Ie3b259708547dea133d18c018ff500642f5081d8
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2024-10-31 10:53:31 +08:00
Yu Zheng
2141de6806 rv1103b: rv1103b_hpmcu_wrap: update version to v2.02
build from rockit-ko commit in master branch:
        26f0ca4 mcu: update v2.0.2

Signed-off-by: Yu Zheng <yu.zheng@rock-chips.com>
Change-Id: I9c0d51b2be0699f1221885ddb3384b0cb269c54a
2024-10-29 11:02:55 +08:00
Zhihuan He
7c35e21a85 rk3308: ddr: Update DDR bin to v2.10
Build from:
	da47953620 dram_init: rk3308: Updata to v2.10

Update feature:
	7ac0a4731c dram_init: rk3308/rv1108: fix the bug in ddr2 bank
detect process

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: Iec5cc7165fbd355f00bad2630fb4db72dcdaab51
2024-10-23 11:01:34 +08:00
Zhihuan He
326d788351 rk3328: ddr: update ddr init code to v1.20
from commit:
	4d28874 rk322xh: update DDR Version 1.20 20241018

update feature:
	b67e1c6 rk322xh: fix diff bank and bg detect error

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: Iec62fed46d5af7f14e51a2ea8016421791efe535
2024-10-18 18:03:37 +08:00
Zhihuan He
8e4040db6d rk322xh: ddr: update ddr init code to v1.20
from commit:
	4d28874 rk322xh: update DDR Version 1.20 20241018

update feature:
	b67e1c6 rk322xh: fix diff bank and bg detect error

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: Ib5b301533d15446e47084e7a8a214f88b01a4fb1
2024-10-18 18:02:50 +08:00
Joseph Chen
12660714c8 tools: Update mkimage
- Fix "8520f4e537a tools: update mkimage" which brings:
  /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
  /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found

- This version support build more platform idblock.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I664396e666302bc8ae0af74bb2b42ca5e78f1197
2024-10-18 09:26:11 +08:00
Joseph Chen
117713fd2e rk3506: tee: Update version to v1.23
Build from:
	32e87b6fe32 rk3506: pmu: Fix system suspend issue due to pwrctrl high glitch

Update feature:
	32e87b6fe32 rk3506: pmu: Fix system suspend issue due to pwrctrl high glitch

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ibe25c0da302aa86cae7c26af44079fffa5a0ec06
2024-10-18 09:07:38 +08:00
Zhihuan He
d0052f1b23 rk3036: ddr: ddr init code update to v1.11
form commit:
	6e5db1d rk3036: ddr: update to 20241017 fwver v1.11

update feature:
	c09bb7a rk3036: ddr: fix the bug in ddr2 bank detect process

Change-Id: I2d76a0787a347d0fcb152c9fa9d7405f763f3a9e
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2024-10-17 17:18:19 +08:00
Kever Yang
385bf9f170 license: typo fix
Change-Id: I2761bae7295a2d68406b063fbe41790a912b3cb9
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2024-10-17 15:55:30 +08:00
Yifeng Zhao
8520f4e537 tools: update mkimage
build with command:
      ./make.sh rk3588

from next-dev:
      60495a9f07 configs: px30/rk3326: support RNG SEED

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ibbe27b8d7a96e5b837f98f371899c22a2c253d81
2024-10-17 11:47:13 +08:00
Shengfei Xu
57398079b5 rk3562: bl31: update version to v1.21
build from:
	b115137cb plat: rk3562: Disable version judgment
update feature:
	b115137cb plat: rk3562: Disable version judgment
	069fc8a18 plat: rk3528: monitor: delay 30 minutes to check
	281dd3d0c plat: rk3562: only enable one ca odt in same channel

Change-Id: I6d310be8aabdb99e86f09b0f6e12497b2768ed8f
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2024-10-15 14:24:09 +08:00
YouMin Chen
a115449734 rv1103b: ddr: update ddrbin to v1.05
build from:
    a0d2414c29 dram_init: rv1103b: update ddrbin to v1.05

update feature:
    1. Retry read gate training if result error.

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: I463903a3ab4dd80a449222fcead924d71393bc4a
2024-10-14 17:34:23 +08:00
Hisping Lin
b7f5e75b52 rv1103b: tee: update version to v1.01
Build from OPTEE commit in develop-next branch:
    066b2fbeb scripts: commit_bin.sh: support commit rk3506 platform
Update features:
    066b2fbeb scripts: commit_bin.sh: support commit rk3506 platform
    0c3cdfe8d scripts: commit_bin.sh: support commit rv1103b platform
    91570f0e6 rv1103b: modify tee load address to 62M
    0ccbe0828 plat-rockchip: otp: disable otp lock before otp boot
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: Ia0c7123dbe17ea1a84a78ba459dcc74cea91948f
2024-10-14 17:25:46 +08:00
Wesley Yao
e71af63111 rv1126: ddr: Update to v1.11 20241011
Build from:
	af45c23638 dram_init: rv1126: Updata to v1.11

Update feature:
	68a258c645 dram_init: common: delete weak keyword in h file
	16dbd83bd7
	df9ee7eb46 drivers: ram: rv1126: Add DDR4 vrefdq update
	dfa73e5866 drivers: ram: rv1126: Use normal mode read gate for DDR4

Change-Id: Id84f473cbd9933b4a11d1d9f90077b3f356d2e57
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-10-14 11:16:51 +08:00
Tang Yun ping
ab8467c136 rk3506: ddr: update ddr bin to v1.02
build from:
	c7d3dcd3f0 dram_init: rk3506: update ddrbin to v1.02

update feature:
	1. support rk3502
	2. add 750MHz support.(Supported frequencies include 451 589
750MHz)

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: If958f8c3b15efba396c29607083bf9b63096add6
2024-10-11 16:21:08 +08:00
Joseph Chen
ac573a5ac7 rk3576: tee: Update to v1.22
Build from:
	c30e6610b38 rk3506: Add rk3502 soc support

Update feature:
	c30e6610b38 rk3506: Add rk3502 soc support

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I4ad1f3653d083aed698d0782eb074bde04724dae
2024-10-11 10:59:14 +08:00
YouMin Chen
57296ad286 rk3576: ddr: update to v1.08 20241009
Build from:
    fcb0cfd52f dram_init: rk3576: update to v1.08

Update feature:
    d3893bea0e dram_init: rk3576: add support RK3576S

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: Ie02a4502571869d73d6ef04ec98dfe0ff57ae436
2024-10-10 09:18:23 +08:00