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 import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
..
basic import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
coccinelle/net import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
dtc import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
kconfig import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
.gitignore import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Kbuild.include import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Lindent import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Makefile import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Makefile.autoconf import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Makefile.build import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Makefile.clean import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Makefile.extrawarn import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Makefile.host import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Makefile.lib import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Makefile.spl import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
Makefile.uncmd_spl import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
README.rockchip import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
android2distro.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
android2fit.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
atf.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
bin2c.c import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
binutils-version.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
build-tftp-firmware.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
build-whitelist.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
check-config.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
checkpatch.pl import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
checkstack.pl import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
cleanpatch import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
compress.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
config_whitelist.txt import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
const_structs.checkpatch import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
coreboot.sed import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
decomp.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
diffconfig import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
docproc.c import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
dtc-version.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
fill_scrapyard.py import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
fit-core.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
fit-msg.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
fit-repack.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
fit-resign.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
fit-unpack.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
fit.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
gcc-stack-usage.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
gcc-version.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
get_default_envs.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
get_maintainer.pl import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
kernel-doc import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
ld-version.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
loader.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
mailmapper import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
mkbootimg import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
mkenv.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
mkkrnlimg import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
mkmakefile import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
objdiff import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
pack_resource.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
repack-bootimg import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
rkpatch.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
setlocalversion import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
show-gnu-make import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
spl.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
stacktrace.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
sync-fragment.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
tos.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
uboot.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
uimage-pack.sh import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
unpack_bootimg import source from rk3588_linux_Shengyuan.tar.gz package 8 months ago
unpack_resource.sh import source from rk3588_linux_Shengyuan.tar.gz package 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