Commit Graph

347 Commits

Author SHA1 Message Date
Zhang Zhijie
614a67ff3f rk3399: bl32: update version to 1.11
built from optee commit: 2d5da6a83a84774c59df3b11ca3b97243c617689

update feature:
2d5da6a rk3399: update version to 1.1
a81a01a rk3399: add seure video path
1bb641d static ta: don't forget to free static ta ctx buffer
fb29684 rpmb: refine rpmb key generate strategy

Change-Id: I7bf769971ae388e8a4efce9ccf3a03773e87572c
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
2017-10-20 09:59:19 +08:00
willam.wei
e673855e59 rk3228h/rk3328: bl32: update version to 1.32
built from optee commit: face623dceba59649815ffb36f32c3a7a0a28948

update feature:
rk3228H: add seure video path
    1)support H264 HEVC VP9 VP8 MPEG2 MPEG4
    2)add decrypt ta and video parser ta
    3)support small vcodec_service, only support set/get region

Change-Id: I7fc600ec46baa579cfaf3d1b10f6646e59a38f23
Signed-off-by: willam.wei <willam.wei@rock-chips.com>
2017-10-18 11:01:22 +08:00
Joseph Chen
cb065e4350 rk3126: tee: update version to v1.28
build from optee commit:
	1997420 plat-rockchip: set CNTVOFF zero when cpu boot up

update feature for rk312x:
	(1) support system reset;
	(2) set CNTVOFF zero when cpu boot up.

Change-Id: I9f9d432df53093de31b40368f3b1b838239d7979
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-10-18 10:50:26 +08:00
XiaoDong Huang
3e8b5dd1b5 rk322xh: bl31: update version to v1.35
Build from ATF commit:
	c9d433e plat: rk322xh: add RK_SIP_VPU_RESET support

Change-Id: Ib3e96a29a718b6fa1f6e63b01175544ca1298d25
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-10-12 15:57:26 +08:00
Tang Yun ping
b3f6a1f50a rk322xh: rk3328: ddr: update ddr to v1.09 20171011
1. fix 1cs 4GB bug about address overflow.
2. enable dfi_lp_en_pd and hw_lp_idle_x32.
from commit:
	94bd928 version:  v1.09 20171011

Change-Id: I660a7455c34c99e6251067f48b9f99f2a8e33c72
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2017-10-11 17:24:50 +08:00
Jason Song
fd1b85abbd px5: add init config for px5 kernel4.4
compile cmd:

make px5_kernel4.4_defconfig
make ARCHV=aarch64

ini, must modify this two file:

tools/rk_tools/RKBOOT/PX5KERNEL4.4MINIALL.ini
tools/rk_tools/RKTRUST/PX5KERNEL4.4TRUST.ini

Change-Id: Ib0c4f0885a895d005a42a723ff6aabe7023bc767
Signed-off-by: Jason Song <sxj@rock-chips.com>
2017-10-11 09:32:27 +08:00
shengfei Xu
2e263d060e rk3288: tee: update version to 1.24
build from optee commit: 6d63b1c2711826d33d958dcc19c00205ce172d15

update features: fix the system clock error

Change-Id: Ie497545d5498e9e2c6cd2a1d75a641deab70c030
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-09-12 09:18:51 +08:00
XiaoDong Huang
c3aa318c21 rk3368h: bl31: update version to v2.16
Build from ATF commit:
	750ad69 plat: rk3368h: suspend: support remotectl parse and filter

update feature:
	1) 750ad69 plat: rk3368h: suspend: support remotectl parse and filter
	2) b282f92 plat: rk3368h: report detailed wakeup source when resume

Change-Id: I379c3aaf3c351e59853182ff75f2a015e8656781
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-09-08 15:46:02 +08:00
shengfei Xu
f8e3881fb7 rk3288: tee: update version to 1.23
build from optee commit: decbfaf1239a2d3452547fab6283e6d4adcdedde

update features:
1. support the suspend clock switch to 32k
2. fix bug for DDR3 DRAM side ODT disable

