Commit Graph

548 Commits

Author SHA1 Message Date
Dingqiang Lin
4189018979 rk3308: miniloader: update loader to 1.07 version
from commit: ed1ff42ebfab1a8b9e7c38

1.add gc vpn0 block

Change-Id: Iea5c84f106933eded0b36692ae0c926afa9dd94c
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-08-24 22:44:26 +08:00
Joseph Chen
4be5a2b7a0 rk3308: bl31: aarch32/64: update to v1.11
build from commit:
	005c64b rk3308: system suspend: support timer as wakeup source

update features:
	support timer as wakeup source

Change-Id: If711711e4023fd4a0537e25f20c9ceae3bf41795
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-08-24 09:46:03 +08:00
Zhihuan He
f098b21366 rk3308: ddr: update version to v1.23
Build from U-Boot commit:
        000b508 rockchip: rk3308: tpl: updata to version 1.23
Update features:
	42784e2 rockchip; fix DRAM info address

Change-Id: I7cf5efbe41aa551e1d7289290b3f259b44c4ed38
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2018-08-22 16:35:10 +08:00
chenfen
986041b9d8 rk3328: miniloader: support gpt.
from commit: c8175aa75: rk3328 support gpt.

Change-Id: I5e5340f1efe7ac17f5b7bac6c291f81080b45770
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2018-08-17 17:20:00 +08:00
Hisping Lin
b789f812b5 rk3128x: tee with ta: update optee version to v1.98
build from optee commit:
    a92c844a crypto: modify return value when we do acipher verify

update feature:
    a92c844a crypto: modify return value when we do acipher verify
    d0a41240 static ta: add delete file function
    6505c215 rk322x: ddr: add dfs init for 4.4 kernel

Change-Id: Iedca28cac29311a2d064989c9768770ba8b11cad
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-08-14 17:31:33 +08:00
Hisping Lin
9e1af8fbab rk322x: tee with ta: update optee version to v1.99
build from optee commit:
    a92c844a crypto: modify return value when we do acipher verify

update feature:
    a92c844a crypto: modify return value when we do acipher verify
    d0a41240 static ta: add delete file function
    6505c215 rk322x: ddr: add dfs init for 4.4 kernel

Change-Id: I35c397ae882c2709ae4714092368c5b4e7c2dc07
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-08-14 17:31:33 +08:00
Dingqiang Lin
c8bc8b816a rk3308: miniloader: update loader to 1.06 version
from commit: 37d5982074b1947dce9fe98b77051b

1.Add IDBlock reading support;
2.Rewrite vendor partision to support spi flash vendor ops;
3.Update gc and syc code;
4.Add new spi flash devices support.

Change-Id: I794f1b2b3c7475799468c80ce19be95831311473
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-08-14 16:16:32 +08:00
Shunqian Zheng
20ad457c84 PX3SEMINIALL.ini: update usbplug version to 2.52
Sync with 47b57e8 rk312x: support gpt

Change-Id: Ic8483c504fded2a45bc891e45b34436fdfba5de3
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
2018-08-13 10:34:28 +08:00
Jeffy Chen
6a65bf4aad tools: resource_tool: Use not stripped version
Base on rkdevelop branch:
118d14adfe clk: rk32xx: rk3288: fix up the hclk_vio freq error

and:
+++ b/tools/resource_tool/Makefile
@@ -17,7 +17,6 @@ HEADERS += tests.h

 $(TARGET): $(OBJS)
        $(CC) -o $@ $(OBJS) $(CFLAGS) $(LDFLAGS) $(LIBS)
-       $(STRIP) $@

Change-Id: I6be971937ab3c17cad0a81d18d38415e64a61a13
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
2018-08-10 12:24:39 +08:00
XiaoDong Huang
9e6625e755 rk3399: bl31: update version to 1.18
Build from ATF commit:
    56eea3d plat: rk3399: suspend: fix samsung 366/272 ball reboot 50MHz fail
update feature:
    1) 56eea3d plat: rk3399: suspend: fix samsung 366/272 ball reboot 50MHz fail
    2) 21099f5 plat: rk3399: suspend: fix one channel support
    3) 545e733 plat: rk3399: dfs: add noc timing update
    4) 6bc7391 plat: rk3399: dfs: fix get drv_odt_lp_cfg error

