rv1126-uboot/scripts
Maxime Ripard b466df35fb UPSTREAM: usb: gadget: usb_ether: Move settings to common
The usb_ether gadget duplicates the USB settings for the manufacturer,
product ID and vendor ID.

Make sure we use the common option so that we can expect a single VID/PID
couple for a single device.

Change-Id: I71cabacc3dcf5a7335996b2ddaf812e1c97b097b
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 10ac57fda3ff46a20af7ded6cc03d78e88032495)
2020-01-07 17:24:45 +08:00
..
basic UPSTREAM: fixdep: fix dependency on options surrounded by CONFIG_VAL() 2018-01-17 15:27:28 +08:00
coccinelle/net scripts: Add a cocci patch for miiphy_register 2016-08-15 15:26:23 -05:00
dtc UPSTREAM: pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2018-01-17 15:27:28 +08:00
kconfig kconfig: re-sync with Linux 4.10 2017-02-12 14:31:25 -05:00
.gitignore cmd: add a new command "config" to show .config contents 2017-02-08 15:56:26 -05:00
Kbuild.include UPSTREAM: scripts/dtc: Update to upstream version v1.4.3 2018-01-16 18:16:48 +08:00
Lindent scripts/Lindent: import from Linux 3.16 2014-08-21 12:01:29 -04:00
Makefile UPSTREAM: dtc: Switch to building and using our own dtc unless provided 2018-01-16 18:16:48 +08:00
Makefile.autoconf kbuild: add include linux/kconfig.h in config.h 2017-01-28 08:47:42 -05:00
Makefile.build scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
Makefile.clean scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
Makefile.extrawarn UPSTREAM: scripts/dtc: Update to upstream version v1.4.3 2018-01-16 18:16:48 +08:00
Makefile.host dm: Add a more efficient libfdt library 2016-07-14 20:40:24 -06:00
Makefile.lib UPSTREAM: kbuild: fix dependency of DT build 2018-01-17 15:27:28 +08:00
Makefile.spl scripts: Makefile.spl: generate symbol file for spl and tpl 2019-06-21 18:15:56 +08:00
Makefile.uncmd_spl UPSTREAM: scripts: spl: fix typo 2018-01-17 15:27:28 +08:00
README.rockchip scripts: add README for rockchip scripts and tool 2019-11-28 14:48:43 +08:00
bin2c.c scripts: import bin2c.c from Linux 4.10-rc6 2017-02-08 15:56:19 -05:00
binutils-version.sh scripts: fix binutils-version.sh for 'as' without a package. 2015-01-08 11:00:45 -05:00
build-whitelist.sh sunxi: Fix CONFIG_SUNXI_GMAC references 2017-09-01 20:48:27 +05:30
check-config.sh scripts: config_whitelist: Handle lines with leading spaces/tabs 2017-06-29 10:01:10 -04:00
checkpatch.pl UPSTREAM: checkpatch: Support wide strings 2018-01-17 15:27:28 +08:00
checkstack.pl avr32: Retire AVR32 for good 2017-07-06 16:17:19 -04:00
cleanpatch
config_whitelist.txt UPSTREAM: usb: gadget: usb_ether: Move settings to common 2020-01-07 17:24:45 +08:00
const_structs.checkpatch UPSTREAM: checkpatch: update from Linux v4.13-rc6 2018-01-16 18:14:09 +08:00
coreboot.sed x86: Add a script to aid code conversion from coreboot 2016-03-17 10:27:23 +08:00
docproc.c cosmetic: kbuild: clean-up coding style (sync with Linux 3.16-rc1) 2014-06-20 11:56:26 -04:00
dtc-version.sh UPSTREAM: Makefile: Update minimum dtc version to 1.4.3 2018-01-16 18:16:48 +08:00
fill_scrapyard.py scripts: add a utility to fill blank fields of doc/README.scrapyard 2015-01-14 10:58:49 -05:00
gcc-stack-usage.sh kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
gcc-version.sh kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
get_default_envs.sh scripts: Add script to extract default environment 2016-10-06 21:00:53 -04:00
get_maintainer.pl UPSTREAM: scripts/get_maintainer.pl: enable find_maintainer_files 2018-01-17 15:27:28 +08:00
kernel-doc kbuild: sync misc scripts with Linux 3.18-rc1 2014-11-07 16:27:07 -05:00
ld-version.sh
mailmapper tools, scripts: refactor error-out statements of Python scripts 2014-08-21 12:01:11 -04:00
mkbootimg scripts: add mkbootimg and unpack_bootimg 2019-11-12 19:32:12 +08:00
mkkrnlimg scripts: add mkkrnlimg tool to pack rockchip format image 2019-04-04 10:15:19 +08:00
mkmakefile kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
objdiff scripts: objdiff: Ignore debug info when comparing 2017-08-26 14:56:14 -04:00
pack_resource.sh pack_resource.sh: move to ./scripts/ folder 2019-02-13 17:31:13 +08:00
repack-bootimg scripts: repack-bootimg: repack second if total repack 2019-12-10 11:30:51 +08:00
rkpatch.sh make.sh: move debug command to scripts/rkpatch.sh 2019-12-10 16:45:54 +08:00
setlocalversion scripts: setlocalversion: safely extract variables from auto.conf using awk 2017-08-13 17:15:08 +02:00
show-gnu-make scripts: add scripts/show-gnu-make to get GNU Make command name 2014-07-29 11:48:36 -04:00
stacktrace.sh scripts: stacktrace.sh: use grep to filter lines 2019-11-22 08:42:16 +08:00
unpack_bootimg scripts: add mkbootimg and unpack_bootimg 2019-11-12 19:32:12 +08:00
unpack_resource.sh scripts: add unpack_resource.sh 2019-10-22 16:42:22 +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

[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