Name Date Size #Lines LOC

..--

basic/H--503276

coccinelle/net/H--143130

dtc/H--17,35711,503

kconfig/H--24,63220,238

.gitignoreH A D30-Jan-201736 65

Kbuild.includeH A D19-Sep-201811.4 KiB329276

LindentH A D15-Aug-2014460 1917

MakefileH A D23-Sep-2017646 258

Makefile.autoconfH A D27-Jan-20174.5 KiB14998

Makefile.buildH A D14-Jan-201613.9 KiB450269

Makefile.cleanH A D14-Jan-20163 KiB10044

Makefile.extrawarnH A D23-Sep-20172.6 KiB8151

Makefile.hostH A D15-Jul-20164.7 KiB13764

Makefile.libH A D03-Sep-201718 KiB513292

Makefile.splH A D19-Dec-202412.3 KiB428304

Makefile.uncmd_splH A D30-Nov-2017261 189

README.rockchipH A D02-Mar-20231.8 KiB5944

android2distro.shH A D12-Jan-20221.6 KiB8163

android2fit.shH A D13-Dec-20221.2 KiB8062

atf.shH A D16-Sep-2020796 5743

avbtool.pyH A D13-Oct-2022196.2 KiB4,9263,957

bin2c.cH A D30-Jan-2017743 3722

binutils-version.shH A D07-Jan-2015514 2411

build-tftp-firmware.shH A D01-Apr-20216.2 KiB293245

build-whitelist.shH A D01-Sep-20172 KiB6327

check-config.shH A D29-Jun-20171.5 KiB5228

check-rkconfig.shH A D14-Apr-2023594 2414

checkpatch.plH A D29-Oct-2017187.2 KiB6,4634,940

checkstack.plH A D05-Jul-20175.2 KiB172102

cleanpatchH A D26-Jan-20145 KiB259202

compress.shH A D02-Apr-2022696 2313

config_whitelist.txtH A D19-Dec-2024118.6 KiB5,1435,142

const_structs.checkpatchH A D12-Sep-201753 32

coreboot.sedH A D07-Mar-2016767 1817

decomp.shH A D18-Mar-20221.3 KiB5735

diffconfigH A D17-Jun-20203.7 KiB13396

docproc.cH A D16-Jul-201413.8 KiB581434

dtc-version.shH A D15-Sep-2017528 2210

fill_scrapyard.pyH A D14-Jan-20154.9 KiB167116

fit-core.shH A D15-Apr-202521.3 KiB787666

fit-msg.shH A D31-Dec-2020785 5542

fit-repack.shH A D28-Apr-20251.7 KiB10080

fit-resign.shH A D02-Dec-20243.6 KiB154123

fit-sign.shH A D06-Jan-202517.8 KiB634524

fit-unpack.shH A D28-Apr-20253.8 KiB172136

fit.shH A D20-Dec-2024828 4833

gcc-stack-usage.shH A D30-Oct-2014312 199

gcc-version.shH A D30-Oct-2014819 3318

get_default_envs.shH A D17-Sep-2016887 3514

get_maintainer.plH A D28-Oct-201760 KiB2,3801,967

kernel-docH A D30-Oct-201472.1 KiB2,6201,954

ld-version.shH A D15-May-2014205 96

loader.shH A D28-Feb-2022605 4229

mailmapperH A D21-Jan-20184.7 KiB160100

mkbootimgH A D19-Nov-20199.5 KiB235179

mkenv.shH A D02-Apr-2022459 2717

mkkrnlimgHD29-Mar-201912.9 KiB

mkmakefileH A D30-Oct-20141.2 KiB5329

objdiffH A D23-Aug-20172.8 KiB163105

pack_resource.shH A D09-Dec-20242.3 KiB10078

repack-bootimgH A D18-Nov-20213.3 KiB154132

rkpatch.shH A D25-Oct-20204.3 KiB115107

setlocalversionH A D11-May-20234.4 KiB186118

show-gnu-makeH A D11-Aug-2014569 269

spl.shH A D28-Feb-20222.1 KiB10886

stacktrace.shH A D14-Apr-20253.4 KiB12599

sync-fragment.shH A D10-Jul-20201.2 KiB5437

tos.shH A D16-Sep-20201.4 KiB7758

uboot.shH A D16-Sep-2020929 5641

uimage-pack.shH A D23-Apr-2020477 2211

unpack_bootimgH A D06-Sep-202122.2 KiB548419

unpack_resource.shH A D19-Nov-20191.3 KiB5946

README.rockchip

1#
2# Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
3#
4# SPDX-License-Identifier: GPL-2.0
5#
6
7Example usage of scripts/tools for Rockchip
8
9- Here only shows the typical example usage, but not all
10- Mainly for providing developers with a quick reference
11- Get more detail information by scripts/tools help
12========================================================
13
14[scripts]
15	# pack_resource.sh
16		./scripts/pack_resource.sh resource.img
17
18	# unpack_resource.sh
19		./scripts/unpack_resource.sh resource.img  out/
20
21	# mkbootimg
22		./scripts/mkbootimg --kernel zImage --second resource.img --ramdisk ramdisk.img --out boot.img
23
24	# unpack_bootimg
25		./scripts/unpack_bootimg --boot_img boot.img --out out/
26
27	# repack-bootimg
28		./scripts/repack-bootimg --boot_img boot.img --kernel zImage -o boot_repack.img
29
30	# stacktrace.sh
31		./scripts/stacktrace.sh dump.txt
32		./scripts/stacktrace.sh dump.txt spl
33		./scripts/stacktrace.sh dump.txt tpl
34
35	# avbtool.py
36		./scripts/avbtool.py info_image --image vbmeta.img
37
38[tools]
39	# resource_tool
40		./tools/resource_tool rk-kernel.dtb logo_kernel.bmp logo.bmp
41		./tools/resource_tool --unpack --image=resource.img out/
42
43	# trust_merger
44		./tools/trust_merger ./RKTRUST/RK3399TRUST.ini
45		./tools/trust_merger --unpack trust.img
46
47	# boot_merger
48		./tools/boot_merger ./RKBOOT/RK3399MINIALL.ini
49		./tools/boot_merger --unpack rk3399_loader_v1.17.115.bin
50
51	# loaderimage
52		./tools/loaderimage --pack --uboot ./u-boot.bin uboot.img 0x60000000 --size 1024 2
53		./tools/loaderimage --unpack --uboot uboot.img uboot.bin
54
55		./tools/loaderimage --pack --trustos ./bin/rk32/rk322x_tee_v2.00.bin trust.img 0x80000000  --size 1024 2
56		./tools/loaderimage --unpack --trustos trust.img tee.bin
57	# bmp2gray16
58		./tools/bmp2gray16 --uboot-logo uboot.bmp --charge-logo charging.bmp --lowpower-logo lowpower.bmp --kernel-logo kernel.bmp --output ./logo.img
59