rv1126-uboot/scripts
Joseph Chen ae33e3114a scripts: rename fit-mkimg.sh to fit.sh
The name style follows other rockchip scripts is better, like:

./scripts/atf.sh
./scripts/loader.sh
./scripts/spl.sh
./scripts/tos.sh
./scripts/uboot.sh

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I249f67d0b4e385a3f05f9c754bc0a9c371b46910
2020-09-16 12:07:26 +08:00
..
basic UPSTREAM: fixdep: fix dependency on options surrounded by CONFIG_VAL() 2018-01-17 15:27:28 +08:00
coccinelle/net
dtc UPSTREAM: pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2018-01-17 15:27:28 +08:00
kconfig
.gitignore
Kbuild.include UPSTREAM: scripts/dtc: Update to upstream version v1.4.3 2018-01-16 18:16:48 +08:00
Lindent
Makefile UPSTREAM: dtc: Switch to building and using our own dtc unless provided 2018-01-16 18:16:48 +08:00
Makefile.autoconf
Makefile.build
Makefile.clean
Makefile.extrawarn UPSTREAM: scripts/dtc: Update to upstream version v1.4.3 2018-01-16 18:16:48 +08:00
Makefile.host
Makefile.lib UPSTREAM: kbuild: fix dependency of DT build 2018-01-17 15:27:28 +08:00
Makefile.spl UPSTREAM: usb: Add Cadence USB3 host and gadget driver 2020-01-07 17:25:03 +08:00
Makefile.uncmd_spl UPSTREAM: scripts: spl: fix typo 2018-01-17 15:27:28 +08:00
README.rockchip scripts: add README for rockchip scripts and tool 2019-11-28 14:48:43 +08:00
atf.sh scripts: not allow error for rockchip scripts 2020-09-16 12:07:25 +08:00
bin2c.c
binutils-version.sh
build-whitelist.sh sunxi: Fix CONFIG_SUNXI_GMAC references 2017-09-01 20:48:27 +05:30
check-config.sh
checkpatch.pl UPSTREAM: checkpatch: Support wide strings 2018-01-17 15:27:28 +08:00
checkstack.pl
cleanpatch
config_whitelist.txt UPSTREAM: configs: move CONFIG_USB_EHCI_VF to Kconfig 2020-01-07 17:24:56 +08:00
const_structs.checkpatch UPSTREAM: checkpatch: update from Linux v4.13-rc6 2018-01-16 18:14:09 +08:00
coreboot.sed
diffconfig scripts: add diffconfig from kernel project 2020-07-08 17:57:49 +08:00
docproc.c
dtc-version.sh UPSTREAM: Makefile: Update minimum dtc version to 1.4.3 2018-01-16 18:16:48 +08:00
fill_scrapyard.py
fit-repack.sh scripts: fit-repack.sh: fix cp issue 2020-09-15 11:47:28 +08:00
fit-resign.sh scripts: fit: refactor code 2020-05-18 18:16:20 +08:00
fit-unpack.sh scripts: fit: refactor code 2020-05-18 18:16:20 +08:00
fit.sh scripts: rename fit-mkimg.sh to fit.sh 2020-09-16 12:07:26 +08:00
gcc-stack-usage.sh
gcc-version.sh
get_default_envs.sh
get_maintainer.pl UPSTREAM: scripts/get_maintainer.pl: enable find_maintainer_files 2018-01-17 15:27:28 +08:00
kernel-doc
ld-version.sh
loader.sh scripts: not allow error for rockchip scripts 2020-09-16 12:07:25 +08:00
mailmapper
mkbootimg scripts: add mkbootimg and unpack_bootimg 2019-11-12 19:32:12 +08:00
mkkrnlimg scripts: add mkkrnlimg tool to pack rockchip format image 2019-04-04 10:15:19 +08:00
mkmakefile
objdiff scripts: objdiff: Ignore debug info when comparing 2017-08-26 14:56:14 -04:00
pack_resource.sh pack_resource.sh: move to ./scripts/ folder 2019-02-13 17:31:13 +08:00
repack-bootimg scripts: repack-bootimg: repack second if total repack 2019-12-10 11:30:51 +08:00
rkpatch.sh make.sh: move debug command to scripts/rkpatch.sh 2019-12-10 16:45:54 +08:00
setlocalversion scripts: setlocalversion: add more information 2020-03-30 17:31:40 +08:00
show-gnu-make
spl.sh scripts: not allow error for rockchip scripts 2020-09-16 12:07:25 +08:00
stacktrace.sh scripts: stacktrace.sh: use grep to filter lines 2019-11-22 08:42:16 +08:00
sync-fragment.sh scripts: sync-fragment: use "mv" instread of "cp" 2020-07-10 15:14:41 +08:00
tos.sh scripts: not allow error for rockchip scripts 2020-09-16 12:07:25 +08:00
uboot.sh scripts: uboot.sh: use lodaerimage from rkbin 2020-09-16 12:07:25 +08:00
uimage-pack.sh scripts: add uimage pack script 2020-04-24 10:23:26 +08:00
unpack_bootimg scripts: add mkbootimg and unpack_bootimg 2019-11-12 19:32:12 +08:00
unpack_resource.sh scripts: add unpack_resource.sh 2019-10-22 16:42:22 +08:00

README.rockchip

#
# Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
#
# SPDX-License-Identifier: GPL-2.0
#

Example usage of scripts/tools for Rockchip

- Here only shows the typical example usage, but not all
- Mainly for providing developers with a quick reference
- Get more detail information by scripts/tools help
========================================================

[scripts]
	# pack_resource.sh
		./scripts/pack_resource.sh resource.img

	# unpack_resource.sh
		./scripts/unpack_resource.sh resource.img  out/

	# mkbootimg
		./scripts/mkbootimg --kernel zImage --second resource.img --ramdisk ramdisk.img --out boot.img

	# unpack_bootimg
		./scripts/unpack_bootimg --boot_img boot.img --out out/

	# repack-bootimg
		./scripts/repack-bootimg --boot_img boot.img --kernel zImage -o boot_repack.img

	# stacktrace.sh
		./scripts/stacktrace.sh dump.txt
		./scripts/stacktrace.sh dump.txt spl
		./scripts/stacktrace.sh dump.txt tpl

[tools]
	# resource_tool
		./tools/resource_tool rk-kernel.dtb logo_kernel.bmp logo.bmp
		./tools/resource_tool --unpack --image=resource.img out/

	# trust_merger
		./tools/trust_merger ./RKTRUST/RK3399TRUST.ini
		./tools/trust_merger --unpack trust.img

	# boot_merger
		./tools/boot_merger ./RKBOOT/RK3399MINIALL.ini
		./tools/boot_merger --unpack rk3399_loader_v1.17.115.bin

	# loaderimage
		./tools/loaderimage --pack --uboot ./u-boot.bin uboot.img 0x60000000 --size 1024 2
		./tools/loaderimage --unpack --uboot uboot.img uboot.bin

		./tools/loaderimage --pack --trustos ./bin/rk32/rk322x_tee_v2.00.bin trust.img 0x80000000  --size 1024 2
		./tools/loaderimage --unpack --trustos trust.img tee.bin