Commit Graph

748 Commits

Author SHA1 Message Date
Hisping Lin
ac915d04eb px30: bl32: update version to v1.11
Build from optee commit in develop-next branch:
        959fbc63 ree fs: do nothing when truncate if file size unchanged

Update feature:
        4ab0f33d static ta: return success if seed equal to read
        d8225c98 static ta: add write Seed and read cpu id interface
        bc2c6448 rk1808: support R&W public key hash in efuse

Change-Id: I52d102103f74f557d0bbf8b19c81075019422776
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 11:31:26 +08:00
Hisping Lin
a6be50ceb1 rk3326: bl32: update version to v1.11
Build from optee commit in develop-next branch:
        959fbc63 ree fs: do nothing when truncate if file size unchanged

Update feature:
        4ab0f33d static ta: return success if seed equal to read
        d8225c98 static ta: add write Seed and read cpu id interface
        bc2c6448 rk1808: support R&W public key hash in efuse

Change-Id: I1fd8a9092cdc8b72c8516ed020cf16e38b31c8f6
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 11:26:45 +08:00
Hisping Lin
c40b428668 rk3399pro: bl32: update version to 1.18
Build from optee commit in develop branch:
        da2bcfdc sta: rk_os_service: add permission check

Update feature:
        64eedbd9 ree fs: recreate file if open meta file fail
        37363984 ree fs: return fail if meta file is empty

Change-Id: I47ba115992160f532fdef516cd5ae8ba50e8bc05
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 11:20:29 +08:00
Hisping Lin
045aa29011 rk3399: bl32: update version to 1.18
Build from optee commit in develop branch:
        da2bcfdc sta: rk_os_service: add permission check

Update feature:
        64eedbd9 ree fs: recreate file if open meta file fail
        37363984 ree fs: return fail if meta file is empty

Change-Id: I5dc5ce9a32db9e2a04b5dd66c8edf81799017cea
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 11:18:10 +08:00
Hisping Lin
95ddcaf47a rk3368: bl32: update version to 1.27
Build from optee commit in develop branch:
        da2bcfdc sta: rk_os_service: add permission check

Update feature:
        64eedbd9 ree fs: recreate file if open meta file fail
        37363984 ree fs: return fail if meta file is empty

Change-Id: I639cf84ba106b43f852af060cc191eeccc7f844e
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 11:10:54 +08:00
Hisping Lin
0f27c5f420 rk3228h/rk3328: bl32: update version to 1.51
Build from optee commit in develop branch:
        da2bcfdc sta: rk_os_service: add permission check

Update feature:
        64eedbd9 ree fs: recreate file if open meta file fail
        37363984 ree fs: return fail if meta file is empty

Change-Id: I1aec8a9af1ccde69c878e1f341258fe1f0235a89
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 11:01:59 +08:00
Hisping Lin
d32d94a767 rk3288: tee with ta: update optee version to v1.38
build from optee commit in develop-rk3228 branch:
        6cf8251c plat: rk312x: support suspend from uboot

update feature:
        941d97c5 ree fs: recreate file if open meta file fail
        f4d9818f ree fs: return fail if meta file is empty
        c767f33e static ta: modify R&W ATX hash print information

Change-Id: I0043daa9bcccc39e312b9f72eaf8bb4b86474edd
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 10:56:41 +08:00
Hisping Lin
a3413acbaa rk3128x: tee with ta: update optee version to v2.04
build from optee commit in develop-rk3228 branch:
        6cf8251c plat: rk312x: support suspend from uboot

update feature:
        941d97c5 ree fs: recreate file if open meta file fail
        f4d9818f ree fs: return fail if meta file is empty
        c767f33e static ta: modify R&W ATX hash print information

Change-Id: Icb9aba70eee7b92f8680eea4842a11ac7cbaf7a6
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 10:53:02 +08:00
Hisping Lin
4e8e27dfcb rk322x: tee with ta: update optee version to v2.02
build from optee commit in develop-rk3228 branch:
        6cf8251c plat: rk312x: support suspend from uboot

update feature:
        941d97c5 ree fs: recreate file if open meta file fail
        f4d9818f ree fs: return fail if meta file is empty
        c767f33e static ta: modify R&W ATX hash print information

