Commit Graph

299 Commits

Author SHA1 Message Date
XiaoDong Huang
ed8653cf44 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
5950e540af 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
chenfen
3ed970033e rk3328: miniloader: fix loader name problem.
Change-Id: I0f243655898e1746b1cfe48938727881dfe3f8c5
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-05-19 09:37:51 +08:00
XiaoDong Huang
7e15d11ebe rk322xh: bl31: update version to v1.32
build from ATF commit:
    fdee3f7 plat: rk322xh: ddr: using unify scanning frequency parameters

update features:
    1) plat: rk322xh: ddr: using unify scanning frequency parameters
    2) plat: rk322xh: ddr: add lpddr3 scale frequency

Change-Id: If3d36ed0d9ffc4f1be02664642b99e49207b284a
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-18 20:38:17 +08:00
Tang Yun ping
fb36b4366b rk3036: ddr: add 300MHz and 528MHz ddr init bin
From commit:
3b32406 rk3036: ddr: add odt/dll disable freq configurable.

Change-Id: Ie274210cb6f6223bb8015ce34c6cae3da07c955b
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2017-05-18 20:37:50 +08:00
chenfen
d88a6a478e rk3368: usbplug: fix linux tool upgrade address problem.
Change-Id: I8ee1286ced71b4a98c9bfc8f1f2c81edd3d75ca5
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-05-18 11:29:54 +08:00
chenfen
609cf575a4 rk3399: usbplug: fix linux tool upgrade address problem.
Change-Id: I31c16d3f7594e2834beb3561e301007fa9cd9545
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-05-18 11:19:59 +08:00
chenfen
64a1b9290e rk3228h: usbplug: fix linux tool upgrade address problem.
Change-Id: I6edc47a2b676ea1d3311cd9015eb998e155e1796
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-05-18 11:11:48 +08:00
XiaoDong Huang
75a1c492c9 rk3126x: update optee with ta version to v1.23
built from optee commit:
    201e349 plat: rk312x: add ddr change frequency function

    1)add ddr change frequency function
    2)add wait_cpus_into_wfe support

Change-Id: Ic0e1c6606079d781e6c9b87169f76f6f41e1934e
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-17 16:44:03 +08:00
chenfen
c82482e7d2 rk3328h: loader: fix sd card boot problem.
Change-Id: Ib32fe6734391fc1a9ff7aed2ca0a2f846f75edf3
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-05-17 10:43:28 +08:00
XiaoDong Huang
f36d16f47f rk3368h: bl31: save/retore the uart in system suspend/resume
Build from bl31 commit: 7210e00

Change-Id: I10250b3348d550208e5e4aea8b04835adab3bfef
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-16 18:05:24 +08:00
sean.huang
caeefe7461 3126x: update optee with ta version to v1.22
built from optee commit: 396c070c0c7c71ed7c30e350e58931c0318d1cdd

Update features:
396c070 rpmb: change the test key to RK defines.
5b42ec8 rpmb: fixed bug on tee_rpmb_fs_read.
0838d5f fiq_debugger: deliver orginal fiq break point's PC by 'nsec_ctx->und_lr'
968d964 tee_fs: delete object when .meta file is empty
ea23e49 rockchip: kern.ld.S: change sram text and data section align 4 bytes
5656cfa plat-rockchip: rk3288: flush(clean & invalidate) entire D-cache
b20c128 rk312x: ddr: fix bug about build rk312x error.
aa700e2 rk3288: fix bus about ISRAM_CODE_BASE redefined

Change-Id: I2306be49fb04604862b1e29f6f8bb716ecd0debb
Signed-off-by: sean.huang <sean.huang@rock-chips.com>
2017-05-16 14:10:22 +08:00
Zhang Zhijie
0b9a9d6f0e rk3368h: bl32: add bl32 support and init version to 1.00
Build from optee commit: 2101c108ef41637b2036c172d4f5f8144afefe6e

Main features:
1.rk3368 platform init
2.optimize crypto lib to support keystore.
3.using BoringSSL to generate RSA&ECC key.
4.rpmb: change the test key to RK defines.
5.toolchain: update toolchain version to gcc5.3.