Change-Id: I9058f49d2625a0220b9d90dc6456f61a7c874e45
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-08-09 09:06:58 +08:00
chenfen
fa1fcfab3d rk3399: miniloader: support gpt.
from commit: c8175aa75: rk3399 support gpt.

Change-Id: Ie9deed54e5a7d953ac1b395ee0fb1abf08d347fb
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2018-08-08 17:02:11 +08:00
chenfen
dbdf7fc1b4 rk3368: miniloader: support gpt.
from commit: c8175aa75: rk3368 support gpt.

Change-Id: I7792534d02e72c47bb3f89d68bcfedbf443abfcd
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2018-08-08 15:45:52 +08:00
chenfen
424ed58309 rk322xh: miniloader: support gpt.
from commit: c8175aa75: rk322xh support gpt.

Change-Id: I30b702839d03aa6c34b564ebc957c99df6abcc9d
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2018-08-08 15:04:47 +08:00
CanYang He
dbc8710a93 rk3399: ddr: update version to v1.14
built from ddr init project commit:
	a277760 Version: DDR Version 1.14 20180803
Update feature:
	1. 489fb98 lpddr4: superaddition to fix samsung 366/272 ball
	   reboot 50MHz fail

Change-Id: Ic574ccd7147d345e312221d5a033c1622381ab5e
Signed-off-by: CanYang He <hcy@rock-chips.com>
2018-08-03 14:57:40 +08:00
Joseph Chen
5a677920b3 tools: loaderimage/trust_merge: support min size 64KB pack
Usually, it must be at 512kb align due to preloader detects every 512kb.
But some product has critial flash size requirement, we have to make it
small than 512KB.

Change-Id: If493ce1b680ebaa07a490dda7488b41b4e012902
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-08-02 19:50:13 +08:00
Yifeng Zhao
47b57e8318 rk312x: support gpt
from commit c8175aa75: 3128: set version to v2.52

Change-Id: I10c304c7e4ff3b30e87acbb378217652ca0a5f93
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2018-08-02 19:50:11 +08:00
CanYang He
d815846957 rk3399: ddr: update version to v1.13
built from ddr init project commit:
	50313f8 Version: DDR Version 1.13 20180801
Update features:
	1. b8f8eb9 lpddr4: fix samsung 366/272 ball reboot 50MHz fail
	2. ec8a573 all: fix one channel support
	3. c3714e0 add idle USB3 when reboot form DEV_TYPE_USB

Change-Id: Id439e5c721aa60a38ff1f9625497ee1f4ec57b52
Signed-off-by: CanYang He <hcy@rock-chips.com>
2018-08-02 16:00:10 +08:00
Tang Yun ping
a110795bab rk322x: tee with ta: update optee version to v1.98
build from optee commit:
	6505c21 rk322x: ddr: add dfs init for 4.4 kernel

update feature:
	6505c21 rk322x: ddr: add dfs init for 4.4 kernel
	177f400 rk322x: ddr: adjust rx DQS dll phase
	1e96202 static ta: add head message when uboot R&W data
	0ac48da SVP: fix vp9 memcpy out of memory
	61f77fe fs: return error when head.magic != TEE_SVC_STORAGE_MAGIC
	756c9b1 static ta: support no param when open session
	3eac4c8 rk3228: efuse: enable gpio0 APB clock

Change-Id: I5d83be0ce4ff5732cade1b8914b6b89bbbb51406
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2018-08-01 14:28:48 +08:00
Tang Yun ping
0ac9550442 rk3128x: tee with ta: update optee version to v1.97
build from optee commit:
	6505c21 rk322x: ddr: add dfs init for 4.4 kernel

update feature:
	6505c21 rk322x: ddr: add dfs init for 4.4 kernel
	177f400 rk322x: ddr: adjust rx DQS dll phase
	1e96202 static ta: add head message when uboot R&W data

Change-Id: I3ce3c89834b340431b39a2dd187b0655e151b5d7
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2018-08-01 14:28:48 +08:00
CanYang He
dee720c97a rk3308: ddr: update version to v1.22
Build from U-Boot commit:
	dd81f22 rockchip: rk3308: DDR Version V1.22 release
