You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
surenyi926
c602ed4687
|
8 months ago | |
---|---|---|
.. | ||
basic | 8 months ago | |
coccinelle/net | 8 months ago | |
dtc | 8 months ago | |
kconfig | 8 months ago | |
.gitignore | 8 months ago | |
Kbuild.include | 8 months ago | |
Lindent | 8 months ago | |
Makefile | 8 months ago | |
Makefile.autoconf | 8 months ago | |
Makefile.build | 8 months ago | |
Makefile.clean | 8 months ago | |
Makefile.extrawarn | 8 months ago | |
Makefile.host | 8 months ago | |
Makefile.lib | 8 months ago | |
Makefile.spl | 8 months ago | |
Makefile.uncmd_spl | 8 months ago | |
README.rockchip | 8 months ago | |
android2distro.sh | 8 months ago | |
android2fit.sh | 8 months ago | |
atf.sh | 8 months ago | |
bin2c.c | 8 months ago | |
binutils-version.sh | 8 months ago | |
build-tftp-firmware.sh | 8 months ago | |
build-whitelist.sh | 8 months ago | |
check-config.sh | 8 months ago | |
checkpatch.pl | 8 months ago | |
checkstack.pl | 8 months ago | |
cleanpatch | 8 months ago | |
compress.sh | 8 months ago | |
config_whitelist.txt | 8 months ago | |
const_structs.checkpatch | 8 months ago | |
coreboot.sed | 8 months ago | |
decomp.sh | 8 months ago | |
diffconfig | 8 months ago | |
docproc.c | 8 months ago | |
dtc-version.sh | 8 months ago | |
fill_scrapyard.py | 8 months ago | |
fit-core.sh | 8 months ago | |
fit-msg.sh | 8 months ago | |
fit-repack.sh | 8 months ago | |
fit-resign.sh | 8 months ago | |
fit-unpack.sh | 8 months ago | |
fit.sh | 8 months ago | |
gcc-stack-usage.sh | 8 months ago | |
gcc-version.sh | 8 months ago | |
get_default_envs.sh | 8 months ago | |
get_maintainer.pl | 8 months ago | |
kernel-doc | 8 months ago | |
ld-version.sh | 8 months ago | |
loader.sh | 8 months ago | |
mailmapper | 8 months ago | |
mkbootimg | 8 months ago | |
mkenv.sh | 8 months ago | |
mkkrnlimg | 8 months ago | |
mkmakefile | 8 months ago | |
objdiff | 8 months ago | |
pack_resource.sh | 8 months ago | |
repack-bootimg | 8 months ago | |
rkpatch.sh | 8 months ago | |
setlocalversion | 8 months ago | |
show-gnu-make | 8 months ago | |
spl.sh | 8 months ago | |
stacktrace.sh | 8 months ago | |
sync-fragment.sh | 8 months ago | |
tos.sh | 8 months ago | |
uboot.sh | 8 months ago | |
uimage-pack.sh | 8 months ago | |
unpack_bootimg | 8 months ago | |
unpack_resource.sh | 8 months ago |
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
# bmp2gray16
./tools/bmp2gray16 --uboot-logo uboot.bmp --charge-logo charging.bmp --lowpower-logo lowpower.bmp --kernel-logo kernel.bmp --output ./logo.img