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
coccinelle/net
dtc
kconfig
.gitignore
Kbuild.include
Lindent
Makefile
Makefile.autoconf
Makefile.build
Makefile.clean
Makefile.extrawarn
Makefile.host
Makefile.lib
Makefile.spl
Makefile.uncmd_spl
README.rockchip
atf.sh
bin2c.c
binutils-version.sh
build-whitelist.sh
check-config.sh
checkpatch.pl
checkstack.pl
cleanpatch
config_whitelist.txt
const_structs.checkpatch
coreboot.sed
diffconfig
docproc.c
dtc-version.sh
fill_scrapyard.py
fit-repack.sh
fit-resign.sh
fit-unpack.sh
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
kernel-doc
ld-version.sh
loader.sh
mailmapper
mkbootimg
mkkrnlimg
mkmakefile
objdiff
pack_resource.sh
repack-bootimg
rkpatch.sh
setlocalversion
show-gnu-make
spl.sh
stacktrace.sh
sync-fragment.sh
tos.sh
uboot.sh
uimage-pack.sh
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