705 Commits

Author SHA1 Message Date
Joseph Chen
dbb754bd6d rk3308: bl31: Update version to v2.27
Build from:
	1b53efcddbf rk3308: suspend: Allow set pclk_bus to 24M

Update feature:
	1b53efcddbf rk3308: suspend: Allow set pclk_bus to 24M

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I7dfda7d60c4676212338556ccfbc1e3cd3e6e120
2025-05-08 06:54:56 +00: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
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
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
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
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
Hisping Lin
dcadf312fa rk3358: bl32: update version to v2.09
Build from OPTEE commit in develop-next branch:
    6c78a7d8c rk3506: Don't disable vccio4 IE by default
Update features:
    6c78a7d8c rk3506: Don't disable vccio4 IE by default
    4cd67e2b3 plat-rockchip: common: support soft ta encryption key
    d19d25819 plat-rockchip: map MEM_AREA_RAM_NSEC to MEM_AREA_IO_NSEC
    2aae11a16 rockchip: atags: add BOOT1P_PARAM related define
    1bfd9b503 scripts: build_optee_os: Add FW_VERSION_PRINT

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: Idd401c0a1fcd57c2466d6287e3d68f26747d256c
2024-09-03 14:55:29 +08:00
Hisping Lin
336386ae1e px30: bl32: update version to v2.18
Build from OPTEE commit in develop-next branch:
    6c78a7d8c rk3506: Don't disable vccio4 IE by default
Update features:
    6c78a7d8c rk3506: Don't disable vccio4 IE by default
    4cd67e2b3 plat-rockchip: common: support soft ta encryption key
    d19d25819 plat-rockchip: map MEM_AREA_RAM_NSEC to MEM_AREA_IO_NSEC
    2aae11a16 rockchip: atags: add BOOT1P_PARAM related define
    1bfd9b503 scripts: build_optee_os: Add FW_VERSION_PRINT

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I342a31f7181bf480001aa1f3c6d7e2c82696a77a
2024-09-03 14:55:29 +08:00
Hisping Lin
079060cc86 rk3326: bl32: update version to v2.18
Build from OPTEE commit in develop-next branch:
    6c78a7d8c rk3506: Don't disable vccio4 IE by default
Update features:
    6c78a7d8c rk3506: Don't disable vccio4 IE by default
    d8ccdb1b5 pta: uboot_storedata_otp: add check for read toybrick ksn
    4cd67e2b3 plat-rockchip: common: support soft ta encryption key
    d19d25819 plat-rockchip: map MEM_AREA_RAM_NSEC to MEM_AREA_IO_NSEC
    2aae11a16 rockchip: atags: add BOOT1P_PARAM related define
    1bfd9b503 scripts: build_optee_os: Add FW_VERSION_PRINT

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I3f02c029e2807f8378c6e66f5f2a3fec9fc75938
2024-09-03 14:55:29 +08:00
Hisping Lin
48e3dd73ca rk3308: bl32: update version to v2.08
Build from OPTEE commit in develop-next branch:
    6c78a7d8c rk3506: Don't disable vccio4 IE by default
Update features:
    6c78a7d8c rk3506: Don't disable vccio4 IE by default
    4cd67e2b3 plat-rockchip: common: support soft ta encryption key
    d19d25819 plat-rockchip: map MEM_AREA_RAM_NSEC to MEM_AREA_IO_NSEC
    2aae11a16 rockchip: atags: add BOOT1P_PARAM related define
    7eeac5fbf core: rpmb: change read data to multiple times
    cb202f37a libutee: increase MPI_MEMPOOL_SIZE size
    3210aa2eb plat-rockchip: implement itr_core_handler() not rely on CFG_FIQ
    392302b07 UPSTREAM: core: tee_entry: fix array out of bounds check in cleanup_shm_refs()

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I408d0625608ec006b5648b860ba07a5eb0b62ccb
2024-09-03 14:46:44 +08:00
chenfen
570f82de3d rk3326: miniloader: update to v1.40
build from:
    9fa2a3da: rk3326: miniloader update to v1.40

update feature:
    1. enable rk3326 pwm2-7 function.

Signed-off-by: chenfen <chenfen@rock-chips.com>
Change-Id: I1ec614b1f6a458c7afc13ea9986dbd264cf729c6
2024-09-02 18:23:42 +08:00
Jon Lin
26e53571c2 rk3308: loader: Add spinor only version
from commit:
	e24e370a src: rockusb: RK3308 spinor idblock 2 copies.
