2090 Commits

Author SHA1 Message Date
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
XiaoDong Huang
d090a7cbea rk3576: bl31: update version to v1.12
Build from ATF commit:
    2535b79ce plat: rk3576: don't compile params_setup.c
update feature:
    2535b79ce plat: rk3576: don't compile params_setup.c
    155c07e27 plat: rk3576: add rk3576_s1 support
    08210e5f5 plat: rk3576: add firewall buffer
    66c1aaeba plat: rockchip: rk3576: Add pvtpll config for rk3576s
    abfd36375 plat: rk3576: rename "FW_GRP_TYPE*" to "FW_LOOKUP_TYPE*"
    90ddf0d01 plat: rk3576: sleep: save/restore otp_mask
    20f771a5f plat: rk3576: add dvfs/periodic trn for resume code

Change-Id: I9b241eca0eb6c90183b5c3f306fd213ee45f4e26
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2024-10-09 19:36:44 +08:00
Jon Lin
4c4e8fd515 rv1103b: flash_acc: Add w25n01xx flash_acc code
build from:
	c2c14bb7e419 platform: RV1103B: Add falsh_acc W25N01XX

update feature:
	Support w25n01xx flash_acc.

Change-Id: I604ff8b1b1100295f91b33ff4fa950367d8252a4
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-10-08 09:42:45 +08:00
Wesley Yao
0812ff4ca3 rk3576: ddr: Update to v1.07 20240926
Build from:
	584efc13bf dram_init: rk3576: Update to v1.07

Update feature:
	525dc947fe dram_init: rk3576: fix resume ZQ calibration error for resume_flow
	10157b9fd9 dram_init: rk3576: fix lpddr5 mrr_cycles issue for resume_flow
	286df080e2 drivers: ram: rk3576: Scan max/min separately in rd_dqs_vref_training
	9fa84341ce dram_init: rk3588: update tx eye margin
	a665e899b4 Revert "dram_init: dram_scan_eye: Add JEDEC Rx Mask for scan_eye"
	c4088719a1 dram_init: rk3576: enable dvfs/periodic training for wide-temperature support
	e2d08d8021 dram_init: rk3588: enable dvfs/periodic training for wide-temperature support

Change-Id: I39019eb40921564fe9aab3f862f9a94429c6d94a
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-10-08 09:32:23 +08:00
Jon Lin
42196c12a1 rv1103b: usbplug-auto-merge: Update to v1.10
build from:
	f9ecba2b rv1103b: Set gpio2a6 as auto_merge default cs1
update feature:
	Set gpio2a6 as auto_merge default cs1.

Change-Id: I73c0d19b7449903411d171a2c57bf923e3cc3413
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-09-29 16:40:21 +08:00
Jon Lin
ec7e04fb71 rv1103b: usbplug-auto-merge: Add code
build from:
	a87eca5 configs: rv1103b-usbplug: Add code

update feature:
	Support spi nor auto merge.

Change-Id: Ia46fc4eabdeb6099afb751f1dfb50d9a1bd46052
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-09-25 18:02:19 +08:00
Jon Lin
5189cb1d89 rk3576: fspi1-usbplug: Update to v1.03
Build from u-boot:
	4546bd092ab5 rk3576: Using eMMC iomux configuration in ROM progress

Build command:
	./make.sh rk3576-usbplug

Update feature:
	Support GPT backup.

Change-Id: I069acd72c461b6d80af0cf0ea261c59599272126
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-09-18 21:55:08 +08:00
Wesley Yao
6a0c390ee5 rk3308: ddr: Update DDR bin to v2.09 20240906
Build from:
	286df080e2 drivers: ram: rk3576: Scan max/min separately in rd_dqs_vref_training

Update feature:
	d45546c806 dram_init: rk3308: Updata to v2.09
	cda52f8bb0 drivers: ram: rk3308: Disable auto self refresh
	9b8791b013 dram_init: common: poll USR.trans_fifo_not_full in uart_write

Change-Id: I519ac7a9759531b3a0ef426ddf81daf0d3122419
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-09-18 09:41:03 +08:00
Jon Lin
8396d039bf rk3308: miniloader: Update to v1.43
from commit:
	6c04ae99 rk_boot_all

update feature:
	Restore iomux after SD detect is invalid to avoid UART 2 M1 exception.