Change-Id: Ic4f492553e840f17c8a6066a60265aadd42d9398
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-09-05 11:34:21 +08:00
willam.wei
b8f69f4f65 rk3399: bl32: add rk3399_bl32_tee_ta_DRM_v1.20.bin
build from optee_os commit 438e3f7852917523e869334fba675c1f7fabf078
update features:
1.  if #define CONFIG_MERGER_TRUSTIMAGE_DRM
    the file "rk3399_bl32_tee_ta_DRM_v1.20.bin"
    will be packed in trust.img

Change-Id: Ie4c698ef7ec4836b22618b6a9a7979b80d7e23a3
Signed-off-by: willam.wei <willam.wei@rock-chips.com>
2017-09-04 11:41:57 +08:00
Joseph Chen
b05e932d1d rk3368: fix chip name dump for kernel4.4 box product
chip name uses "RK3368".

Change-Id: I216d1cedfc43c4f48855e13f4e116c9020180f97
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-08-16 10:04:22 +08:00
shengfei Xu
bf9bee42f9 rk3288: tee: update version to 1.22
build from optee commit: 897ad0f2e06e5d5dd87738d446f7eceb4f5e22fb

update features: add interface to read/write efuse

Change-Id: I8fe888f619c50b17c02c76515231909d7010e5ea
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-08-08 16:05:09 +08:00
Joseph Chen
968dc507c1 rk322x: tee with ta: update optee version to v1.81
build from optee commit:
	50b9b79 rk322x: add system off by pull up rk805 sleep pin

Change-Id: I5ea9dd054879d0e0bded28b923fffa994dab9075
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-08-01 09:29:39 +08:00
Zhang Zhijie
f6d14402d5 rk322x: tee: update tee_ta version to 1.8
build from optee commit: 54c8431a01b4cf7452aeb1ff33af0dfbd2573e82

update features:
1.rpmb: refine rpmb key generate strategy
2.storage: add OTP_SUPPORT and BCH_SUPPORT
3.sta: add a new static TA for secure storage
4.crypto: enable CFG_RK_CRYPTO_BORINGSSL

Change-Id: Ide4a2fa672621f2f1e60b62335b025ab9aa6870c
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
2017-08-01 09:26:02 +08:00
shengfei Xu
38a12f763d rk3399: bl31: update version to v1.12
built from optee commit: 9f93abc55b1db63da07237f87db75e2c27620384

update features:
     1.Ensure DPLL match dpll_rates_table
     2.fix the error about qos save/restore

Change-Id: Ibecbf9402786153269b757b3df20c6d5c6bb1024
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-07-27 10:52:12 +08:00
Joseph Chen
b8228e6d33 rockchip: add rk3368_box_kernel4.4_defconfig
Change-Id: I6ba5526945c2785557c2512a0d354a5b44e5b22b
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-07-20 09:31:15 +08:00
Joseph Chen
72a7cbb9fa RK3368MINIALL: reanme output loader name 'rk3368h' to 'rk3368'
Change-Id: I2684f8006255b4864a0f69082b4a6a30b7c5973c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-07-20 09:28:00 +08:00
Hecanyang
dfe94b5140 rk3288: ddr: update ddr bin to rk3288_ddr_400MHz_v1.05
built from ddr init project commit:
	49df872 version: DDR Version 1.05 20170712

update feature:
1) fix customer DDR3 3GB with
   channel a: col=10, row=16, cs=1, size = 2048MB
   channel b: col=10, row=15, cs=1, size = 1024MB
2) support all 3GB and 1.5GB setting with DDR3
   512Mx16bit and LPDDR3 single die with 8Gb case.
   these rarely type of die was not consider before.

Change-Id: Ibdb5d758cc622a72672faff7069bd5efa85ce2e4
Signed-off-by: Hecanyang <hcy@rock-chips.com>
2017-07-13 08:51:21 +08:00
Zhang Zhijie
f85aa2aa48 rk3399: bl32: update version to 1.10
built from optee commit: 111b3c59241578aa3240af90b598453c8ac8951c