update feature:
	Add spinor only version.

Change-Id: I54c63ebf68660e31eb165eb55cc2fda09f8ee906
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-08-27 10:02:25 +08:00
Zhihuan He
d0ba0a4c79 rk3358j/rk3358m: ddr: Update to DDR 20240819 fwver: v2.11
build in:
	01f75b4 rk3326/px30: ddr: Update to DDR 20240819 fwver: v2.11

update feature:
	0a8027c RK3326/RK3326S: fix ddr4 cap detect error

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I923b6a75e7a895c287b3dbcc902558a92db32223
2024-08-19 15:06:21 +08:00
Zhihuan He
0106e253c2 rk3326: ddr: Update to DDR 20240819 fwver: v2.11
build in:
	01f75b4 rk3326/px30: ddr: Update to DDR 20240819 fwver: v2.11

update feature:
	0a8027c RK3326/RK3326S: fix ddr4 cap detect error

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I15acef72f65b659e4ad1ffc6bf33907fc92aaa8d
2024-08-19 11:31:18 +08:00
Zhihuan He
cfafd41872 px30: ddr: Update to DDR 20240819 fwver: v2.11
build in:
	01f75b4 rk3326/px30: ddr: Update to DDR 20240819 fwver: v2.11

update feature:
	0a8027c RK3326/RK3326S: fix ddr4 cap detect error

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I23d8e4d553df7d4275410cdf9fac0f9c8d18af5b
2024-08-19 11:28:45 +08:00
Jon Lin
25c81ddde8 rk3308: usbplug: Update version to v1.43
from commit:
	e24e370a src: rockusb: RK3308 spinor idblock 2 copies
update feature:
	RK3308 spinor idblock 2 copies.

Change-Id: I50e1af109791e8fe499aaf5740fcd148a2015221
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-08-16 12:03:56 +08:00
Jon Lin
956c94c2ba rk3308: loader: Update to v1.42
from commit:
	0494fdae src: spinand: Support new device GSS01GSAM0
update feature:
	Support new SPI flash.

Change-Id: Ib8dcb7b717483f318c007681b138dae59d0763eb
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-08-07 11:26:44 +08:00
Lin Jinhan
bf25c668ad rk3358: bl32: update version to v2.08
Build from OPTEE commit in develop-next branch:
    7ab599eca
Update features:
    7ab599eca
    7bccc9d0b scripts: fixed build error when CFG_DEBUG=y
    7eeac5fbf core: rpmb: change read data to multiple times
    cb202f37a libutee: increase MPI_MEMPOOL_SIZE size
    3210aa2eb plat-rockchip: implement itr_core_handler() not rely on CFG_FIQ
    392302b07 UPSTREAM: core: tee_entry: fix array out of bounds check in cleanup_shm_refs()
    185dc3c92 pta: crypto_service: optimization parameter check

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ifc52e986067e68c19acb76c085a7f1354fc19cfe
2024-07-09 10:10:05 +08:00
Lin Jinhan
04933d8400 px30: bl32: update version to v2.17
Build from OPTEE commit in develop-next branch:
    7ab599eca
Update features:
    7ab599eca
    7bccc9d0b scripts: fixed build error when CFG_DEBUG=y
    7eeac5fbf core: rpmb: change read data to multiple times
    cb202f37a libutee: increase MPI_MEMPOOL_SIZE size
    3210aa2eb plat-rockchip: implement itr_core_handler() not rely on CFG_FIQ
    392302b07 UPSTREAM: core: tee_entry: fix array out of bounds check in cleanup_shm_refs()
    185dc3c92 pta: crypto_service: optimization parameter check

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I0d4758106e6b547113e66fd822b102069a5f75a6
2024-07-09 10:09:38 +08:00
Lin Jinhan
115d1968f6 rk3326: bl32: update version to v2.17
Build from OPTEE commit in develop-next branch:
    7ab599eca
Update features:
    7ab599eca
    7bccc9d0b scripts: fixed build error when CFG_DEBUG=y
    7eeac5fbf core: rpmb: change read data to multiple times
    cb202f37a libutee: increase MPI_MEMPOOL_SIZE size
    3210aa2eb plat-rockchip: implement itr_core_handler() not rely on CFG_FIQ
    392302b07 UPSTREAM: core: tee_entry: fix array out of bounds check in cleanup_shm_refs()
    185dc3c92 pta: crypto_service: optimization parameter check

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I81421a6d70772234f245b1bab8d9a678b95ad116
2024-07-09 10:09:10 +08:00
Zhihuan He
5579d203ec px30: ddr: Update to DDR 20240527 fwver: v2.10
build in:
	29a6ff7 rk3326/px30: ddr: Update to DDR 20240527 fwver: v2.10

