Commit Graph

1770 Commits

Author SHA1 Message Date
Jon Lin
6d00a9d2f9 rv1106: usbplug: Update to v1.08
from commit:
	I0043a8b1 Revert "src: spinand: Support 4KB page for new IDB"
update feature:
	Revert "src: spinand: Support 4KB page for new IDB"

Change-Id: I27b89a31d60f85303bfc53bb2852d18fe78170db
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2023-10-10 15:32:03 +08:00
XiaoDong Huang
c41b714cac rv1126: tee: update version to v2.11
Build from OPTEE commit in develop-next branch:
    65a719aaa rockchip: rv1126: sleep: support SLP_WAKEUP_TO_RESET
Update features:
    65a719aaa rockchip: rv1126: sleep: support SLP_WAKEUP_TO_RESET
    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
    a05b81a31 plat-rockchip: support register_phys_mem dram for debug
    d8a792882 core: arm: remove CFG_R1_NS_ENTRY_ADDR
    b026c133f scripts: commit_bin.sh: print RKBIN_PLATFORM
    e53dbcc4 scripts: commit_bin.sh: support commit rknpu_lion platform

Change-Id: Ic68b77c0a51a8f38bdcdc0b8b3cf362ca760d8a1
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2023-10-07 17:28:53 +08:00
Xuhui Lin
367e019f1a rv1126: spl: update version to v1.10
Build from:
	e4e124926e rockchip: spl: Fix fwver prefix

Build command:
	./make.sh rv1126 --spl-new --spl-fwver v1.10

Update features:
	1. Print and pass the firmware version number.
	2. 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: Icfa99a6f1398be9395ee5a1763573cc60c2583e4
2023-09-28 16:53:33 +08:00
Xuhui Lin
2ad2c60e80 rv1106: spl: update version to v1.02
Build from:
	f1d94e1902 configs: rv1106: Enable SPL_AB by default

Build command:
	./make.sh rv1106 --spl-new --spl-fwver v1.02

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: I5d266ce9ee8209893c0eb747ae039536e91613e8
2023-09-28 16:50:16 +08:00
Joseph Chen
38da0674a2 scripts: checkpatch: Fix version match pattern
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: If9fc4a5250cb6d7fd1ca4bf92bab3df21441293a
2023-09-28 16:50:16 +08:00
Wang Xiaobin
62ec1856c1 rv1106: mcu: update gc2093 hpmcu tb bin to v1.71
build from commit:
    rtt:85fc0c39#hal:d93ef9fd#battery_ipc:7ca1398

build from rt-thread commit in develop branch:
    85fc0c39: bsp: rockchip: rv1106-mcu: board: rename for smart_door-GC2093-NONE

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 versio

Signed-off-by: Wang Xiaobin <xb.wang@rock-chips.com>
Change-Id: I0023ca8f36a920083c6875253cb7e077540665f2
2023-09-28 10:33:51 +08:00
Tang Yun ping
e9a5ef405b rk3588: ddr: update ddrbin to v1.14
build from:
	73dffea49e rk3588: ddr: update to v1.14
update feature:
	1. fix lp5 vref trn bug.
	2. add fwver tags support.

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: I326297b1e9c9f46fb77ad190ac6b943fbaf1eff6
2023-09-26 17:50:53 +08:00
Hisping Lin
57e6a38a45 rk3588: bl32: update version to v1.15
Build from OPTEE commit in develop-next branch:
    62aa10b78 kernel: link.mk: modify fwver print
Update features:
    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
    a05b81a31 plat-rockchip: support register_phys_mem dram for debug
    b026c133f scripts: commit_bin.sh: print RKBIN_PLATFORM

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I8587f094ac9596d598a37215cc01e567d20133bc
2023-09-26 16:58:29 +08:00
XiaoDong Huang
3a77abfccf rk3588: bl31: update version to v1.43
Build from ATF commit:
    24b7dd41a Revert "plat: rk3588: hdmirx: avoid PKTDEC_AVIIF_CHG_IRQ mistrigger."