Change-Id: Ie22904d6e7fdc239856ae73ad63bd46e81928ca4
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 10:49:27 +08:00
Hisping Lin
17e1daf212 rk312x: tee with ta: update optee version to v1.39
build from optee commit in develop-rk3228 branch:
        6cf8251c plat: rk312x: support suspend from uboot

update feature:
        941d97c5 ree fs: recreate file if open meta file fail
        f4d9818f ree fs: return fail if meta file is empty
        c767f33e static ta: modify R&W ATX hash print information

Change-Id: I2752cad6a5ae567b9353267cc27288cb298bf98c
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 10:44:14 +08:00
XiaoDong Huang
3262ddeb71 rknpu-lion: bl31: update version to v1.06
compile with SPD=opteed option
Build from ATF commit:
    301942b plat: rk1808: fix pmic_sleep pin config

Change-Id: I066b94fcc574a5654091fa3695f65cf23c99faaf
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-06-13 15:41:26 +08:00
XiaoDong Huang
2f7842ff76 rk1808: bl31: update version to v1.07
compile with SPD=opteed option
Build from ATF commit:
    301942b plat: rk1808: fix pmic_sleep pin config

Change-Id: I96c2e18bb56856cb521df98cd1a71b3eb65042ca
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-06-13 15:41:26 +08:00
XiaoDong Huang
71736d78b5 rk3126: tee: update version to v1.38
build from:
    6cf8251 plat: rk312x: support suspend from uboot

update feature:
    6cf8251 plat: rk312x: support suspend from uboot
    46fb23f rk312x: ddr freq:enable 2T command timing
    85ba15a rk312x: ddr freq: if pll was power-down, bypass it

Change-Id: I56212bd575db2e3b5c59feded23cd70018376001
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-06-13 14:53:25 +08:00
Tang Yun ping
2015b78df6 npu: lion: ddr: update to v1.03 20190524
build from:
	cb0aa8f rockchip: rk1808: ddr: add ddr freq cofigurable
update feature:
	1. enable 2T mode for DDR2/DDR3/DDR4
	2. add unify ddr params(uart, ddr freq..) configurable by
modify ddr bin.

Change-Id: I0953c9e2a1505428de917cf39d8463655ce2f455
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-06-13 14:52:45 +08:00
Tang Yun ping
775b97a859 rk1808: ddr: update to v1.03 20190524
build from:
	cb0aa8f rockchip: rk1808: ddr: add ddr freq cofigurable
update feature:
	1. enable 2T mode for DDR2/DDR3/DDR4
	2. add unify ddr params(uart, ddr freq..) configurable by
modify ddr bin.

Change-Id: I2a321f1ec62dd3a69ed3e32a8837df5d47a6cfc4
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-06-13 14:52:45 +08:00
Huibin Hong
a71683f3ca rv110x: add rv110x_ddr3_v1.07.bin
SYR838 set core voltage from 1.0v to 1.15v

Change-Id: Ia8b4e4a9401ff2628e24a065befc77943c8c9d4f
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2019-06-13 14:52:04 +08:00
Hisping Lin
21924f9e27 rk3228h/rk3328: bl32: update version to 1.50
Build from optee commit in develop branch:
    f9096131 rk3328: static ta support R&W ATX hash in OTP

Update feature:
    62d4d856 static ta: return success if seed equal to read
    538e0dc7 static ta: add head message when uboot R&W data

Change-Id: I101aadaabffa3a8cf82a24ed945666486c876e11
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-13 09:58:00 +08:00
Hisping Lin
0941e0cd87 rk3399pro: bl32: update version to 1.17
Build from optee commit in develop branch:
        538e0dc7 static ta: add head message when uboot R&W data

Update feature:
        66d2610c fs: return error when head.magic != TEE_SVC_STORAGE_MAGIC
        2095420e vendor_props: add property "com.rockchip.tee.randomHash"
        a7c5d029 efuse: add delay time when write efuse
        73db546e static ta: rk3228H platform support write Seed
        0f6d8ba9 plat-rockchip: sta: add OS service static ta

Change-Id: I8165e919c8cb60824cf759d92d4578d9b4d81ee2
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-13 09:56:34 +08:00
Hisping Lin
2a8e5c6bb7 rk3399: bl32: update version to 1.17
Build from optee commit in develop branch:
        538e0dc7 static ta: add head message when uboot R&W data