update feature:
	1b9746b RK3326/RK3326S: add sram base judge
	23b4b9a rk3326s/px30s: set cke low before clk for lp3

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: Idc674e20d57d332928b73dc34ce0c08f6e66e858
2024-05-27 09:50:38 +08:00
Zhihuan He
82b38c4dd9 rk3326: ddr: Update to DDR 20240527 fwver: v2.10
build in:
	29a6ff7 rk3326/px30: ddr: Update to DDR 20240527 fwver: v2.10

update feature:
	1b9746b RK3326/RK3326S: add sram base judge
	23b4b9a rk3326s/px30s: set cke low before clk for lp3

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: Ic862b16426975123e70441b53dd38029f36ccac6
2024-05-27 09:50:38 +08:00
Hisping Lin
c1ffb32355 rk3358: bl32: update version to v2.07
Build from OPTEE commit in develop-next branch:
    185dc3c92 pta: crypto_service: optimization parameter check
Update features:
    185dc3c92 pta: crypto_service: optimization parameter check
    22c240efc pta: rockchip: rk_os_service: add parameter checking for trng
    89b616c96 pta: uboot_storedata_otp: optimization parameter check
    bde521b1e pta: uboot_storedata_efuse: optimization parameter check
    8631500dc pta: uboot_storedata: optimization parameter check
    819ac530d plat-rockchip: uart: set max timeout 5.6ms wait for uart busy
    c2e6f9b66 drivers: hal_crypto: skip hash/tag valid check for V4
    6d56b8ea5 pta: rockchip: enhanced parameter checking for R&W OTP
    967d63292 pta: uboot_storedata_otp: optimize otp write function
    7060bdbdb plat-rockchip: pstore: fix the error that rb->start is too big
    ee7e1e84e core: ree_fs_open(): close dirfile on error
    540ade275 core: arm: print tee memory usage
    53b92eefa drivers: hal_crypto: modify print level for crypto version
    a5847983c plat-rockchip: enable CFG_RK_OEM_ENCRYPT_DATA
    a5be984aa pta: uboot_storedata_otp: support RW oem encrypt data
    9b4140743 plat-rockchip: define OEM_ENCRYPT_DATA offset and size
    c0f517747 drivers: hal_crypto: Fix the calculation error when the address exceeds 32bit
    62aa10b78 kernel: link.mk: modify fwver print
    322d721f4 rockchip: atags: Fix last valid tag be damaged when override tag
    f41b05870 scripts: commit_bin.sh: support build with fwver
    118a16b23 rockchip: support specify fwver during compilation
    001a84604 rockchip: atags: add fwver tag support
    d8a792882 core: arm: remove CFG_R1_NS_ENTRY_ADDR
    b026c133f scripts: commit_bin.sh: print RKBIN_PLATFORM

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I3f44d940d6bc97fa6744e5ee9776d17213e8579d
2024-04-16 15:05:55 +08:00
Hisping Lin
94c0366668 rk3308: bl32: update version to v2.07
Build from OPTEE commit in develop-next branch:
    185dc3c92 pta: crypto_service: optimization parameter check
