diff mbox series

[U-Boot,v2,6/9] rockchip: mkimage: add support for RK3308

Message ID 20191030081629.8812-2-andy.yan@rock-chips.com
State Changes Requested
Delegated to: Kever Yang
Headers show
Series Add support for RK3308 SOC | expand

Commit Message

Andy Yan Oct. 30, 2019, 8:16 a.m. UTC
Usage:

 (1) tools/mkimage -n rk3308 -T rksd -d tpl/u-boot-tpl.bin idbloader.img
 (2) cat spl/u-boot-spl.bin >> idbloader.img
 (3) upgrade_tool wl 0x40 idbloader.img

Note:
  When use a ddr binary from rkbin as tpl, use it replace u-boot-tpl.bin in (1)

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
---

Changes in v2: None

 tools/rkcommon.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Kever Yang Nov. 7, 2019, 9:34 a.m. UTC | #1
On 2019/10/30 下午4:16, Andy Yan wrote:
> Usage:
>
>   (1) tools/mkimage -n rk3308 -T rksd -d tpl/u-boot-tpl.bin idbloader.img
>   (2) cat spl/u-boot-spl.bin >> idbloader.img
>   (3) upgrade_tool wl 0x40 idbloader.img
>
> Note:
>    When use a ddr binary from rkbin as tpl, use it replace u-boot-tpl.bin in (1)
>
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

Reviewed-by: Kever Yang<kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>
> Changes in v2: None
>
>   tools/rkcommon.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/tools/rkcommon.c b/tools/rkcommon.c
> index 831c2ad820..a16f83c1ef 100644
> --- a/tools/rkcommon.c
> +++ b/tools/rkcommon.c
> @@ -72,6 +72,7 @@ static struct spl_info spl_infos[] = {
>   	{ "rk3188", "RK31", 0x8000 - 0x800, true },
>   	{ "rk322x", "RK32", 0x8000 - 0x1000, false },
>   	{ "rk3288", "RK32", 0x8000, false },
> +	{ "rk3308", "RK33", 0x40000 - 0x1000, false},
>   	{ "rk3328", "RK32", 0x8000 - 0x1000, false },
>   	{ "rk3368", "RK33", 0x8000 - 0x1000, false },
>   	{ "rk3399", "RK33", 0x30000 - 0x2000, false },
diff mbox series

Patch

diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index 831c2ad820..a16f83c1ef 100644
--- a/tools/rkcommon.c
+++ b/tools/rkcommon.c
@@ -72,6 +72,7 @@  static struct spl_info spl_infos[] = {
 	{ "rk3188", "RK31", 0x8000 - 0x800, true },
 	{ "rk322x", "RK32", 0x8000 - 0x1000, false },
 	{ "rk3288", "RK32", 0x8000, false },
+	{ "rk3308", "RK33", 0x40000 - 0x1000, false},
 	{ "rk3328", "RK32", 0x8000 - 0x1000, false },
 	{ "rk3368", "RK33", 0x8000 - 0x1000, false },
 	{ "rk3399", "RK33", 0x30000 - 0x2000, false },