android13/u-boot/scripts
liiir1985 2c2dead122 更新u-boot 2024-06-23 20:20:40 +08:00
..
basic initial 2024-06-22 20:45:49 +08:00
coccinelle/net initial 2024-06-22 20:45:49 +08:00
dtc initial 2024-06-22 20:45:49 +08:00
kconfig initial 2024-06-22 20:45:49 +08:00
.gitignore initial 2024-06-22 20:45:49 +08:00
Kbuild.include initial 2024-06-22 20:45:49 +08:00
Lindent initial 2024-06-22 20:45:49 +08:00
Makefile initial 2024-06-22 20:45:49 +08:00
Makefile.autoconf initial 2024-06-22 20:45:49 +08:00
Makefile.build initial 2024-06-22 20:45:49 +08:00
Makefile.clean initial 2024-06-22 20:45:49 +08:00
Makefile.extrawarn initial 2024-06-22 20:45:49 +08:00
Makefile.host initial 2024-06-22 20:45:49 +08:00
Makefile.lib initial 2024-06-22 20:45:49 +08:00
Makefile.spl initial 2024-06-22 20:45:49 +08:00
Makefile.uncmd_spl initial 2024-06-22 20:45:49 +08:00
README.rockchip initial 2024-06-22 20:45:49 +08:00
android2distro.sh initial 2024-06-22 20:45:49 +08:00
android2fit.sh initial 2024-06-22 20:45:49 +08:00
atf.sh initial 2024-06-22 20:45:49 +08:00
avbtool.py initial 2024-06-22 20:45:49 +08:00
bin2c.c initial 2024-06-22 20:45:49 +08:00
binutils-version.sh initial 2024-06-22 20:45:49 +08:00
build-tftp-firmware.sh initial 2024-06-22 20:45:49 +08:00
build-whitelist.sh initial 2024-06-22 20:45:49 +08:00
check-config.sh initial 2024-06-22 20:45:49 +08:00
check-rkconfig.sh initial 2024-06-22 20:45:49 +08:00
checkpatch.pl initial 2024-06-22 20:45:49 +08:00
checkstack.pl initial 2024-06-22 20:45:49 +08:00
cleanpatch initial 2024-06-22 20:45:49 +08:00
compress.sh initial 2024-06-22 20:45:49 +08:00
config_whitelist.txt initial 2024-06-22 20:45:49 +08:00
const_structs.checkpatch initial 2024-06-22 20:45:49 +08:00
coreboot.sed initial 2024-06-22 20:45:49 +08:00
decomp.sh initial 2024-06-22 20:45:49 +08:00
diffconfig initial 2024-06-22 20:45:49 +08:00
docproc.c initial 2024-06-22 20:45:49 +08:00
dtc-version.sh initial 2024-06-22 20:45:49 +08:00
fill_scrapyard.py initial 2024-06-22 20:45:49 +08:00
fit-core.sh initial 2024-06-22 20:45:49 +08:00
fit-msg.sh initial 2024-06-22 20:45:49 +08:00
fit-repack.sh initial 2024-06-22 20:45:49 +08:00
fit-resign.sh initial 2024-06-22 20:45:49 +08:00
fit-unpack.sh initial 2024-06-22 20:45:49 +08:00
fit.sh 更新u-boot 2024-06-23 20:20:40 +08:00
gcc-stack-usage.sh initial 2024-06-22 20:45:49 +08:00
gcc-version.sh initial 2024-06-22 20:45:49 +08:00
get_default_envs.sh initial 2024-06-22 20:45:49 +08:00
get_maintainer.pl initial 2024-06-22 20:45:49 +08:00
kernel-doc initial 2024-06-22 20:45:49 +08:00
ld-version.sh initial 2024-06-22 20:45:49 +08:00
loader.sh initial 2024-06-22 20:45:49 +08:00
mailmapper initial 2024-06-22 20:45:49 +08:00
mkbootimg initial 2024-06-22 20:45:49 +08:00
mkenv.sh initial 2024-06-22 20:45:49 +08:00
mkkrnlimg initial 2024-06-22 20:45:49 +08:00
mkmakefile initial 2024-06-22 20:45:49 +08:00
objdiff initial 2024-06-22 20:45:49 +08:00
pack_resource.sh initial 2024-06-22 20:45:49 +08:00
repack-bootimg initial 2024-06-22 20:45:49 +08:00
rkpatch.sh initial 2024-06-22 20:45:49 +08:00
setlocalversion initial 2024-06-22 20:45:49 +08:00
show-gnu-make initial 2024-06-22 20:45:49 +08:00
spl.sh initial 2024-06-22 20:45:49 +08:00
stacktrace.sh initial 2024-06-22 20:45:49 +08:00
sync-fragment.sh initial 2024-06-22 20:45:49 +08:00
tos.sh initial 2024-06-22 20:45:49 +08:00
uboot.sh initial 2024-06-22 20:45:49 +08:00
uimage-pack.sh initial 2024-06-22 20:45:49 +08:00
unpack_bootimg initial 2024-06-22 20:45:49 +08:00
unpack_resource.sh initial 2024-06-22 20:45:49 +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

	# avbtool.py
		./scripts/avbtool.py info_image --image vbmeta.img

[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
	# bmp2gray16
		./tools/bmp2gray16 --uboot-logo uboot.bmp --charge-logo charging.bmp --lowpower-logo lowpower.bmp --kernel-logo kernel.bmp --output ./logo.img