Update feature:
        66d2610c fs: return error when head.magic != TEE_SVC_STORAGE_MAGIC
        2095420e vendor_props: add property "com.rockchip.tee.randomHash"
        a7c5d029 efuse: add delay time when write efuse
        73db546e static ta: rk3228H platform support write Seed
        0f6d8ba9 plat-rockchip: sta: add OS service static ta

Change-Id: I700dfb75d985e84769515c1e8831c4ec7f15e04d
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-13 09:50:15 +08:00
Hisping Lin
506ea8b777 rk3368: bl32: update version to 1.26
Build from optee commit in develop branch:
        538e0dc7 static ta: add head message when uboot R&W data

Update feature:
        66d2610c fs: return error when head.magic != TEE_SVC_STORAGE_MAGIC
        2095420e vendor_props: add property "com.rockchip.tee.randomHash"
        a7c5d029 efuse: add delay time when write efuse
        73db546e static ta: rk3228H platform support write Seed
        0f6d8ba9 plat-rockchip: sta: add OS service static ta

Change-Id: Iae1620c44561dd0ea15ff14b3a26fc08e0fe605e
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-13 09:49:12 +08:00
Hisping Lin
995b3ea690 rk3228h/rk3328: bl32: update version to 1.49
Build from optee commit in develop branch:
        538e0dc7 static ta: add head message when uboot R&W data

Update feature:
        66d2610c fs: return error when head.magic != TEE_SVC_STORAGE_MAGIC
        2095420e vendor_props: add property "com.rockchip.tee.randomHash"
        a7c5d029 efuse: add delay time when write efuse
        73db546e static ta: rk3228H platform support write Seed
        0f6d8ba9 plat-rockchip: sta: add OS service static ta

Change-Id: I984ef6bebc052d0d836767465f576c9f2fded261
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-13 09:42:17 +08:00
chenfen
86779111d4 rk312x: loader: Add rk atags support.
from commit: 6da10d add rk atags bootdev.

Change-Id: Iec09b6d50fa6735f69ab9590fada97548721442e
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2019-06-03 14:51:58 +08:00
chenfen
7932e2b922 rk3036: loader: Add rk atags support.
from commit: 6da10d add rk atags bootdev.

Change-Id: I6c451d06c9508dbfdc229fda27d900162c36b43c
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2019-06-03 14:51:58 +08:00
Huibin Hong
81dfe6fce5 rv110x: update ddr bin to v1.06
1. enable 2T command timing
To provide sufficient address setup time in heavily loaded memory
bus configuration.

Change-Id: Ia9cd664b0048816ce12b83c311e5b3044d66660b
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2019-05-31 15:58:08 +08:00
Tang Yun ping
65f6750b14 rk3326: ARCH32: ddr: update ddr init bin to v1.12
print info: print info: DDR Version 1.12 20190528

from commit:
    cbe7c08 rk3326: ddr: init code update to v1.12
update feature:
    6e65fc3 rk3326: ddr: enable 2T mode for DDR3
    4bd8b62 RK3326: ddr: fix wrong uart base address for atags

Change-Id: I7605ee08f29839873543e58644e9a9ecad515dc6
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-05-31 14:54:25 +08:00
Tang Yun ping
138f9d63fb rk322xh/rk3328: ddr: update ddr init code to v1.16
print info: DDR Version 1.14 20190328
from commit:
	aba5167 rk322xh: update DDR Version 1.16 20190528
update feature:
	b4ea57c rk322xh: ddr: enable 2T mode for DDR3
	7134b25 rk322xH: ddr: fix wrong uart base address for atags

Change-Id: I5ecd6a0082c7c2afc3b1196d42dbad4a1adbe231
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-05-29 09:09:21 +08:00
Tang Yun ping
a4f4dfa12c rk3326: ddr: update ddr init bin to v1.12
print info: print info: DDR Version 1.12 20190528

from commit:
	cbe7c08 rk3326: ddr: init code update to v1.12
update feature:
	6e65fc3 rk3326: ddr: enable 2T mode for DDR3
	4bd8b62 RK3326: ddr: fix wrong uart base address for atags

Change-Id: I56b0d05320adaadc773ed585c816265c605604a8
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-05-29 09:09:21 +08:00
Tang Yun ping
a31ac03685 px30: ddr: update ddr init bin to v1.12
print info: print info: DDR Version 1.12 20190528

from commit:
	cbe7c08 rk3326: ddr: init code update to v1.12