update feature:
111b3c5 UPSTREAM: plat-rockchip: respond foreign interrupt for GICv3
1de8e35 rk3399: fix the driver of the efuse
0432bec rk3399: remove device master and slave init
9708ae3 rk3399: add error correcting code
eae3e59 rk3399: add driver of efuse

Change-Id: Ie87771b6af3232b8f2036c516975dd573b38a610
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
2017-07-10 08:54:22 +08:00
Tang Yun ping
4ff7302e85 rk3126: ddr: update ddr bin version to V2.08 20170619
from commit:
	a955e48 rk3126b/c: ddr: fix sdcard boot bug

Change-Id: I7eaa4271e0321808383e7a1b03334c3211d77b34
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2017-07-04 17:56:27 +08:00
sean.huang
ed2ba9f933 rk3228h/rk3328: bl32: update version to 1.31
built from optee commit: 5cdf8deaa939a2cf23b1a20bbfd5460c93873404

update feature:
1)check mac/sn/stid's position has been writeen
2)add error correcting code

Change-Id: Ib436a55eb5a0c8f51158382155a8f0b4eef53da0
Signed-off-by: sean.huang <sean.huang@rock-chips.com>
2017-07-03 09:34:50 +08:00
XiaoDong Huang
a644c58807 rk3126: tee: update version to v1.27
build from optee commit:
    6f6ac31 rk312x: fix suspend/resume problem when charging

Change-Id: Icccab4ab33b4c84c47e2518a357b65d9a8e67f93
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-06-30 14:22:25 +08:00
Tang Yun ping
ef83040883 rk322xh: rk3328: ddr: update ddr to v1.08 20170628
optimizing ddr4/lpddr3 diff_cs_rd_gap/wr_gap to improve performance.
from commit:
	1e90513 version: v1.08 20170628

Change-Id: I05b7970dfcb79b258d72dcaee81b523e99f0a67d
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2017-06-28 18:58:06 +08:00
Tang Yun ping
a647781234 bl30: rk3368h: update bl30 to v2.14
Update bl30 to v2.14 20170510 to support kernel_4.4 ddrfreq.
from coos commit:
	cf10c6c coos: rk3368: update bl30 version to v2.14 20170510

Change-Id: Iafdfb74be33fc7894b63ed2639cf8641af52814c
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2017-06-28 17:18:22 +08:00
shengfei Xu
5f7681ed24 rk3288: tee: update version to 1.21
build from optee commit:bcd26438eeb060bbf060a5f2cd8d9dd8cf2262f2

update features:
1.add noc timing config
2.save/restore the sram data in suspend/resume

Change-Id: Id81afba57fb2ccefdd06db9b3d40d2607b8ec59b
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-06-27 15:31:01 +08:00
chenfen
0b179534e4 rk3399: miniloader: update version to v1.09
build from commit: badae992a3ba102bdb0e61fa550f5ede61c4692d
update feature:
	1.add emmc trim function.



Change-Id: I8e550e16d048b62ce5420f6463d5cf8aebd5924b
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-06-23 10:53:29 +08:00
Hecanyang
c3fb6e6030 rk3288: ddr: update ddr bin to rk3288_ddr_400MHz_v1.04
built from ddr init project commit:
	996e7c3 version: DDR Version 1.04 20170614

update feature:
	1) add qos prority set in ddr init code

Change-Id: I55c443dc120b0dc2c59296fd274b5e9ee47f14ab
Signed-off-by: Hecanyang <hcy@rock-chips.com>
2017-06-22 11:06:27 +08:00
chenfen
8748e20d39 rk3036 rk3126 rk3128 rk3228 rk3288 rk3368 rk3328:miniloader: add emmc trim function
Change-Id: If8b9e9187b0b55da30eed4f7be8b02d75cd83f40
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-06-19 10:34:20 +08:00
Jianhong Chen
ce7ce43199 rk3126: tee: update version to v1.26
build from optee commit:
	5f82045 rk312x: ddr: fix the bug of clk gate restore in deidle port

