Skip to main content

U-Boot v2017(next-dev) Developer Guide

ID: RK-KF-YF-45

Release Version: 2.11.0

Date: 2021-05-13

Security Level: □Top-Secret □Secret □Internal ■Public

DISCLAIMER

THIS DOCUMENT IS PROVIDED "AS IS". ROCKCHIP ELECTRONICS CO., LTD. ("ROCKCHIP") DOES NOT PROVIDE ANY WARRANTY OF ANY KIND, EXPRESSED, IMPLIED OR OTHERWISE, WITH RESPECT TO THE ACCURACY, RELIABILITY, COMPLETENESS, MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE OR NON-INFRINGEMENT OF ANY REPRESENTATION, INFORMATION AND CONTENT IN THIS DOCUMENT. THIS DOCUMENT IS FOR REFERENCE ONLY.

THIS DOCUMENT MAY BE UPDATED OR CHANGED WITHOUT ANY NOTICE AT ANY TIME DUE TO THE UPGRADES OF THE PRODUCT OR ANY OTHER REASONS.

Trademark Statement

"Rockchip", "Rockchip", "Rockchip" shall be Rockchip's registered trademarks and owned by Rockchip.

All other registered trademarks or trademarks mentioned in this document shall be owned by their respective owners.

All rights reserved. © 2021. Rockchip Electronics Co., Ltd.

Beyond the scope of fair use, no unit or individual may excerpt or copy any part or all of the content of this document without written permission from Rockchip, and may not distribute it in any form.

Rockchip Electronics Co., Ltd.

Address: No. 18, Area A, Software Park, Tongpan Road, Fuzhou, Fujian Province

Website: www.rock-chips.com

Customer Service Tel: +86-4007-700-590

Customer Service Fax: +86-591-83951833

Customer Service Email: fae@rock-chips.com


Preface

Overview

This document mainly guides readers on how to carry out project development on the U-Boot v2017(next-dev) version.

Chip Feature Support Status

Chip NameDistro BootRKIMG BootSPL/TPLTrust(SPL)AVB
RV1108YYYNN
RK3036YYYYN
RK3126CYYYYY
RK3128YYYYY
RK3229YYYYY
RK3288YYYYY
RK3308Y-YY-
RK3326/PX30YYYYY
RK3328YYYYY
RK3368/PX5YYYYY
RK3399YYYYY
RK1808Y-YY-
RV1126/RV1109YYYYN
RK3566/RK3568YNYYY

Intended Audience

This document (this guide) is primarily intended for the following engineers:

Technical Support Engineers

Software Development Engineers

Revision History

VersionAuthorDateDescription
V1.00Chen Jianhong2018-02-28Initial version
V1.01Zhu Zhizhan2018-06-22Fastboot description, OPTEE Client description
V1.10Chen Jianhong2018-07-23Improved document, updated and adjusted most chapters
V1.11Lin Dingqiang2018-07-26Improved Nand and SFC SPI Flash storage driver sections
V1.12Chen Liang2018-08-08Added HW-ID usage description
V1.13Zhang Qing2018-09-20Added CLK usage description
V1.20Chen Jianhong2018-11-06Added/updated defconfig/rktest/probe/interrupt/kernel dtb/uart/atags
V1.21Chen Jianhong2019-01-21Added dtbo/amp/dvfs wide-temperature/fdt command descriptions
V1.22Lin Ping2019-03-05Added optee client description
V1.23Chen Jianhong
Zhu Zhizhan
2019-03-25Added kernel cmdline description
V1.30Chen Jianhong2019-03-25Streamlined and organized the document, corrected formatting issues, improved and adjusted some chapter content
V1.31Zhu Zhizhan2019-04-23Added hardware CRYPTO description
V1.32Zhu Zhizhan2019-05-14Supplemented kernel cmdline description
V1.33Zhu Zhizhan2019-05-29Added MMC command section, AVB and A/B system descriptions, glossary
V1.40Chen Jianhong2019-06-20Added/updated:
memblk/sysmem/bi dram/statcktrace/hotkey/
fdt param/run_command/distro/led/reset/
env/wdt/spl/amp/crypto/
efuse/Android compatible/io-domain/bootflow/pack image
V1.41Zhu Zhizhan2019-08-21Added secure otp description
V1.42Zhu Zhizhan2019-08-27Added storage device/MTD device descriptions
V1.43Zhu Zhizhan2019-10-08Added BCB description
V1.44Zhu Zhizhan2019-10-15Added SPL driver and function support description
V1.45Zhu Zhizhan2019-11-15Added SPL pinctrl usage description
V2.0.0Chen Jianhong2020-05-02Major version upgrade: refactored format, content, layout, etc.
V2.1.0Chen Jianhong2020-05-29Added FIT scheme
V2.1.1Lin Dingqiang2020-06-07Added open-source framework storage support description
V2.1.2Huang Tao2020-07-08Adjusted formatting
V2.2.0Wu Dachao2020-07-09Added Ethernet network support description
V2.3.0Chen Youmin2020-07-13Added TPL support description
V2.4.0Chen Jianhong2020-09-23Updated FIT and build/flash chapters
V2.5.0Zhu Zhizhan2020-12-28Updated FIT chapter
V2.6.0Zhu Zhizhan2020-12-30Added fast boot chapter
V2.7.0Lin Tao2021-01-25Added PCIe support description
V2.8.0Chen Jianhong2021-03-12Added U-Boot firmware format, memory capacity modification, AMP, RK3568 support descriptions
V2.9.0Chen Jianhong2021-04-13Updated FIT and USB drive upgrade chapters
V2.10.0Zhu Zhizhan2021-05-06Added security operation step-by-step
V2.11.0Chen Jianhong2021-05-13Added to FIT chapter: recovery.img packaging and signing, pss signing parameters

Table of Contents

[TOC]