Change-Id: I47ed5b8b3a36caa5296ad61d01e2588712eb22e6
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-09-18 09:21:50 +08:00
XiaoDong Huang
46216ce32a rk3576: bl31: update version to v1.11
Build from ATF commit:
    5ed489867 plat: rk3576: add amp support
update feature:
    5ed489867 plat: rk3576: add amp support
    f1e50a2bc plat: rockchip: move rockchip_cpus_status to common file
    f25d95db3 plat: rk3576: sleep: enable RKPM_SLEEP_PIN1_EN by default
    5cea56787 plat: rk3576: poweroff: use sleep_pin_0 first
    16744f9b8 plat: rk3576: sleep: config cpu_wakeup according to boot_cpu
    02316fa91 OPTEE: Explicitly allow NS preemption for Yielding SMCs
    80be9361b fix(ehf): restrict secure world FIQ routing model to SPM_MM
    0b9727031 fix(bl31): allow use of EHF with S-EL2 SPMC
    ba718b5fc plat: rk3576: dmc: restore PHY OFFSET_DQ_CON0 during resume

Change-Id: I31c5e8ffc7cdee4952d513f67c06df752e3f9877
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2024-09-14 17:11:42 +08:00
Xuhui Lin
a82ddeb199 rk3576: spl: update to v1.06
Build from u-boot:
	8532be3569c ufs: rockchip: optimize the MPHY power detection mechanism

Build command:
        ./make.sh rk3576 --spl-new --spl-fwver v1.06

Some update features:
	f2af0778915 rockchip: dts: rk3576: Remove prefetchable from pcie0
	b9844a88884 rockchip: dts: rk3576: Add reset for ufs
	53762fcc64d ufs: add ufs reset for spl and uboot
	411dc86a027 arm: dts: rk3576: Define fspi max-dll
	cdb92760954 clk: rockchip: rk3576: add ref_clkout_pll
	dfe45d3e7e8 rockchip: fpga: Add SPL_FPGA_ROCKCHIP option

Change-Id: If88c729507f4a42df50754f8a34eb4ecd8bb0990
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
2024-09-13 15:12:49 +08:00
Yifeng Zhao
e9715eba45 rk3576: usbplug: update to v1.03
Build from u-boot:
        8532be3569 ufs: rockchip: optimize the MPHY power detection mechanism

Build command:
        ./make.sh rk3576-usbplug

Update feature:
        8532be3569 ufs: rockchip: optimize the MPHY power detection mechanism
        febbdd176e rockusb: modify the erase protection of UFS
        5460f593a5 ufs: rockchip: add controller reset

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I6b21ccaee621406faf2c167fc39349b83d6c7901
2024-09-13 15:12:25 +08:00
Jon Lin
0121a0df8c rk3308: loader: Update to v1.43
from commit:
	6c04ae99 rk_boot_all
update fiture:
	src: rockusb: RK3308 spinor idblock 2 copies

Change-Id: I46ca127a32c1c8bb61bdcafc1264d718c31aa414
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-09-09 15:03:35 +08:00
Joseph Chen
c80b4700c0 rk3506: tee: Update version to v1.21
Build from:
	51771435438 rk3506: Restore vccio4 IE after bus idle released

Update features:
	rk3506: Restore vccio4 IE after bus idle released

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I6fdcd6672e53687bfe7e521162588905bdfb1583
2024-09-09 15:01:37 +08:00
Tang Yun ping
fd73dcf277 rk3566: ddr: update ddrbin to v1.23
build from:
	03ea844c5d dram_init: rk356x: fix ddr4 detect bug

update feature:
	1. Fixed probabilistic detection error of DDR type/capacity.
	2. Added ddr type detection order configurable through ddrbin tool.
	3. Fix ISSI UniIC lp4/lp4x driver strength issue.

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: I3aececcd9f6fcf62b47f8d43d8fd5a4a246cf24b
2024-09-09 10:59:11 +08:00
Tang Yun ping
bd7f055ad3 rk3568: ddr: update ddrbin to v1.23
build from:
	03ea844c5d dram_init: rk356x: fix ddr4 detect bug

update feature:
	1. Fixed probabilistic detection error of DDR type/capacity.
	2. Added ddr type detection order configurable through ddrbin tool.
	3. Fix ISSI UniIC lp4/lp4x driver strength issue.

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: Ib33eb3bb246a7e671a698dbd9ccdb887517423b3
2024-09-09 10:58:55 +08:00