Commit Graph

1753 Commits

Author SHA1 Message Date
Weiwen Chen
8cbca39339 RKBOOT: RV1106 add RV1106MINIALL_SPI_NAND_TB_NOMCU.ini
Build from U-Boot commit:
  fe3a439f27 rv1106: add rv1106-spi-nand-tb-nofastae_defconfig

Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I0931b642d3b5fc0a37c90e635262ce13d04850ff
2023-09-21 10:22:56 +08:00
Xuhui Lin
01365ae075 rk3562: spl: update version to v1.04
Build from:
	ed86ec4f7 make.sh: Add "--spl-fwver" and "--fwver" support

Build command:
	./make.sh rk3562 --spl-new --spl-fwver v1.04

Update features:
	1. Support for A/B systems.
	2. Print and pass the firmware version number.
	3. Solve the issue that the backup image is not loaded when
   	   the SPL load or check u-boot.dtb fails.

Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
Change-Id: I7658ac98523bdc772b042d1d0fe7e6e1654ff626
2023-09-20 16:47:04 +08:00
Joseph Chen
6143b15b05 scripts: checkpatch: Add fw version check
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I8dc4527cdf4a465a88f384453857257945333ee8
2023-09-20 06:39:24 +00:00
XiaoDong Huang
8350c61125 rk3588: bl31: update version to v1.42
Build from ATF commit:
    87bcc5dfe plat: rk3588: sleep: decrease pmu count
update feature:
    87bcc5dfe plat: rk3588: sleep: decrease pmu count
    01035a1b1 plat: rk3588: sleep: check cpu off later
    a7a1e8225 plat: rk3588: sleep: optimize time of debug info
    d320bf552 plat: rk3588: dmc: optimize the DMC restore time
    90c10562c plat: rk3588: support any cpu to do system suspend/resume
    492f6634d plat: rk3588: virtual-pwroff: enable all pwm_pwr_int
    c5b99f9f3 plat: rk3588: sleep: don't open wdt0 clk

Change-Id: I0931a69cf2ad36fd6fe236b2dc7df666f8cca43c
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2023-09-09 18:20:19 +08:00
Lin Jianhua
678cf817b7 RKBOOT: add RK3308MINIALL_SPI_NAND_UART4.ini
Change-Id: I5a042b49ba8531a18a1dbb49f16def88e4f6bff4
Signed-off-by: Lin Jianhua <linjh@rock-chips.com>
2023-09-08 10:39:21 +08:00
Wang Xiaobin
4c4e34a4ce rv1106: mcu: update gc2093 hpmcu tb bin to v1.70
build from commit:
    rtt:3b74006#hal:d93ef9fd#battery_ipc:7ca1398

build from rt-thread commit in develop branch:
    3b74006: bsp: rockchip: camera: gc2093 increase delay for init sequence

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

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

Signed-off-by: Wang Xiaobin <xb.wang@rock-chips.com>
Change-Id: I36ba16daf782a11d0d359dc6b1c0a56c5db59e03
2023-09-05 15:01:58 +08:00
Hisping Lin
76b8b61b4d rv1126: tee: update version to v2.10
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

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I4c637a59747f64768cd30a1e88d699b480ac7c42
2023-08-29 09:49:22 +08:00
Hisping Lin
a8cebb93c8 rk3528: bl32: update version to v1.03
Build from OPTEE commit in develop-next branch:
    b5340fd65 rk3528: init hdcp key when bringup