Change-Id: I1ff7f87ae689b01a3363ac3f357c921070bd7656
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
2017-06-16 15:41:08 +08:00
Zhang Zhijie
a8b4a01dc7 rk3288: tee: update version to 1.20
build from optee commit: fc0d7b0db652ee6293cffd6ff2c53be9f2318e00

update features:
1.clear SCTLR_V bit when cpu init
2.add CFG_OTP_SUPPORT and CFG_BCH_SUPPORT
3.config: move fs config from script to conf.mk, enable rpmb
4.set Non-Secure banked TTBCR to zero

Change-Id: I2d650cf33c8e7f09008d8b8614cc87c1cfc31923
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
2017-06-12 17:52:51 +08:00
Jianhong Chen
a3b09f36a3 rk3126: tee: update version to v1.25
build from optee: 1800e86 rk312x: fix cpu on failed issue

Change-Id: I88e2addf986382267d2bbc22945313262c5d5946
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
2017-06-12 15:19:15 +08:00
XiaoDong Huang
acaa227f48 rk3368h: bl31: update version to v2.15
Build from ATF commit:
    7d4ebe1 plat: rk3368h: suspend: not set default wakeup sources

update feature:
    1)plat: rk3368h: suspend: not set default wakeup sources
    2)plat: rk3368h: suspend: enable gic cpuif when resume
    3)plat: rk3368: suspend: add de-skew registers resume

Change-Id: Ib0218bffc937211f203b29627607cbc4d6b96a65
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-06-12 09:11:32 +08:00
cww
8f1857654a rk3036: add support build for echo product.
Change-Id: I83cf1ba24ad53885b4eb77dd122c37b683f525b2
Signed-off-by: cww <cww@rock-chips.com>
2017-06-09 17:02:35 +08:00
XiaoDong Huang
75bd05259e rk3368h: bl31: update version to v2.14
Build from ATF commit:
    b16049d plat: rk3368h: suspend: set pmu count according to pvtm's freq

Change-Id: I33cc0687a6eb1b363afb4ed6eaa79acabd78cbbd
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-06-08 14:46:09 +08:00
Zhang Zhijie
ab9c35319c rk3228h/rk3328: bl32: update version to 1.30
built from optee commit: 1bbea2a96513fd50aaaabf5f69d2af005af96e79

update feature:
1)rpmb: fix bug on read and change test key define.
2)libcrypto: optimize crypto lib for keystore but not
  enable BoringSSL(don't need for now).
3)toolchain: update toolchain version to gcc5.3.

Change-Id: I8f5670590264020f85644233f3d8b3d74a0578ee
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
2017-06-06 16:11:29 +08:00
hisping
c78455d6ef rk322x: tee: update optee with ta version to v1.71
build from optee commit : ffd6ec

update features:
(1)rk3228: init: don't setup default nsec shm with non-TA img
(2)rockchip: system suspend: disable fiq_debugger

Change-Id: Id1cba2b40d4be9094db966aff2e5d0d1ce4ff0d6
Signed-off-by: hisping <hisping.lin@rock-chips.com>
2017-06-06 10:18:25 +08:00
XiaoDong Huang
e8d9c35aaf rk3368h: bl31: update version to v1.34
bl31 compile with "SPD=opteed" option
    Build from ATF commit:
        f947c7e plat: rk322xh: ddr: fix deskew update bug

Change-Id: Ia21b943989c0fd79a8aa5eaad3207e617977ecc1
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-31 09:32:05 +08:00
chenfen
e8a7f17154 rk3126: miniloader: fix load u-boot fail but run to trustos problem.
Change-Id: Ib75722225816dd933e9435458c0ad72aa9b88c31
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-05-27 17:12:04 +08:00
chenjh
ea0cf57502 rk3288: tee: update version to v1.11
build from optee commit: debc2d5

update features:
	debc2d5 rockchip: sip: page number not larger than requested one means query
	4ab8acc rockchip: system suspend: disable fiq_debugger
	ebdd9c2 ddr: rk3288: using unify scanning frequency parameters

