[U-Boot] [PATCH v4 07/20] rockchip: mkimage: Allow encoding of loader code in spl images

Simon Glass sjg at chromium.org
Tue Feb 21 20:34:34 UTC 2017


On 18 February 2017 at 11:46, Heiko Stuebner <heiko at sntech.de> wrote:
> Rockchip SoCs allow the spl code to be rc4-encoded, not only the
> image header, but only newer SoCs allow this encoding to be disabled.
>
> The rk3188 is not part of those and requires its boot code to be
> rc4-encoded with the regular key. So add the ability to do this
> encoding via a setting on a per-soc basis when building spl images.
>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
> Tested-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>  tools/rkcommon.c | 33 +++++++++++++++++++++++++++++----
>  tools/rkcommon.h | 22 ++++++++++++++++++++++
>  tools/rkimage.c  |  3 +++
>  tools/rksd.c     |  4 ++++
>  tools/rkspi.c    |  4 ++++
>  5 files changed, 62 insertions(+), 4 deletions(-)

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list