Update features:
    b5340fd65 rk3528: init hdcp key when bringup
    7af367842 rk3528: enable CFG_RK_OEM_HDCP_KEY
    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
    5ac6a2a6f rk3528: otp: add func for set oem hdcp key mask
    0e556bcf9 rk3528: otp: add func for check oem hdcp key is written
    10cbe6f52 rk3528: otp: add func for 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
    74243eff3 drivers: rockchip: hal_crypto: automatic reset after calculation error
    64d17e36f pta: crypto_service: added the address parameter security check
    b3c644be5 rk3528: enable CFG_RK_OEM_OTP_KEY_HR_FLAG

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I89e6ee321a4deaa2bf11619e84e0883864c8663d
2023-08-29 09:49:22 +08:00
Hisping Lin
2940d83a48 rk3562: bl32: update version to v1.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
    74243eff3 drivers: rockchip: hal_crypto: automatic reset after calculation error
    64d17e36f pta: crypto_service: added the address parameter security check
    2df2254d3 drivers: rockchip: hal_crypto: add rk3562 secure/no-secure control
    076587396 rk3562: enable CFG_RK_OEM_OTP_KEY_HR_FLAG

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I644294fa936e36b7ed8d78d85c0d44d1bf750e4e
2023-08-29 09:49:22 +08:00
Hisping Lin
a2af7ce6fe rk3588: bl32: update version to v1.14
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
    74243eff3 drivers: rockchip: hal_crypto: automatic reset after calculation error
    64d17e36f pta: crypto_service: added the address parameter security check

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I5ae48e008785e822bcfe01d95aeec66e6fc83ea6
2023-08-29 09:49:22 +08:00
Hisping Lin
9f00ec0fc0 rk3568: bl32: update version to v2.11
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
    1d8037f33 rk3568: support read write verify toybrick ksn
    feccaa485 pta: uboot_storedata_otp: support check ta encryption key is written
    9e41a3f1e pta: uboot_storedata: support set and get security flag
    42914e93d rockchip: sip: add SIP_MCU_CFG define
    efc6c42aa rockchip: sip: add rk_sip_soc_private_handler
    fbda29874 core: drivers: seed PRNG with RK TRNG
    154eeb222 drivers: hal_crypto: fix algo valid check bugs on rk3568

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I4d5c095f1a1163c311c707087c18ee2887a59e19
2023-08-29 09:49:22 +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
1e6e2182af rk1808: bl32: update version to v2.03
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: I2c3a53fb8b401112b81cd908856a97d485c7e876
2023-08-29 09:48:16 +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
shengfei Xu
1516712f45 rk3562: bl31: update version to v1.19
build from:
	763689fe5 rk3562: support amp boot
update feature:
	763689fe5 rk3562: support amp boot
	c5b99f9f3 plat: rk3588: sleep: don't open wdt0 clk
	39c4e2a0e plat: rk3562: disable the gpio debounce

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I6ce01aa4ec302bb1aef8d06bc743f907dce81ff1
2023-08-24 03:29:04 +00:00
Zhihuan He
1a417bbf7d rk3528: ddr: update ddrbin to v1.07
build from:
	4fe5906c9d dram_init: rk3528: Update to v1.07

update feature:
	4a06da5662 rk3528: ddr: enable derate for lpddr4/4x
	6a232a0726 dram_init: rk3528: enable calculate spec timing
	7562f0537f drivers: ram: rk3528: init sysreg to 0x0 before init sdram
	de4fd8d3d4 drivers: ram: rk3528: add rd/wr dbi for spec timing
	56e4b5fc13 dram_init: rk3528: modify ddr4 ca skew freq to 1184MHz
	4275b86192 dram_init: rk3528: add skew freq for every ddr type
	2ce593f23e dram_init: rk3528: otp support
	e384105a29 drivers: ram: rk3528: rk356x: fix pageclose bug
	91b32351d2 drivers: ram: rk3528: rk356x:fix per-bank-refresh enable bug

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: Ide900c344a31e466d7bad65156f7f90a1639b52b
2023-08-17 14:15:54 +08:00
shengfei Xu
c80cf2741e rk3562: bl31: update version to v1.18
build from:
	39c4e2a0e plat: rk3562: disable the gpio debounce
update feature:
	39c4e2a0e plat: rk3562: disable the gpio debounce
	68c4b3b33 plat: rk3562: saver/restore the PMIC in the suspend/resume
	41fecd53a plat: rk3562: saver/restore the pwm in the suspend/resume

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Note: BL31 should be update to V1.41

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
Change-Id: Ib26434a5149e9a992d80203b5d9350a9835c2875
2023-07-11 16:36:58 +08:00