Change-Id: I4c985274f8f833a1be54ce35deae4a35c31aae2a
Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-05-27 09:03:20 +08:00
chenfen
c8421555b6 rk3126: fix uboot upgrade problem and 3126c secure problem
Change-Id: I817516ed958002d490881e09b73ca008e1033a4e
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-05-26 11:44:09 +08:00
XiaoDong Huang
6e65b1757a rk322xh: bl31: update version to v1.33
build from ATF commit:
    f947c7e plat: rk322xh: ddr: fix deskew update bug

Change-Id: I31cf847f402ab020ce8b75ac63a4244d281df7fd
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-25 10:53:16 +08:00
shengfei Xu
a4a1b35e77 rk3399: bl31: update version to v1.11
Build from bl31 commit: 159eeff3185a92768427d31c2da7b7361dabd03e

update features:
    Change ddr frequency with rk3399's private functions
    The patch is the interim measures for changing ddr frequency.

Change-Id: I47dfb494677e0fe5321c9180e62d4b00fa57abfc
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-05-24 08:35:06 +08:00
chenjh
f40179126f rk322x: tee: update optee with ta version to v1.70
build from optee commit: f23c4e0

update features:
(1) support system reset;
(2) fix rk3229 crash.

support generate both trust.img and trust_with_ta.img

Change-Id: I06e808e5b14a0b83a5d412f8c66688451e92f62e
Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-05-23 16:35:50 +08:00
XiaoDong Huang
ae3936a0f2 rk3126x: update optee with ta version to v1.24
built from optee commit:
    4ab8acc rockchip: system suspend: disable fiq_debugger

update features:
    1) rockchip: system suspend: disable fiq_debugger
    2) rk3126c: suspend: support ddr suspend and arm off
    3) rk3126c: fix delay time of efuse driver

Change-Id: I12515deb9af973e6357eb790a45222b080d4678e
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-22 18:09:41 +08:00
chenfen
926443c087 rk312x:miniloader and usbplug: support rk3126c
Change-Id: Ie1cd8507cff5ad8869b562e12f897fc4481228b4
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-05-22 17:02:42 +08:00
Tang Yun ping
0293bbaa00 rk3126: ddr: update ddr bin version to V2.07 20170521
from commit:
973fe0d rk3126: ddr: enable timer. V2.07 20170521

Change-Id: I3e560a2e57fd9c49dd554903f1b97ec173c63d72
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2017-05-22 17:02:13 +08:00
chenjh
de95f02795 rk3126: remove unused rk3126_tee_v1.01.bin
rk3126 only use tee.bin with ta

Change-Id: I38b08196932830135eab650853089ee4a633858c
Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-05-22 15:43:54 +08:00
chenjh
c7f4a0b850 rk3288: tee: use with ta by default
Change-Id: Ib9065ea20d45efb6ac88f2345202428c5ea1c568
Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-05-22 15:31:28 +08:00
XiaoDong Huang
01512ece5d rk3368h: bl31: suspend: support wakeup source config
Build from bl31 commit:
    bfe06e5 plat: rk3368h: suspend: support wakeup source config

Change-Id: I6ed0d464ff649399275b45b903b93552d225c93a
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-19 17:04:23 +08:00
XiaoDong Huang
1d7ea07860 RK3288: optee version update to v1.10
built from optee commit:
	0bd05ab RK3288: optee version update to v1.1

update features:
	1) plat-rockchip: rk3288: flush(clean & invalidate) entire D-cache
	2) rk3288: fix bus about ISRAM_CODE_BASE redefined
	3) rk3288: add ddr change frequency function
	4) rk3288: fiq_dfs: add fiq_dfs_stop_cpus for rk3288
	5) plat-rockchip: rk3288: support the sleep mode config from kernel
	6) rk3288: check the cpu is in WFI before resetting it

Change-Id: I042019b3aa73debbcb0bbd9aa352bf95a1632a8f
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-19 17:03:29 +08:00