Update features:
    185dc3c92 pta: crypto_service: optimization parameter check
    22c240efc pta: rockchip: rk_os_service: add parameter checking for trng
    89b616c96 pta: uboot_storedata_otp: optimization parameter check
    bde521b1e pta: uboot_storedata_efuse: optimization parameter check
    8631500dc pta: uboot_storedata: optimization parameter check
    819ac530d plat-rockchip: uart: set max timeout 5.6ms wait for uart busy
    c2e6f9b66 drivers: hal_crypto: skip hash/tag valid check for V4
    6d56b8ea5 pta: rockchip: enhanced parameter checking for R&W OTP
    967d63292 pta: uboot_storedata_otp: optimize otp write function
    7060bdbdb plat-rockchip: pstore: fix the error that rb->start is too big
    ee7e1e84e core: ree_fs_open(): close dirfile on error
    540ade275 core: arm: print tee memory usage
    53b92eefa drivers: hal_crypto: modify print level for crypto version
    a5847983c plat-rockchip: enable CFG_RK_OEM_ENCRYPT_DATA
    a5be984aa pta: uboot_storedata_otp: support RW oem encrypt data
    9b4140743 plat-rockchip: define OEM_ENCRYPT_DATA offset and size
    c0f517747 drivers: hal_crypto: Fix the calculation error when the address exceeds 32bit
    62aa10b78 kernel: link.mk: modify fwver print
    322d721f4 rockchip: atags: Fix last valid tag be damaged when override tag
    f41b05870 scripts: commit_bin.sh: support build with fwver
    118a16b23 rockchip: support specify fwver during compilation
    001a84604 rockchip: atags: add fwver tag support
    d8a792882 core: arm: remove CFG_R1_NS_ENTRY_ADDR
    b026c133f scripts: commit_bin.sh: print RKBIN_PLATFORM

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I928c0f8b3e25902bba796e6b14f625f93f4bfc79
2024-04-16 15:05:55 +08:00
Hisping Lin
223b77c8f8 px30: bl32: update version to v2.16
Build from OPTEE commit in develop-next branch:
    185dc3c92 pta: crypto_service: optimization parameter check
Update features:
    185dc3c92 pta: crypto_service: optimization parameter check
    22c240efc pta: rockchip: rk_os_service: add parameter checking for trng
    89b616c96 pta: uboot_storedata_otp: optimization parameter check
    bde521b1e pta: uboot_storedata_efuse: optimization parameter check
    8631500dc pta: uboot_storedata: optimization parameter check
    819ac530d plat-rockchip: uart: set max timeout 5.6ms wait for uart busy
    c2e6f9b66 drivers: hal_crypto: skip hash/tag valid check for V4
    6d56b8ea5 pta: rockchip: enhanced parameter checking for R&W OTP
    967d63292 pta: uboot_storedata_otp: optimize otp write function
    7060bdbdb plat-rockchip: pstore: fix the error that rb->start is too big
    ee7e1e84e core: ree_fs_open(): close dirfile on error
    540ade275 core: arm: print tee memory usage
    53b92eefa drivers: hal_crypto: modify print level for crypto version
    a5847983c plat-rockchip: enable CFG_RK_OEM_ENCRYPT_DATA
    a5be984aa pta: uboot_storedata_otp: support RW oem encrypt data
    9b4140743 plat-rockchip: define OEM_ENCRYPT_DATA offset and size
    c0f517747 drivers: hal_crypto: Fix the calculation error when the address exceeds 32bit
    62aa10b78 kernel: link.mk: modify fwver print
    322d721f4 rockchip: atags: Fix last valid tag be damaged when override tag
    f41b05870 scripts: commit_bin.sh: support build with fwver
    118a16b23 rockchip: support specify fwver during compilation
    001a84604 rockchip: atags: add fwver tag support
    d8a792882 core: arm: remove CFG_R1_NS_ENTRY_ADDR

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I7801013da2c05a50f4e982e4c38ec6c8ac3166b7
2024-04-16 15:05:55 +08:00
Hisping Lin
a9c9eff9e4 rk3326: bl32: update version to v2.16
Build from OPTEE commit in develop-next branch:
    185dc3c92 pta: crypto_service: optimization parameter check
Update features:
    185dc3c92 pta: crypto_service: optimization parameter check
    22c240efc pta: rockchip: rk_os_service: add parameter checking for trng
    89b616c96 pta: uboot_storedata_otp: optimization parameter check
    bde521b1e pta: uboot_storedata_efuse: optimization parameter check
    8631500dc pta: uboot_storedata: optimization parameter check
    819ac530d plat-rockchip: uart: set max timeout 5.6ms wait for uart busy
    c2e6f9b66 drivers: hal_crypto: skip hash/tag valid check for V4
    6d56b8ea5 pta: rockchip: enhanced parameter checking for R&W OTP
    967d63292 pta: uboot_storedata_otp: optimize otp write function
    7060bdbdb plat-rockchip: pstore: fix the error that rb->start is too big
    ee7e1e84e core: ree_fs_open(): close dirfile on error
    540ade275 core: arm: print tee memory usage
    53b92eefa drivers: hal_crypto: modify print level for crypto version
    a5847983c plat-rockchip: enable CFG_RK_OEM_ENCRYPT_DATA
    a5be984aa pta: uboot_storedata_otp: support RW oem encrypt data
    9b4140743 plat-rockchip: define OEM_ENCRYPT_DATA offset and size
    c0f517747 drivers: hal_crypto: Fix the calculation error when the address exceeds 32bit
    62aa10b78 kernel: link.mk: modify fwver print
    322d721f4 rockchip: atags: Fix last valid tag be damaged when override tag
    f41b05870 scripts: commit_bin.sh: support build with fwver
    118a16b23 rockchip: support specify fwver during compilation
    001a84604 rockchip: atags: add fwver tag support
    d8a792882 core: arm: remove CFG_R1_NS_ENTRY_ADDR

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: Ie5264faa15e763c26b9ed2c090394e03d5fbb6b9
2024-04-16 15:05:55 +08:00
Hisping Lin
7efc8e1b30 rk3399pro: bl32: update version to v2.12
Build from optee commit in develop branch:
    369edd59c sta: rk_os_service: enhanced parameter checking for R&W efuse