Change-Id: I49919c59eee71f6496ebc6fc054b251950bcc5bd
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
2017-05-12 16:00:18 +08:00
shengfei Xu
e109a6021f rk3399: bl31: update version to v1.10
Build from bl31 commit: bb83cd09ad075fec4e2fd7aa7ffef8e68fd55c41

update feature: save/restore uart debug port

Change-Id: I92c9a1b2fa57ce37bb0a63abc410c96f97328a6d
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-05-12 15:59:14 +08:00
XiaoDong Huang
6544030ff4 rk3368h: bl31: update version to v2.11
bl31 compile with "SPD=opteed" option
Build from bl31 commit:
	84d85e7 plat: rk3368: update version to v2.1

Change-Id: If0e9d769ccca5caaa10fe418041c607982f741f1
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-12 15:16:56 +08:00
Tang Yun ping
070388a3b7 rk3368: ddr: change debug uart from uart3 to uart2
commit info:
94bfa65 rk3368: ddr: change debug uart from uart2 to uart3

Change-Id: I63bebbe3600240b41456a516eb8ca4e2c39bbaa5
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2017-05-12 10:03:40 +08:00
XiaoDong Huang
fda86a7011 rk3368: bl31: update version to v2.10
Build from bl31 commit: 84d85e7

update features:
1.support optee
2.softrest is set to first reset
3.suspend: support arm off and logic power down
4.really close cpu's power domain if system power down cpu

Change-Id: If1586b801daf7f7a8ccab95ceda4e168ea98528c
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-12 10:02:03 +08:00
Tang Yun ping
c0913cb0e4 TEMP: rk3126: ddr: update ddr bin to 400MHz
Temporary version, update ddr frequency to 400MHz.
version info: 20170510_dbg
commit 2c0a05b5534054dd8d1ecd73724605e8d2d1d87f

Change-Id: I827892646bbab84ba53de5c7a8288d55011a980c
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2017-05-11 17:00:33 +08:00
sean.huang
4c662805d3 rk3126x: update optee with ta version to v1.21
1)add rk3126b and rk3126c platform init
2)enable fiq-debugger
3)implement suspend/resume
4)add the driver of the efuse
5)modify secure storage key generate

built from optee commit: b20c128508a3caa2e1af6a849c8e3bb85fde75f2

Change-Id: I0a3fce857a9c4fd7067f460bd616c4d3b19f5d45
Signed-off-by: sean.huang <sean.huang@rock-chips.com>
2017-05-11 17:00:21 +08:00
hisping
2e3913708a rk3399: bl32: add bl32 support and init version to 1.00
Build from optee commit: 2101c108ef41637b2036c172d4f5f8144afefe6e

Main features:
1.rk3399 platform init
2.optimize crypto lib to support keystore.
3.using BoringSSL to generate RSA&ECC key.
4.rpmb: change the test key to RK defines.
5.toolchain: update toolchain version to gcc5.3.

Change-Id: Ie1aa580516572561d5f59825b72e743953af1500
Signed-off-by: hisping <hisping.lin@rock-chips.com>
2017-05-11 15:41:38 +08:00
shengfei Xu
efbb0fd68d rk3399: bl31: update version to v1.02
Build from bl31 commit: 3dd76606b02379ba018217c11a81d394624cd981

update feature: rk3399 support optee

Change-Id: I8860ac937c40066f03db6e523ddbc2cefa901da2
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-05-11 08:53:48 +08:00
Zhaoyifeng
e117a6ffee rk312x: update miniloader and usbplug
1. miniloader support trust.img
    2. usbplug and miniloader support micron L04A(3D) NAND FLASH

Change-Id: Ib351dba160b84eb83cedf7c322ef88ff5cf68392
Signed-off-by: Zhaoyifeng <zyf@rock-chips.com>
2017-05-08 10:18:21 +08:00
chenfen
cc7f6267a6 rk3368: loader: fix bl32 no exit but bl31 run to bl32.
Change-Id: I12ed073436b6e2ff2e7a531c4f7ffc4d3b6e4d45
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-05-04 16:49:20 +08:00
chenfen
97a40cb826 rk3399: loader: fix bl32 no exit but bl31 run to bl32.
Change-Id: Id24e9be06925a35c960be21241a2d7a50a087d6a
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-05-04 16:28:14 +08:00
shengfei Xu
60e887c45f rk3399: bl31: update version to v1.01
Build from bl31 commit: 3dd76606b02379ba018217c11a81d394624cd981