Update features:
	1. effdced rockchip: rk3308: fix low frequency unable to work
	2. b9a4d92 rockchip: rk3308: fix ddr2 txp and PD slow exit mode
	3. 3620944 rockchip: rk3308: set MSCH_ReadLatency to fix bug of
	   ddr access blocked
	4. 420ebc3 rockchip: rk3308: tpl: support ddr2 and lpddr2
	5. ea8560c rockchip: rk3308: ram: enable ddr standby, check code
	   style
	6. 37e5dcc rockchip: ARM64: tpl: modify TPL_TINY_FRAMEWORK flow
	   to reduce code size

Change-Id: I25c51b99b634ae37931e060089145b4ce223c2ba
Signed-off-by: CanYang He <hcy@rock-chips.com>
2018-07-31 17:47:53 +08:00
Hery Xu
92f2f33284 rk3128x: tee with ta: update optee version to v1.96
build from optee commit:
    0ac48da SVP: fix vp9 memcpy out of memory

Change-Id: Ia21152dcee324e371b2d63645e624d7397fceb97
Signed-off-by: Hery Xu <hery.xu@rock-chips.com>
2018-07-30 10:09:36 +08:00
Yifeng Zhao
fb17cb1f90 rkpx30: fix hynix F16 64Gb NAND multi plane prog error issue
from commit 28827743d: fix hynix F16 64Gb NAND multi plane prog error issue

Change-Id: Ide64c45252dac6f60bdc5275d362ff74280d53a5
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2018-07-25 14:39:23 +08:00
Yifeng Zhao
97d63c3d82 rk3128x: support gpt
from commit b001f27d2: 322x and 3128x: set version to v2.52

Change-Id: I3e3e7d32857d0a7ef5b4ac8b3696b2c4a4147ecc
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2018-07-25 14:38:51 +08:00
chenfen
057b3a0dfb rk322x: miniloader: no update rollback index in no secure boot.
from commit: a87345a no update rollback index in no secure boot.

Change-Id: Ie74e71a63307b868459c438741ba2a70539061b5
Signed-off-by: chenfen <chenfen@rock-chips.com>
2018-07-24 16:59:24 +08:00
Yifeng Zhao
1a7e796361 rk3326: fix hynix F16 64Gb NAND multi plane prog error issue
from commit 28827743d: fix hynix F16 64Gb NAND multi plane prog error issue

Change-Id: Ibe2b531dba79f67a8288e1876a89bf51f8e24534
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2018-07-18 16:09:40 +08:00
Dingqiang Lin
2fa0b2c2e1 rk3308: miniloader: Fully remove caching last few sectors in ftl_write.
from commit:  d36671306de7bd2cb7ab0fad2
Boot1 Release Time: Jul 13 2018 15:37:40, version: 1.05

1.Fully remove cashe write back
2.Remark power off lost page

Change-Id: Id292c274a25526f8ff351099131185706d908561
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-07-13 15:41:16 +08:00
Dingqiang Lin
97c1618c2e rk3308: miniloader: change to sftl and enable sfc devices configs
from commit 8c1f689200f6:  change to sftl and enable sfc devices configs

tag: Boot1 Release Time: Jul  4 2018 19:58:54, version: 1.05

Note:
1.Support spi nand、spi nor flash devices;
2.Change to slc ftl for slc nand flash devices;
3.Fix IDBlock erase error;
4.Fix usbphy reset error;
5.Update ECC strategy;
6.Add HYF spi nand devices;
7.Remove caching last few sectors in ftl_write.

Change-Id: I54ddaeb5307f6e29ff6df9a61ab95375b62e23a7
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-07-12 10:59:25 +08:00
Yifeng Zhao
ac3be931ee rk3326: miniloader: fix 2cs 3d mlc nand gc fail issue
From commit 711394b4d: 3326: update version to 1.11.

Change-Id: If54dcf69b22e0dcb568d3ee61a6444432437fb2f
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2018-07-06 18:00:43 +08:00
XiaoDong Huang
993b3d069c px30: bl31: update version to v1.14
Build from ATF commit:
    1b8f3f9 plat: px30: suspend: set rk817's RST_FUN to "restart the devices"
update feature:
    1b8f3f9 plat: px30: suspend: set rk817's RST_FUN to "restart the devices"
    6bc7391 plat: rk3399: dfs: fix get drv_odt_lp_cfg error
    a6e1028 plat: px30: dfs: ignore pad oe when enable clock for idle port