update feature:
	6e65fc3 rk3326: ddr: enable 2T mode for DDR3
	4bd8b62 RK3326: ddr: fix wrong uart base address for atags

Change-Id: I8c0be9bd8e448732292957bf2900850173982aa0
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-05-29 09:09:21 +08:00
Liang Chen
4dd0280f71 rk3326: loader: add aarch32 support
Change-Id: Icf35fa6f88ca73b74005f8d3d170b09b1b07839e
Signed-off-by: Liang Chen <cl@rock-chips.com>
2019-05-28 19:19:27 +08:00
Joseph Chen
fab41a51f7 scripts: checkpatch: remove "--replace" pararmeter
We have remove "tools/rk_tools/" prefix path from ini files,
we don't need it any more.

Change-Id: I66d6467d1c9ff9d76a73841ec181209a38b3ff49
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-05-27 14:25:50 +08:00
Joseph Chen
5bbca2794c RKTRUST: remove prefix path "tools/rk_tools/"
This is a prefix path from legacy rkdevelop U-Boot, we remove
it since there is not such path in rkbin project.

Change-Id: I7149b77a2d7ddaaf741ea98beeb75ecba63ad4c1
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-05-27 14:23:17 +08:00
Joseph Chen
13b27a877c RKBOOT: remove prefix path "tools/rk_tools/"
This is a prefix path from legacy rkdevelop U-Boot, we remove
it since there is not such path in rkbin project.

Change-Id: I17337389ced3feb104637825fc12496c15ac6f0e
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-05-27 14:23:17 +08:00
Joseph Chen
d6a9e22ee1 tools: boot/trust_merger: add "--prepath" support
build from next-dev with command: ./make.sh rk3399