update features:
1. remove RX offset calibration.
2. disable DFS training on suspend.
3. fix DRAM DLL bypass and DDR3 ODT setting.
4. fix DRAM gate training issue.
5. ddrio retention deassert request by software.
6. support host0_linestate_irq wakeup system.

Change-Id: Ie91ac337947703096e28dda50e857defc71a0dab
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-05-04 15:08:58 +08:00
Zhang Zhijie
28f25b6814 rk3126: tee: update optee with ta version to v1.20
Build from optee commit:8e11b8008bccbe47eebdf7ddd6c2001d3508f702

Update features:
1.Optimize crypto lib to support keystore.
2.Using BoringSSL to generate RSA&ECC key.
3.Update some features to compatible with arm-trusted-firmware.
4.Enable soc sram and set exec.

Change-Id: I439c7527cee94de76a27e3d4567f6351098a15b4
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
2017-05-04 09:04:18 +08:00
sean.huang
e8c6edb877 rk3126: update optee version to v1.01
default use rk3126_tee_ta_v1.01.bin
	build form optee commit:c3804274b42b78a3e082f43fe200dda5c50e9440
Change-Id: I1df512107dfaa0bbc840d5ec0b2150f44cdd2976
Signed-off-by: sean.huang <sean.huang@rock-chips.com>
2017-05-03 08:32:16 +08:00
chenjh
a4774ea010 rk322xh: bl31: update version to v1.31
build from ATF commit: 67c9fc5f50c15

Change-Id: Ib847c0b82dba6b334ef3e0819bf20a98b6c5bb72
Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-04-28 19:26:31 +08:00
Zhaoyifeng
aceefc1d3b rk3036: update miniloader and usbplug
1. support 128MB and 256MB SLC NAND
    2. support some new MLC NAND FLASH

Change-Id: I75442d8980da28f7be8ba394c65689623727d92b
Signed-off-by: Zhaoyifeng <zyf@rock-chips.com>
2017-04-28 16:16:01 +08:00
Tang Yun ping
cbbd484189 rk3128: ddr: update ddr version to v2.06
Fix bug about 3128 ddr 16bit bandwidth detect error.

Change-Id: I3a289ea5a8922952a1bca30ab69034f1e400fe00
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2017-04-28 16:15:49 +08:00
chenjh
d5495e4497 rk322xh: bl31: update version to v1.3
build from ATF commit: 97d0b736a4486

Change-Id: Ie77065e6ccdca48e2970d73e8ea4428f34af60e9
Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-04-27 20:26:26 +08:00
sean.huang
e8f1ccb7e4 rk322xh : add rk_ctit_service for read/write otp
Change-Id: Ib1ca2b805ac1fd5fad6de02b9cb9e50af614aa9a
Signed-off-by: sean.huang <sean.huang@rock-chips.com>
2017-04-27 14:23:46 +08:00
chenjh
7760afb403 RK3368H/PX5MINIALL.ini: update rk3368 miniloader and usbplug v2.57
Change-Id: I5c072287f164e5c9b71daee168cc2d2e2c1129b4
Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-04-25 15:39:48 +08:00
chenfen
c0bb51e4f6 rk3368: loader: fix RSA key copy to u-boot problem.
Change-Id: I0b013d34e79d9aa3639e7e80d15e91dbf17ea0a5
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-04-25 14:13:02 +08:00
Hecanyang
383c0cbf81 rk322xh: rk3328: ddr: update ddr to v1.06
this version's ddr bin file can adapt to all ddr type,
and all capability, and 2 layer or 4 layer PCB

Change-Id: I0037d2461de159d9259560f4ed28ac8f2b6d4476
Signed-off-by: Hecanyang <hcy@rock-chips.com>
2017-04-24 18:59:17 +08:00
XiaoDong Huang
13f446744b rk3368: bl31: support arm off and logpd when suspend
Change-Id: Ic0888ca58530dc69e3e17084f3fe08f71ecf2d4d
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-04-19 09:28:30 +08:00
sean.huang
1472e238ce rk3126: support trust merger
Change-Id: I31057aed610143b3b2738636d81071e6c97763b3
Signed-off-by: sean.huang <sean.huang@rock-chips.com>
2017-04-12 14:18:58 +08:00
chenjh
de77f92b10 rk3368: bl31: revert back version to v1.9
rk3368h can't compatible with rk3368, so revert back to:
commit: 9cf916e75707f65bfbfb50ddecb47908ca0d8ba4