Change-Id: I595f584f8a04d423a7f4a7c0b747b451dfaf4703
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-07-06 15:27:12 +08:00
XiaoDong Huang
1fbda3b251 rk3326: bl31: update version to v1.14
Build from ATF commit:
    1b8f3f9 plat: px30: suspend: set rk817's RST_FUN to "restart the devices"
update feature:
    1b8f3f9 plat: px30: suspend: set rk817's RST_FUN to "restart the devices"
    6bc7391 plat: rk3399: dfs: fix get drv_odt_lp_cfg error
    a6e1028 plat: px30: dfs: ignore pad oe when enable clock for idle port

Change-Id: I77a998e8188154b721db5b38491bb124a2ff9d23
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-07-06 15:17:56 +08:00
chenfen
296c6051a6 rk322x: miniloader: support android things
from commit e4d25a159 support android things first version.

Change-Id: I6564b304e05b6489a3e38c7fa7064a92d5c71afd
Signed-off-by: chenfen <chenfen@rock-chips.com>
2018-07-03 11:25:39 +08:00
chenfen
f500a679b9 rk3399: miniloader: support spi nor first version
from commit: e4d25a159 support spi nor first version.

Change-Id: If035a72faeb88067a233a3238f30d26a153654fc
Signed-off-by: chenfen <chenfen@rock-chips.com>
2018-07-03 11:19:59 +08:00
XiaoDong Huang
dc3be8a398 px30: bl31: update version to v1.13
Build from ATF commit:
    721eaee plat: px30: dfs: fix error of enable clock
update feature:
    721eaee plat: px30: dfs: fix error of enable clock

Change-Id: I8e074b7fcfe2730a79390afb377b3c1e476f2d73
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-06-28 14:52:05 +08:00
XiaoDong Huang
25a21c678e rk3326: bl31: update version to v1.13
Build from ATF commit:
    721eaee plat: px30: dfs: fix error of enable clock
update feature:
    721eaee plat: px30: dfs: fix error of enable clock

Change-Id: I90299b1ecb6756eeebb3a2cb88f3c064e05b5040
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-06-28 14:47:05 +08:00
chenfen
3b550d4480 rk3326: miniloader: add other uart port support
form commit: e4d25a159 add other uart port support

Change-Id: Icc827e59e4afc445b64e00d910fd9b1abebcc45b
Signed-off-by: chenfen <chenfen@rock-chips.com>
2018-06-27 09:43:40 +08:00
Joseph Chen
5f0c650970 rk3308: bl31: aarch32: update version to v1.10
build from ATF commit:
	6ce491d common: tf_printf: add timestamp to last log
update features:
	1. support ATF last log;
	2. support aarch32 fiq debugger;

Change-Id: I33dbdc24ee70e78a46f391db5b4ac7de40a8b201
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-06-25 14:17:36 +08:00
Joseph Chen
78901dd5df rk3308: bl31: update version to v1.10
build from ATF commit:
	6ce491d common: tf_printf: add timestamp to last log
update features:
	support ATF last log

Change-Id: I508269b3c3968f36522a71ad8437cf13511f9492
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-06-25 14:16:17 +08:00
Joseph Chen
c82ee3528b tools: loaderimage: don't print build version info
Change-Id: Ib88dc9f2ea2a956a8a345f63ce6f50f36b013d5e
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-06-25 09:35:34 +08:00
Caesar Wang
362293593a RKBOOT/RK3326MINIALL.ini: fix the wrong version
Change-Id: I3eab91ed7ce842b6bedba446bbd97b3c91e87f84
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2018-06-19 14:49:07 +08:00
XiaoDong Huang
fcf07778ea rk3399: bl31: update version to 1.17
Build from ATF commit:
    65aa5ce rockchip: fix bugs of disable uart fiq
update feature:
    65aa5ce rockchip: fix bugs of disable uart fiq

Change-Id: Ibeb01dbd2f122e06481b75ff850b7930aafd2d98
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-06-19 10:49:02 +08:00
Joseph Chen
3b8ae7f3d6 PX3SEMINIALL.ini: update usbplug version to 2.49
fix missing by commit: 246b64c

Change-Id: I21b6182eb800dda62f858098db044caee3d154b1
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-06-14 16:17:48 +08:00
Liang Chen
2a163c32a1 rk322x: fix bug: correct cpu/gpu frequency calculation
tee with ta: update optee version to v1.97
tee without ta: update optee version to v1.92