on commit:
(2e6f3f4 tool: rockchip: boot/trust_merger: ignore prepath when it's already exist)

Change-Id: If82105789adbf2f500cca08468d1b94e34bc4e00
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-05-27 14:21:53 +08:00
CanYang He
c02d94aba0 rk3288: ddr: update ddr bin to rk3288_ddr_400MHz_v1.08
built from ddr init project commit:
	79d5673 version: DDR Version 1.08 20190523
update feature:
	b5065df rk3288: ddr: enable 2T mode
	f92a1c0 rk3288: ddr: support bus-width=16bit with row=16
	88fab8f rk32: ddr: fix bug of idle port fail
	579f3c0 rk32: ddr: fix wrong uart base address for atags

Change-Id: I23791bb0a58bdbb718bd77d62b383eea91418e1d
Signed-off-by: CanYang He <hcy@rock-chips.com>
2019-05-23 18:34:05 +08:00
Joseph Chen
33dd21b36d rk3126: trust: add low address version v1.00
build from:
    448a414 plat: rk312x: support 128M ddr

Change-Id: I7386f73c582edacab512405cf625f01751a5ec39
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-05-23 14:19:51 +08:00
chenfen
39a948dc26 rknpu: loader: add rk atags bootdev.
from commit: 6da10d add rk atags bootdev.

Change-Id: Idc55bf2c5bf87c296ae64aed7e378c53c7cc4df9
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2019-05-23 10:45:59 +08:00
chenfen
1008eec06a rk1808: loader: add rk atags support.
from commit: 6da10d add rk atags support.

Change-Id: I51b0248e61324e588363eea41ab186393afda50f
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2019-05-23 10:45:59 +08:00
XiaoDong Huang
16bcd7e171 rknpu-lion: bl31: update version to v1.05
Build from ATF commit:
    301942b plat: rk1808: fix pmic_sleep pin config
update features:
    301942b plat: rk1808: fix pmic_sleep pin config
    549d145 plat: rk1808: ddr: fix rx de-skew switch bug
    c0933ee rockchip: common: atags: sync from u-boot

Change-Id: I1a6fcdedc115ff97f35490d1ec8469f39c7dd3d5
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-05-22 17:46:04 +08:00
XiaoDong Huang
69fc4fddad rk1808: bl31: update version to v1.06
Build from ATF commit:
    301942b plat: rk1808: fix pmic_sleep pin config
update features:
    301942b plat: rk1808: fix pmic_sleep pin config
    549d145 plat: rk1808: ddr: fix rx de-skew switch bug
    c0933ee rockchip: common: atags: sync from u-boot

Change-Id: I4fb02591684ee86699d6c1181f0cf46d9925fbd0
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-05-22 17:45:18 +08:00
CanYang He
a76ad26d60 rk3399pro: bl31: update version to 1.28
Build from ATF commit:
	51f2096 plat: rk3399: ddr: fix lpddr4 some timing error
update feature:
	this bl31 is match ddr bin Version "DDR Version 1.22 20190506"

Change-Id: Ibcadbd24822c3f40650078dc6354a25d94f9a68e
Signed-off-by: CanYang He <hcy@rock-chips.com>
2019-05-20 16:46:38 +08:00
CanYang He
18aff114cc rk3399pro: ddr: update ddr version to v1.22 20190506
build from:
	8132b62 Version: DDR Version 1.22 20190506
update feature:
	ce4c893 lpddr4: fix lpddr4 some timing error

Change-Id: I82fb2f540ee71a9e2f9de5b6dda00916c5237e68
Signed-off-by: CanYang He <hcy@rock-chips.com>
2019-05-20 16:42:20 +08:00
Joseph Chen
58ddfe0552 Revert "rk3308 aarch32/64: bl31: update version to v2.11"
This reverts commit 2279615dc94327923bde221f632e6a2161d9c30b.

Change-Id: I0d8676107b56c8ab975196d5723e052d3007e2f3
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-05-16 14:34:38 +08:00
Joseph Chen
3d261aa849 rk3308 aarch32/64: bl31: update version to v2.11
build from commit:
	9b4bee4 plat: rk3399: dfs: fix ddr low power issue
update features:
	c0933ee rockchip: common: atags: sync from u-boot
	164f37c plat: rk3308: fix atf memory layout for U-Boot

Change-Id: I4c3ebd0c467ea6404182011e683f3a26187a1d09
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-05-16 11:26:02 +08:00
chenfen
31501e4fb6 rk3326: loader: add rk atags support.
from commit: 6da10d add rk atags suppport.

Change-Id: If823c7a649e058abb50f374f62c93c0ad3f9e95d
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2019-05-14 09:47:32 +08:00
chenfen
f46026c7a8 rk322xh: loader: add rk atags support.
from commit: 6da10d add rk atags support.

Change-Id: I168a68f44cf8f9937d56400dfe15d266d8855a29
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2019-05-14 09:47:00 +08:00
chenfen
38e87454d1 rk322x: loader: add rk atags support.
from commit: 6da10d add rk atags support.

Change-Id: Ice6c5c07f20b8ee69578f586c34185a9aa4ce9bf
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2019-05-13 17:50:14 +08:00
CanYang He
f47fa6f9d8 rk3399: bl31: update version to 1.28
Build from ATF commit:
	51f2096 plat: rk3399: ddr: fix lpddr4 some timing error

update feature:
	this bl31 is match ddr bin Version "DDR Version 1.22 20190506"

Change-Id: Iac9d9cd63850aefdc2997712d40c6a62b04ae694
Signed-off-by: CanYang He <hcy@rock-chips.com>
2019-05-08 09:23:59 +08:00
CanYang He
a2162573c1 rk3399: ddr: update ddr version to v1.22 20190506
build from:
	8132b62 Version: DDR Version 1.22 20190506
update feature:
	ce4c893 lpddr4: fix lpddr4 some timing error

Change-Id: Iec92b6c31a97c3356af8b3a23a23df145cf9b184
Signed-off-by: CanYang He <hcy@rock-chips.com>
2019-05-06 12:52:03 +08:00
XiaoDong Huang
38db326c2f rk3368h: bl31: update version to v2.22
Build from ATF commit:
    0e7a845 plat: rk3368h: suspend: save/restore timers when 24M_OSC is disable
update feature:
    0e7a845 plat: rk3368h: suspend: save/restore timers when 24M_OSC is disable
    d8349b4 plat: rk3368: support suspend from uboot

Change-Id: I9bc8ddc6bccfd73451d017d125ace19bcf4dbec9
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-05-05 16:32:02 +08:00
Jon Lin
cf8ba54dec rk3308: miniloader: update loader to 1.14 version
from commit: 125ac95ce4eb126d7069b0fe8539db3c0fc22bbe

1.support 4KB page size flash device
2.XT26G02B, XT26G01B, ATO25D1GA, HYF4GQ4UAACBE

Change-Id: Ib0cc6cdb77b2935a4d8e6c9e8c0c98d44c6d8e47
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2019-04-28 09:11:53 +08:00