Change-Id: I4687d96255cea186ce6e5d2bd006f87c7ca3883d
Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-04-12 14:18:26 +08:00
William Zhang
5370114887 rk3368h: add init config for rk3368h chip.
compile cmd:

make rk3368h_defconfig
make ARCHV=aarch64 or ./mkv8.sh

if bin need updated, must modify this two ini files:

tools/rk_tools/RKBOOT/RK3368HMINIALL.ini
tools/rk_tools/RKTRUST/RK3368HTRUST.ini

Change-Id: I2be227aa6bddea206eb2c4a266e49857c0071eb5
Signed-off-by: William Zhang <william.zhang@rock-chips.com>
2017-04-12 14:17:49 +08:00
William Zhang
a55302ab5b rk3126: update usbplug/miniloader to v2.32
Miniloader support load Trust

Change-Id: I2b02dd1e61b3679fe0e4a245efb35544ce1df095
Signed-off-by: William Zhang <william.zhang@rock-chips.com>
2017-04-12 14:17:37 +08:00
Hecanyang
087dc0cf07 rk3288: ddr: rk3288_ddr_400MHz_v1.03
add a timer_init() call in ddr init code

Change-Id: Ieb1cedaf86ea630269c4f31de2642abfa608f71c
Signed-off-by: Hecanyang <hcy@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2017-04-11 16:47:57 +08:00
chenjh
0a1b79a043 rk3288: tee: update version to v1.01
support system reset and system suspend

Change-Id: I978fcc3a91c54dd2a2b6e31ada409342d3b0d0f5
Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-04-11 14:51:42 +08:00
Kever Yang
d1044aaa53 rk_tool: rk32: update binary names
Use rk3288 instead of rk32xx because there no other chip share
this name.
Re-name ddr bin for rk3288.

Change-Id: I501b63162b67c7db445dc56d06f93be93445ff1d
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-04-11 14:04:30 +08:00
chenfen
fab482b55d rk3399: loader: fix RSA key copy to u-boot problem.
Change-Id: If0877814ad7e17689f4a864d6c3a2efc29731272
Signed-off-by: chenfen <chenfen@rock-chips.com>
2017-04-10 15:47:31 +08:00
chenjh
206ec4611d rk322xh: update bl31 bin version to v1.2
Change-Id: I30f357f2f3cdccb1de704ba63e353ee657e3154b
Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-04-07 18:22:51 +08:00
William Zhang
3cc8cfa47c px5: update ddr to v2.00, miniloader to v2.56
Changing uart debug port from uart 2 to uart3.

Change-Id: Ida88f3149c2e3484e8187527d21d71699b8b45b6
Signed-off-by: William Zhang <william.zhang@rock-chips.com>
2017-04-05 14:16:17 +08:00
William Zhang
a9578575f5 rk3288: update miniloader to v2.32
1. support load trust.
2. init timer7 for u-boot

Change-Id: I6009dae11823c6e4c1d5cd1eeae7ff72279c6b67
Signed-off-by: William Zhang <william.zhang@rock-chips.com>
2017-04-01 11:18:04 +08:00
shengfei Xu
ab744b469b Revert "plat: rk3399: add virtual poweroff support"
Change-Id: I59231ba6280c0e4e89cf61704701c03a3a287c5e
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-03-31 17:03:38 +08:00
shengfei Xu
124058caa6 rk3399: bl31: ddrio retention deassert request by software
Change-Id: Ia7a37476a55d5098dd57496747048801b38c631b
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-03-31 09:57:12 +08:00
William Zhang
9fd0738f98 rk3288: support trust merger
Change-Id: I2f4dff1ff1e04f87ecda1fca1a9a8560c5e9dc15
Signed-off-by: William Zhang <william.zhang@rock-chips.com>
2017-03-28 21:16:08 +08:00