Update feature:
    369edd59c sta: rk_os_service: enhanced parameter checking for R&W efuse
    b1245a7a0 plat-rockchip: pstore: fix the error that rb->start is too big
    5391ef3ac rockchip: support specify fwver during compilation
    663b904f7 rockchip: atags: Fix last valid tag be damaged when override tag
    c460e5d32 rockchip: atags: add fwver tag support
    c8305e919 plat-rockchip: support pstore for optee log
    00b0b0c00 core: arm: print tee memory usage
    f7211000a rpmb: check param is not null in tee_rpmb_free

Change-Id: I68a7204849c237a781c04c28e3ea05cc65e45b3e
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2024-04-16 14:29:21 +08:00
Hisping Lin
f80f925f6b rk3399: bl32: update version to v2.12
Build from optee commit in develop branch:
    369edd59c sta: rk_os_service: enhanced parameter checking for R&W efuse

Update feature:
    369edd59c sta: rk_os_service: enhanced parameter checking for R&W efuse
    b1245a7a0 plat-rockchip: pstore: fix the error that rb->start is too big
    5391ef3ac rockchip: support specify fwver during compilation
    663b904f7 rockchip: atags: Fix last valid tag be damaged when override tag
    c460e5d32 rockchip: atags: add fwver tag support
    c8305e919 plat-rockchip: support pstore for optee log
    00b0b0c00 core: arm: print tee memory usage
    f7211000a rpmb: check param is not null in tee_rpmb_free

Change-Id: I80c63813386a58407f77c879226c5c154768504f
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2024-04-16 14:28:32 +08:00
Zhihuan He
ad1ea2ac38 rk3308: ddr: Update DDR bin to v2.08
Build from:
	10777823fd dram_init: rk3308: Update to v2.08

Update features:
	8c1b6235d0 dram_init: common: add sram base judge for arm
	dfb48851bc drivers: ram: rk3308: Support for calling dram_check bin

Change-Id: Ia3c2b8ef2ddfef42d3527cf74b7053a63a228819
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2024-04-10 11:43:39 +08:00
Jon Lin
232f7686c1 rk3308: loader: Update to v1.41
from commit:
	 f34544a rk_boot_all
update fiture:
	src: spinand: Assign global variables read address

Change-Id: I14cff3609444e0c4bad5397095ef5c8dcb3a9cb2
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-01-05 14:27:21 +08:00
Zhihuan He
3e384e682c rk3358j/rk3358m: add rk3358j/rk3358m ddr binary
build in:
	131f35b rk3326/px30: ddr: Update to DDR 20231220 fwver: v2.09

update feature:
	aa766aa rk3358m/rk3358j: 2x refresh for Extended temperature
range
	c6a0e76 rk3326s/px30s: ddr: add DQS 3.2kohm weak pull up/down

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I2fa7ac8ffd1b732282a304f7ea4f6b7aab09df64
2023-12-26 17:26:35 +08:00
Zhihuan He
dd6f4723ed px30: ddr: Update to DDR 20231220 fwver: v2.09
build in:
	131f35b rk3326/px30: ddr: Update to DDR 20231220 fwver: v2.09

update feature:
	aa766aa rk3358m/rk3358j: 2x refresh for Extended temperature
range
	c6a0e76 rk3326s/px30s: ddr: add DQS 3.2kohm weak pull up/down

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I8f89dc0170db03426335a6495df5c3758328adbf
2023-12-26 16:45:47 +08:00
Zhihuan He
4344f2a785 rk3326: ddr: Update to DDR 20231220 fwver: v2.09
build in:
	131f35b rk3326/px30: ddr: Update to DDR 20231220 fwver: v2.09