update feature:
    24b7dd41a Revert "plat: rk3588: hdmirx: avoid PKTDEC_AVIIF_CHG_IRQ mistrigger."
    da72e2320 rockchip: atags: Fix last valid tag be damaged when override tag
    3fa9cbd64 plat: rk3588: sleep: wait cpu0 on first when switch_to_cpu0
    c17c527a5 plat: rk3588: sleep: get boot_mpidr every time
    a336f45f2 plat: rk3588: VIRT_PWROFF_IRQ_CFG: check irq num
    9a5a34d33 plat: rk3588: hdmirx: avoid PKTDEC_AVIIF_CHG_IRQ mistrigger.
    0403738a7 plat: rk3588: virtual-poweroff: support config wakeup irqs
    554d3e651 rockchip: add fw_version_string support
    0370535ac rockchip: atags: Add fwver tag support
    2b18fad8c rockchip: atags: fix error of getting size of tag_boot1p

Change-Id: I8bd2d74c9ce970c5c93ff6df7b65fa50fdcf11dc
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2023-09-26 16:50:42 +08:00
Tang Yun ping
975e4c3474 rk3568: ddr: update ddrbin to v1.19
build from:
	fdeec6f4fc rk3568: ddr: update ddrbin to v1.19
build command:
        ./make.sh rk3568
update feature:
	1. add rk3567 support
	2. RK3568 add LVDS1 support

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Change-Id: If131c548816d5a4a94e24f42ac62b3ab7e704f01
2023-09-26 16:00:50 +08:00
YouMin Chen
6dab7052d0 tool: ddrbin_tool: update to v1.18 20230919
update feature:
    1. support loader parameter V5, vref modify for ddr2/3/4 and lpddr2/3

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: I7477d8db0a0a0c26bc33ea4204350fa04c59578c
2023-09-26 15:58:06 +08:00
Liang Chen
4e901198aa rk3568: bl31: update version to v1.44
build from:
	8cea6ab0b plat: rk3528: dmc: pause derate mr4 during dmc_restore

update feature:
	8cea6ab0b plat: rk3528: dmc: pause derate mr4 during dmc_restore
	554d3e651 rockchip: add fw_version_string support
	0370535ac rockchip: atags: Add fwver tag support
	abe3a3cb3 plat: rk3568: dmc: pause derate mr4 during dmc_restore
	2b18fad8c rockchip: atags: fix error of getting size of tag_boot1p
	63c438219 plat: rk3568: monitor: add support for rk3567

Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: I995fe5a99487b61de0ddc5bded259cb5bc6e17f1
2023-09-24 23:52:41 +08:00
Xuhui Lin
420f240bf1 rk3562: spl: update version to v1.05
Build from:
	e4e124926e rockchip: spl: Fix fwver prefix

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

Update features:
	1. Solve the problem of destroying the last
	   valid tag during SPL modifying the last tag.

Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
Change-Id: Ibce20f1d2a9556d14cd1e45cd4d076b2bc864fb9
2023-09-25 12:03:47 +08:00
Xuhui Lin
676576b478 rk3566: spl: update version to v1.13
Build from:
	e4e124926e rockchip: spl: Fix fwver prefix

Build command:
	./make.sh rk3568 --spl-new --spl-fwver v1.13

Update features:
	1. Print and pass the firmware version number.
	2. 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: Iea464f888b195b0c5760d52ebf5155696f6e964c
2023-09-25 11:31:46 +08:00
Xuhui Lin
c019c636ef rk3568: spl: update version to v1.13
Build from:
	e4e124926e rockchip: spl: Fix fwver prefix

Build command:
	./make.sh rk3568 --spl-new --spl-fwver v1.13

Update features:
	1. Print and pass the firmware version number.
	2. 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: I6c79621136c84f927a8ab6b58eb59429e4a9eb8a
2023-09-25 11:30:29 +08:00
Xuhui Lin
80fe7a867f rk3588: spl: update version to v1.13
Build from:
	e4e124926e rockchip: spl: Fix fwver prefix

Build command:
	./make.sh rk3588 --spl-new --spl-fwver v1.13

Update features:
	1. Print and pass the firmware version number.
	2. 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: If05e0578a67032ee2ff3ee24822dbdf2bc73f831
2023-09-25 11:29:19 +08:00
Xuhui Lin
a960d7434c rk3528: spl: update version to v1.05
Build from:
	e4e124926e rockchip: spl: Fix fwver prefix

Build command:
	./make.sh rk3528 --spl-new --spl-fwver v1.05

Update features:
	1. Print and pass the firmware version number.
	2. 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: I2b17d9394da7d43a0af1e29eb964eb20e0730dee
2023-09-25 11:28:04 +08:00
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