build from optee commit:
	2825a12 rk3228: do not cause panic when cpu/gpu use invalid pll
	bb52c94 rk3228: do not cause panic when cpu/gpu use invalid pll

Change-Id: I458f8b1ce767d01b7f45cad351b6bc78cdc5dedb
Signed-off-by: Liang Chen <cl@rock-chips.com>
2018-06-14 11:04:26 +08:00
Liang Chen
877a6bef96 rk3128x: fix bug: correct cpu/gpu frequency calculation
tee with ta: update optee version to v1.95
tee without ta: update optee version to v1.91

build from optee commit:
	2825a12 rk3228: do not cause panic when cpu/gpu use invalid pll
	bb52c94 rk3228: do not cause panic when cpu/gpu use invalid pll

Change-Id: If6ddf3d399fb03aa2c04f52f2838e042a62b03a9
Signed-off-by: Liang Chen <cl@rock-chips.com>
2018-06-14 11:04:18 +08:00
Joseph Chen
559a3b2bd2 rk3308: bl31: aarch32: update version to v1.01
build from commit:
	801e91f plat: rk3308: don't override bl32 and bl33 pc
update features:
	801e91f plat: rk3308: don't override bl32 and bl33 pc

Change-Id: I30c240a7c903e37ff4ebacd1e1c76f1502ffca64
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-06-13 21:14:58 +08:00
Joseph Chen
2d987c6293 tools: loaderimage: fix load address parse error
0x0 is valid load address which is used in 32-bit platforms.

Change-Id: I851b870651596e1d1bdeff59a037c13b428cd36c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-06-13 15:53:26 +08:00
Joseph Chen
e92e49f9b5 tools: loaderimage and trust_merger support "--size" command
With this command, we can assign image size.

command format: --size [per image KB size] [copy count]

[per image KB size]: per copy image size(unit KB), should be 512Kb align;
[copy count]: copies count to pack;

Change-Id: I43c075c4b5018ed4f7af2966a07af73c974cde39
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-06-12 10:14:57 +08:00
Hisping Lin
ffb36c0a2d rk3308: bl32: update version to v1.01
Bl32 is disabled for rk3308, you should set SEC=1 to enable Bl32
build from:
	71ddae4c plat-rockchip: refine memory map

Update feature:
	71ddae4c plat-rockchip: refine memory map
	e7765597 rk3326 & rk3308: otp: set otp clk div before R&W
	86b7dafd rk3326 & rk3308: otp: modify set clk for user read
	114d3965 rk3308: otp: increase wait time in check_sbpi_flag_state
	916f2a26 rk3308: enable static ta for uboot secure store
	08621e0b OTP: mask interrupt before OTP read & write

Change-Id: If82c7de24aeaafe0f526f2c58a3431ae0ffe99f4
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-06-06 17:37:47 +08:00
Hisping Lin
83d706cadb rk3399: bl32: update version to 1.13
Build from optee commit in develop branch:
        c4654a6d libcrypto: fix crypto.a link error

Update feature:
        c4654a6d libcrypto: fix crypto.a link error
        631b37ed libcrypto: add base64_bio.c
        3b853bca rpmb: be compatible with kernel bug
        7a7383d8 static ta: support muti file system

Change-Id: Id65fd0090e807044bf7765b48c26dd9882fff02a
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-06-06 17:22:12 +08:00
Hisping Lin
c07a29eb9d rk3368: bl32: update version to 1.22
Build from optee commit in develop branch:
        c4654a6d libcrypto: fix crypto.a link error

Update feature:
        c4654a6d libcrypto: fix crypto.a link error
        631b37ed libcrypto: add base64_bio.c
        3b853bca rpmb: be compatible with kernel bug
        7a7383d8 static ta: support muti file system

Change-Id: I5d2d24d516c288bb680883f1f1085b8202df0bc4
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-06-06 17:22:12 +08:00
Hisping Lin
d22a666752 rk3228h/rk3328: bl32: update version to 1.44
Build from optee commit in develop branch:
	c4654a6d libcrypto: fix crypto.a link error

Update feature:
	c4654a6d libcrypto: fix crypto.a link error
	631b37ed libcrypto: add base64_bio.c
	3b853bca rpmb: be compatible with kernel bug
	7a7383d8 static ta: support muti file system

Change-Id: Idd2894ff9393113995ed253daf9ef450730687b0
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-06-06 17:22:12 +08:00