update feature:
	aa766aa rk3358m/rk3358j: 2x refresh for Extended temperature range
	c6a0e76 rk3326s/px30s: ddr: add DQS 3.2kohm weak pull up/down

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I8147bc096efe88ba3f69abc55101a75b10d06cdd
2023-12-26 16:45:42 +08:00
Zhihuan He
11c6b64cf6 rk3326: bl31: update version to v1.34
Build from ATF commit:
	46064b2d5 plat: px30: dram: support 2x/4x refresh for
Extended temperature range

update feature:
	46064b2d5 plat: px30: dram: support 2x/4x refresh for
Extended temperature range

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I6878e9c95e21649df071d6b6a379417dca078f96
2023-12-26 16:34:12 +08:00
Zhihuan He
c7039e3397 px30: bl31: update version to v1.34
Build from ATF commit:
	46064b2d5 plat: px30: dram: support 2x/4x refresh for
Extended temperature range

update feature:
	46064b2d5 plat: px30: dram: support 2x/4x refresh for
Extended temperature range

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I8237068a156b808f4dcb5a1e99629ccbb9ab89e0
2023-12-26 16:32:17 +08:00
Hisping Lin
106e1aa61d rknpu_lion: bl32: update version to v2.02
Build from OPTEE commit in develop-next branch:
    b5340fd65 rk3528: init hdcp key when bringup
Update features:
    b5340fd65 rk3528: init hdcp key when bringup
    3f8b0c4e5 pta: uboot_storedata_otp: support set oem hdcp key mask
    1aab8c53a pta: uboot_storedata_otp: support check oem hdcp key is written
    db84e2d73 pta: uboot_storedata_otp: support write oem hdcp key
    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
    fbda29874 core: drivers: seed PRNG with RK TRNG
    2e4ec1697 drivers: hal_crypto: fixed CRYPTO crash when using dynamic shared memory
    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: I0fb0851fec9f3a1b450016b59aa5abf03aa58c11
2023-08-29 09:49:12 +08:00
Hisping Lin
79bf092794 rk3308: bl32: update version to v2.06
Build from OPTEE commit in develop-next branch:
    b5340fd65 rk3528: init hdcp key when bringup
Update features:
    b5340fd65 rk3528: init hdcp key when bringup
    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
    2e4ec1697 drivers: hal_crypto: fixed CRYPTO crash when using dynamic shared memory
    64d17e36f pta: crypto_service: added the address parameter security check
    74c6116b9 rk3326: enable user clk before user read
    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: I30b66b7da202d882cd72c15401944fcfaf93865a
2023-08-29 09:45:59 +08:00
Hisping Lin
e160fab024 rk3358: bl32: update version to v2.06
Build from OPTEE commit in develop-next branch:
    b5340fd65 rk3528: init hdcp key when bringup
Update features:
    b5340fd65 rk3528: init hdcp key when bringup
    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
    2e4ec1697 drivers: hal_crypto: fixed CRYPTO crash when using dynamic shared memory
    64d17e36f pta: crypto_service: added the address parameter security check
    74c6116b9 rk3326: enable user clk before user read
    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: I758f04875993cb909a39478271f2411158398c7c
2023-08-29 09:44:25 +08:00
Hisping Lin
8e69e4fdea px30: bl32: update version to v2.15
Build from OPTEE commit in develop-next branch:
    b5340fd65 rk3528: init hdcp key when bringup
Update features:
    b5340fd65 rk3528: init hdcp key when bringup
    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
    2e4ec1697 drivers: hal_crypto: fixed CRYPTO crash when using dynamic shared memory
    64d17e36f pta: crypto_service: added the address parameter security check
    74c6116b9 rk3326: enable user clk before user read
    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: Ibec8212499b4fc06b41e429fa7370bd307bc7390
2023-08-29 09:42:43 +08:00
Hisping Lin
a644586de5 rk3326: bl32: update version to v2.15
Build from OPTEE commit in develop-next branch:
    b5340fd65 rk3528: init hdcp key when bringup
Update features:
    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
    2e4ec1697 drivers: hal_crypto: fixed CRYPTO crash when using dynamic shared memory
    64d17e36f pta: crypto_service: added the address parameter security check
    74c6116b9 rk3326: enable user clk before user read
    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: Ic13d006f3f82e2b8967dd35285a29d0a3b5a287c
2023-08-29 09:41:23 +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