rv1126-uboot/scripts
Joseph Chen d6babb00c3 scripts: fit: support "--boot_img_dir" args for boot.img
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I2b1648a673492cade1c0a3f499f46f1ff072251a
2020-10-30 18:13:59 +08:00
..
basic
coccinelle/net
dtc
kconfig
.gitignore
Kbuild.include
Lindent
Makefile
Makefile.autoconf
Makefile.build
Makefile.clean
Makefile.extrawarn
Makefile.host
Makefile.lib
Makefile.spl UPSTREAM: usb: Add Cadence USB3 host and gadget driver 2020-01-07 17:25:03 +08:00
Makefile.uncmd_spl
README.rockchip
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
check-config.sh
checkpatch.pl
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
coreboot.sed
diffconfig scripts: add diffconfig from kernel project 2020-07-08 17:57:49 +08:00
docproc.c
dtc-version.sh
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: fit: support "--boot_img_dir" args for boot.img 2020-10-30 18:13:59 +08:00
gcc-stack-usage.sh
gcc-version.sh
get_default_envs.sh
get_maintainer.pl
kernel-doc
ld-version.sh
loader.sh scripts: not allow error for rockchip scripts 2020-09-16 12:07:25 +08:00
mailmapper
mkbootimg
mkkrnlimg
mkmakefile
objdiff
pack_resource.sh
repack-bootimg
rkpatch.sh scripts: rkpatch: update patch order 2020-10-28 21:23:07 +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
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
unpack_resource.sh

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